diff --git a/web/package-lock.json b/web/package-lock.json index 9d46bcba9a8..414014185fd 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -18035,6 +18035,7 @@ }, "@kiwicopple/prism-react-renderer": { "version": "git+ssh://git@github.com/kiwicopple/prism-react-renderer.git#4a09100a587bce2d94d7ac8ed3564a61c6e70781", + "integrity": "sha512-QluokmJkMoHOwahIBN34hTG5n03kFyJ0REDq4mkf0o05JUC61ikXQsPNXtynASqoZRW7A+bKVNT65kCtUfgZlQ==", "from": "@kiwicopple/prism-react-renderer@https://github.com/kiwicopple/prism-react-renderer.git", "requires": { "prismjs": "^1.22.0" diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.js index 4f125fae85f..67186ffe4e2 100644 --- a/web/sidebar_spec_supabase.js +++ b/web/sidebar_spec_supabase.js @@ -33,7 +33,7 @@ module.exports = { { type: 'category', label: 'Storage', - items: ['reference/javascript/storage-createbucket', 'reference/javascript/storage-getbucket', 'reference/javascript/storage-listbuckets', 'reference/javascript/storage-updatebucket', 'reference/javascript/storage-deletebucket', 'reference/javascript/storage-emptybucket', 'reference/javascript/storage-from-upload', 'reference/javascript/storage-from-download', 'reference/javascript/storage-from-list', 'reference/javascript/storage-from-update', 'reference/javascript/storage-from-move', 'reference/javascript/storage-from-remove', 'reference/javascript/storage-from-createsignedurl', 'reference/javascript/storage-from-getpublicurl'], + items: ['reference/javascript/storage-createbucket', 'reference/javascript/storage-getbucket', 'reference/javascript/storage-listbuckets', 'reference/javascript/storage-updatebucket', 'reference/javascript/storage-deletebucket', 'reference/javascript/storage-emptybucket', 'reference/javascript/storage-from-upload', 'reference/javascript/storage-from-download', 'reference/javascript/storage-from-list', 'reference/javascript/storage-from-update', 'reference/javascript/storage-from-move', 'reference/javascript/storage-from-remove', 'reference/javascript/storage-from-createsignedurl', 'reference/javascript/storage-from-createsignedurls', 'reference/javascript/storage-from-getpublicurl'], collapsed: true, }, { diff --git a/web/spec/combined.json b/web/spec/combined.json index f2f21ad6180..8dd54a4c1eb 100644 --- a/web/spec/combined.json +++ b/web/spec/combined.json @@ -9,7 +9,7 @@ "originalName": "", "children": [ { - "id": 301, + "id": 302, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -19,7 +19,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 302, + "id": 303, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -32,7 +32,7 @@ }, "children": [ { - "id": 317, + "id": 318, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44,7 +44,7 @@ }, "signatures": [ { - "id": 320, + "id": 321, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -56,7 +56,7 @@ }, "parameters": [ { - "id": 321, + "id": 322, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -72,7 +72,7 @@ } }, { - "id": 322, + "id": 323, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -88,7 +88,7 @@ } }, { - "id": 323, + "id": 324, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -105,7 +105,7 @@ ], "type": { "type": "reference", - "id": 302, + "id": 303, "name": "SupabaseClient" } } @@ -119,7 +119,7 @@ ] }, { - "id": 303, + "id": 304, "name": "auth", "kind": 1024, "kindString": "Property", @@ -143,7 +143,7 @@ } }, { - "id": 307, + "id": 308, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -164,7 +164,7 @@ } }, { - "id": 312, + "id": 313, "name": "changedAccessToken", "kind": 1024, "kindString": "Property", @@ -194,7 +194,7 @@ } }, { - "id": 311, + "id": 312, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -217,7 +217,7 @@ } }, { - "id": 313, + "id": 314, "name": "headers", "kind": 1024, "kindString": "Property", @@ -235,7 +235,7 @@ "type": { "type": "reflection", "declaration": { - "id": 314, + "id": 315, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -244,7 +244,7 @@ }, "indexSignature": [ { - "id": 315, + "id": 316, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -253,7 +253,7 @@ }, "parameters": [ { - "id": 316, + "id": 317, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -283,7 +283,7 @@ } }, { - "id": 310, + "id": 311, "name": "multiTab", "kind": 1024, "kindString": "Property", @@ -304,7 +304,7 @@ } }, { - "id": 309, + "id": 310, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -325,7 +325,7 @@ } }, { - "id": 306, + "id": 307, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -346,7 +346,7 @@ } }, { - "id": 305, + "id": 306, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -367,7 +367,7 @@ } }, { - "id": 304, + "id": 305, "name": "schema", "kind": 1024, "kindString": "Property", @@ -388,7 +388,7 @@ } }, { - "id": 308, + "id": 309, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -409,7 +409,7 @@ } }, { - "id": 319, + "id": 320, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -434,7 +434,7 @@ } }, { - "id": 318, + "id": 319, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -459,7 +459,7 @@ } }, { - "id": 324, + "id": 325, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -471,7 +471,7 @@ }, "getSignature": [ { - "id": 325, + "id": 326, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -496,115 +496,7 @@ ] }, { - "id": 385, - "name": "_closeChannel", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true, - "isExported": true - }, - "signatures": [ - { - "id": 386, - "name": "_closeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 387, - "name": "subscription", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "RealtimeSubscription" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 388, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 389, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 266, - "character": 76 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "reference", - "name": "Error" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 389 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 266, - "character": 69 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 266, - "character": 23 - } - ] - }, - { - "id": 361, + "id": 355, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -614,7 +506,7 @@ }, "signatures": [ { - "id": 362, + "id": 356, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -623,7 +515,7 @@ }, "parameters": [ { - "id": 363, + "id": 357, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -642,7 +534,7 @@ { "type": "reflection", "declaration": { - "id": 364, + "id": 358, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -651,7 +543,7 @@ }, "children": [ { - "id": 365, + "id": 359, "name": "error", "kind": 32, "kindString": "Variable", @@ -661,20 +553,20 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 202, + "line": 171, "character": 20 } ], "type": { "type": "union", "types": [ - { - "type": "intrinsic", - "name": "null" - }, { "type": "reference", "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" } ] } @@ -685,14 +577,14 @@ "title": "Variables", "kind": 32, "children": [ - 365 + 359 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 202, + "line": 171, "character": 13 } ] @@ -706,13 +598,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 200, + "line": 169, "character": 34 } ] }, { - "id": 383, + "id": 382, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -722,7 +614,7 @@ }, "signatures": [ { - "id": 384, + "id": 383, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -739,13 +631,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 258, + "line": 241, "character": 25 } ] }, { - "id": 394, + "id": 388, "name": "_handleTokenChanged", "kind": 2048, "kindString": "Method", @@ -755,7 +647,7 @@ }, "signatures": [ { - "id": 395, + "id": 389, "name": "_handleTokenChanged", "kind": 4096, "kindString": "Call signature", @@ -764,7 +656,7 @@ }, "parameters": [ { - "id": 396, + "id": 390, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -777,7 +669,7 @@ } }, { - "id": 397, + "id": 391, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -799,7 +691,7 @@ } }, { - "id": 398, + "id": 392, "name": "source", "kind": 32768, "kindString": "Parameter", @@ -830,13 +722,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 310, + "line": 283, "character": 29 } ] }, { - "id": 381, + "id": 380, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -846,7 +738,7 @@ }, "signatures": [ { - "id": 382, + "id": 381, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -862,13 +754,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 250, + "line": 233, "character": 30 } ] }, { - "id": 378, + "id": 377, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -878,7 +770,7 @@ }, "signatures": [ { - "id": 379, + "id": 378, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -887,7 +779,7 @@ }, "parameters": [ { - "id": 380, + "id": 379, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -910,13 +802,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 243, + "line": 226, "character": 29 } ] }, { - "id": 368, + "id": 367, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -926,7 +818,7 @@ }, "signatures": [ { - "id": 369, + "id": 368, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -935,7 +827,7 @@ }, "parameters": [ { - "id": 370, + "id": 369, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -946,7 +838,7 @@ "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -955,7 +847,7 @@ }, "children": [ { - "id": 372, + "id": 371, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -965,7 +857,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 221, + "line": 204, "character": 20 } ], @@ -988,7 +880,7 @@ } }, { - "id": 374, + "id": 373, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -998,7 +890,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 223, + "line": 206, "character": 22 } ], @@ -1021,7 +913,7 @@ } }, { - "id": 377, + "id": 376, "name": "fetch", "kind": 32, "kindString": "Variable", @@ -1031,7 +923,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 226, + "line": 209, "character": 9 } ], @@ -1044,14 +936,14 @@ }, { "type": "reference", - "id": 224, + "id": 225, "name": "fetch" } ] } }, { - "id": 376, + "id": 375, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1061,7 +953,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 225, + "line": 208, "character": 11 } ], @@ -1081,7 +973,7 @@ } }, { - "id": 375, + "id": 374, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -1091,7 +983,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 224, + "line": 207, "character": 16 } ], @@ -1139,7 +1031,7 @@ } }, { - "id": 373, + "id": 372, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1149,7 +1041,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 222, + "line": 205, "character": 18 } ], @@ -1177,19 +1069,19 @@ "title": "Variables", "kind": 32, "children": [ - 372, - 374, - 377, + 371, + 373, 376, 375, - 373 + 374, + 372 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 220, + "line": 203, "character": 34 } ] @@ -1207,13 +1099,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 220, + "line": 203, "character": 33 } ] }, { - "id": 392, + "id": 386, "name": "_listenForAuthEvents", "kind": 2048, "kindString": "Method", @@ -1223,7 +1115,7 @@ }, "signatures": [ { - "id": 393, + "id": 387, "name": "_listenForAuthEvents", "kind": 4096, "kindString": "Call signature", @@ -1248,13 +1140,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 303, + "line": 276, "character": 30 } ] }, { - "id": 390, + "id": 384, "name": "_listenForMultiTabEvents", "kind": 2048, "kindString": "Method", @@ -1264,7 +1156,7 @@ }, "signatures": [ { - "id": 391, + "id": 385, "name": "_listenForMultiTabEvents", "kind": 4096, "kindString": "Call signature", @@ -1289,13 +1181,121 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 276, + "line": 249, "character": 34 } ] }, { - "id": 326, + "id": 360, + "name": "_unsubscribeSubscription", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 361, + "name": "_unsubscribeSubscription", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 362, + "name": "subscription", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "RealtimeSubscription" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 363, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 364, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 186, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 364 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 186, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 184, + "character": 34 + } + ] + }, + { + "id": 327, "name": "from", "kind": 2048, "kindString": "Method", @@ -1304,7 +1304,7 @@ }, "signatures": [ { - "id": 327, + "id": 328, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1316,7 +1316,7 @@ }, "typeParameter": [ { - "id": 328, + "id": 329, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1327,7 +1327,7 @@ ], "parameters": [ { - "id": 329, + "id": 330, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -1345,7 +1345,7 @@ ], "type": { "type": "reference", - "id": 208, + "id": 209, "typeArguments": [ { "type": "typeParameter", @@ -1369,7 +1369,7 @@ ] }, { - "id": 366, + "id": 365, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -1378,7 +1378,7 @@ }, "signatures": [ { - "id": 367, + "id": 366, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -1400,13 +1400,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 216, + "line": 199, "character": 18 } ] }, { - "id": 339, + "id": 340, "name": "removeAllSubscriptions", "kind": 2048, "kindString": "Method", @@ -1415,7 +1415,7 @@ }, "signatures": [ { - "id": 340, + "id": 341, "name": "removeAllSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -1423,7 +1423,7 @@ "isExported": true }, "comment": { - "shortText": "Remove all subscriptions." + "shortText": "Closes and removes all subscriptions and returns a list of removed\nsubscriptions and their errors." }, "type": { "type": "reference", @@ -1431,242 +1431,309 @@ { "type": "array", "elementType": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 341, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": "reflection", + "declaration": { + "id": 342, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 343, + "name": "data", + "kind": 32, + "kindString": "Variable", "flags": { "isExported": true }, - "children": [ - { - "id": 342, - "name": "status", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 139, - "character": 16 - } - ], - "type": { - "type": "stringLiteral", - "value": "fulfilled" - } - }, - { - "id": 343, - "name": "value", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 140, - "character": 15 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 344, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 345, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 141, - "character": 17 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 345 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 140, - "character": 16 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 342, - 343 - ] - } - ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 138, - "character": 7 + "character": 10 } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 346, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 348, - "name": "reason", - "kind": 32, - "kindString": "Variable", + ], + "type": { + "type": "reflection", + "declaration": { + "id": 344, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": { "isExported": true }, - "sources": [ + "children": [ { - "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 36 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 349, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 345, + "name": "subscription", + "kind": 32, + "kindString": "Variable", "flags": { "isExported": true }, - "children": [ - { - "id": 350, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 45 - } - ], - "type": { - "type": "reference", - "name": "Error" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 350 - ] - } - ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 37 + "line": 138, + "character": 26 } + ], + "type": { + "type": "reference", + "name": "RealtimeSubscription" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 345 ] } - } - }, - { - "id": 347, - "name": "status", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, + ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 16 + "line": 138, + "character": 11 } - ], - "type": { - "type": "stringLiteral", - "value": "rejected" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 348, - 347 ] } - ], + } + }, + { + "id": 346, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 7 + "line": 138, + "character": 57 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 343, + 346 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 137, + "character": 42 + } + ] + } + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 137, + "character": 30 + } + ] + }, + { + "id": 347, + "name": "removeSubscription", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 348, + "name": "removeSubscription", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Closes and removes a subscription and returns the number of open subscriptions." + }, + "parameters": [ + { + "id": 349, + "name": "subscription", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The subscription you want to close and remove.\n" + }, + "type": { + "type": "reference", + "name": "RealtimeSubscription" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 350, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 351, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 19 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 352, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 353, + "name": "openSubscriptions", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 40 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 353 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 20 + } + ] + } + } + }, + { + "id": 354, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 57 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" } ] } } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 351, + 354 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 13 + } ] } } @@ -1678,239 +1745,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 136, - "character": 30 + "line": 157, + "character": 26 } ] }, { - "id": 351, - "name": "removeSubscription", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 352, - "name": "removeSubscription", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Removes an active subscription and returns the number of open connections." - }, - "parameters": [ - { - "id": 353, - "name": "subscription", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The subscription you want to remove.\n" - }, - "type": { - "type": "reference", - "name": "RealtimeSubscription" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 354, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 355, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 169, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 357, - "name": "openSubscriptions", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 169, - "character": 33 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 357 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 169, - "character": 13 - } - ] - } - } - }, - { - "id": 358, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 170, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 355, - 358 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 168, - "character": 5 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 359, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 360, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 172, - "character": 13 - } - ], - "type": { - "type": "reference", - "name": "Error" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 360 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 172, - "character": 5 - } - ] - } - } - ] - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 167, - "character": 20 - } - ] - }, - { - "id": 330, + "id": 331, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1919,7 +1760,7 @@ }, "signatures": [ { - "id": 331, + "id": 332, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1931,7 +1772,7 @@ }, "typeParameter": [ { - "id": 332, + "id": 333, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1942,7 +1783,7 @@ ], "parameters": [ { - "id": 333, + "id": 334, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1958,7 +1799,7 @@ } }, { - "id": 334, + "id": 335, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1984,7 +1825,7 @@ } }, { - "id": 335, + "id": 336, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1995,7 +1836,7 @@ "type": { "type": "reflection", "declaration": { - "id": 336, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2004,7 +1845,7 @@ }, "children": [ { - "id": 338, + "id": 339, "name": "count", "kind": 32, "kindString": "Variable", @@ -2045,7 +1886,7 @@ "defaultValue": "null" }, { - "id": 337, + "id": 338, "name": "head", "kind": 32, "kindString": "Variable", @@ -2074,8 +1915,8 @@ "title": "Variables", "kind": 32, "children": [ - 338, - 337 + 339, + 338 ] } ], @@ -2117,53 +1958,53 @@ "title": "Constructors", "kind": 512, "children": [ - 317 + 318 ] }, { "title": "Properties", "kind": 1024, "children": [ - 303, - 307, - 312, - 311, - 313, - 310, - 309, - 306, - 305, 304, 308, - 319, - 318 + 313, + 312, + 314, + 311, + 310, + 307, + 306, + 305, + 309, + 320, + 319 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 324 + 325 ] }, { "title": "Methods", "kind": 2048, "children": [ - 385, - 361, - 383, - 394, - 381, - 378, - 368, - 392, - 390, - 326, - 366, - 339, - 351, - 330 + 355, + 382, + 388, + 380, + 377, + 367, + 386, + 384, + 360, + 327, + 365, + 340, + 347, + 331 ] } ], @@ -2176,7 +2017,7 @@ ] }, { - "id": 399, + "id": 393, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -2185,7 +2026,7 @@ }, "children": [ { - "id": 401, + "id": 395, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -2204,7 +2045,7 @@ "defaultValue": "true" }, { - "id": 403, + "id": 397, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -2223,7 +2064,7 @@ "defaultValue": "true" }, { - "id": 405, + "id": 399, "name": "headers", "kind": 32, "kindString": "Variable", @@ -2238,14 +2079,14 @@ "type": { "type": "reflection", "declaration": { - "id": 406, + "id": 400, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 407, + "id": 401, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -2269,7 +2110,7 @@ "title": "Variables", "kind": 32, "children": [ - 407 + 401 ] } ] @@ -2278,7 +2119,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 404, + "id": 398, "name": "multiTab", "kind": 32, "kindString": "Variable", @@ -2297,7 +2138,7 @@ "defaultValue": "true" }, { - "id": 402, + "id": 396, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -2316,7 +2157,7 @@ "defaultValue": "true" }, { - "id": 400, + "id": 394, "name": "schema", "kind": 32, "kindString": "Variable", @@ -2340,12 +2181,12 @@ "title": "Variables", "kind": 32, "children": [ - 401, - 403, - 405, - 404, - 402, - 400 + 395, + 397, + 399, + 398, + 396, + 394 ] } ], @@ -2367,14 +2208,14 @@ "title": "Classes", "kind": 128, "children": [ - 302 + 303 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 399 + 393 ] } ], @@ -2387,7 +2228,7 @@ ] }, { - "id": 408, + "id": 402, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -2397,7 +2238,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 409, + "id": 403, "name": "createClient", "kind": 64, "kindString": "Function", @@ -2410,7 +2251,7 @@ }, "signatures": [ { - "id": 410, + "id": 404, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -2422,7 +2263,7 @@ }, "parameters": [ { - "id": 411, + "id": 405, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -2435,7 +2276,7 @@ } }, { - "id": 412, + "id": 406, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -2448,7 +2289,7 @@ } }, { - "id": 413, + "id": 407, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2465,7 +2306,7 @@ ], "type": { "type": "reference", - "id": 302, + "id": 303, "name": "SupabaseClient" } } @@ -2484,7 +2325,7 @@ "title": "Functions", "kind": 64, "children": [ - 409 + 403 ] } ], @@ -2852,7 +2693,7 @@ } }, { - "id": 158, + "id": 159, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -2861,7 +2702,7 @@ }, "signatures": [ { - "id": 159, + "id": 160, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -2873,7 +2714,7 @@ }, "parameters": [ { - "id": 160, + "id": 161, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2891,7 +2732,7 @@ { "type": "reflection", "declaration": { - "id": 161, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2900,7 +2741,7 @@ }, "children": [ { - "id": 162, + "id": 163, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2942,7 +2783,7 @@ "title": "Variables", "kind": 32, "children": [ - 162 + 163 ] } ] @@ -2958,7 +2799,7 @@ { "type": "reflection", "declaration": { - "id": 163, + "id": 164, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2967,7 +2808,7 @@ }, "children": [ { - "id": 164, + "id": 165, "name": "data", "kind": 32, "kindString": "Variable", @@ -2996,7 +2837,7 @@ } }, { - "id": 165, + "id": 166, "name": "error", "kind": 32, "kindString": "Variable", @@ -3030,8 +2871,8 @@ "title": "Variables", "kind": 32, "children": [ - 164, - 165 + 165, + 166 ] } ], @@ -3049,7 +2890,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 158, + "id": 159, "name": "GoTrueClient.getSessionFromUrl" } } @@ -3063,12 +2904,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 158, + "id": 159, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 170, + "id": 171, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -3077,7 +2918,7 @@ }, "signatures": [ { - "id": 171, + "id": 172, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -3090,7 +2931,7 @@ }, "parameters": [ { - "id": 172, + "id": 173, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3100,7 +2941,7 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 174, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3109,7 +2950,7 @@ }, "signatures": [ { - "id": 174, + "id": 175, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -3118,7 +2959,7 @@ }, "parameters": [ { - "id": 175, + "id": 176, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3131,7 +2972,7 @@ } }, { - "id": 176, + "id": 177, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -3173,7 +3014,7 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 178, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3182,7 +3023,7 @@ }, "children": [ { - "id": 178, + "id": 179, "name": "data", "kind": 32, "kindString": "Variable", @@ -3211,7 +3052,7 @@ } }, { - "id": 179, + "id": 180, "name": "error", "kind": 32, "kindString": "Variable", @@ -3245,8 +3086,8 @@ "title": "Variables", "kind": 32, "children": [ - 178, - 179 + 179, + 180 ] } ], @@ -3261,7 +3102,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 170, + "id": 171, "name": "GoTrueClient.onAuthStateChange" } } @@ -3275,12 +3116,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 170, + "id": 171, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 136, + "id": 137, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -3289,7 +3130,7 @@ }, "signatures": [ { - "id": 137, + "id": 138, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -3305,7 +3146,7 @@ { "type": "reflection", "declaration": { - "id": 138, + "id": 139, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3314,7 +3155,7 @@ }, "children": [ { - "id": 139, + "id": 140, "name": "data", "kind": 32, "kindString": "Variable", @@ -3343,7 +3184,7 @@ } }, { - "id": 141, + "id": 142, "name": "error", "kind": 32, "kindString": "Variable", @@ -3372,7 +3213,7 @@ } }, { - "id": 140, + "id": 141, "name": "user", "kind": 32, "kindString": "Variable", @@ -3406,9 +3247,9 @@ "title": "Variables", "kind": 32, "children": [ - 139, - 141, - 140 + 140, + 142, + 141 ] } ], @@ -3426,7 +3267,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 136, + "id": 137, "name": "GoTrueClient.refreshSession" } } @@ -3440,12 +3281,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 136, + "id": 137, "name": "GoTrueClient.refreshSession" } }, { - "id": 134, + "id": 135, "name": "session", "kind": 2048, "kindString": "Method", @@ -3454,7 +3295,7 @@ }, "signatures": [ { - "id": 135, + "id": 136, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -3479,7 +3320,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 134, + "id": 135, "name": "GoTrueClient.session" } } @@ -3493,12 +3334,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 134, + "id": 135, "name": "GoTrueClient.session" } }, { - "id": 155, + "id": 156, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -3507,7 +3348,7 @@ }, "signatures": [ { - "id": 156, + "id": 157, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -3519,7 +3360,7 @@ }, "parameters": [ { - "id": 157, + "id": 158, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -3541,7 +3382,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 155, + "id": 156, "name": "GoTrueClient.setAuth" } } @@ -3555,12 +3396,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 155, + "id": 156, "name": "GoTrueClient.setAuth" } }, { - "id": 149, + "id": 150, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -3569,7 +3410,7 @@ }, "signatures": [ { - "id": 150, + "id": 151, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -3581,7 +3422,7 @@ }, "parameters": [ { - "id": 151, + "id": 152, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -3603,7 +3444,7 @@ { "type": "reflection", "declaration": { - "id": 152, + "id": 153, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3612,7 +3453,7 @@ }, "children": [ { - "id": 154, + "id": 155, "name": "error", "kind": 32, "kindString": "Variable", @@ -3641,7 +3482,7 @@ } }, { - "id": 153, + "id": 154, "name": "session", "kind": 32, "kindString": "Variable", @@ -3675,8 +3516,8 @@ "title": "Variables", "kind": 32, "children": [ - 154, - 153 + 155, + 154 ] } ], @@ -3694,7 +3535,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 149, + "id": 150, "name": "GoTrueClient.setSession" } } @@ -3708,7 +3549,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 149, + "id": 150, "name": "GoTrueClient.setSession" } }, @@ -3785,6 +3626,35 @@ ] } }, + { + "id": 108, + "name": "oidc", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 83, + "character": 65 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "name": "OpenIDConnectCredentials" + } + ] + } + }, { "id": 105, "name": "password", @@ -3871,6 +3741,10 @@ "type": "intrinsic", "name": "undefined" }, + { + "type": "stringLiteral", + "value": "apple" + }, { "type": "stringLiteral", "value": "azure" @@ -3879,6 +3753,10 @@ "type": "stringLiteral", "value": "bitbucket" }, + { + "type": "stringLiteral", + "value": "discord" + }, { "type": "stringLiteral", "value": "facebook" @@ -3897,19 +3775,15 @@ }, { "type": "stringLiteral", - "value": "twitter" + "value": "linkedin" }, { "type": "stringLiteral", - "value": "apple" + "value": "notion" }, { "type": "stringLiteral", - "value": "discord" - }, - { - "type": "stringLiteral", - "value": "twitch" + "value": "slack" }, { "type": "stringLiteral", @@ -3917,7 +3791,11 @@ }, { "type": "stringLiteral", - "value": "slack" + "value": "twitch" + }, + { + "type": "stringLiteral", + "value": "twitter" } ] } @@ -3961,6 +3839,7 @@ "kind": 32, "children": [ 103, + 108, 105, 104, 107, @@ -3979,7 +3858,7 @@ } }, { - "id": 108, + "id": 109, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3997,7 +3876,7 @@ { "type": "reflection", "declaration": { - "id": 109, + "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4006,7 +3885,7 @@ }, "children": [ { - "id": 112, + "id": 113, "name": "captchaToken", "kind": 32, "kindString": "Variable", @@ -4036,7 +3915,7 @@ } }, { - "id": 110, + "id": 111, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4066,7 +3945,7 @@ } }, { - "id": 111, + "id": 112, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -4101,9 +3980,9 @@ "title": "Variables", "kind": 32, "children": [ - 112, - 110, - 111 + 113, + 111, + 112 ] } ] @@ -4119,7 +3998,7 @@ { "type": "reflection", "declaration": { - "id": 113, + "id": 114, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4128,7 +4007,7 @@ }, "children": [ { - "id": 118, + "id": 119, "name": "error", "kind": 32, "kindString": "Variable", @@ -4157,7 +4036,7 @@ } }, { - "id": 116, + "id": 117, "name": "provider", "kind": 32, "kindString": "Variable", @@ -4178,7 +4057,7 @@ } }, { - "id": 114, + "id": 115, "name": "session", "kind": 32, "kindString": "Variable", @@ -4207,7 +4086,7 @@ } }, { - "id": 117, + "id": 118, "name": "url", "kind": 32, "kindString": "Variable", @@ -4237,7 +4116,7 @@ } }, { - "id": 115, + "id": 116, "name": "user", "kind": 32, "kindString": "Variable", @@ -4271,11 +4150,11 @@ "title": "Variables", "kind": 32, "children": [ - 118, - 116, - 114, + 119, 117, - 115 + 115, + 118, + 116 ] } ], @@ -4312,7 +4191,7 @@ } }, { - "id": 166, + "id": 167, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -4321,7 +4200,7 @@ }, "signatures": [ { - "id": 167, + "id": 168, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -4338,7 +4217,7 @@ { "type": "reflection", "declaration": { - "id": 168, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4347,7 +4226,7 @@ }, "children": [ { - "id": 169, + "id": 170, "name": "error", "kind": 32, "kindString": "Variable", @@ -4381,7 +4260,7 @@ "title": "Variables", "kind": 32, "children": [ - 169 + 170 ] } ], @@ -4399,7 +4278,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 166, + "id": 167, "name": "GoTrueClient.signOut" } } @@ -4413,7 +4292,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 166, + "id": 167, "name": "GoTrueClient.signOut" } }, @@ -4857,7 +4736,7 @@ } }, { - "id": 142, + "id": 143, "name": "update", "kind": 2048, "kindString": "Method", @@ -4866,7 +4745,7 @@ }, "signatures": [ { - "id": 143, + "id": 144, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4878,7 +4757,7 @@ }, "parameters": [ { - "id": 144, + "id": 145, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4897,7 +4776,7 @@ { "type": "reflection", "declaration": { - "id": 145, + "id": 146, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4906,7 +4785,7 @@ }, "children": [ { - "id": 146, + "id": 147, "name": "data", "kind": 32, "kindString": "Variable", @@ -4935,7 +4814,7 @@ } }, { - "id": 148, + "id": 149, "name": "error", "kind": 32, "kindString": "Variable", @@ -4964,7 +4843,7 @@ } }, { - "id": 147, + "id": 148, "name": "user", "kind": 32, "kindString": "Variable", @@ -4998,9 +4877,9 @@ "title": "Variables", "kind": 32, "children": [ - 146, - 148, - 147 + 147, + 149, + 148 ] } ], @@ -5018,7 +4897,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 142, + "id": 143, "name": "GoTrueClient.update" } } @@ -5032,12 +4911,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 142, + "id": 143, "name": "GoTrueClient.update" } }, { - "id": 132, + "id": 133, "name": "user", "kind": 2048, "kindString": "Method", @@ -5046,7 +4925,7 @@ }, "signatures": [ { - "id": 133, + "id": 134, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -5072,7 +4951,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 132, + "id": 133, "name": "GoTrueClient.user" } } @@ -5086,12 +4965,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 132, + "id": 133, "name": "GoTrueClient.user" } }, { - "id": 119, + "id": 120, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -5100,7 +4979,7 @@ }, "signatures": [ { - "id": 120, + "id": 121, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -5112,7 +4991,7 @@ }, "parameters": [ { - "id": 121, + "id": 122, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5123,7 +5002,7 @@ "type": { "type": "reflection", "declaration": { - "id": 122, + "id": 123, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5132,7 +5011,7 @@ }, "children": [ { - "id": 123, + "id": 124, "name": "phone", "kind": 32, "kindString": "Variable", @@ -5155,7 +5034,7 @@ } }, { - "id": 124, + "id": 125, "name": "token", "kind": 32, "kindString": "Variable", @@ -5183,8 +5062,8 @@ "title": "Variables", "kind": 32, "children": [ - 123, - 124 + 124, + 125 ] } ], @@ -5199,7 +5078,7 @@ } }, { - "id": 125, + "id": 126, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5217,7 +5096,7 @@ { "type": "reflection", "declaration": { - "id": 126, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5226,7 +5105,7 @@ }, "children": [ { - "id": 127, + "id": 128, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -5261,7 +5140,7 @@ "title": "Variables", "kind": 32, "children": [ - 127 + 128 ] } ] @@ -5277,7 +5156,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 129, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5286,7 +5165,7 @@ }, "children": [ { - "id": 131, + "id": 132, "name": "error", "kind": 32, "kindString": "Variable", @@ -5315,7 +5194,7 @@ } }, { - "id": 130, + "id": 131, "name": "session", "kind": 32, "kindString": "Variable", @@ -5344,7 +5223,7 @@ } }, { - "id": 129, + "id": 130, "name": "user", "kind": 32, "kindString": "Variable", @@ -5378,9 +5257,9 @@ "title": "Variables", "kind": 32, "children": [ + 132, 131, - 130, - 129 + 130 ] } ], @@ -5398,7 +5277,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 119, + "id": 120, "name": "GoTrueClient.verifyOTP" } } @@ -5412,7 +5291,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 119, + "id": 120, "name": "GoTrueClient.verifyOTP" } } @@ -5444,18 +5323,18 @@ "title": "Methods", "kind": 2048, "children": [ - 158, - 170, - 136, - 134, - 155, - 149, + 159, + 171, + 137, + 135, + 156, + 150, 99, - 166, + 167, 83, - 142, - 132, - 119 + 143, + 133, + 120 ] } ], @@ -5492,7 +5371,7 @@ ] }, { - "id": 207, + "id": 208, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -5502,7 +5381,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 208, + "id": 209, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -5511,7 +5390,7 @@ }, "typeParameter": [ { - "id": 209, + "id": 210, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5522,7 +5401,7 @@ ], "children": [ { - "id": 215, + "id": 216, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -5531,7 +5410,7 @@ }, "signatures": [ { - "id": 216, + "id": 217, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -5540,7 +5419,7 @@ }, "parameters": [ { - "id": 217, + "id": 218, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -5553,7 +5432,7 @@ } }, { - "id": 218, + "id": 219, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5564,7 +5443,7 @@ "type": { "type": "reflection", "declaration": { - "id": 219, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5573,7 +5452,7 @@ }, "children": [ { - "id": 224, + "id": 225, "name": "fetch", "kind": 32, "kindString": "Variable", @@ -5596,14 +5475,14 @@ }, { "type": "reference", - "id": 224, + "id": 225, "name": "fetch" } ] } }, { - "id": 220, + "id": 221, "name": "headers", "kind": 32, "kindString": "Variable", @@ -5624,7 +5503,7 @@ } }, { - "id": 222, + "id": 223, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -5644,7 +5523,7 @@ } }, { - "id": 221, + "id": 222, "name": "schema", "kind": 32, "kindString": "Variable", @@ -5664,7 +5543,7 @@ } }, { - "id": 223, + "id": 224, "name": "table", "kind": 32, "kindString": "Variable", @@ -5689,11 +5568,11 @@ "title": "Variables", "kind": 32, "children": [ - 224, - 220, - 222, + 225, 221, - 223 + 223, + 222, + 224 ] } ], @@ -5710,7 +5589,7 @@ ], "type": { "type": "reference", - "id": 208, + "id": 209, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -5732,7 +5611,7 @@ } }, { - "id": 212, + "id": 213, "name": "_headers", "kind": 1024, "kindString": "Property", @@ -5754,7 +5633,7 @@ } }, { - "id": 211, + "id": 212, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -5775,7 +5654,7 @@ } }, { - "id": 213, + "id": 214, "name": "_schema", "kind": 1024, "kindString": "Property", @@ -5796,7 +5675,7 @@ } }, { - "id": 210, + "id": 211, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -5816,7 +5695,7 @@ "types": [ { "type": "reference", - "id": 181, + "id": 182, "name": "SupabaseRealtimeClient" }, { @@ -5828,7 +5707,7 @@ "defaultValue": "null" }, { - "id": 214, + "id": 215, "name": "_table", "kind": 1024, "kindString": "Property", @@ -5849,7 +5728,7 @@ } }, { - "id": 283, + "id": 284, "name": "body", "kind": 1024, "kindString": "Property", @@ -5895,12 +5774,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 283, + "id": 284, "name": "PostgrestBuilder.body" } }, { - "id": 286, + "id": 287, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -5922,12 +5801,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 286, + "id": 287, "name": "PostgrestBuilder.fetch" } }, { - "id": 278, + "id": 279, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5945,7 +5824,7 @@ "type": { "type": "reflection", "declaration": { - "id": 279, + "id": 280, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5954,7 +5833,7 @@ }, "indexSignature": [ { - "id": 280, + "id": 281, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5963,7 +5842,7 @@ }, "parameters": [ { - "id": 281, + "id": 282, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5993,12 +5872,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 278, + "id": 279, "name": "PostgrestBuilder.headers" } }, { - "id": 276, + "id": 277, "name": "method", "kind": 1024, "kindString": "Property", @@ -6040,12 +5919,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 276, + "id": 277, "name": "PostgrestBuilder.method" } }, { - "id": 282, + "id": 283, "name": "schema", "kind": 1024, "kindString": "Property", @@ -6076,12 +5955,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 282, + "id": 283, "name": "PostgrestBuilder.schema" } }, { - "id": 284, + "id": 285, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -6102,12 +5981,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 284, + "id": 285, "name": "PostgrestBuilder.shouldThrowOnError" } }, { - "id": 285, + "id": 286, "name": "signal", "kind": 1024, "kindString": "Property", @@ -6129,12 +6008,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 285, + "id": 286, "name": "PostgrestBuilder.signal" } }, { - "id": 277, + "id": 278, "name": "url", "kind": 1024, "kindString": "Property", @@ -6155,12 +6034,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 277, + "id": 278, "name": "PostgrestBuilder.url" } }, { - "id": 270, + "id": 271, "name": "delete", "kind": 2048, "kindString": "Method", @@ -6169,7 +6048,7 @@ }, "signatures": [ { - "id": 271, + "id": 272, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -6181,7 +6060,7 @@ }, "parameters": [ { - "id": 272, + "id": 273, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6193,7 +6072,7 @@ "type": { "type": "reflection", "declaration": { - "id": 273, + "id": 274, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6202,7 +6081,7 @@ }, "children": [ { - "id": 275, + "id": 276, "name": "count", "kind": 32, "kindString": "Variable", @@ -6246,7 +6125,7 @@ } }, { - "id": 274, + "id": 275, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6287,8 +6166,8 @@ "title": "Variables", "kind": 32, "children": [ - 275, - 274 + 276, + 275 ] } ], @@ -6315,7 +6194,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 270, + "id": 271, "name": "PostgrestQueryBuilder.delete" } } @@ -6329,12 +6208,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 270, + "id": 271, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 239, + "id": 240, "name": "insert", "kind": 2048, "kindString": "Method", @@ -6343,7 +6222,7 @@ }, "signatures": [ { - "id": 240, + "id": 241, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -6355,7 +6234,7 @@ }, "parameters": [ { - "id": 241, + "id": 242, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6395,7 +6274,7 @@ } }, { - "id": 242, + "id": 243, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6413,7 +6292,7 @@ { "type": "reflection", "declaration": { - "id": 243, + "id": 244, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6422,7 +6301,7 @@ }, "children": [ { - "id": 245, + "id": 246, "name": "count", "kind": 32, "kindString": "Variable", @@ -6460,7 +6339,7 @@ } }, { - "id": 244, + "id": 245, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6495,8 +6374,8 @@ "title": "Variables", "kind": 32, "children": [ - 245, - 244 + 246, + 245 ] } ] @@ -6518,12 +6397,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 239, + "id": 240, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 246, + "id": 247, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -6540,7 +6419,7 @@ }, "parameters": [ { - "id": 247, + "id": 248, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6577,7 +6456,7 @@ } }, { - "id": 248, + "id": 249, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6595,7 +6474,7 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6604,7 +6483,7 @@ }, "children": [ { - "id": 253, + "id": 254, "name": "count", "kind": 32, "kindString": "Variable", @@ -6642,7 +6521,7 @@ } }, { - "id": 251, + "id": 252, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6672,7 +6551,7 @@ } }, { - "id": 252, + "id": 253, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6702,7 +6581,7 @@ } }, { - "id": 250, + "id": 251, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -6741,10 +6620,10 @@ "title": "Variables", "kind": 32, "children": [ - 253, - 251, + 254, 252, - 250 + 253, + 251 ] } ] @@ -6766,7 +6645,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 239, + "id": 240, "name": "PostgrestQueryBuilder.insert" } } @@ -6785,12 +6664,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 239, + "id": 240, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 225, + "id": 226, "name": "on", "kind": 2048, "kindString": "Method", @@ -6799,7 +6678,7 @@ }, "signatures": [ { - "id": 226, + "id": 227, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -6811,7 +6690,7 @@ }, "parameters": [ { - "id": 227, + "id": 228, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -6828,7 +6707,7 @@ } }, { - "id": 228, + "id": 229, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6841,7 +6720,7 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 230, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6850,7 +6729,7 @@ }, "signatures": [ { - "id": 230, + "id": 231, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6859,7 +6738,7 @@ }, "parameters": [ { - "id": 231, + "id": 232, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -6898,7 +6777,7 @@ ], "type": { "type": "reference", - "id": 181, + "id": 182, "name": "SupabaseRealtimeClient" } } @@ -6912,7 +6791,7 @@ ] }, { - "id": 232, + "id": 233, "name": "select", "kind": 2048, "kindString": "Method", @@ -6921,7 +6800,7 @@ }, "signatures": [ { - "id": 233, + "id": 234, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6933,7 +6812,7 @@ }, "parameters": [ { - "id": 234, + "id": 235, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6959,7 +6838,7 @@ } }, { - "id": 235, + "id": 236, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6971,7 +6850,7 @@ "type": { "type": "reflection", "declaration": { - "id": 236, + "id": 237, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6980,7 +6859,7 @@ }, "children": [ { - "id": 238, + "id": 239, "name": "count", "kind": 32, "kindString": "Variable", @@ -7024,7 +6903,7 @@ } }, { - "id": 237, + "id": 238, "name": "head", "kind": 32, "kindString": "Variable", @@ -7065,8 +6944,8 @@ "title": "Variables", "kind": 32, "children": [ - 238, - 237 + 239, + 238 ] } ], @@ -7093,7 +6972,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 232, + "id": 233, "name": "PostgrestQueryBuilder.select" } } @@ -7107,12 +6986,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 232, + "id": 233, "name": "PostgrestQueryBuilder.select" } }, { - "id": 289, + "id": 290, "name": "then", "kind": 2048, "kindString": "Method", @@ -7121,7 +7000,7 @@ }, "signatures": [ { - "id": 290, + "id": 291, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -7130,7 +7009,7 @@ }, "typeParameter": [ { - "id": 291, + "id": 292, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -7139,7 +7018,7 @@ } }, { - "id": 292, + "id": 293, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -7150,7 +7029,7 @@ ], "parameters": [ { - "id": 293, + "id": 294, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -7164,7 +7043,7 @@ { "type": "reflection", "declaration": { - "id": 294, + "id": 295, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7173,7 +7052,7 @@ }, "signatures": [ { - "id": 295, + "id": 296, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7182,7 +7061,7 @@ }, "parameters": [ { - "id": 296, + "id": 297, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -7263,7 +7142,7 @@ } }, { - "id": 297, + "id": 298, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -7277,7 +7156,7 @@ { "type": "reflection", "declaration": { - "id": 298, + "id": 299, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7286,7 +7165,7 @@ }, "signatures": [ { - "id": 299, + "id": 300, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7295,7 +7174,7 @@ }, "parameters": [ { - "id": 300, + "id": 301, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -7393,7 +7272,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 289, + "id": 290, "name": "PostgrestBuilder.then" } } @@ -7407,12 +7286,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 289, + "id": 290, "name": "PostgrestBuilder.then" } }, { - "id": 287, + "id": 288, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -7421,7 +7300,7 @@ }, "signatures": [ { - "id": 288, + "id": 289, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -7444,7 +7323,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 287, + "id": 288, "name": "PostgrestBuilder.throwOnError" } } @@ -7458,12 +7337,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 287, + "id": 288, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 263, + "id": 264, "name": "update", "kind": 2048, "kindString": "Method", @@ -7472,7 +7351,7 @@ }, "signatures": [ { - "id": 264, + "id": 265, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -7484,7 +7363,7 @@ }, "parameters": [ { - "id": 265, + "id": 266, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -7506,7 +7385,7 @@ } }, { - "id": 266, + "id": 267, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7518,7 +7397,7 @@ "type": { "type": "reflection", "declaration": { - "id": 267, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7527,7 +7406,7 @@ }, "children": [ { - "id": 269, + "id": 270, "name": "count", "kind": 32, "kindString": "Variable", @@ -7571,7 +7450,7 @@ } }, { - "id": 268, + "id": 269, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7612,8 +7491,8 @@ "title": "Variables", "kind": 32, "children": [ - 269, - 268 + 270, + 269 ] } ], @@ -7640,7 +7519,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 263, + "id": 264, "name": "PostgrestQueryBuilder.update" } } @@ -7654,12 +7533,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 263, + "id": 264, "name": "PostgrestQueryBuilder.update" } }, { - "id": 254, + "id": 255, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -7668,7 +7547,7 @@ }, "signatures": [ { - "id": 255, + "id": 256, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -7680,7 +7559,7 @@ }, "parameters": [ { - "id": 256, + "id": 257, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -7720,7 +7599,7 @@ } }, { - "id": 257, + "id": 258, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7732,7 +7611,7 @@ "type": { "type": "reflection", "declaration": { - "id": 258, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7741,7 +7620,7 @@ }, "children": [ { - "id": 261, + "id": 262, "name": "count", "kind": 32, "kindString": "Variable", @@ -7785,7 +7664,7 @@ } }, { - "id": 262, + "id": 263, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -7821,7 +7700,7 @@ } }, { - "id": 259, + "id": 260, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -7853,7 +7732,7 @@ } }, { - "id": 260, + "id": 261, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7894,10 +7773,10 @@ "title": "Variables", "kind": 32, "children": [ - 261, 262, - 259, - 260 + 263, + 260, + 261 ] } ], @@ -7924,7 +7803,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 254, + "id": 255, "name": "PostgrestQueryBuilder.upsert" } } @@ -7938,7 +7817,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 254, + "id": 255, "name": "PostgrestQueryBuilder.upsert" } } @@ -7948,40 +7827,40 @@ "title": "Constructors", "kind": 512, "children": [ - 215 + 216 ] }, { "title": "Properties", "kind": 1024, "children": [ - 212, - 211, 213, - 210, + 212, 214, - 283, - 286, - 278, - 276, - 282, + 211, + 215, 284, + 287, + 279, + 277, + 283, 285, - 277 + 286, + 278 ] }, { "title": "Methods", "kind": 2048, "children": [ - 270, - 239, - 225, - 232, - 289, - 287, - 263, - 254 + 271, + 240, + 226, + 233, + 290, + 288, + 264, + 255 ] } ], @@ -8029,7 +7908,7 @@ "title": "Classes", "kind": 128, "children": [ - 208 + 209 ] } ], @@ -8042,7 +7921,7 @@ ] }, { - "id": 180, + "id": 181, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -8052,7 +7931,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 181, + "id": 182, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -8061,7 +7940,7 @@ }, "children": [ { - "id": 183, + "id": 184, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8070,7 +7949,7 @@ }, "signatures": [ { - "id": 184, + "id": 185, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -8079,7 +7958,7 @@ }, "parameters": [ { - "id": 185, + "id": 186, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -8092,7 +7971,7 @@ } }, { - "id": 186, + "id": 187, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -8106,7 +7985,7 @@ } }, { - "id": 187, + "id": 188, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -8119,7 +7998,7 @@ } }, { - "id": 188, + "id": 189, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -8134,7 +8013,7 @@ ], "type": { "type": "reference", - "id": 181, + "id": 182, "name": "SupabaseRealtimeClient" } } @@ -8148,7 +8027,7 @@ ] }, { - "id": 182, + "id": 183, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -8168,7 +8047,7 @@ } }, { - "id": 189, + "id": 190, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -8178,7 +8057,7 @@ }, "signatures": [ { - "id": 190, + "id": 191, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -8187,7 +8066,7 @@ }, "parameters": [ { - "id": 191, + "id": 192, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -8203,7 +8082,7 @@ "type": { "type": "reflection", "declaration": { - "id": 192, + "id": 193, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8212,7 +8091,7 @@ }, "children": [ { - "id": 193, + "id": 194, "name": "new", "kind": 32, "kindString": "Variable", @@ -8229,7 +8108,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8240,7 +8119,7 @@ } }, { - "id": 195, + "id": 196, "name": "old", "kind": 32, "kindString": "Variable", @@ -8257,7 +8136,7 @@ "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8273,8 +8152,8 @@ "title": "Variables", "kind": 32, "children": [ - 193, - 195 + 194, + 196 ] } ] @@ -8291,7 +8170,7 @@ ] }, { - "id": 197, + "id": 198, "name": "on", "kind": 2048, "kindString": "Method", @@ -8300,7 +8179,7 @@ }, "signatures": [ { - "id": 198, + "id": 199, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -8312,7 +8191,7 @@ }, "parameters": [ { - "id": 199, + "id": 200, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -8329,7 +8208,7 @@ } }, { - "id": 200, + "id": 201, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -8342,7 +8221,7 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8351,7 +8230,7 @@ }, "signatures": [ { - "id": 202, + "id": 203, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -8360,7 +8239,7 @@ }, "parameters": [ { - "id": 203, + "id": 204, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -8412,7 +8291,7 @@ ] }, { - "id": 204, + "id": 205, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -8421,7 +8300,7 @@ }, "signatures": [ { - "id": 205, + "id": 206, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -8433,7 +8312,7 @@ }, "parameters": [ { - "id": 206, + "id": 207, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -8467,23 +8346,23 @@ "title": "Constructors", "kind": 512, "children": [ - 183 + 184 ] }, { "title": "Properties", "kind": 1024, "children": [ - 182 + 183 ] }, { "title": "Methods", "kind": 2048, "children": [ - 189, - 197, - 204 + 190, + 198, + 205 ] } ], @@ -8501,7 +8380,7 @@ "title": "Classes", "kind": 128, "children": [ - 181 + 182 ] } ], @@ -9507,7 +9386,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 224, + "id": 225, "name": "fetch" } } @@ -10270,11 +10149,11 @@ "title": "Modules", "kind": 1, "children": [ - 301, - 408, + 302, + 402, 69, - 207, - 180, + 208, + 181, 3, 7, 15, @@ -10307,7 +10186,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -10345,13 +10224,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 33, + "line": 34, "character": 4 } ], "type": { "type": "reference", - "id": 505, + "id": 518, "name": "CookieOptions" } }, @@ -10366,7 +10245,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 34, + "line": 35, "character": 4 } ], @@ -10445,7 +10324,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 30, + "line": 31, "character": 4 } ], @@ -10492,7 +10371,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 29, + "line": 30, "character": 4 } ], @@ -10537,13 +10416,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 20, + "line": 21, "character": 12 } ], "type": { "type": "reference", - "id": 505, + "id": 518, "name": "CookieOptions" } }, @@ -10559,7 +10438,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 21, + "line": 22, "character": 12 } ], @@ -10638,7 +10517,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 17, + "line": 18, "character": 12 } ], @@ -10687,7 +10566,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 16, + "line": 17, "character": 12 } ], @@ -10707,7 +10586,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 47, + "line": 48, "character": 10 } ], @@ -10761,7 +10640,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 53, + "line": 54, "character": 10 } ], @@ -10780,7 +10659,7 @@ ] }, { - "id": 171, + "id": 177, "name": "createUser", "kind": 2048, "kindString": "Method", @@ -10788,13 +10667,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 556, + "line": 583, "character": 8 } ], "signatures": [ { - "id": 172, + "id": 178, "name": "createUser", "kind": 4096, "kindString": "Call signature", @@ -10805,7 +10684,7 @@ }, "parameters": [ { - "id": 173, + "id": 179, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -10815,7 +10694,7 @@ }, "type": { "type": "reference", - "id": 488, + "id": 501, "name": "AdminUserAttributes" } } @@ -10829,14 +10708,14 @@ { "type": "reflection", "declaration": { - "id": 174, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 176, + "id": 182, "name": "data", "kind": 1024, "kindString": "Property", @@ -10844,7 +10723,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 18 } ], @@ -10854,7 +10733,7 @@ } }, { - "id": 177, + "id": 183, "name": "error", "kind": 1024, "kindString": "Property", @@ -10862,18 +10741,18 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 30 } ], "type": { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } }, { - "id": 175, + "id": 181, "name": "user", "kind": 1024, "kindString": "Property", @@ -10881,7 +10760,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 6 } ], @@ -10896,9 +10775,9 @@ "title": "Properties", "kind": 1024, "children": [ - 176, - 177, - 175 + 182, + 183, + 181 ] } ] @@ -10907,14 +10786,14 @@ { "type": "reflection", "declaration": { - "id": 178, + "id": 184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 180, + "id": 186, "name": "data", "kind": 1024, "kindString": "Property", @@ -10922,18 +10801,18 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 64 } ], "type": { "type": "reference", - "id": 457, + "id": 470, "name": "User" } }, { - "id": 181, + "id": 187, "name": "error", "kind": 1024, "kindString": "Property", @@ -10941,7 +10820,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 76 } ], @@ -10951,7 +10830,7 @@ } }, { - "id": 179, + "id": 185, "name": "user", "kind": 1024, "kindString": "Property", @@ -10959,13 +10838,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 52 } ], "type": { "type": "reference", - "id": 457, + "id": 470, "name": "User" } } @@ -10975,9 +10854,9 @@ "title": "Properties", "kind": 1024, "children": [ - 180, - 181, - 179 + 186, + 187, + 185 ] } ] @@ -10994,7 +10873,7 @@ ] }, { - "id": 148, + "id": 154, "name": "deleteAuthCookie", "kind": 2048, "kindString": "Method", @@ -11002,13 +10881,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 452, + "line": 479, "character": 2 } ], "signatures": [ { - "id": 149, + "id": 155, "name": "deleteAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -11018,7 +10897,7 @@ }, "parameters": [ { - "id": 150, + "id": 156, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -11032,7 +10911,7 @@ } }, { - "id": 151, + "id": 157, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -11046,7 +10925,7 @@ } }, { - "id": 152, + "id": 158, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11058,14 +10937,14 @@ "type": { "type": "reflection", "declaration": { - "id": 153, + "id": 159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 154, + "id": 160, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11075,7 +10954,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 452, + "line": 479, "character": 63 } ], @@ -11090,7 +10969,7 @@ "title": "Properties", "kind": 1024, "children": [ - 154 + 160 ] } ] @@ -11106,7 +10985,7 @@ ] }, { - "id": 216, + "id": 222, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -11114,13 +10993,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 696, + "line": 723, "character": 8 } ], "signatures": [ { - "id": 217, + "id": 223, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -11131,7 +11010,7 @@ }, "parameters": [ { - "id": 218, + "id": 224, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -11151,14 +11030,14 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 225, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 221, + "id": 227, "name": "data", "kind": 1024, "kindString": "Property", @@ -11166,7 +11045,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 698, + "line": 725, "character": 34 } ], @@ -11179,14 +11058,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 222, + "id": 228, "name": "error", "kind": 1024, "kindString": "Property", @@ -11194,7 +11073,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 698, + "line": 725, "character": 53 } ], @@ -11207,14 +11086,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 220, + "id": 226, "name": "user", "kind": 1024, "kindString": "Property", @@ -11222,7 +11101,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 698, + "line": 725, "character": 15 } ], @@ -11235,7 +11114,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -11247,9 +11126,9 @@ "title": "Properties", "kind": 1024, "children": [ - 221, - 222, - 220 + 227, + 228, + 226 ] } ] @@ -11264,7 +11143,7 @@ ] }, { - "id": 159, + "id": 165, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -11272,13 +11151,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 519, + "line": 546, "character": 8 } ], "signatures": [ { - "id": 160, + "id": 166, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -11288,7 +11167,7 @@ }, "parameters": [ { - "id": 161, + "id": 167, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -11319,7 +11198,7 @@ } }, { - "id": 162, + "id": 168, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -11333,7 +11212,7 @@ } }, { - "id": 163, + "id": 169, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11341,14 +11220,14 @@ "type": { "type": "reflection", "declaration": { - "id": 164, + "id": 170, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 166, + "id": 172, "name": "data", "kind": 1024, "kindString": "Property", @@ -11358,7 +11237,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 524, + "line": 551, "character": 6 } ], @@ -11368,7 +11247,7 @@ } }, { - "id": 165, + "id": 171, "name": "password", "kind": 1024, "kindString": "Property", @@ -11378,7 +11257,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 523, + "line": 550, "character": 6 } ], @@ -11388,7 +11267,7 @@ } }, { - "id": 167, + "id": 173, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11398,7 +11277,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 525, + "line": 552, "character": 6 } ], @@ -11413,9 +11292,9 @@ "title": "Properties", "kind": 1024, "children": [ - 166, - 165, - 167 + 172, + 171, + 173 ] } ] @@ -11430,14 +11309,14 @@ { "type": "reflection", "declaration": { - "id": 168, + "id": 174, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 169, + "id": 175, "name": "data", "kind": 1024, "kindString": "Property", @@ -11445,7 +11324,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 527, + "line": 554, "character": 15 } ], @@ -11458,19 +11337,19 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 170, + "id": 176, "name": "error", "kind": 1024, "kindString": "Property", @@ -11478,7 +11357,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 527, + "line": 554, "character": 44 } ], @@ -11491,7 +11370,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -11503,8 +11382,8 @@ "title": "Properties", "kind": 1024, "children": [ - 169, - 170 + 175, + 176 ] } ] @@ -11519,7 +11398,7 @@ ] }, { - "id": 155, + "id": 161, "name": "getAuthCookieString", "kind": 2048, "kindString": "Method", @@ -11527,13 +11406,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 471, + "line": 498, "character": 2 } ], "signatures": [ { - "id": 156, + "id": 162, "name": "getAuthCookieString", "kind": 4096, "kindString": "Call signature", @@ -11544,7 +11423,7 @@ }, "parameters": [ { - "id": 157, + "id": 163, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -11558,7 +11437,7 @@ } }, { - "id": 158, + "id": 164, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -11591,7 +11470,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 63, + "line": 64, "character": 2 } ], @@ -11617,7 +11496,7 @@ }, "type": { "type": "reference", - "id": 433, + "id": 446, "name": "Provider" } }, @@ -11647,7 +11526,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 66, + "line": 67, "character": 6 } ], @@ -11667,7 +11546,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 67, + "line": 68, "character": 6 } ], @@ -11699,7 +11578,7 @@ ] }, { - "id": 223, + "id": 229, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -11707,13 +11586,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 723, + "line": 750, "character": 8 } ], "signatures": [ { - "id": 224, + "id": 230, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -11724,7 +11603,7 @@ }, "parameters": [ { - "id": 225, + "id": 231, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -11744,14 +11623,14 @@ { "type": "reflection", "declaration": { - "id": 226, + "id": 232, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 228, + "id": 234, "name": "data", "kind": 1024, "kindString": "Property", @@ -11759,7 +11638,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 725, + "line": 752, "character": 34 } ], @@ -11772,14 +11651,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 229, + "id": 235, "name": "error", "kind": 1024, "kindString": "Property", @@ -11787,7 +11666,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 725, + "line": 752, "character": 53 } ], @@ -11800,14 +11679,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 227, + "id": 233, "name": "user", "kind": 1024, "kindString": "Property", @@ -11815,7 +11694,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 725, + "line": 752, "character": 15 } ], @@ -11828,7 +11707,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -11840,9 +11719,9 @@ "title": "Properties", "kind": 1024, "children": [ - 228, - 229, - 227 + 234, + 235, + 233 ] } ] @@ -11857,7 +11736,7 @@ ] }, { - "id": 199, + "id": 205, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -11865,13 +11744,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 611, + "line": 638, "character": 8 } ], "signatures": [ { - "id": 200, + "id": 206, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -11881,7 +11760,7 @@ }, "parameters": [ { - "id": 201, + "id": 207, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -11892,7 +11771,7 @@ } }, { - "id": 202, + "id": 208, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -11911,14 +11790,14 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 212, "name": "data", "kind": 1024, "kindString": "Property", @@ -11926,7 +11805,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 617, + "line": 644, "character": 4 } ], @@ -11939,14 +11818,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 207, + "id": 213, "name": "error", "kind": 1024, "kindString": "Property", @@ -11954,7 +11833,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 618, + "line": 645, "character": 4 } ], @@ -11967,14 +11846,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 204, + "id": 210, "name": "token", "kind": 1024, "kindString": "Property", @@ -11982,7 +11861,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 615, + "line": 642, "character": 4 } ], @@ -12001,7 +11880,7 @@ } }, { - "id": 205, + "id": 211, "name": "user", "kind": 1024, "kindString": "Property", @@ -12009,7 +11888,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 616, + "line": 643, "character": 4 } ], @@ -12022,7 +11901,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -12034,10 +11913,10 @@ "title": "Properties", "kind": 1024, "children": [ - 206, - 207, - 204, - 205 + 212, + 213, + 210, + 211 ] } ] @@ -12052,7 +11931,7 @@ ] }, { - "id": 190, + "id": 196, "name": "getUserById", "kind": 2048, "kindString": "Method", @@ -12060,13 +11939,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 594, + "line": 621, "character": 8 } ], "signatures": [ { - "id": 191, + "id": 197, "name": "getUserById", "kind": 4096, "kindString": "Call signature", @@ -12076,7 +11955,7 @@ }, "parameters": [ { - "id": 192, + "id": 198, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -12099,14 +11978,14 @@ { "type": "reflection", "declaration": { - "id": 193, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 200, "name": "data", "kind": 1024, "kindString": "Property", @@ -12114,7 +11993,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 596, + "line": 623, "character": 15 } ], @@ -12124,7 +12003,7 @@ } }, { - "id": 195, + "id": 201, "name": "error", "kind": 1024, "kindString": "Property", @@ -12132,13 +12011,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 596, + "line": 623, "character": 27 } ], "type": { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } } @@ -12148,8 +12027,8 @@ "title": "Properties", "kind": 1024, "children": [ - 194, - 195 + 200, + 201 ] } ] @@ -12158,14 +12037,14 @@ { "type": "reflection", "declaration": { - "id": 196, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 197, + "id": 203, "name": "data", "kind": 1024, "kindString": "Property", @@ -12173,18 +12052,18 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 596, + "line": 623, "character": 49 } ], "type": { "type": "reference", - "id": 457, + "id": 470, "name": "User" } }, { - "id": 198, + "id": 204, "name": "error", "kind": 1024, "kindString": "Property", @@ -12192,7 +12071,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 596, + "line": 623, "character": 61 } ], @@ -12207,8 +12086,8 @@ "title": "Properties", "kind": 1024, "children": [ - 197, - 198 + 203, + 204 ] } ] @@ -12225,7 +12104,7 @@ ] }, { - "id": 117, + "id": 123, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -12233,13 +12112,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 323, + "line": 350, "character": 8 } ], "signatures": [ { - "id": 118, + "id": 124, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -12249,7 +12128,7 @@ }, "parameters": [ { - "id": 119, + "id": 125, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -12263,7 +12142,7 @@ } }, { - "id": 120, + "id": 126, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12271,14 +12150,14 @@ "type": { "type": "reflection", "declaration": { - "id": 121, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 123, + "id": 129, "name": "data", "kind": 1024, "kindString": "Property", @@ -12288,7 +12167,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 327, + "line": 354, "character": 6 } ], @@ -12298,7 +12177,7 @@ } }, { - "id": 122, + "id": 128, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12308,7 +12187,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 326, + "line": 353, "character": 6 } ], @@ -12323,8 +12202,8 @@ "title": "Properties", "kind": 1024, "children": [ - 123, - 122 + 129, + 128 ] } ] @@ -12339,14 +12218,14 @@ { "type": "reflection", "declaration": { - "id": 124, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 125, + "id": 131, "name": "data", "kind": 1024, "kindString": "Property", @@ -12354,7 +12233,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 329, + "line": 356, "character": 15 } ], @@ -12367,14 +12246,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 126, + "id": 132, "name": "error", "kind": 1024, "kindString": "Property", @@ -12382,7 +12261,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 329, + "line": 356, "character": 34 } ], @@ -12395,7 +12274,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -12407,8 +12286,8 @@ "title": "Properties", "kind": 1024, "children": [ - 125, - 126 + 131, + 132 ] } ] @@ -12423,7 +12302,7 @@ ] }, { - "id": 182, + "id": 188, "name": "listUsers", "kind": 2048, "kindString": "Method", @@ -12431,13 +12310,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 8 } ], "signatures": [ { - "id": 183, + "id": 189, "name": "listUsers", "kind": 4096, "kindString": "Call signature", @@ -12455,14 +12334,14 @@ { "type": "reflection", "declaration": { - "id": 184, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 185, + "id": 191, "name": "data", "kind": 1024, "kindString": "Property", @@ -12470,7 +12349,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 31 } ], @@ -12480,7 +12359,7 @@ } }, { - "id": 186, + "id": 192, "name": "error", "kind": 1024, "kindString": "Property", @@ -12488,13 +12367,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 43 } ], "type": { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } } @@ -12504,8 +12383,8 @@ "title": "Properties", "kind": 1024, "children": [ - 185, - 186 + 191, + 192 ] } ] @@ -12514,14 +12393,14 @@ { "type": "reflection", "declaration": { - "id": 187, + "id": 193, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 188, + "id": 194, "name": "data", "kind": 1024, "kindString": "Property", @@ -12529,7 +12408,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 65 } ], @@ -12537,13 +12416,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 457, + "id": 470, "name": "User" } } }, { - "id": 189, + "id": 195, "name": "error", "kind": 1024, "kindString": "Property", @@ -12551,7 +12430,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 79 } ], @@ -12566,8 +12445,8 @@ "title": "Properties", "kind": 1024, "children": [ - 188, - 189 + 194, + 195 ] } ] @@ -12584,7 +12463,7 @@ ] }, { - "id": 138, + "id": 144, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -12592,13 +12471,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 382, + "line": 409, "character": 8 } ], "signatures": [ { - "id": 139, + "id": 145, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -12608,7 +12487,7 @@ }, "parameters": [ { - "id": 140, + "id": 146, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -12628,14 +12507,14 @@ { "type": "reflection", "declaration": { - "id": 141, + "id": 147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 142, + "id": 148, "name": "data", "kind": 1024, "kindString": "Property", @@ -12643,7 +12522,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 384, + "line": 411, "character": 15 } ], @@ -12656,12 +12535,215 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, + { + "id": 149, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 411, + "character": 37 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 448, + "name": "ApiError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 148, + 149 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 133, + "name": "resetPasswordForEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 380, + "character": 8 + } + ], + "signatures": [ + { + "id": 134, + "name": "resetPasswordForEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends a reset request to an email address." + }, + "parameters": [ + { + "id": 135, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 136, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 137, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 139, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 384, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 138, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 383, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 139, + 138 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 140, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 141, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 386, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + } + }, { "id": 143, "name": "error", @@ -12671,8 +12753,8 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 384, - "character": 37 + "line": 386, + "character": 32 } ], "type": { @@ -12684,7 +12766,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -12696,7 +12778,7 @@ "title": "Properties", "kind": 1024, "children": [ - 142, + 141, 143 ] } @@ -12712,210 +12794,7 @@ ] }, { - "id": 127, - "name": "resetPasswordForEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 353, - "character": 8 - } - ], - "signatures": [ - { - "id": 128, - "name": "resetPasswordForEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a reset request to an email address." - }, - "parameters": [ - { - "id": 129, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 130, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 131, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 133, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 357, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 132, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 356, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 133, - 132 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 134, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 135, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 359, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 136, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - }, - { - "id": 137, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 359, - "character": 32 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 435, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 135, - 137 - ] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 81, + "id": 87, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -12923,13 +12802,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 223, + "line": 250, "character": 8 } ], "signatures": [ { - "id": 82, + "id": 88, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -12939,7 +12818,7 @@ }, "parameters": [ { - "id": 83, + "id": 89, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -12953,7 +12832,7 @@ } }, { - "id": 84, + "id": 90, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12961,14 +12840,14 @@ "type": { "type": "reflection", "declaration": { - "id": 85, + "id": 91, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 87, + "id": 93, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12978,7 +12857,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 227, + "line": 254, "character": 6 } ], @@ -12988,7 +12867,7 @@ } }, { - "id": 86, + "id": 92, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12998,7 +12877,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 226, + "line": 253, "character": 6 } ], @@ -13013,8 +12892,8 @@ "title": "Properties", "kind": 1024, "children": [ - 87, - 86 + 93, + 92 ] } ] @@ -13029,14 +12908,14 @@ { "type": "reflection", "declaration": { - "id": 88, + "id": 94, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 89, + "id": 95, "name": "data", "kind": 1024, "kindString": "Property", @@ -13044,7 +12923,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 229, + "line": 256, "character": 15 } ], @@ -13058,7 +12937,7 @@ { "type": "reflection", "declaration": { - "id": 90, + "id": 96, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13069,7 +12948,7 @@ } }, { - "id": 91, + "id": 97, "name": "error", "kind": 1024, "kindString": "Property", @@ -13077,7 +12956,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 229, + "line": 256, "character": 32 } ], @@ -13090,7 +12969,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -13102,8 +12981,8 @@ "title": "Properties", "kind": 1024, "children": [ - 89, - 91 + 95, + 97 ] } ] @@ -13118,7 +12997,7 @@ ] }, { - "id": 92, + "id": 98, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -13126,13 +13005,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 252, + "line": 279, "character": 8 } ], "signatures": [ { - "id": 93, + "id": 99, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -13142,7 +13021,7 @@ }, "parameters": [ { - "id": 94, + "id": 100, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -13156,7 +13035,7 @@ } }, { - "id": 95, + "id": 101, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13164,14 +13043,14 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 102, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 97, + "id": 103, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13181,7 +13060,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 255, + "line": 282, "character": 6 } ], @@ -13196,7 +13075,7 @@ "title": "Properties", "kind": 1024, "children": [ - 97 + 103 ] } ] @@ -13211,14 +13090,14 @@ { "type": "reflection", "declaration": { - "id": 98, + "id": 104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 99, + "id": 105, "name": "data", "kind": 1024, "kindString": "Property", @@ -13226,7 +13105,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 257, + "line": 284, "character": 15 } ], @@ -13240,7 +13119,7 @@ { "type": "reflection", "declaration": { - "id": 100, + "id": 106, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13251,7 +13130,7 @@ } }, { - "id": 101, + "id": 107, "name": "error", "kind": 1024, "kindString": "Property", @@ -13259,7 +13138,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 257, + "line": 284, "character": 32 } ], @@ -13272,7 +13151,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -13284,8 +13163,8 @@ "title": "Properties", "kind": 1024, "children": [ - 99, - 101 + 105, + 107 ] } ] @@ -13300,7 +13179,7 @@ ] }, { - "id": 144, + "id": 150, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -13308,13 +13187,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 406, + "line": 433, "character": 2 } ], "signatures": [ { - "id": 145, + "id": 151, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -13324,7 +13203,7 @@ }, "parameters": [ { - "id": 146, + "id": 152, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -13338,7 +13217,7 @@ } }, { - "id": 147, + "id": 153, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -13368,7 +13247,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 130, + "line": 131, "character": 8 } ], @@ -13437,7 +13316,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 134, + "line": 135, "character": 6 } ], @@ -13482,7 +13361,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 136, + "line": 137, "character": 15 } ], @@ -13495,7 +13374,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -13510,7 +13389,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 136, + "line": 137, "character": 37 } ], @@ -13523,7 +13402,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -13550,6 +13429,132 @@ } ] }, + { + "id": 81, + "name": "signInWithOpenIDConnect", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 227, + "character": 8 + } + ], + "signatures": [ + { + "id": 82, + "name": "signInWithOpenIDConnect", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Logs in an OpenID Connect user using their id_token." + }, + "parameters": [ + { + "id": 83, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 534, + "name": "OpenIDConnectCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 84, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 85, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 227, + "character": 118 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 451, + "name": "Session" + } + ] + } + }, + { + "id": 86, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 227, + "character": 140 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 448, + "name": "ApiError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 85, + 86 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, { "id": 74, "name": "signInWithPhone", @@ -13559,7 +13564,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 197, + "line": 198, "character": 8 } ], @@ -13624,7 +13629,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 200, + "line": 201, "character": 15 } ], @@ -13637,7 +13642,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -13652,7 +13657,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 200, + "line": 201, "character": 37 } ], @@ -13665,7 +13670,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -13693,7 +13698,7 @@ ] }, { - "id": 102, + "id": 108, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -13701,13 +13706,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 276, + "line": 303, "character": 8 } ], "signatures": [ { - "id": 103, + "id": 109, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -13717,7 +13722,7 @@ }, "parameters": [ { - "id": 104, + "id": 110, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -13737,14 +13742,14 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 106, + "id": 112, "name": "error", "kind": 1024, "kindString": "Property", @@ -13752,7 +13757,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 276, + "line": 303, "character": 40 } ], @@ -13765,7 +13770,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -13777,7 +13782,7 @@ "title": "Properties", "kind": 1024, "children": [ - 106 + 112 ] } ] @@ -13800,7 +13805,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 90, + "line": 91, "character": 8 } ], @@ -13870,7 +13875,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 96, + "line": 97, "character": 6 } ], @@ -13890,7 +13895,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 95, + "line": 96, "character": 6 } ], @@ -13910,7 +13915,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 94, + "line": 95, "character": 6 } ], @@ -13957,7 +13962,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 98, + "line": 99, "character": 15 } ], @@ -13970,12 +13975,12 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -13990,7 +13995,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 98, + "line": 99, "character": 44 } ], @@ -14003,7 +14008,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -14039,7 +14044,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 163, + "line": 164, "character": 8 } ], @@ -14108,7 +14113,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 168, + "line": 169, "character": 6 } ], @@ -14128,7 +14133,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 167, + "line": 168, "character": 6 } ], @@ -14174,7 +14179,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 170, + "line": 171, "character": 15 } ], @@ -14187,12 +14192,12 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -14207,7 +14212,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 170, + "line": 171, "character": 44 } ], @@ -14220,7 +14225,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -14248,7 +14253,7 @@ ] }, { - "id": 230, + "id": 236, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -14256,13 +14261,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 741, + "line": 768, "character": 8 } ], "signatures": [ { - "id": 231, + "id": 237, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -14272,7 +14277,7 @@ }, "parameters": [ { - "id": 232, + "id": 238, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -14286,7 +14291,7 @@ } }, { - "id": 233, + "id": 239, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -14296,7 +14301,7 @@ }, "type": { "type": "reference", - "id": 483, + "id": 496, "name": "UserAttributes" } } @@ -14307,14 +14312,14 @@ { "type": "reflection", "declaration": { - "id": 234, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 236, + "id": 242, "name": "data", "kind": 1024, "kindString": "Property", @@ -14322,7 +14327,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 744, + "line": 771, "character": 34 } ], @@ -14335,14 +14340,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 237, + "id": 243, "name": "error", "kind": 1024, "kindString": "Property", @@ -14350,7 +14355,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 744, + "line": 771, "character": 53 } ], @@ -14363,14 +14368,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 235, + "id": 241, "name": "user", "kind": 1024, "kindString": "Property", @@ -14378,7 +14383,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 744, + "line": 771, "character": 15 } ], @@ -14391,7 +14396,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -14403,9 +14408,9 @@ "title": "Properties", "kind": 1024, "children": [ - 236, - 237, - 235 + 242, + 243, + 241 ] } ] @@ -14420,7 +14425,7 @@ ] }, { - "id": 208, + "id": 214, "name": "updateUserById", "kind": 2048, "kindString": "Method", @@ -14428,13 +14433,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 674, + "line": 701, "character": 8 } ], "signatures": [ { - "id": 209, + "id": 215, "name": "updateUserById", "kind": 4096, "kindString": "Call signature", @@ -14444,7 +14449,7 @@ }, "parameters": [ { - "id": 210, + "id": 216, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -14455,7 +14460,7 @@ } }, { - "id": 211, + "id": 217, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -14465,7 +14470,7 @@ }, "type": { "type": "reference", - "id": 488, + "id": 501, "name": "AdminUserAttributes" } } @@ -14476,14 +14481,14 @@ { "type": "reflection", "declaration": { - "id": 212, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 214, + "id": 220, "name": "data", "kind": 1024, "kindString": "Property", @@ -14491,7 +14496,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 677, + "line": 704, "character": 34 } ], @@ -14504,14 +14509,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 215, + "id": 221, "name": "error", "kind": 1024, "kindString": "Property", @@ -14519,7 +14524,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 677, + "line": 704, "character": 53 } ], @@ -14532,14 +14537,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 213, + "id": 219, "name": "user", "kind": 1024, "kindString": "Property", @@ -14547,7 +14552,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 677, + "line": 704, "character": 15 } ], @@ -14560,7 +14565,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -14572,9 +14577,9 @@ "title": "Properties", "kind": 1024, "children": [ - 214, - 215, - 213 + 220, + 221, + 219 ] } ] @@ -14589,7 +14594,7 @@ ] }, { - "id": 107, + "id": 113, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -14597,13 +14602,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 296, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 108, + "id": 114, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -14613,7 +14618,7 @@ }, "parameters": [ { - "id": 109, + "id": 115, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -14627,7 +14632,7 @@ } }, { - "id": 110, + "id": 116, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -14641,7 +14646,7 @@ } }, { - "id": 111, + "id": 117, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14649,14 +14654,14 @@ "type": { "type": "reflection", "declaration": { - "id": 112, + "id": 118, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 113, + "id": 119, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -14666,7 +14671,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 300, + "line": 327, "character": 6 } ], @@ -14681,7 +14686,7 @@ "title": "Properties", "kind": 1024, "children": [ - 113 + 119 ] } ] @@ -14696,14 +14701,14 @@ { "type": "reflection", "declaration": { - "id": 114, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 115, + "id": 121, "name": "data", "kind": 1024, "kindString": "Property", @@ -14711,7 +14716,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 302, + "line": 329, "character": 15 } ], @@ -14724,19 +14729,19 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 116, + "id": 122, "name": "error", "kind": 1024, "kindString": "Property", @@ -14744,7 +14749,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 302, + "line": 329, "character": 44 } ], @@ -14757,7 +14762,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -14769,8 +14774,8 @@ "title": "Properties", "kind": 1024, "children": [ - 115, - 116 + 121, + 122 ] } ] @@ -14809,50 +14814,51 @@ "children": [ 28, 32, - 171, - 148, - 216, - 159, - 155, + 177, + 154, + 222, + 165, + 161, 34, - 223, - 199, - 190, - 117, - 182, - 138, - 127, - 81, - 92, + 229, + 205, + 196, + 123, + 188, 144, + 133, + 87, + 98, + 150, 53, + 81, 74, - 102, + 108, 41, 63, - 230, - 208, - 107 + 236, + 214, + 113 ] } ], "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 15, + "line": 16, "character": 21 } ] }, { - "id": 238, + "id": 244, "name": "GoTrueClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 239, + "id": 245, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -14860,13 +14866,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 76, + "line": 77, "character": 2 } ], "signatures": [ { - "id": 240, + "id": 246, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -14876,7 +14882,7 @@ }, "parameters": [ { - "id": 241, + "id": 247, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14884,14 +14890,14 @@ "type": { "type": "reflection", "declaration": { - "id": 242, + "id": 248, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 249, + "id": 255, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -14901,6 +14907,51 @@ "comment": { "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring." }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 81, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 259, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 85, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 518, + "name": "CookieOptions" + } + }, + { + "id": 254, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." + }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -14914,52 +14965,7 @@ } }, { - "id": 253, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 84, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 505, - "name": "CookieOptions" - } - }, - { - "id": 248, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 79, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 254, + "id": 260, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -14969,21 +14975,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 85, + "line": 86, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 255, + "id": 261, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 256, + "id": 262, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -14993,7 +14999,7 @@ }, "parameters": [ { - "id": 257, + "id": 263, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -15006,7 +15012,7 @@ } }, { - "id": 258, + "id": 264, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -15041,7 +15047,7 @@ } }, { - "id": 244, + "id": 250, "name": "headers", "kind": 1024, "kindString": "Property", @@ -15054,27 +15060,27 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 78, + "line": 79, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 245, + "id": 251, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 246, + "id": 252, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 247, + "id": 253, "name": "key", "kind": 32768, "flags": {}, @@ -15093,7 +15099,7 @@ } }, { - "id": 251, + "id": 257, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -15106,7 +15112,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 82, + "line": 83, "character": 4 } ], @@ -15149,7 +15155,7 @@ } }, { - "id": 252, + "id": 258, "name": "multiTab", "kind": 1024, "kindString": "Property", @@ -15162,7 +15168,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 83, + "line": 84, "character": 4 } ], @@ -15172,7 +15178,7 @@ } }, { - "id": 250, + "id": 256, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -15185,7 +15191,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 81, + "line": 82, "character": 4 } ], @@ -15195,7 +15201,7 @@ } }, { - "id": 243, + "id": 249, "name": "url", "kind": 1024, "kindString": "Property", @@ -15208,7 +15214,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 77, + "line": 78, "character": 4 } ], @@ -15223,15 +15229,15 @@ "title": "Properties", "kind": 1024, "children": [ - 249, - 253, - 248, + 255, + 259, 254, - 244, - 251, - 252, + 260, 250, - 243 + 257, + 258, + 256, + 249 ] } ] @@ -15241,14 +15247,14 @@ ], "type": { "type": "reference", - "id": 238, + "id": 244, "name": "default" } } ] }, { - "id": 259, + "id": 265, "name": "api", "kind": 1024, "kindString": "Property", @@ -15259,7 +15265,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -15270,7 +15276,7 @@ } }, { - "id": 262, + "id": 268, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -15280,7 +15286,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 57, + "line": 58, "character": 12 } ], @@ -15290,7 +15296,7 @@ } }, { - "id": 261, + "id": 267, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -15303,7 +15309,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 55, + "line": 56, "character": 12 } ], @@ -15316,14 +15322,14 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, { - "id": 260, + "id": 266, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -15336,7 +15342,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 51, + "line": 52, "character": 12 } ], @@ -15349,14 +15355,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 264, + "id": 270, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -15366,7 +15372,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 59, + "line": 60, "character": 12 } ], @@ -15409,76 +15415,13 @@ } }, { - "id": 265, + "id": 271, "name": "multiTab", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 60, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 263, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 58, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 267, - "name": "refreshTokenTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 62, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "NodeJS.Timeout", - "package": "@types/node", - "name": "Timeout" - } - }, - { - "id": 266, - "name": "stateChangeEmitters", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -15486,6 +15429,69 @@ "character": 12 } ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 269, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 59, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 273, + "name": "refreshTokenTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 63, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "NodeJS.Timeout", + "package": "@types/node", + "name": "Timeout" + } + }, + { + "id": 272, + "name": "stateChangeEmitters", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 62, + "character": 12 + } + ], "type": { "type": "reference", "typeArguments": [ @@ -15495,7 +15501,7 @@ }, { "type": "reference", - "id": 497, + "id": 510, "name": "Subscription" } ], @@ -15506,7 +15512,7 @@ "defaultValue": "..." }, { - "id": 408, + "id": 421, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -15516,20 +15522,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 625, + "line": 650, "character": 16 } ], "signatures": [ { - "id": 409, + "id": 422, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 410, + "id": 423, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -15559,26 +15565,26 @@ { "type": "reflection", "declaration": { - "id": 411, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 412, + "id": 425, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } }, { - "id": 413, + "id": 426, "name": "error", "kind": 1024, "kindString": "Property", @@ -15595,8 +15601,8 @@ "title": "Properties", "kind": 1024, "children": [ - 412, - 413 + 425, + 426 ] } ] @@ -15605,14 +15611,14 @@ { "type": "reflection", "declaration": { - "id": 414, + "id": 427, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 415, + "id": 428, "name": "data", "kind": 1024, "kindString": "Property", @@ -15624,14 +15630,14 @@ "defaultValue": "null" }, { - "id": 416, + "id": 429, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" }, "defaultValue": "..." @@ -15642,8 +15648,8 @@ "title": "Properties", "kind": 1024, "children": [ - 415, - 416 + 428, + 429 ] } ] @@ -15660,7 +15666,7 @@ ] }, { - "id": 352, + "id": 358, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -15670,20 +15676,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 496, + "line": 500, "character": 16 } ], "signatures": [ { - "id": 353, + "id": 359, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 354, + "id": 360, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -15694,7 +15700,7 @@ } }, { - "id": 355, + "id": 361, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -15705,7 +15711,7 @@ } }, { - "id": 356, + "id": 362, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15713,14 +15719,14 @@ "type": { "type": "reflection", "declaration": { - "id": 357, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 358, + "id": 364, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -15730,7 +15736,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 500, + "line": 504, "character": 6 } ], @@ -15745,7 +15751,7 @@ "title": "Properties", "kind": 1024, "children": [ - 358 + 364 ] } ] @@ -15763,14 +15769,14 @@ { "type": "reflection", "declaration": { - "id": 359, + "id": 365, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 360, + "id": 366, "name": "data", "kind": 1024, "kindString": "Property", @@ -15782,7 +15788,7 @@ "defaultValue": "null" }, { - "id": 363, + "id": 369, "name": "error", "kind": 1024, "kindString": "Property", @@ -15796,14 +15802,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 362, + "id": 368, "name": "session", "kind": 1024, "kindString": "Property", @@ -15815,7 +15821,7 @@ "defaultValue": "null" }, { - "id": 361, + "id": 367, "name": "user", "kind": 1024, "kindString": "Property", @@ -15832,10 +15838,10 @@ "title": "Properties", "kind": 1024, "children": [ - 360, - 363, - 362, - 361 + 366, + 369, + 368, + 367 ] } ] @@ -15844,26 +15850,26 @@ { "type": "reflection", "declaration": { - "id": 364, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 365, + "id": 371, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } }, { - "id": 368, + "id": 374, "name": "error", "kind": 1024, "kindString": "Property", @@ -15875,20 +15881,20 @@ "defaultValue": "null" }, { - "id": 367, + "id": 373, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, "defaultValue": "data" }, { - "id": 366, + "id": 372, "name": "user", "kind": 1024, "kindString": "Property", @@ -15902,7 +15908,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -15915,10 +15921,10 @@ "title": "Properties", "kind": 1024, "children": [ - 365, - 368, - 367, - 366 + 371, + 374, + 373, + 372 ] } ] @@ -15935,7 +15941,161 @@ ] }, { - "id": 369, + "id": 410, + "name": "_handleOpenIDConnectSignIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 565, + "character": 16 + } + ], + "signatures": [ + { + "id": 411, + "name": "_handleOpenIDConnectSignIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 412, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 534, + "name": "OpenIDConnectCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 413, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 416, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 570, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 448, + "name": "ApiError" + } + ] + } + }, + { + "id": 414, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 568, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 451, + "name": "Session" + } + ] + } + }, + { + "id": 415, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 569, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 470, + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 416, + 414, + 415 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 375, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -15945,20 +16105,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 520, + "line": 524, "character": 16 } ], "signatures": [ { - "id": 370, + "id": 376, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 371, + "id": 377, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -15969,7 +16129,7 @@ } }, { - "id": 372, + "id": 378, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -15989,14 +16149,14 @@ { "type": "reflection", "declaration": { - "id": 373, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 374, + "id": 380, "name": "data", "kind": 1024, "kindString": "Property", @@ -16008,7 +16168,7 @@ "defaultValue": "null" }, { - "id": 377, + "id": 383, "name": "error", "kind": 1024, "kindString": "Property", @@ -16022,14 +16182,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 376, + "id": 382, "name": "session", "kind": 1024, "kindString": "Property", @@ -16041,7 +16201,7 @@ "defaultValue": "null" }, { - "id": 375, + "id": 381, "name": "user", "kind": 1024, "kindString": "Property", @@ -16058,10 +16218,10 @@ "title": "Properties", "kind": 1024, "children": [ - 374, - 377, - 376, - 375 + 380, + 383, + 382, + 381 ] } ] @@ -16070,26 +16230,26 @@ { "type": "reflection", "declaration": { - "id": 378, + "id": 384, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 379, + "id": 385, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } }, { - "id": 382, + "id": 388, "name": "error", "kind": 1024, "kindString": "Property", @@ -16101,20 +16261,20 @@ "defaultValue": "null" }, { - "id": 381, + "id": 387, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, "defaultValue": "data" }, { - "id": 380, + "id": 386, "name": "user", "kind": 1024, "kindString": "Property", @@ -16128,7 +16288,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -16141,10 +16301,10 @@ "title": "Properties", "kind": 1024, "children": [ - 379, - 382, - 381, - 380 + 385, + 388, + 387, + 386 ] } ] @@ -16161,7 +16321,7 @@ ] }, { - "id": 383, + "id": 389, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -16171,32 +16331,32 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 536, + "line": 540, "character": 10 } ], "signatures": [ { - "id": 384, + "id": 390, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 385, + "id": 391, "name": "provider", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 433, + "id": 446, "name": "Provider" } }, { - "id": 386, + "id": 392, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16204,14 +16364,14 @@ "type": { "type": "reflection", "declaration": { - "id": 387, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 388, + "id": 394, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16221,7 +16381,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 539, + "line": 543, "character": 6 } ], @@ -16231,7 +16391,7 @@ } }, { - "id": 389, + "id": 395, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -16241,7 +16401,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 540, + "line": 544, "character": 6 } ], @@ -16256,8 +16416,8 @@ "title": "Properties", "kind": 1024, "children": [ - 388, - 389 + 394, + 395 ] } ] @@ -16272,14 +16432,14 @@ { "type": "reflection", "declaration": { - "id": 390, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 393, + "id": 399, "name": "data", "kind": 1024, "kindString": "Property", @@ -16290,125 +16450,28 @@ }, "defaultValue": "null" }, - { - "id": 396, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 391, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 433, - "name": "Provider" - } - }, - { - "id": 394, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 392, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 395, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 393, - 396, - 391, - 394, - 392, - 395 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 397, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 398, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 401, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 435, - "name": "ApiError" - }, - "defaultValue": "..." - }, { "id": 402, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 397, "name": "provider", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "undefined" + "type": "reference", + "id": 446, + "name": "Provider" } }, { @@ -16424,18 +16487,18 @@ "defaultValue": "null" }, { - "id": 403, + "id": 398, "name": "url", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "intrinsic", - "name": "undefined" + "name": "string" } }, { - "id": 399, + "id": 401, "name": "user", "kind": 1024, "kindString": "Property", @@ -16452,12 +16515,109 @@ "title": "Properties", "kind": 1024, "children": [ - 398, - 401, + 399, 402, + 397, 400, - 403, - 399 + 398, + 401 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 403, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 404, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 407, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "id": 448, + "name": "ApiError" + }, + "defaultValue": "..." + }, + { + "id": 408, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 406, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 409, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 405, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 404, + 407, + 408, + 406, + 409, + 405 ] } ] @@ -16469,7 +16629,7 @@ ] }, { - "id": 431, + "id": 444, "name": "_listenForMultiTabEvents", "kind": 2048, "kindString": "Method", @@ -16479,13 +16639,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 698, + "line": 723, "character": 10 } ], "signatures": [ { - "id": 432, + "id": 445, "name": "_listenForMultiTabEvents", "kind": 4096, "kindString": "Call signature", @@ -16510,7 +16670,7 @@ ] }, { - "id": 417, + "id": 430, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -16520,27 +16680,27 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 644, + "line": 669, "character": 10 } ], "signatures": [ { - "id": 418, + "id": 431, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 432, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 434, + "id": 447, "name": "AuthChangeEvent" } } @@ -16553,7 +16713,7 @@ ] }, { - "id": 423, + "id": 436, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -16563,27 +16723,27 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 671, + "line": 696, "character": 10 } ], "signatures": [ { - "id": 424, + "id": 437, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 425, + "id": 438, "name": "currentSession", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } } @@ -16596,7 +16756,7 @@ ] }, { - "id": 406, + "id": 419, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -16606,13 +16766,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 589, + "line": 614, "character": 16 } ], "signatures": [ { - "id": 407, + "id": 420, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -16645,7 +16805,7 @@ ] }, { - "id": 404, + "id": 417, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -16655,13 +16815,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 565, + "line": 590, "character": 10 } ], "signatures": [ { - "id": 405, + "id": 418, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -16686,7 +16846,7 @@ ] }, { - "id": 426, + "id": 439, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -16696,13 +16856,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 676, + "line": 701, "character": 16 } ], "signatures": [ { - "id": 427, + "id": 440, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -16723,7 +16883,7 @@ ] }, { - "id": 420, + "id": 433, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -16733,13 +16893,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 652, + "line": 677, "character": 10 } ], "signatures": [ { - "id": 421, + "id": 434, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -16749,14 +16909,14 @@ }, "parameters": [ { - "id": 422, + "id": 435, "name": "session", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } } @@ -16769,7 +16929,7 @@ ] }, { - "id": 428, + "id": 441, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -16779,13 +16939,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 687, + "line": 712, "character": 10 } ], "signatures": [ { - "id": 429, + "id": 442, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -16795,7 +16955,7 @@ }, "parameters": [ { - "id": 430, + "id": 443, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -16817,7 +16977,7 @@ ] }, { - "id": 330, + "id": 336, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -16825,13 +16985,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 404, + "line": 408, "character": 8 } ], "signatures": [ { - "id": 331, + "id": 337, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -16841,7 +17001,7 @@ }, "parameters": [ { - "id": 332, + "id": 338, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16851,14 +17011,14 @@ "type": { "type": "reflection", "declaration": { - "id": 333, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 334, + "id": 340, "name": "storeSession", "kind": 1024, "kindString": "Property", @@ -16871,7 +17031,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 405, + "line": 409, "character": 4 } ], @@ -16886,7 +17046,7 @@ "title": "Properties", "kind": 1024, "children": [ - 334 + 340 ] } ] @@ -16900,14 +17060,14 @@ { "type": "reflection", "declaration": { - "id": 335, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 336, + "id": 342, "name": "data", "kind": 1024, "kindString": "Property", @@ -16915,7 +17075,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 406, + "line": 410, "character": 16 } ], @@ -16928,14 +17088,14 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, { - "id": 337, + "id": 343, "name": "error", "kind": 1024, "kindString": "Property", @@ -16943,7 +17103,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 406, + "line": 410, "character": 38 } ], @@ -16956,7 +17116,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -16968,8 +17128,8 @@ "title": "Properties", "kind": 1024, "children": [ - 336, - 337 + 342, + 343 ] } ] @@ -16984,7 +17144,7 @@ ] }, { - "id": 342, + "id": 348, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -16992,13 +17152,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 476, + "line": 480, "character": 2 } ], "signatures": [ { - "id": 343, + "id": 349, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -17009,7 +17169,7 @@ }, "parameters": [ { - "id": 344, + "id": 350, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -17017,33 +17177,33 @@ "type": { "type": "reflection", "declaration": { - "id": 345, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 346, + "id": 352, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 347, + "id": 353, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 434, + "id": 447, "name": "AuthChangeEvent" } }, { - "id": 348, + "id": 354, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -17057,7 +17217,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -17077,14 +17237,14 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 355, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 350, + "id": 356, "name": "data", "kind": 1024, "kindString": "Property", @@ -17092,7 +17252,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 477, + "line": 481, "character": 4 } ], @@ -17105,14 +17265,14 @@ }, { "type": "reference", - "id": 497, + "id": 510, "name": "Subscription" } ] } }, { - "id": 351, + "id": 357, "name": "error", "kind": 1024, "kindString": "Property", @@ -17120,7 +17280,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 478, + "line": 482, "character": 4 } ], @@ -17133,7 +17293,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -17145,8 +17305,8 @@ "title": "Properties", "kind": 1024, "children": [ - 350, - 351 + 356, + 357 ] } ] @@ -17156,7 +17316,7 @@ ] }, { - "id": 308, + "id": 314, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -17164,13 +17324,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 317, + "line": 321, "character": 8 } ], "signatures": [ { - "id": 309, + "id": 315, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -17184,14 +17344,14 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 316, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 317, "name": "data", "kind": 1024, "kindString": "Property", @@ -17199,7 +17359,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 318, + "line": 322, "character": 4 } ], @@ -17212,14 +17372,14 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, { - "id": 313, + "id": 319, "name": "error", "kind": 1024, "kindString": "Property", @@ -17227,7 +17387,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 320, + "line": 324, "character": 4 } ], @@ -17240,14 +17400,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 312, + "id": 318, "name": "user", "kind": 1024, "kindString": "Property", @@ -17255,7 +17415,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 319, + "line": 323, "character": 4 } ], @@ -17268,7 +17428,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -17280,9 +17440,9 @@ "title": "Properties", "kind": 1024, "children": [ - 311, - 313, - 312 + 317, + 319, + 318 ] } ] @@ -17297,7 +17457,7 @@ ] }, { - "id": 306, + "id": 312, "name": "session", "kind": 2048, "kindString": "Method", @@ -17305,13 +17465,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 310, + "line": 314, "character": 2 } ], "signatures": [ { - "id": 307, + "id": 313, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -17328,7 +17488,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -17337,7 +17497,7 @@ ] }, { - "id": 327, + "id": 333, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -17345,13 +17505,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 389, + "line": 393, "character": 2 } ], "signatures": [ { - "id": 328, + "id": 334, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -17361,7 +17521,7 @@ }, "parameters": [ { - "id": 329, + "id": 335, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -17377,14 +17537,14 @@ ], "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } } ] }, { - "id": 321, + "id": 327, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -17392,13 +17552,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 365, + "line": 369, "character": 8 } ], "signatures": [ { - "id": 322, + "id": 328, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -17408,7 +17568,7 @@ }, "parameters": [ { - "id": 323, + "id": 329, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -17428,14 +17588,14 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 330, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 326, + "id": 332, "name": "error", "kind": 1024, "kindString": "Property", @@ -17443,7 +17603,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 367, + "line": 371, "character": 40 } ], @@ -17456,14 +17616,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 325, + "id": 331, "name": "session", "kind": 1024, "kindString": "Property", @@ -17471,7 +17631,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 367, + "line": 371, "character": 15 } ], @@ -17484,7 +17644,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -17496,8 +17656,8 @@ "title": "Properties", "kind": 1024, "children": [ - 326, - 325 + 332, + 331 ] } ] @@ -17512,7 +17672,7 @@ ] }, { - "id": 280, + "id": 286, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -17520,13 +17680,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 188, + "line": 189, "character": 8 } ], "signatures": [ { - "id": 281, + "id": 287, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -17536,19 +17696,19 @@ }, "parameters": [ { - "id": 282, + "id": 288, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 511, + "id": 524, "name": "UserCredentials" } }, { - "id": 283, + "id": 289, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17556,14 +17716,14 @@ "type": { "type": "reflection", "declaration": { - "id": 284, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 293, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17573,7 +17733,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 193, + "line": 194, "character": 6 } ], @@ -17583,33 +17743,13 @@ } }, { - "id": 285, + "id": 291, "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 191, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 286, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -17621,6 +17761,26 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 292, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 193, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ @@ -17628,9 +17788,9 @@ "title": "Properties", "kind": 1024, "children": [ - 287, - 285, - 286 + 293, + 291, + 292 ] } ] @@ -17645,14 +17805,14 @@ { "type": "reflection", "declaration": { - "id": 288, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 293, + "id": 299, "name": "error", "kind": 1024, "kindString": "Property", @@ -17660,7 +17820,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 200, + "line": 201, "character": 4 } ], @@ -17673,69 +17833,20 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 291, + "id": 297, "name": "provider", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 198, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 433, - "name": "Provider" - } - }, - { - "id": 289, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 196, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 438, - "name": "Session" - } - ] - } - }, - { - "id": 292, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -17744,22 +17855,14 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "reference", + "id": 446, + "name": "Provider" } }, { - "id": 290, - "name": "user", + "id": 295, + "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, @@ -17779,7 +17882,64 @@ }, { "type": "reference", - "id": 457, + "id": 451, + "name": "Session" + } + ] + } + }, + { + "id": 298, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 200, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 296, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 198, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 470, "name": "User" } ] @@ -17791,11 +17951,11 @@ "title": "Properties", "kind": 1024, "children": [ - 293, - 291, - 289, - 292, - 290 + 299, + 297, + 295, + 298, + 296 ] } ] @@ -17810,7 +17970,7 @@ ] }, { - "id": 338, + "id": 344, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -17818,13 +17978,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 461, + "line": 465, "character": 8 } ], "signatures": [ { - "id": 339, + "id": 345, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -17839,14 +17999,14 @@ { "type": "reflection", "declaration": { - "id": 340, + "id": 346, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 341, + "id": 347, "name": "error", "kind": 1024, "kindString": "Property", @@ -17854,7 +18014,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 461, + "line": 465, "character": 29 } ], @@ -17867,7 +18027,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -17879,7 +18039,7 @@ "title": "Properties", "kind": 1024, "children": [ - 341 + 347 ] } ] @@ -17894,7 +18054,7 @@ ] }, { - "id": 268, + "id": 274, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -17902,13 +18062,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 123, + "line": 124, "character": 8 } ], "signatures": [ { - "id": 269, + "id": 275, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -17918,19 +18078,19 @@ }, "parameters": [ { - "id": 270, + "id": 276, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 511, + "id": 524, "name": "UserCredentials" } }, { - "id": 271, + "id": 277, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17938,20 +18098,40 @@ "type": { "type": "reflection", "declaration": { - "id": 272, + "id": 278, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 275, + "id": 281, "name": "captchaToken", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 129, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 280, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -17961,12 +18141,12 @@ ], "type": { "type": "intrinsic", - "name": "string" + "name": "object" } }, { - "id": 274, - "name": "data", + "id": 279, + "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { @@ -17979,26 +18159,6 @@ "character": 6 } ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 273, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 126, - "character": 6 - } - ], "type": { "type": "intrinsic", "name": "string" @@ -18010,9 +18170,9 @@ "title": "Properties", "kind": 1024, "children": [ - 275, - 274, - 273 + 281, + 280, + 279 ] } ] @@ -18027,18 +18187,46 @@ { "type": "reflection", "declaration": { - "id": 276, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 279, + "id": 285, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 134, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 448, + "name": "ApiError" + } + ] + } + }, + { + "id": 284, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -18055,15 +18243,15 @@ }, { "type": "reference", - "id": 435, - "name": "ApiError" + "id": 451, + "name": "Session" } ] } }, { - "id": 278, - "name": "session", + "id": 283, + "name": "user", "kind": 1024, "kindString": "Property", "flags": {}, @@ -18083,35 +18271,7 @@ }, { "type": "reference", - "id": 438, - "name": "Session" - } - ] - } - }, - { - "id": 277, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 131, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -18123,9 +18283,9 @@ "title": "Properties", "kind": 1024, "children": [ - 279, - 278, - 277 + 285, + 284, + 283 ] } ] @@ -18140,7 +18300,7 @@ ] }, { - "id": 314, + "id": 320, "name": "update", "kind": 2048, "kindString": "Method", @@ -18148,13 +18308,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 338, + "line": 342, "character": 8 } ], "signatures": [ { - "id": 315, + "id": 321, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -18164,14 +18324,14 @@ }, "parameters": [ { - "id": 316, + "id": 322, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 483, + "id": 496, "name": "UserAttributes" } } @@ -18182,14 +18342,14 @@ { "type": "reflection", "declaration": { - "id": 317, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 318, + "id": 324, "name": "data", "kind": 1024, "kindString": "Property", @@ -18197,7 +18357,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 340, + "line": 344, "character": 15 } ], @@ -18210,14 +18370,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 320, + "id": 326, "name": "error", "kind": 1024, "kindString": "Property", @@ -18225,7 +18385,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 340, + "line": 344, "character": 53 } ], @@ -18238,14 +18398,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 319, + "id": 325, "name": "user", "kind": 1024, "kindString": "Property", @@ -18253,7 +18413,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 340, + "line": 344, "character": 34 } ], @@ -18266,7 +18426,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -18278,9 +18438,9 @@ "title": "Properties", "kind": 1024, "children": [ - 318, - 320, - 319 + 324, + 326, + 325 ] } ] @@ -18295,7 +18455,7 @@ ] }, { - "id": 304, + "id": 310, "name": "user", "kind": 2048, "kindString": "Method", @@ -18303,13 +18463,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 303, + "line": 307, "character": 2 } ], "signatures": [ { - "id": 305, + "id": 311, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -18327,7 +18487,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -18336,7 +18496,7 @@ ] }, { - "id": 294, + "id": 300, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -18344,13 +18504,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 255, + "line": 259, "character": 8 } ], "signatures": [ { - "id": 295, + "id": 301, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -18360,19 +18520,19 @@ }, "parameters": [ { - "id": 296, + "id": 302, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 531, "name": "VerifyOTPParams" } }, { - "id": 297, + "id": 303, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -18380,14 +18540,14 @@ "type": { "type": "reflection", "declaration": { - "id": 298, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 299, + "id": 305, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18397,7 +18557,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 258, + "line": 262, "character": 6 } ], @@ -18412,7 +18572,7 @@ "title": "Properties", "kind": 1024, "children": [ - 299 + 305 ] } ] @@ -18427,14 +18587,14 @@ { "type": "reflection", "declaration": { - "id": 300, + "id": 306, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 303, + "id": 309, "name": "error", "kind": 1024, "kindString": "Property", @@ -18442,7 +18602,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 263, + "line": 267, "character": 4 } ], @@ -18455,14 +18615,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 302, + "id": 308, "name": "session", "kind": 1024, "kindString": "Property", @@ -18470,7 +18630,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 262, + "line": 266, "character": 4 } ], @@ -18483,14 +18643,14 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, { - "id": 301, + "id": 307, "name": "user", "kind": 1024, "kindString": "Property", @@ -18498,7 +18658,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 261, + "line": 265, "character": 4 } ], @@ -18511,7 +18671,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -18523,9 +18683,9 @@ "title": "Properties", "kind": 1024, "children": [ - 303, - 302, - 301 + 309, + 308, + 307 ] } ] @@ -18545,72 +18705,73 @@ "title": "Constructors", "kind": 512, "children": [ - 239 + 245 ] }, { "title": "Properties", "kind": 1024, "children": [ - 259, - 262, - 261, - 260, - 264, 265, - 263, + 268, 267, - 266 + 266, + 270, + 271, + 269, + 273, + 272 ] }, { "title": "Methods", "kind": 2048, "children": [ - 408, - 352, - 369, - 383, - 431, + 421, + 358, + 410, + 375, + 389, + 444, + 430, + 436, + 419, 417, - 423, - 406, - 404, - 426, - 420, - 428, - 330, - 342, - 308, - 306, - 327, - 321, - 280, - 338, - 268, + 439, + 433, + 441, + 336, + 348, 314, - 304, - 294 + 312, + 333, + 327, + 286, + 344, + 274, + 320, + 310, + 300 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 42, + "line": 43, "character": 21 } ] }, { - "id": 488, + "id": 501, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 490, + "id": 503, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -18624,7 +18785,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 126, + "line": 130, "character": 2 } ], @@ -18634,7 +18795,7 @@ } }, { - "id": 496, + "id": 509, "name": "data", "kind": 1024, "kindString": "Property", @@ -18647,7 +18808,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 105, "character": 2 } ], @@ -18657,12 +18818,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 487, + "id": 500, "name": "UserAttributes.data" } }, { - "id": 493, + "id": 506, "name": "email", "kind": 1024, "kindString": "Property", @@ -18675,7 +18836,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 90, "character": 2 } ], @@ -18685,12 +18846,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 484, + "id": 497, "name": "UserAttributes.email" } }, { - "id": 495, + "id": 508, "name": "email_change_token", "kind": 1024, "kindString": "Property", @@ -18703,7 +18864,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 96, + "line": 100, "character": 2 } ], @@ -18713,12 +18874,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 486, + "id": 499, "name": "UserAttributes.email_change_token" } }, { - "id": 491, + "id": 504, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -18732,7 +18893,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -18742,7 +18903,7 @@ } }, { - "id": 494, + "id": 507, "name": "password", "kind": 1024, "kindString": "Property", @@ -18755,7 +18916,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 95, "character": 2 } ], @@ -18765,12 +18926,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 485, + "id": 498, "name": "UserAttributes.password" } }, { - "id": 492, + "id": 505, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -18784,7 +18945,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -18794,7 +18955,7 @@ } }, { - "id": 489, + "id": 502, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -18808,7 +18969,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -18823,41 +18984,41 @@ "title": "Properties", "kind": 1024, "children": [ - 490, - 496, - 493, - 495, - 491, - 494, - 492, - 489 + 503, + 509, + 506, + 508, + 504, + 507, + 505, + 502 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 104, + "line": 108, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 483, + "id": 496, "name": "UserAttributes" } ] }, { - "id": 435, + "id": 448, "name": "ApiError", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 436, + "id": 449, "name": "message", "kind": 1024, "kindString": "Property", @@ -18865,7 +19026,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 24, + "line": 28, "character": 2 } ], @@ -18875,7 +19036,7 @@ } }, { - "id": 437, + "id": 450, "name": "status", "kind": 1024, "kindString": "Property", @@ -18883,7 +19044,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 25, + "line": 29, "character": 2 } ], @@ -18898,34 +19059,74 @@ "title": "Properties", "kind": 1024, "children": [ - 436, - 437 + 449, + 450 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 23, + "line": 27, "character": 17 } ] }, { - "id": 505, + "id": 518, "name": "CookieOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 521, "name": "domain", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 168, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 520, + "name": "lifetime", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 166, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 519, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", @@ -18939,47 +19140,7 @@ } }, { - "id": 507, - "name": "lifetime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 162, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 506, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 160, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 509, + "id": 522, "name": "path", "kind": 1024, "kindString": "Property", @@ -18989,7 +19150,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 165, + "line": 169, "character": 2 } ], @@ -18999,7 +19160,7 @@ } }, { - "id": 510, + "id": 523, "name": "sameSite", "kind": 1024, "kindString": "Property", @@ -19009,7 +19170,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 167, + "line": 171, "character": 2 } ], @@ -19024,39 +19185,41 @@ "title": "Properties", "kind": 1024, "children": [ - 508, - 507, - 506, - 509, - 510 + 521, + 520, + 519, + 522, + 523 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, + "line": 162, "character": 17 } ] }, { - "id": 438, - "name": "Session", + "id": 534, + "name": "OpenIDConnectCredentials", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 440, - "name": "access_token", + "id": 538, + "name": "client_id", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 193, "character": 2 } ], @@ -19066,7 +19229,131 @@ } }, { - "id": 442, + "id": 535, + "name": "id_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 190, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 539, + "name": "issuer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 194, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 536, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 191, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 537, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 192, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 446, + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 538, + 535, + 539, + 536, + 537 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 189, + "character": 17 + } + ] + }, + { + "id": 451, + "name": "Session", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 453, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 34, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 455, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -19076,6 +19363,29 @@ "comment": { "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 42, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 454, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + }, "sources": [ { "fileName": "src/lib/types.ts", @@ -19089,30 +19399,7 @@ } }, { - "id": 441, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 34, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 439, + "id": 452, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -19122,7 +19409,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 33, "character": 2 } ], @@ -19141,7 +19428,7 @@ } }, { - "id": 443, + "id": 456, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19151,7 +19438,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 39, + "line": 43, "character": 2 } ], @@ -19161,7 +19448,7 @@ } }, { - "id": 444, + "id": 457, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -19169,7 +19456,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 44, "character": 2 } ], @@ -19179,7 +19466,7 @@ } }, { - "id": 445, + "id": 458, "name": "user", "kind": 1024, "kindString": "Property", @@ -19187,7 +19474,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 45, "character": 2 } ], @@ -19200,7 +19487,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -19212,33 +19499,33 @@ "title": "Properties", "kind": 1024, "children": [ - 440, - 442, - 441, - 439, - 443, - 444, - 445 + 453, + 455, + 454, + 452, + 456, + 457, + 458 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 28, + "line": 32, "character": 17 } ] }, { - "id": 497, + "id": 510, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 511, "name": "id", "kind": 1024, "kindString": "Property", @@ -19249,7 +19536,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 147, + "line": 151, "character": 2 } ], @@ -19259,7 +19546,7 @@ } }, { - "id": 499, + "id": 512, "name": "callback", "kind": 2048, "kindString": "Method", @@ -19267,13 +19554,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 151, + "line": 155, "character": 2 } ], "signatures": [ { - "id": 500, + "id": 513, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -19283,19 +19570,19 @@ }, "parameters": [ { - "id": 501, + "id": 514, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 434, + "id": 447, "name": "AuthChangeEvent" } }, { - "id": 502, + "id": 515, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -19309,7 +19596,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -19324,7 +19611,7 @@ ] }, { - "id": 503, + "id": 516, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -19332,13 +19619,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 155, + "line": 159, "character": 2 } ], "signatures": [ { - "id": 504, + "id": 517, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -19359,35 +19646,35 @@ "title": "Properties", "kind": 1024, "children": [ - 498 + 511 ] }, { "title": "Methods", "kind": 2048, "children": [ - 499, - 503 + 512, + 516 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 143, + "line": 147, "character": 17 } ] }, { - "id": 457, + "id": 470, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 485, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -19397,7 +19684,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 73, "character": 2 } ], @@ -19407,7 +19694,7 @@ } }, { - "id": 459, + "id": 472, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -19415,21 +19702,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 62, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 461, + "id": 474, "name": "provider", "kind": 1024, "kindString": "Property", @@ -19439,7 +19726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 63, "character": 4 } ], @@ -19454,19 +19741,768 @@ "title": "Properties", "kind": 1024, "children": [ - 461 + 474 ] } ], "indexSignature": { - "id": 462, + "id": 475, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 463, + "id": 476, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 481, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 69, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 482, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 489, + "name": "confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 77, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 488, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 486, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 490, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 78, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 471, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 495, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 459, + "name": "UserIdentity" + } + } + }, + { + "id": 484, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 492, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 487, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 491, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 483, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 71, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 493, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 81, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 494, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 82, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 477, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 478, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 479, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 480, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 485, + 472, + 481, + 482, + 489, + 488, + 486, + 490, + 471, + 495, + 484, + 492, + 487, + 491, + 483, + 493, + 494, + 477 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 17 + } + ] + }, + { + "id": 496, + "name": "UserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 500, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 105, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 497, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 499, + "name": "email_change_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An email change token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 100, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 498, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 500, + 497, + 499, + 498 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 86, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 501, + "name": "AdminUserAttributes" + } + ] + }, + { + "id": 524, + "name": "UserCredentials", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 525, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 175, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 530, + "name": "oidc", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 181, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 534, + "name": "OpenIDConnectCredentials" + } + }, + { + "id": 527, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 526, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 176, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 529, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 180, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 446, + "name": "Provider" + } + }, + { + "id": 528, + "name": "refreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 178, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 525, + 530, + 527, + 526, + 529, + 528 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 17 + } + ] + }, + { + "id": 459, + "name": "UserIdentity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 467, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 55, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 460, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 462, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 463, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 464, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 465, "name": "key", "kind": 32768, "flags": {}, @@ -19486,14 +20522,32 @@ }, { "id": 468, - "name": "aud", + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 65, + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 466, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 54, "character": 2 } ], @@ -19504,108 +20558,12 @@ }, { "id": 469, - "name": "confirmation_sent_at", + "name": "updated_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 476, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 475, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 473, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 477, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 458, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -19619,619 +20577,8 @@ } }, { - "id": 482, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 79, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 446, - "name": "UserIdentity" - } - } - }, - { - "id": 471, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 479, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 76, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 474, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 71, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 478, - "name": "phone_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 75, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 470, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 480, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 481, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 78, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 464, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 465, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 466, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 467, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 472, - 459, - 468, - 469, - 476, - 475, - 473, - 477, - 458, - 482, - 471, - 479, - 474, - 478, - 470, - 480, - 481, - 464 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 17 - } - ] - }, - { - "id": 483, - "name": "UserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 487, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 101, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 484, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 86, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 486, - "name": "email_change_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An email change token." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 96, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 485, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 91, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 487, - 484, - 486, - 485 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 17 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 488, - "name": "AdminUserAttributes" - } - ] - }, - { - "id": 511, - "name": "UserCredentials", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 512, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 171, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 514, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 513, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 172, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 516, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 176, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 433, - "name": "Provider" - } - }, - { - "id": 515, - "name": "refreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 174, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 512, - 514, - 513, - 516, - 515 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 170, - "character": 17 - } - ] - }, - { - "id": 446, - "name": "UserIdentity", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 454, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 51, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 45, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 449, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 47, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 450, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 451, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 452, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 455, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 453, - "name": "provider", + "id": 461, + "name": "user_id", "kind": 1024, "kindString": "Property", "flags": {}, @@ -20246,44 +20593,6 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 456, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 53, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 448, - "name": "user_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ @@ -20291,33 +20600,33 @@ "title": "Properties", "kind": 1024, "children": [ - 454, - 447, - 449, - 455, - 453, - 456, - 448 + 467, + 460, + 462, + 468, + 466, + 469, + 461 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 48, "character": 17 } ] }, { - "id": 517, + "id": 531, "name": "VerifyOTPParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 518, + "id": 532, "name": "phone", "kind": 1024, "kindString": "Property", @@ -20325,7 +20634,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 185, "character": 2 } ], @@ -20335,7 +20644,7 @@ } }, { - "id": 519, + "id": 533, "name": "token", "kind": 1024, "kindString": "Property", @@ -20343,7 +20652,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, + "line": 186, "character": 2 } ], @@ -20358,21 +20667,21 @@ "title": "Properties", "kind": 1024, "children": [ - 518, - 519 + 532, + 533 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 179, + "line": 184, "character": 17 } ] }, { - "id": 434, + "id": 447, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -20380,7 +20689,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 19, "character": 12 } ], @@ -20415,7 +20724,7 @@ } }, { - "id": 433, + "id": 446, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -20430,6 +20739,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "apple" + }, { "type": "literal", "value": "azure" @@ -20438,6 +20751,10 @@ "type": "literal", "value": "bitbucket" }, + { + "type": "literal", + "value": "discord" + }, { "type": "literal", "value": "facebook" @@ -20456,19 +20773,15 @@ }, { "type": "literal", - "value": "twitter" + "value": "linkedin" }, { "type": "literal", - "value": "apple" + "value": "notion" }, { "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "twitch" + "value": "slack" }, { "type": "literal", @@ -20476,7 +20789,11 @@ }, { "type": "literal", - "value": "slack" + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" } ] } @@ -20488,31 +20805,32 @@ "kind": 128, "children": [ 1, - 238 + 244 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 488, - 435, - 505, - 438, - 497, - 457, - 483, - 511, - 446, - 517 + 501, + 448, + 518, + 534, + 451, + 510, + 470, + 496, + 524, + 459, + 531 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 434, - 433 + 447, + 446 ] } ], @@ -41291,7 +41609,7 @@ "originalName": "", "children": [ { - "id": 289, + "id": 308, "name": "\"SupabaseStorageClient\"", "kind": 1, "kindString": "Module", @@ -41301,7 +41619,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/SupabaseStorageClient.ts", "children": [ { - "id": 290, + "id": 309, "name": "SupabaseStorageClient", "kind": 128, "kindString": "Class", @@ -41310,7 +41628,7 @@ }, "children": [ { - "id": 291, + "id": 310, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41319,7 +41637,7 @@ }, "signatures": [ { - "id": 292, + "id": 311, "name": "new SupabaseStorageClient", "kind": 16384, "kindString": "Constructor signature", @@ -41328,7 +41646,7 @@ }, "parameters": [ { - "id": 293, + "id": 312, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -41341,7 +41659,7 @@ } }, { - "id": 294, + "id": 313, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -41351,7 +41669,7 @@ "type": { "type": "reflection", "declaration": { - "id": 295, + "id": 314, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41360,7 +41678,7 @@ }, "indexSignature": [ { - "id": 296, + "id": 315, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -41369,7 +41687,7 @@ }, "parameters": [ { - "id": 297, + "id": 316, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -41400,7 +41718,7 @@ "defaultValue": "{}" }, { - "id": 298, + "id": 317, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -41417,7 +41735,7 @@ ], "type": { "type": "reference", - "id": 290, + "id": 309, "name": "SupabaseStorageClient" }, "overwrites": { @@ -41441,7 +41759,7 @@ } }, { - "id": 307, + "id": 326, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -41469,7 +41787,7 @@ } }, { - "id": 303, + "id": 322, "name": "headers", "kind": 1024, "kindString": "Property", @@ -41487,7 +41805,7 @@ "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41496,7 +41814,7 @@ }, "indexSignature": [ { - "id": 305, + "id": 324, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -41505,7 +41823,7 @@ }, "parameters": [ { - "id": 306, + "id": 325, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -41540,7 +41858,7 @@ } }, { - "id": 302, + "id": 321, "name": "url", "kind": 1024, "kindString": "Property", @@ -41566,7 +41884,7 @@ } }, { - "id": 319, + "id": 338, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -41575,7 +41893,7 @@ }, "signatures": [ { - "id": 320, + "id": 339, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -41588,7 +41906,7 @@ }, "parameters": [ { - "id": 321, + "id": 340, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -41604,7 +41922,7 @@ } }, { - "id": 322, + "id": 341, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -41614,7 +41932,7 @@ "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 342, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41623,7 +41941,7 @@ }, "children": [ { - "id": 324, + "id": 343, "name": "public", "kind": 32, "kindString": "Variable", @@ -41648,7 +41966,7 @@ "title": "Variables", "kind": 32, "children": [ - 324 + 343 ] } ], @@ -41670,7 +41988,7 @@ { "type": "reflection", "declaration": { - "id": 325, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41679,7 +41997,7 @@ }, "children": [ { - "id": 326, + "id": 345, "name": "data", "kind": 32, "kindString": "Variable", @@ -41708,7 +42026,7 @@ } }, { - "id": 327, + "id": 346, "name": "error", "kind": 32, "kindString": "Variable", @@ -41742,8 +42060,8 @@ "title": "Variables", "kind": 32, "children": [ - 326, - 327 + 345, + 346 ] } ], @@ -41780,7 +42098,7 @@ } }, { - "id": 347, + "id": 366, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -41789,7 +42107,7 @@ }, "signatures": [ { - "id": 348, + "id": 367, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -41801,7 +42119,7 @@ }, "parameters": [ { - "id": 349, + "id": 368, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -41823,7 +42141,7 @@ { "type": "reflection", "declaration": { - "id": 350, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41832,7 +42150,7 @@ }, "children": [ { - "id": 351, + "id": 370, "name": "data", "kind": 32, "kindString": "Variable", @@ -41852,7 +42170,7 @@ { "type": "reflection", "declaration": { - "id": 352, + "id": 371, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41861,7 +42179,7 @@ }, "children": [ { - "id": 353, + "id": 372, "name": "message", "kind": 32, "kindString": "Variable", @@ -41886,7 +42204,7 @@ "title": "Variables", "kind": 32, "children": [ - 353 + 372 ] } ], @@ -41907,7 +42225,7 @@ } }, { - "id": 354, + "id": 373, "name": "error", "kind": 32, "kindString": "Variable", @@ -41941,8 +42259,8 @@ "title": "Variables", "kind": 32, "children": [ - 351, - 354 + 370, + 373 ] } ], @@ -41979,7 +42297,7 @@ } }, { - "id": 339, + "id": 358, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -41988,7 +42306,7 @@ }, "signatures": [ { - "id": 340, + "id": 359, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -42000,7 +42318,7 @@ }, "parameters": [ { - "id": 341, + "id": 360, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42022,7 +42340,7 @@ { "type": "reflection", "declaration": { - "id": 342, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42031,7 +42349,7 @@ }, "children": [ { - "id": 343, + "id": 362, "name": "data", "kind": 32, "kindString": "Variable", @@ -42051,7 +42369,7 @@ { "type": "reflection", "declaration": { - "id": 344, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42060,7 +42378,7 @@ }, "children": [ { - "id": 345, + "id": 364, "name": "message", "kind": 32, "kindString": "Variable", @@ -42085,7 +42403,7 @@ "title": "Variables", "kind": 32, "children": [ - 345 + 364 ] } ], @@ -42106,7 +42424,7 @@ } }, { - "id": 346, + "id": 365, "name": "error", "kind": 32, "kindString": "Variable", @@ -42140,8 +42458,8 @@ "title": "Variables", "kind": 32, "children": [ - 343, - 346 + 362, + 365 ] } ], @@ -42178,7 +42496,7 @@ } }, { - "id": 299, + "id": 318, "name": "from", "kind": 2048, "kindString": "Method", @@ -42187,7 +42505,7 @@ }, "signatures": [ { - "id": 300, + "id": 319, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -42199,7 +42517,7 @@ }, "parameters": [ { - "id": 301, + "id": 320, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42231,7 +42549,7 @@ ] }, { - "id": 313, + "id": 332, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -42240,7 +42558,7 @@ }, "signatures": [ { - "id": 314, + "id": 333, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -42252,7 +42570,7 @@ }, "parameters": [ { - "id": 315, + "id": 334, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42274,7 +42592,7 @@ { "type": "reflection", "declaration": { - "id": 316, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42283,7 +42601,7 @@ }, "children": [ { - "id": 317, + "id": 336, "name": "data", "kind": 32, "kindString": "Variable", @@ -42313,7 +42631,7 @@ } }, { - "id": 318, + "id": 337, "name": "error", "kind": 32, "kindString": "Variable", @@ -42347,8 +42665,8 @@ "title": "Variables", "kind": 32, "children": [ - 317, - 318 + 336, + 337 ] } ], @@ -42385,7 +42703,7 @@ } }, { - "id": 308, + "id": 327, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -42394,7 +42712,7 @@ }, "signatures": [ { - "id": 309, + "id": 328, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -42410,7 +42728,7 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42419,7 +42737,7 @@ }, "children": [ { - "id": 311, + "id": 330, "name": "data", "kind": 32, "kindString": "Variable", @@ -42452,7 +42770,7 @@ } }, { - "id": 312, + "id": 331, "name": "error", "kind": 32, "kindString": "Variable", @@ -42486,8 +42804,8 @@ "title": "Variables", "kind": 32, "children": [ - 311, - 312 + 330, + 331 ] } ], @@ -42524,7 +42842,7 @@ } }, { - "id": 328, + "id": 347, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -42533,7 +42851,7 @@ }, "signatures": [ { - "id": 329, + "id": 348, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -42545,7 +42863,7 @@ }, "parameters": [ { - "id": 330, + "id": 349, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42561,7 +42879,7 @@ } }, { - "id": 331, + "id": 350, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -42571,7 +42889,7 @@ "type": { "type": "reflection", "declaration": { - "id": 332, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42580,7 +42898,7 @@ }, "children": [ { - "id": 333, + "id": 352, "name": "public", "kind": 32, "kindString": "Variable", @@ -42605,7 +42923,7 @@ "title": "Variables", "kind": 32, "children": [ - 333 + 352 ] } ], @@ -42626,7 +42944,7 @@ { "type": "reflection", "declaration": { - "id": 334, + "id": 353, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42635,7 +42953,7 @@ }, "children": [ { - "id": 335, + "id": 354, "name": "data", "kind": 32, "kindString": "Variable", @@ -42655,7 +42973,7 @@ { "type": "reflection", "declaration": { - "id": 336, + "id": 355, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42664,7 +42982,7 @@ }, "children": [ { - "id": 337, + "id": 356, "name": "message", "kind": 32, "kindString": "Variable", @@ -42689,7 +43007,7 @@ "title": "Variables", "kind": 32, "children": [ - 337 + 356 ] } ], @@ -42710,7 +43028,7 @@ } }, { - "id": 338, + "id": 357, "name": "error", "kind": 32, "kindString": "Variable", @@ -42744,8 +43062,8 @@ "title": "Variables", "kind": 32, "children": [ - 335, - 338 + 354, + 357 ] } ], @@ -42787,29 +43105,29 @@ "title": "Constructors", "kind": 512, "children": [ - 291 + 310 ] }, { "title": "Properties", "kind": 1024, "children": [ - 307, - 303, - 302 + 326, + 322, + 321 ] }, { "title": "Methods", "kind": 2048, "children": [ - 319, - 347, - 339, - 299, - 313, - 308, - 328 + 338, + 366, + 358, + 318, + 332, + 327, + 347 ] } ], @@ -42834,7 +43152,7 @@ "title": "Classes", "kind": 128, "children": [ - 290 + 309 ] } ], @@ -42847,7 +43165,7 @@ ] }, { - "id": 355, + "id": 374, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -42857,7 +43175,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/index.ts", "children": [ { - "id": 356, + "id": 375, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -42867,7 +43185,7 @@ "target": 64 }, { - "id": 357, + "id": 376, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -42877,7 +43195,7 @@ "target": 71 }, { - "id": 359, + "id": 378, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -42887,7 +43205,7 @@ "target": 85 }, { - "id": 361, + "id": 380, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -42897,7 +43215,7 @@ "target": 93 }, { - "id": 360, + "id": 379, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -42907,7 +43225,7 @@ "target": 89 }, { - "id": 358, + "id": 377, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -42922,12 +43240,12 @@ "title": "References", "kind": 16777216, "children": [ - 356, - 357, - 359, - 361, - 360, - 358 + 375, + 376, + 378, + 380, + 379, + 377 ] } ], @@ -44333,7 +44651,7 @@ "extendedBy": [ { "type": "reference", - "id": 290, + "id": 309, "name": "SupabaseStorageClient" } ] @@ -44661,7 +44979,7 @@ } }, { - "id": 263, + "id": 282, "name": "_getFinalPath", "kind": 2048, "kindString": "Method", @@ -44670,7 +44988,7 @@ }, "signatures": [ { - "id": 264, + "id": 283, "name": "_getFinalPath", "kind": 4096, "kindString": "Call signature", @@ -44679,7 +44997,7 @@ }, "parameters": [ { - "id": 265, + "id": 284, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44701,13 +45019,13 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 331, + "line": 383, "character": 15 } ] }, { - "id": 266, + "id": 285, "name": "_removeEmptyFolders", "kind": 2048, "kindString": "Method", @@ -44716,7 +45034,7 @@ }, "signatures": [ { - "id": 267, + "id": 286, "name": "_removeEmptyFolders", "kind": 4096, "kindString": "Call signature", @@ -44725,7 +45043,7 @@ }, "parameters": [ { - "id": 268, + "id": 287, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44747,14 +45065,14 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 335, + "line": 387, "character": 21 } ] }, { "id": 224, - "name": "createSignedUrl", + "name": "copy", "kind": 2048, "kindString": "Method", "flags": { @@ -44763,26 +45081,26 @@ "signatures": [ { "id": 225, - "name": "createSignedUrl", + "name": "copy", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { - "shortText": "Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds." + "shortText": "Copies an existing file." }, "parameters": [ { "id": 226, - "name": "path", + "name": "fromPath", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { - "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`." + "text": "The original file path, including the current file name. For example `folder/image.png`." }, "type": { "type": "intrinsic", @@ -44791,18 +45109,18 @@ }, { "id": 227, - "name": "expiresIn", + "name": "toPath", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { - "text": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n" + "text": "The new file path, including the new file name. For example `folder/image-copy.png`.\n" }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } } ], @@ -44832,7 +45150,7 @@ { "fileName": "lib/StorageFileApi.ts", "line": 197, - "character": 8 + "character": 19 } ], "type": { @@ -44851,7 +45169,7 @@ "children": [ { "id": 231, - "name": "signedURL", + "name": "message", "kind": 32, "kindString": "Variable", "flags": { @@ -44861,7 +45179,7 @@ { "fileName": "lib/StorageFileApi.ts", "line": 197, - "character": 21 + "character": 30 } ], "type": { @@ -44883,7 +45201,7 @@ { "fileName": "lib/StorageFileApi.ts", "line": 197, - "character": 9 + "character": 20 } ] } @@ -44906,8 +45224,8 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 198, - "character": 9 + "line": 197, + "character": 54 } ], "type": { @@ -44923,35 +45241,6 @@ } ] } - }, - { - "id": 233, - "name": "signedURL", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageFileApi.ts", - "line": 199, - "character": 13 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } } ], "groups": [ @@ -44960,15 +45249,14 @@ "kind": 32, "children": [ 229, - 232, - 233 + 232 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 196, + "line": 197, "character": 13 } ] @@ -44982,14 +45270,14 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 193, - "character": 23 + "line": 194, + "character": 12 } ] }, { - "id": 234, - "name": "download", + "id": 233, + "name": "createSignedUrl", "kind": 2048, "kindString": "Method", "flags": { @@ -44997,19 +45285,19 @@ }, "signatures": [ { - "id": 235, - "name": "download", + "id": 234, + "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { - "shortText": "Downloads a file." + "shortText": "Create signed URL to download file without requiring permissions. This URL can be valid for a set number of seconds." }, "parameters": [ { - "id": 236, + "id": 235, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -45017,12 +45305,28 @@ "isExported": true }, "comment": { - "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n" + "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`." }, "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 236, + "name": "expiresIn", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } } ], "type": { @@ -45047,10 +45351,461 @@ "flags": { "isExported": true }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 221, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 239, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 240, + "name": "signedURL", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 221, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 240 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 221, + "character": 9 + } + ] + } + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 241, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "lib/StorageFileApi.ts", "line": 222, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 242, + "name": "signedURL", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 223, + "character": 13 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 238, + 241, + 242 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 220, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 217, + "character": 23 + } + ] + }, + { + "id": 243, + "name": "createSignedUrls", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 244, + "name": "createSignedUrls", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds." + }, + "parameters": [ + { + "id": 245, + "name": "paths", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`." + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 246, + "name": "expiresIn", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 247, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 248, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 251, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 249, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 250, + "name": "path", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 251, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 251, + "name": "signedURL", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 251, + "character": 35 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 250, + 251 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 251, + "character": 9 + } + ] + } + } + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 252, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 252, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 248, + 252 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 250, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 247, + "character": 24 + } + ] + }, + { + "id": 253, + "name": "download", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 254, + "name": "download", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Downloads a file." + }, + "parameters": [ + { + "id": 255, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 256, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 257, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 272, "character": 46 } ], @@ -45069,7 +45824,7 @@ } }, { - "id": 239, + "id": 258, "name": "error", "kind": 32, "kindString": "Variable", @@ -45079,7 +45834,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 222, + "line": 272, "character": 66 } ], @@ -45103,15 +45858,15 @@ "title": "Variables", "kind": 32, "children": [ - 238, - 239 + 257, + 258 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 222, + "line": 272, "character": 40 } ] @@ -45125,13 +45880,13 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 222, + "line": 272, "character": 16 } ] }, { - "id": 240, + "id": 259, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -45140,7 +45895,7 @@ }, "signatures": [ { - "id": 241, + "id": 260, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -45152,7 +45907,7 @@ }, "parameters": [ { - "id": 242, + "id": 261, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -45171,7 +45926,7 @@ "type": { "type": "reflection", "declaration": { - "id": 243, + "id": 262, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45180,7 +45935,7 @@ }, "children": [ { - "id": 244, + "id": 263, "name": "data", "kind": 32, "kindString": "Variable", @@ -45190,7 +45945,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 242, + "line": 294, "character": 8 } ], @@ -45200,7 +45955,7 @@ { "type": "reflection", "declaration": { - "id": 245, + "id": 264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45209,7 +45964,7 @@ }, "children": [ { - "id": 246, + "id": 265, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -45219,7 +45974,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 242, + "line": 294, "character": 21 } ], @@ -45234,14 +45989,14 @@ "title": "Variables", "kind": 32, "children": [ - 246 + 265 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 242, + "line": 294, "character": 9 } ] @@ -45255,7 +46010,7 @@ } }, { - "id": 247, + "id": 266, "name": "error", "kind": 32, "kindString": "Variable", @@ -45265,7 +46020,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 243, + "line": 295, "character": 9 } ], @@ -45284,7 +46039,7 @@ } }, { - "id": 248, + "id": 267, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -45294,7 +46049,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 244, + "line": 296, "character": 13 } ], @@ -45318,17 +46073,17 @@ "title": "Variables", "kind": 32, "children": [ - 244, - 247, - 248 + 263, + 266, + 267 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 241, - "character": 29 + "line": 293, + "character": 4 } ] } @@ -45338,13 +46093,13 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 241, + "line": 291, "character": 14 } ] }, { - "id": 255, + "id": 274, "name": "list", "kind": 2048, "kindString": "Method", @@ -45353,7 +46108,7 @@ }, "signatures": [ { - "id": 256, + "id": 275, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -45365,7 +46120,7 @@ }, "parameters": [ { - "id": 257, + "id": 276, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -45391,7 +46146,7 @@ } }, { - "id": 258, + "id": 277, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -45409,7 +46164,7 @@ } }, { - "id": 259, + "id": 278, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -45433,7 +46188,7 @@ { "type": "reflection", "declaration": { - "id": 260, + "id": 279, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45442,7 +46197,7 @@ }, "children": [ { - "id": 261, + "id": 280, "name": "data", "kind": 32, "kindString": "Variable", @@ -45452,7 +46207,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 315, + "line": 367, "character": 19 } ], @@ -45475,7 +46230,7 @@ } }, { - "id": 262, + "id": 281, "name": "error", "kind": 32, "kindString": "Variable", @@ -45485,7 +46240,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 315, + "line": 367, "character": 47 } ], @@ -45509,15 +46264,15 @@ "title": "Variables", "kind": 32, "children": [ - 261, - 262 + 280, + 281 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 315, + "line": 367, "character": 13 } ] @@ -45531,7 +46286,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 311, + "line": 363, "character": 12 } ] @@ -45554,7 +46309,7 @@ "isExported": true }, "comment": { - "shortText": "Moves an existing file, optionally renaming it at the same time." + "shortText": "Moves an existing file." }, "parameters": [ { @@ -45582,7 +46337,7 @@ "isExported": true }, "comment": { - "text": "The new file path, including the new file name. For example `folder/image-copy.png`.\n" + "text": "The new file path, including the new file name. For example `folder/image-new.png`.\n" }, "type": { "type": "intrinsic", @@ -45615,7 +46370,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 19 } ], @@ -45644,7 +46399,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 30 } ], @@ -45666,7 +46421,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 20 } ] @@ -45690,7 +46445,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 54 } ], @@ -45722,7 +46477,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 13 } ] @@ -45736,13 +46491,13 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 170, + "line": 171, "character": 12 } ] }, { - "id": 249, + "id": 268, "name": "remove", "kind": 2048, "kindString": "Method", @@ -45751,7 +46506,7 @@ }, "signatures": [ { - "id": 250, + "id": 269, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -45763,7 +46518,7 @@ }, "parameters": [ { - "id": 251, + "id": 270, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -45788,7 +46543,7 @@ { "type": "reflection", "declaration": { - "id": 252, + "id": 271, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45797,7 +46552,7 @@ }, "children": [ { - "id": 253, + "id": 272, "name": "data", "kind": 32, "kindString": "Variable", @@ -45807,7 +46562,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 261, + "line": 313, "character": 47 } ], @@ -45830,7 +46585,7 @@ } }, { - "id": 254, + "id": 273, "name": "error", "kind": 32, "kindString": "Variable", @@ -45840,7 +46595,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 261, + "line": 313, "character": 75 } ], @@ -45864,15 +46619,15 @@ "title": "Variables", "kind": 32, "children": [ - 253, - 254 + 272, + 273 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 261, + "line": 313, "character": 41 } ] @@ -45886,7 +46641,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 261, + "line": 313, "character": 14 } ] @@ -46035,7 +46790,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 19 } ], @@ -46064,7 +46819,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 26 } ], @@ -46086,7 +46841,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 20 } ] @@ -46110,7 +46865,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 50 } ], @@ -46142,7 +46897,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 13 } ] @@ -46156,7 +46911,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 146, + "line": 147, "character": 14 } ] @@ -46305,7 +47060,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 19 } ], @@ -46334,7 +47089,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 26 } ], @@ -46356,7 +47111,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 20 } ] @@ -46380,7 +47135,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 50 } ], @@ -46412,7 +47167,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 13 } ] @@ -46426,7 +47181,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 118, + "line": 119, "character": 14 } ] @@ -46750,14 +47505,16 @@ "title": "Methods", "kind": 2048, "children": [ - 263, - 266, + 282, + 285, 224, - 234, - 240, - 255, + 233, + 243, + 253, + 259, + 274, 215, - 249, + 268, 205, 195, 184 @@ -46773,7 +47530,7 @@ ] }, { - "id": 275, + "id": 294, "name": "DEFAULT_FILE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -46782,7 +47539,7 @@ }, "children": [ { - "id": 276, + "id": 295, "name": "cacheControl", "kind": 32, "kindString": "Variable", @@ -46801,7 +47558,7 @@ "defaultValue": "\"3600\"" }, { - "id": 277, + "id": 296, "name": "contentType", "kind": 32, "kindString": "Variable", @@ -46820,7 +47577,7 @@ "defaultValue": "\"text/plain;charset=UTF-8\"" }, { - "id": 278, + "id": 297, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -46844,9 +47601,9 @@ "title": "Variables", "kind": 32, "children": [ - 276, - 277, - 278 + 295, + 296, + 297 ] } ], @@ -46863,7 +47620,7 @@ } }, { - "id": 269, + "id": 288, "name": "DEFAULT_SEARCH_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -46872,7 +47629,7 @@ }, "children": [ { - "id": 270, + "id": 289, "name": "limit", "kind": 32, "kindString": "Variable", @@ -46891,7 +47648,7 @@ "defaultValue": "100" }, { - "id": 271, + "id": 290, "name": "offset", "kind": 32, "kindString": "Variable", @@ -46910,14 +47667,14 @@ "defaultValue": "0" }, { - "id": 272, + "id": 291, "name": "sortBy", "kind": 2097152, "kindString": "Object literal", "flags": {}, "children": [ { - "id": 273, + "id": 292, "name": "column", "kind": 32, "kindString": "Variable", @@ -46936,7 +47693,7 @@ "defaultValue": "\"name\"" }, { - "id": 274, + "id": 293, "name": "order", "kind": 32, "kindString": "Variable", @@ -46960,8 +47717,8 @@ "title": "Variables", "kind": 32, "children": [ - 273, - 274 + 292, + 293 ] } ], @@ -46983,15 +47740,15 @@ "title": "Variables", "kind": 32, "children": [ - 270, - 271 + 289, + 290 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 272 + 291 ] } ], @@ -47020,8 +47777,8 @@ "title": "Object literals", "kind": 2097152, "children": [ - 275, - 269 + 294, + 288 ] } ], @@ -48264,7 +49021,7 @@ ] }, { - "id": 279, + "id": 298, "name": "\"lib/index\"", "kind": 1, "kindString": "Module", @@ -48274,7 +49031,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts", "children": [ { - "id": 282, + "id": 301, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -48284,7 +49041,7 @@ "target": 64 }, { - "id": 288, + "id": 307, "name": "DEFAULT_HEADERS", "kind": 16777216, "kindString": "Reference", @@ -48294,7 +49051,7 @@ "target": 98 }, { - "id": 283, + "id": 302, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -48304,7 +49061,7 @@ "target": 71 }, { - "id": 285, + "id": 304, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -48314,7 +49071,7 @@ "target": 85 }, { - "id": 287, + "id": 306, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -48324,7 +49081,7 @@ "target": 93 }, { - "id": 286, + "id": 305, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -48334,7 +49091,7 @@ "target": 89 }, { - "id": 284, + "id": 303, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -48344,7 +49101,7 @@ "target": 82 }, { - "id": 280, + "id": 299, "name": "StorageBucketApi", "kind": 16777216, "kindString": "Reference", @@ -48354,7 +49111,7 @@ "target": 101 }, { - "id": 281, + "id": 300, "name": "StorageFileApi", "kind": 16777216, "kindString": "Reference", @@ -48369,15 +49126,15 @@ "title": "References", "kind": 16777216, "children": [ - 282, - 288, - 283, - 285, - 287, - 286, - 284, - 280, - 281 + 301, + 307, + 302, + 304, + 306, + 305, + 303, + 299, + 300 ] } ], @@ -49239,14 +49996,14 @@ "title": "Modules", "kind": 1, "children": [ - 289, - 355, + 308, + 374, 100, 166, 97, 1, 163, - 279, + 298, 63, 95 ] diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json index 140d45d0d9e..0ea8b295314 100644 --- a/web/spec/gotrue.json +++ b/web/spec/gotrue.json @@ -22,7 +22,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -60,13 +60,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 33, + "line": 34, "character": 4 } ], "type": { "type": "reference", - "id": 505, + "id": 518, "name": "CookieOptions" } }, @@ -81,7 +81,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 34, + "line": 35, "character": 4 } ], @@ -160,7 +160,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 30, + "line": 31, "character": 4 } ], @@ -207,7 +207,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 29, + "line": 30, "character": 4 } ], @@ -252,13 +252,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 20, + "line": 21, "character": 12 } ], "type": { "type": "reference", - "id": 505, + "id": 518, "name": "CookieOptions" } }, @@ -274,7 +274,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 21, + "line": 22, "character": 12 } ], @@ -353,7 +353,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 17, + "line": 18, "character": 12 } ], @@ -402,7 +402,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 16, + "line": 17, "character": 12 } ], @@ -422,7 +422,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 47, + "line": 48, "character": 10 } ], @@ -476,7 +476,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 53, + "line": 54, "character": 10 } ], @@ -495,7 +495,7 @@ ] }, { - "id": 171, + "id": 177, "name": "createUser", "kind": 2048, "kindString": "Method", @@ -503,13 +503,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 556, + "line": 583, "character": 8 } ], "signatures": [ { - "id": 172, + "id": 178, "name": "createUser", "kind": 4096, "kindString": "Call signature", @@ -520,7 +520,7 @@ }, "parameters": [ { - "id": 173, + "id": 179, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -530,7 +530,7 @@ }, "type": { "type": "reference", - "id": 488, + "id": 501, "name": "AdminUserAttributes" } } @@ -544,14 +544,14 @@ { "type": "reflection", "declaration": { - "id": 174, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 176, + "id": 182, "name": "data", "kind": 1024, "kindString": "Property", @@ -559,7 +559,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 18 } ], @@ -569,7 +569,7 @@ } }, { - "id": 177, + "id": 183, "name": "error", "kind": 1024, "kindString": "Property", @@ -577,18 +577,18 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 30 } ], "type": { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } }, { - "id": 175, + "id": 181, "name": "user", "kind": 1024, "kindString": "Property", @@ -596,7 +596,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 6 } ], @@ -611,9 +611,9 @@ "title": "Properties", "kind": 1024, "children": [ - 176, - 177, - 175 + 182, + 183, + 181 ] } ] @@ -622,14 +622,14 @@ { "type": "reflection", "declaration": { - "id": 178, + "id": 184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 180, + "id": 186, "name": "data", "kind": 1024, "kindString": "Property", @@ -637,18 +637,18 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 64 } ], "type": { "type": "reference", - "id": 457, + "id": 470, "name": "User" } }, { - "id": 181, + "id": 187, "name": "error", "kind": 1024, "kindString": "Property", @@ -656,7 +656,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 76 } ], @@ -666,7 +666,7 @@ } }, { - "id": 179, + "id": 185, "name": "user", "kind": 1024, "kindString": "Property", @@ -674,13 +674,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 559, + "line": 586, "character": 52 } ], "type": { "type": "reference", - "id": 457, + "id": 470, "name": "User" } } @@ -690,9 +690,9 @@ "title": "Properties", "kind": 1024, "children": [ - 180, - 181, - 179 + 186, + 187, + 185 ] } ] @@ -709,7 +709,7 @@ ] }, { - "id": 148, + "id": 154, "name": "deleteAuthCookie", "kind": 2048, "kindString": "Method", @@ -717,13 +717,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 452, + "line": 479, "character": 2 } ], "signatures": [ { - "id": 149, + "id": 155, "name": "deleteAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -733,7 +733,7 @@ }, "parameters": [ { - "id": 150, + "id": 156, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -747,7 +747,7 @@ } }, { - "id": 151, + "id": 157, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -761,7 +761,7 @@ } }, { - "id": 152, + "id": 158, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -773,14 +773,14 @@ "type": { "type": "reflection", "declaration": { - "id": 153, + "id": 159, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 154, + "id": 160, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -790,7 +790,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 452, + "line": 479, "character": 63 } ], @@ -805,7 +805,7 @@ "title": "Properties", "kind": 1024, "children": [ - 154 + 160 ] } ] @@ -821,7 +821,7 @@ ] }, { - "id": 216, + "id": 222, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -829,13 +829,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 696, + "line": 723, "character": 8 } ], "signatures": [ { - "id": 217, + "id": 223, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -846,7 +846,7 @@ }, "parameters": [ { - "id": 218, + "id": 224, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -866,14 +866,14 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 225, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 221, + "id": 227, "name": "data", "kind": 1024, "kindString": "Property", @@ -881,7 +881,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 698, + "line": 725, "character": 34 } ], @@ -894,14 +894,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 222, + "id": 228, "name": "error", "kind": 1024, "kindString": "Property", @@ -909,7 +909,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 698, + "line": 725, "character": 53 } ], @@ -922,14 +922,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 220, + "id": 226, "name": "user", "kind": 1024, "kindString": "Property", @@ -937,7 +937,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 698, + "line": 725, "character": 15 } ], @@ -950,7 +950,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -962,9 +962,9 @@ "title": "Properties", "kind": 1024, "children": [ - 221, - 222, - 220 + 227, + 228, + 226 ] } ] @@ -979,7 +979,7 @@ ] }, { - "id": 159, + "id": 165, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -987,13 +987,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 519, + "line": 546, "character": 8 } ], "signatures": [ { - "id": 160, + "id": 166, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -1003,7 +1003,7 @@ }, "parameters": [ { - "id": 161, + "id": 167, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -1034,7 +1034,7 @@ } }, { - "id": 162, + "id": 168, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1048,7 +1048,7 @@ } }, { - "id": 163, + "id": 169, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1056,14 +1056,14 @@ "type": { "type": "reflection", "declaration": { - "id": 164, + "id": 170, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 166, + "id": 172, "name": "data", "kind": 1024, "kindString": "Property", @@ -1073,7 +1073,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 524, + "line": 551, "character": 6 } ], @@ -1083,7 +1083,7 @@ } }, { - "id": 165, + "id": 171, "name": "password", "kind": 1024, "kindString": "Property", @@ -1093,7 +1093,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 523, + "line": 550, "character": 6 } ], @@ -1103,7 +1103,7 @@ } }, { - "id": 167, + "id": 173, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -1113,7 +1113,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 525, + "line": 552, "character": 6 } ], @@ -1128,9 +1128,9 @@ "title": "Properties", "kind": 1024, "children": [ - 166, - 165, - 167 + 172, + 171, + 173 ] } ] @@ -1145,14 +1145,14 @@ { "type": "reflection", "declaration": { - "id": 168, + "id": 174, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 169, + "id": 175, "name": "data", "kind": 1024, "kindString": "Property", @@ -1160,7 +1160,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 527, + "line": 554, "character": 15 } ], @@ -1173,19 +1173,19 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 170, + "id": 176, "name": "error", "kind": 1024, "kindString": "Property", @@ -1193,7 +1193,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 527, + "line": 554, "character": 44 } ], @@ -1206,7 +1206,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -1218,8 +1218,8 @@ "title": "Properties", "kind": 1024, "children": [ - 169, - 170 + 175, + 176 ] } ] @@ -1234,7 +1234,7 @@ ] }, { - "id": 155, + "id": 161, "name": "getAuthCookieString", "kind": 2048, "kindString": "Method", @@ -1242,13 +1242,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 471, + "line": 498, "character": 2 } ], "signatures": [ { - "id": 156, + "id": 162, "name": "getAuthCookieString", "kind": 4096, "kindString": "Call signature", @@ -1259,7 +1259,7 @@ }, "parameters": [ { - "id": 157, + "id": 163, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -1273,7 +1273,7 @@ } }, { - "id": 158, + "id": 164, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -1306,7 +1306,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 63, + "line": 64, "character": 2 } ], @@ -1332,7 +1332,7 @@ }, "type": { "type": "reference", - "id": 433, + "id": 446, "name": "Provider" } }, @@ -1362,7 +1362,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 66, + "line": 67, "character": 6 } ], @@ -1382,7 +1382,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 67, + "line": 68, "character": 6 } ], @@ -1414,7 +1414,7 @@ ] }, { - "id": 223, + "id": 229, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -1422,13 +1422,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 723, + "line": 750, "character": 8 } ], "signatures": [ { - "id": 224, + "id": 230, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -1439,7 +1439,7 @@ }, "parameters": [ { - "id": 225, + "id": 231, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -1459,14 +1459,14 @@ { "type": "reflection", "declaration": { - "id": 226, + "id": 232, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 228, + "id": 234, "name": "data", "kind": 1024, "kindString": "Property", @@ -1474,7 +1474,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 725, + "line": 752, "character": 34 } ], @@ -1487,14 +1487,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 229, + "id": 235, "name": "error", "kind": 1024, "kindString": "Property", @@ -1502,7 +1502,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 725, + "line": 752, "character": 53 } ], @@ -1515,14 +1515,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 227, + "id": 233, "name": "user", "kind": 1024, "kindString": "Property", @@ -1530,7 +1530,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 725, + "line": 752, "character": 15 } ], @@ -1543,7 +1543,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -1555,9 +1555,9 @@ "title": "Properties", "kind": 1024, "children": [ - 228, - 229, - 227 + 234, + 235, + 233 ] } ] @@ -1572,7 +1572,7 @@ ] }, { - "id": 199, + "id": 205, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -1580,13 +1580,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 611, + "line": 638, "character": 8 } ], "signatures": [ { - "id": 200, + "id": 206, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -1596,7 +1596,7 @@ }, "parameters": [ { - "id": 201, + "id": 207, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -1607,7 +1607,7 @@ } }, { - "id": 202, + "id": 208, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -1626,14 +1626,14 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 212, "name": "data", "kind": 1024, "kindString": "Property", @@ -1641,7 +1641,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 617, + "line": 644, "character": 4 } ], @@ -1654,14 +1654,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 207, + "id": 213, "name": "error", "kind": 1024, "kindString": "Property", @@ -1669,7 +1669,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 618, + "line": 645, "character": 4 } ], @@ -1682,14 +1682,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 204, + "id": 210, "name": "token", "kind": 1024, "kindString": "Property", @@ -1697,7 +1697,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 615, + "line": 642, "character": 4 } ], @@ -1716,7 +1716,7 @@ } }, { - "id": 205, + "id": 211, "name": "user", "kind": 1024, "kindString": "Property", @@ -1724,7 +1724,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 616, + "line": 643, "character": 4 } ], @@ -1737,7 +1737,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -1749,10 +1749,10 @@ "title": "Properties", "kind": 1024, "children": [ - 206, - 207, - 204, - 205 + 212, + 213, + 210, + 211 ] } ] @@ -1767,7 +1767,7 @@ ] }, { - "id": 190, + "id": 196, "name": "getUserById", "kind": 2048, "kindString": "Method", @@ -1775,13 +1775,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 594, + "line": 621, "character": 8 } ], "signatures": [ { - "id": 191, + "id": 197, "name": "getUserById", "kind": 4096, "kindString": "Call signature", @@ -1791,7 +1791,7 @@ }, "parameters": [ { - "id": 192, + "id": 198, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -1814,14 +1814,14 @@ { "type": "reflection", "declaration": { - "id": 193, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 200, "name": "data", "kind": 1024, "kindString": "Property", @@ -1829,7 +1829,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 596, + "line": 623, "character": 15 } ], @@ -1839,7 +1839,7 @@ } }, { - "id": 195, + "id": 201, "name": "error", "kind": 1024, "kindString": "Property", @@ -1847,13 +1847,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 596, + "line": 623, "character": 27 } ], "type": { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } } @@ -1863,8 +1863,8 @@ "title": "Properties", "kind": 1024, "children": [ - 194, - 195 + 200, + 201 ] } ] @@ -1873,14 +1873,14 @@ { "type": "reflection", "declaration": { - "id": 196, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 197, + "id": 203, "name": "data", "kind": 1024, "kindString": "Property", @@ -1888,18 +1888,18 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 596, + "line": 623, "character": 49 } ], "type": { "type": "reference", - "id": 457, + "id": 470, "name": "User" } }, { - "id": 198, + "id": 204, "name": "error", "kind": 1024, "kindString": "Property", @@ -1907,7 +1907,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 596, + "line": 623, "character": 61 } ], @@ -1922,8 +1922,8 @@ "title": "Properties", "kind": 1024, "children": [ - 197, - 198 + 203, + 204 ] } ] @@ -1940,7 +1940,7 @@ ] }, { - "id": 117, + "id": 123, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -1948,13 +1948,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 323, + "line": 350, "character": 8 } ], "signatures": [ { - "id": 118, + "id": 124, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -1964,7 +1964,7 @@ }, "parameters": [ { - "id": 119, + "id": 125, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1978,7 +1978,7 @@ } }, { - "id": 120, + "id": 126, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1986,14 +1986,14 @@ "type": { "type": "reflection", "declaration": { - "id": 121, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 123, + "id": 129, "name": "data", "kind": 1024, "kindString": "Property", @@ -2003,7 +2003,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 327, + "line": 354, "character": 6 } ], @@ -2013,7 +2013,7 @@ } }, { - "id": 122, + "id": 128, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -2023,7 +2023,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 326, + "line": 353, "character": 6 } ], @@ -2038,8 +2038,8 @@ "title": "Properties", "kind": 1024, "children": [ - 123, - 122 + 129, + 128 ] } ] @@ -2054,14 +2054,14 @@ { "type": "reflection", "declaration": { - "id": 124, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 125, + "id": 131, "name": "data", "kind": 1024, "kindString": "Property", @@ -2069,7 +2069,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 329, + "line": 356, "character": 15 } ], @@ -2082,14 +2082,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 126, + "id": 132, "name": "error", "kind": 1024, "kindString": "Property", @@ -2097,7 +2097,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 329, + "line": 356, "character": 34 } ], @@ -2110,7 +2110,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -2122,8 +2122,8 @@ "title": "Properties", "kind": 1024, "children": [ - 125, - 126 + 131, + 132 ] } ] @@ -2138,7 +2138,7 @@ ] }, { - "id": 182, + "id": 188, "name": "listUsers", "kind": 2048, "kindString": "Method", @@ -2146,13 +2146,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 8 } ], "signatures": [ { - "id": 183, + "id": 189, "name": "listUsers", "kind": 4096, "kindString": "Call signature", @@ -2170,14 +2170,14 @@ { "type": "reflection", "declaration": { - "id": 184, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 185, + "id": 191, "name": "data", "kind": 1024, "kindString": "Property", @@ -2185,7 +2185,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 31 } ], @@ -2195,7 +2195,7 @@ } }, { - "id": 186, + "id": 192, "name": "error", "kind": 1024, "kindString": "Property", @@ -2203,13 +2203,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 43 } ], "type": { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } } @@ -2219,8 +2219,8 @@ "title": "Properties", "kind": 1024, "children": [ - 185, - 186 + 191, + 192 ] } ] @@ -2229,14 +2229,14 @@ { "type": "reflection", "declaration": { - "id": 187, + "id": 193, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 188, + "id": 194, "name": "data", "kind": 1024, "kindString": "Property", @@ -2244,7 +2244,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 65 } ], @@ -2252,13 +2252,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 457, + "id": 470, "name": "User" } } }, { - "id": 189, + "id": 195, "name": "error", "kind": 1024, "kindString": "Property", @@ -2266,7 +2266,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 576, + "line": 603, "character": 79 } ], @@ -2281,8 +2281,8 @@ "title": "Properties", "kind": 1024, "children": [ - 188, - 189 + 194, + 195 ] } ] @@ -2299,7 +2299,7 @@ ] }, { - "id": 138, + "id": 144, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -2307,13 +2307,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 382, + "line": 409, "character": 8 } ], "signatures": [ { - "id": 139, + "id": 145, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -2323,7 +2323,7 @@ }, "parameters": [ { - "id": 140, + "id": 146, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -2343,14 +2343,14 @@ { "type": "reflection", "declaration": { - "id": 141, + "id": 147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 142, + "id": 148, "name": "data", "kind": 1024, "kindString": "Property", @@ -2358,7 +2358,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 384, + "line": 411, "character": 15 } ], @@ -2371,12 +2371,215 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, + { + "id": 149, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 411, + "character": 37 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 448, + "name": "ApiError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 148, + 149 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 133, + "name": "resetPasswordForEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 380, + "character": 8 + } + ], + "signatures": [ + { + "id": 134, + "name": "resetPasswordForEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends a reset request to an email address." + }, + "parameters": [ + { + "id": 135, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 136, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 137, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 139, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 384, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 138, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 383, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 139, + 138 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 140, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 141, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 386, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + } + }, { "id": 143, "name": "error", @@ -2386,8 +2589,8 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 384, - "character": 37 + "line": 386, + "character": 32 } ], "type": { @@ -2399,7 +2602,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -2411,7 +2614,7 @@ "title": "Properties", "kind": 1024, "children": [ - 142, + 141, 143 ] } @@ -2427,210 +2630,7 @@ ] }, { - "id": 127, - "name": "resetPasswordForEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 353, - "character": 8 - } - ], - "signatures": [ - { - "id": 128, - "name": "resetPasswordForEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a reset request to an email address." - }, - "parameters": [ - { - "id": 129, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 130, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 131, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 133, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 357, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 132, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 356, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 133, - 132 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 134, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 135, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 359, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 136, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - }, - { - "id": 137, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 359, - "character": 32 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 435, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 135, - 137 - ] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 81, + "id": 87, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -2638,13 +2638,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 223, + "line": 250, "character": 8 } ], "signatures": [ { - "id": 82, + "id": 88, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -2654,7 +2654,7 @@ }, "parameters": [ { - "id": 83, + "id": 89, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2668,7 +2668,7 @@ } }, { - "id": 84, + "id": 90, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2676,14 +2676,14 @@ "type": { "type": "reflection", "declaration": { - "id": 85, + "id": 91, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 87, + "id": 93, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -2693,7 +2693,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 227, + "line": 254, "character": 6 } ], @@ -2703,7 +2703,7 @@ } }, { - "id": 86, + "id": 92, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -2713,7 +2713,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 226, + "line": 253, "character": 6 } ], @@ -2728,8 +2728,8 @@ "title": "Properties", "kind": 1024, "children": [ - 87, - 86 + 93, + 92 ] } ] @@ -2744,14 +2744,14 @@ { "type": "reflection", "declaration": { - "id": 88, + "id": 94, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 89, + "id": 95, "name": "data", "kind": 1024, "kindString": "Property", @@ -2759,7 +2759,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 229, + "line": 256, "character": 15 } ], @@ -2773,7 +2773,7 @@ { "type": "reflection", "declaration": { - "id": 90, + "id": 96, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2784,7 +2784,7 @@ } }, { - "id": 91, + "id": 97, "name": "error", "kind": 1024, "kindString": "Property", @@ -2792,7 +2792,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 229, + "line": 256, "character": 32 } ], @@ -2805,7 +2805,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -2817,8 +2817,8 @@ "title": "Properties", "kind": 1024, "children": [ - 89, - 91 + 95, + 97 ] } ] @@ -2833,7 +2833,7 @@ ] }, { - "id": 92, + "id": 98, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -2841,13 +2841,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 252, + "line": 279, "character": 8 } ], "signatures": [ { - "id": 93, + "id": 99, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -2857,7 +2857,7 @@ }, "parameters": [ { - "id": 94, + "id": 100, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2871,7 +2871,7 @@ } }, { - "id": 95, + "id": 101, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2879,14 +2879,14 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 102, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 97, + "id": 103, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -2896,7 +2896,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 255, + "line": 282, "character": 6 } ], @@ -2911,7 +2911,7 @@ "title": "Properties", "kind": 1024, "children": [ - 97 + 103 ] } ] @@ -2926,14 +2926,14 @@ { "type": "reflection", "declaration": { - "id": 98, + "id": 104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 99, + "id": 105, "name": "data", "kind": 1024, "kindString": "Property", @@ -2941,7 +2941,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 257, + "line": 284, "character": 15 } ], @@ -2955,7 +2955,7 @@ { "type": "reflection", "declaration": { - "id": 100, + "id": 106, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2966,7 +2966,7 @@ } }, { - "id": 101, + "id": 107, "name": "error", "kind": 1024, "kindString": "Property", @@ -2974,7 +2974,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 257, + "line": 284, "character": 32 } ], @@ -2987,7 +2987,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -2999,8 +2999,8 @@ "title": "Properties", "kind": 1024, "children": [ - 99, - 101 + 105, + 107 ] } ] @@ -3015,7 +3015,7 @@ ] }, { - "id": 144, + "id": 150, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -3023,13 +3023,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 406, + "line": 433, "character": 2 } ], "signatures": [ { - "id": 145, + "id": 151, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -3039,7 +3039,7 @@ }, "parameters": [ { - "id": 146, + "id": 152, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -3053,7 +3053,7 @@ } }, { - "id": 147, + "id": 153, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -3083,7 +3083,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 130, + "line": 131, "character": 8 } ], @@ -3152,7 +3152,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 134, + "line": 135, "character": 6 } ], @@ -3197,7 +3197,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 136, + "line": 137, "character": 15 } ], @@ -3210,7 +3210,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -3225,7 +3225,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 136, + "line": 137, "character": 37 } ], @@ -3238,7 +3238,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -3265,6 +3265,132 @@ } ] }, + { + "id": 81, + "name": "signInWithOpenIDConnect", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 227, + "character": 8 + } + ], + "signatures": [ + { + "id": 82, + "name": "signInWithOpenIDConnect", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Logs in an OpenID Connect user using their id_token." + }, + "parameters": [ + { + "id": 83, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 534, + "name": "OpenIDConnectCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 84, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 85, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 227, + "character": 118 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 451, + "name": "Session" + } + ] + } + }, + { + "id": 86, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 227, + "character": 140 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 448, + "name": "ApiError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 85, + 86 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, { "id": 74, "name": "signInWithPhone", @@ -3274,7 +3400,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 197, + "line": 198, "character": 8 } ], @@ -3339,7 +3465,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 200, + "line": 201, "character": 15 } ], @@ -3352,7 +3478,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -3367,7 +3493,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 200, + "line": 201, "character": 37 } ], @@ -3380,7 +3506,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -3408,7 +3534,7 @@ ] }, { - "id": 102, + "id": 108, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3416,13 +3542,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 276, + "line": 303, "character": 8 } ], "signatures": [ { - "id": 103, + "id": 109, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3432,7 +3558,7 @@ }, "parameters": [ { - "id": 104, + "id": 110, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -3452,14 +3578,14 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 106, + "id": 112, "name": "error", "kind": 1024, "kindString": "Property", @@ -3467,7 +3593,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 276, + "line": 303, "character": 40 } ], @@ -3480,7 +3606,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -3492,7 +3618,7 @@ "title": "Properties", "kind": 1024, "children": [ - 106 + 112 ] } ] @@ -3515,7 +3641,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 90, + "line": 91, "character": 8 } ], @@ -3585,7 +3711,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 96, + "line": 97, "character": 6 } ], @@ -3605,7 +3731,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 95, + "line": 96, "character": 6 } ], @@ -3625,7 +3751,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 94, + "line": 95, "character": 6 } ], @@ -3672,7 +3798,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 98, + "line": 99, "character": 15 } ], @@ -3685,12 +3811,12 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -3705,7 +3831,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 98, + "line": 99, "character": 44 } ], @@ -3718,7 +3844,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -3754,7 +3880,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 163, + "line": 164, "character": 8 } ], @@ -3823,7 +3949,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 168, + "line": 169, "character": 6 } ], @@ -3843,7 +3969,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 167, + "line": 168, "character": 6 } ], @@ -3889,7 +4015,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 170, + "line": 171, "character": 15 } ], @@ -3902,12 +4028,12 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -3922,7 +4048,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 170, + "line": 171, "character": 44 } ], @@ -3935,7 +4061,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -3963,7 +4089,7 @@ ] }, { - "id": 230, + "id": 236, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -3971,13 +4097,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 741, + "line": 768, "character": 8 } ], "signatures": [ { - "id": 231, + "id": 237, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -3987,7 +4113,7 @@ }, "parameters": [ { - "id": 232, + "id": 238, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -4001,7 +4127,7 @@ } }, { - "id": 233, + "id": 239, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4011,7 +4137,7 @@ }, "type": { "type": "reference", - "id": 483, + "id": 496, "name": "UserAttributes" } } @@ -4022,14 +4148,14 @@ { "type": "reflection", "declaration": { - "id": 234, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 236, + "id": 242, "name": "data", "kind": 1024, "kindString": "Property", @@ -4037,7 +4163,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 744, + "line": 771, "character": 34 } ], @@ -4050,14 +4176,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 237, + "id": 243, "name": "error", "kind": 1024, "kindString": "Property", @@ -4065,7 +4191,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 744, + "line": 771, "character": 53 } ], @@ -4078,14 +4204,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 235, + "id": 241, "name": "user", "kind": 1024, "kindString": "Property", @@ -4093,7 +4219,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 744, + "line": 771, "character": 15 } ], @@ -4106,7 +4232,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -4118,9 +4244,9 @@ "title": "Properties", "kind": 1024, "children": [ - 236, - 237, - 235 + 242, + 243, + 241 ] } ] @@ -4135,7 +4261,7 @@ ] }, { - "id": 208, + "id": 214, "name": "updateUserById", "kind": 2048, "kindString": "Method", @@ -4143,13 +4269,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 674, + "line": 701, "character": 8 } ], "signatures": [ { - "id": 209, + "id": 215, "name": "updateUserById", "kind": 4096, "kindString": "Call signature", @@ -4159,7 +4285,7 @@ }, "parameters": [ { - "id": 210, + "id": 216, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -4170,7 +4296,7 @@ } }, { - "id": 211, + "id": 217, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4180,7 +4306,7 @@ }, "type": { "type": "reference", - "id": 488, + "id": 501, "name": "AdminUserAttributes" } } @@ -4191,14 +4317,14 @@ { "type": "reflection", "declaration": { - "id": 212, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 214, + "id": 220, "name": "data", "kind": 1024, "kindString": "Property", @@ -4206,7 +4332,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 677, + "line": 704, "character": 34 } ], @@ -4219,14 +4345,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 215, + "id": 221, "name": "error", "kind": 1024, "kindString": "Property", @@ -4234,7 +4360,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 677, + "line": 704, "character": 53 } ], @@ -4247,14 +4373,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 213, + "id": 219, "name": "user", "kind": 1024, "kindString": "Property", @@ -4262,7 +4388,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 677, + "line": 704, "character": 15 } ], @@ -4275,7 +4401,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -4287,9 +4413,9 @@ "title": "Properties", "kind": 1024, "children": [ - 214, - 215, - 213 + 220, + 221, + 219 ] } ] @@ -4304,7 +4430,7 @@ ] }, { - "id": 107, + "id": 113, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -4312,13 +4438,13 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 296, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 108, + "id": 114, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -4328,7 +4454,7 @@ }, "parameters": [ { - "id": 109, + "id": 115, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -4342,7 +4468,7 @@ } }, { - "id": 110, + "id": 116, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -4356,7 +4482,7 @@ } }, { - "id": 111, + "id": 117, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4364,14 +4490,14 @@ "type": { "type": "reflection", "declaration": { - "id": 112, + "id": 118, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 113, + "id": 119, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -4381,7 +4507,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 300, + "line": 327, "character": 6 } ], @@ -4396,7 +4522,7 @@ "title": "Properties", "kind": 1024, "children": [ - 113 + 119 ] } ] @@ -4411,14 +4537,14 @@ { "type": "reflection", "declaration": { - "id": 114, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 115, + "id": 121, "name": "data", "kind": 1024, "kindString": "Property", @@ -4426,7 +4552,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 302, + "line": 329, "character": 15 } ], @@ -4439,19 +4565,19 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 116, + "id": 122, "name": "error", "kind": 1024, "kindString": "Property", @@ -4459,7 +4585,7 @@ "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 302, + "line": 329, "character": 44 } ], @@ -4472,7 +4598,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -4484,8 +4610,8 @@ "title": "Properties", "kind": 1024, "children": [ - 115, - 116 + 121, + 122 ] } ] @@ -4524,50 +4650,51 @@ "children": [ 28, 32, - 171, - 148, - 216, - 159, - 155, + 177, + 154, + 222, + 165, + 161, 34, - 223, - 199, - 190, - 117, - 182, - 138, - 127, - 81, - 92, + 229, + 205, + 196, + 123, + 188, 144, + 133, + 87, + 98, + 150, 53, + 81, 74, - 102, + 108, 41, 63, - 230, - 208, - 107 + 236, + 214, + 113 ] } ], "sources": [ { "fileName": "src/GoTrueApi.ts", - "line": 15, + "line": 16, "character": 21 } ] }, { - "id": 238, + "id": 244, "name": "GoTrueClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 239, + "id": 245, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4575,13 +4702,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 76, + "line": 77, "character": 2 } ], "signatures": [ { - "id": 240, + "id": 246, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -4591,7 +4718,7 @@ }, "parameters": [ { - "id": 241, + "id": 247, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4599,14 +4726,14 @@ "type": { "type": "reflection", "declaration": { - "id": 242, + "id": 248, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 249, + "id": 255, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -4616,6 +4743,51 @@ "comment": { "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring." }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 81, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 259, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 85, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 518, + "name": "CookieOptions" + } + }, + { + "id": 254, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." + }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -4629,52 +4801,7 @@ } }, { - "id": 253, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 84, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 505, - "name": "CookieOptions" - } - }, - { - "id": 248, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 79, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 254, + "id": 260, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -4684,21 +4811,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 85, + "line": 86, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 255, + "id": 261, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 256, + "id": 262, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -4708,7 +4835,7 @@ }, "parameters": [ { - "id": 257, + "id": 263, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -4721,7 +4848,7 @@ } }, { - "id": 258, + "id": 264, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -4756,7 +4883,7 @@ } }, { - "id": 244, + "id": 250, "name": "headers", "kind": 1024, "kindString": "Property", @@ -4769,27 +4896,27 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 78, + "line": 79, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 245, + "id": 251, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 246, + "id": 252, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 247, + "id": 253, "name": "key", "kind": 32768, "flags": {}, @@ -4808,7 +4935,7 @@ } }, { - "id": 251, + "id": 257, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -4821,7 +4948,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 82, + "line": 83, "character": 4 } ], @@ -4864,7 +4991,7 @@ } }, { - "id": 252, + "id": 258, "name": "multiTab", "kind": 1024, "kindString": "Property", @@ -4877,7 +5004,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 83, + "line": 84, "character": 4 } ], @@ -4887,7 +5014,7 @@ } }, { - "id": 250, + "id": 256, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -4900,7 +5027,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 81, + "line": 82, "character": 4 } ], @@ -4910,7 +5037,7 @@ } }, { - "id": 243, + "id": 249, "name": "url", "kind": 1024, "kindString": "Property", @@ -4923,7 +5050,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 77, + "line": 78, "character": 4 } ], @@ -4938,15 +5065,15 @@ "title": "Properties", "kind": 1024, "children": [ - 249, - 253, - 248, + 255, + 259, 254, - 244, - 251, - 252, + 260, 250, - 243 + 257, + 258, + 256, + 249 ] } ] @@ -4956,14 +5083,14 @@ ], "type": { "type": "reference", - "id": 238, + "id": 244, "name": "default" } } ] }, { - "id": 259, + "id": 265, "name": "api", "kind": 1024, "kindString": "Property", @@ -4974,7 +5101,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -4985,7 +5112,7 @@ } }, { - "id": 262, + "id": 268, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -4995,7 +5122,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 57, + "line": 58, "character": 12 } ], @@ -5005,7 +5132,7 @@ } }, { - "id": 261, + "id": 267, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -5018,7 +5145,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 55, + "line": 56, "character": 12 } ], @@ -5031,14 +5158,14 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, { - "id": 260, + "id": 266, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -5051,7 +5178,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 51, + "line": 52, "character": 12 } ], @@ -5064,14 +5191,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 264, + "id": 270, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -5081,7 +5208,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 59, + "line": 60, "character": 12 } ], @@ -5124,76 +5251,13 @@ } }, { - "id": 265, + "id": 271, "name": "multiTab", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 60, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 263, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 58, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 267, - "name": "refreshTokenTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 62, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "NodeJS.Timeout", - "package": "@types/node", - "name": "Timeout" - } - }, - { - "id": 266, - "name": "stateChangeEmitters", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -5201,6 +5265,69 @@ "character": 12 } ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 269, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 59, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 273, + "name": "refreshTokenTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 63, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "NodeJS.Timeout", + "package": "@types/node", + "name": "Timeout" + } + }, + { + "id": 272, + "name": "stateChangeEmitters", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 62, + "character": 12 + } + ], "type": { "type": "reference", "typeArguments": [ @@ -5210,7 +5337,7 @@ }, { "type": "reference", - "id": 497, + "id": 510, "name": "Subscription" } ], @@ -5221,7 +5348,7 @@ "defaultValue": "..." }, { - "id": 408, + "id": 421, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -5231,20 +5358,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 625, + "line": 650, "character": 16 } ], "signatures": [ { - "id": 409, + "id": 422, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 410, + "id": 423, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -5274,26 +5401,26 @@ { "type": "reflection", "declaration": { - "id": 411, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 412, + "id": 425, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } }, { - "id": 413, + "id": 426, "name": "error", "kind": 1024, "kindString": "Property", @@ -5310,8 +5437,8 @@ "title": "Properties", "kind": 1024, "children": [ - 412, - 413 + 425, + 426 ] } ] @@ -5320,14 +5447,14 @@ { "type": "reflection", "declaration": { - "id": 414, + "id": 427, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 415, + "id": 428, "name": "data", "kind": 1024, "kindString": "Property", @@ -5339,14 +5466,14 @@ "defaultValue": "null" }, { - "id": 416, + "id": 429, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" }, "defaultValue": "..." @@ -5357,8 +5484,8 @@ "title": "Properties", "kind": 1024, "children": [ - 415, - 416 + 428, + 429 ] } ] @@ -5375,7 +5502,7 @@ ] }, { - "id": 352, + "id": 358, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -5385,20 +5512,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 496, + "line": 500, "character": 16 } ], "signatures": [ { - "id": 353, + "id": 359, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 354, + "id": 360, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -5409,7 +5536,7 @@ } }, { - "id": 355, + "id": 361, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -5420,7 +5547,7 @@ } }, { - "id": 356, + "id": 362, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5428,14 +5555,14 @@ "type": { "type": "reflection", "declaration": { - "id": 357, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 358, + "id": 364, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5445,7 +5572,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 500, + "line": 504, "character": 6 } ], @@ -5460,7 +5587,7 @@ "title": "Properties", "kind": 1024, "children": [ - 358 + 364 ] } ] @@ -5478,14 +5605,14 @@ { "type": "reflection", "declaration": { - "id": 359, + "id": 365, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 360, + "id": 366, "name": "data", "kind": 1024, "kindString": "Property", @@ -5497,7 +5624,7 @@ "defaultValue": "null" }, { - "id": 363, + "id": 369, "name": "error", "kind": 1024, "kindString": "Property", @@ -5511,14 +5638,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 362, + "id": 368, "name": "session", "kind": 1024, "kindString": "Property", @@ -5530,7 +5657,7 @@ "defaultValue": "null" }, { - "id": 361, + "id": 367, "name": "user", "kind": 1024, "kindString": "Property", @@ -5547,10 +5674,10 @@ "title": "Properties", "kind": 1024, "children": [ - 360, - 363, - 362, - 361 + 366, + 369, + 368, + 367 ] } ] @@ -5559,26 +5686,26 @@ { "type": "reflection", "declaration": { - "id": 364, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 365, + "id": 371, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } }, { - "id": 368, + "id": 374, "name": "error", "kind": 1024, "kindString": "Property", @@ -5590,20 +5717,20 @@ "defaultValue": "null" }, { - "id": 367, + "id": 373, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, "defaultValue": "data" }, { - "id": 366, + "id": 372, "name": "user", "kind": 1024, "kindString": "Property", @@ -5617,7 +5744,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -5630,10 +5757,10 @@ "title": "Properties", "kind": 1024, "children": [ - 365, - 368, - 367, - 366 + 371, + 374, + 373, + 372 ] } ] @@ -5650,7 +5777,161 @@ ] }, { - "id": 369, + "id": 410, + "name": "_handleOpenIDConnectSignIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 565, + "character": 16 + } + ], + "signatures": [ + { + "id": 411, + "name": "_handleOpenIDConnectSignIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 412, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 534, + "name": "OpenIDConnectCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 413, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 416, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 570, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 448, + "name": "ApiError" + } + ] + } + }, + { + "id": 414, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 568, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 451, + "name": "Session" + } + ] + } + }, + { + "id": 415, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 569, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 470, + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 416, + 414, + 415 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 375, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -5660,20 +5941,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 520, + "line": 524, "character": 16 } ], "signatures": [ { - "id": 370, + "id": 376, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 371, + "id": 377, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -5684,7 +5965,7 @@ } }, { - "id": 372, + "id": 378, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -5704,14 +5985,14 @@ { "type": "reflection", "declaration": { - "id": 373, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 374, + "id": 380, "name": "data", "kind": 1024, "kindString": "Property", @@ -5723,7 +6004,7 @@ "defaultValue": "null" }, { - "id": 377, + "id": 383, "name": "error", "kind": 1024, "kindString": "Property", @@ -5737,14 +6018,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 376, + "id": 382, "name": "session", "kind": 1024, "kindString": "Property", @@ -5756,7 +6037,7 @@ "defaultValue": "null" }, { - "id": 375, + "id": 381, "name": "user", "kind": 1024, "kindString": "Property", @@ -5773,10 +6054,10 @@ "title": "Properties", "kind": 1024, "children": [ - 374, - 377, - 376, - 375 + 380, + 383, + 382, + 381 ] } ] @@ -5785,26 +6066,26 @@ { "type": "reflection", "declaration": { - "id": 378, + "id": 384, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 379, + "id": 385, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } }, { - "id": 382, + "id": 388, "name": "error", "kind": 1024, "kindString": "Property", @@ -5816,20 +6097,20 @@ "defaultValue": "null" }, { - "id": 381, + "id": 387, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" }, "defaultValue": "data" }, { - "id": 380, + "id": 386, "name": "user", "kind": 1024, "kindString": "Property", @@ -5843,7 +6124,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -5856,10 +6137,10 @@ "title": "Properties", "kind": 1024, "children": [ - 379, - 382, - 381, - 380 + 385, + 388, + 387, + 386 ] } ] @@ -5876,7 +6157,7 @@ ] }, { - "id": 383, + "id": 389, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -5886,32 +6167,32 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 536, + "line": 540, "character": 10 } ], "signatures": [ { - "id": 384, + "id": 390, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 385, + "id": 391, "name": "provider", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 433, + "id": 446, "name": "Provider" } }, { - "id": 386, + "id": 392, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5919,14 +6200,14 @@ "type": { "type": "reflection", "declaration": { - "id": 387, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 388, + "id": 394, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5936,7 +6217,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 539, + "line": 543, "character": 6 } ], @@ -5946,7 +6227,7 @@ } }, { - "id": 389, + "id": 395, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -5956,7 +6237,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 540, + "line": 544, "character": 6 } ], @@ -5971,8 +6252,8 @@ "title": "Properties", "kind": 1024, "children": [ - 388, - 389 + 394, + 395 ] } ] @@ -5987,14 +6268,14 @@ { "type": "reflection", "declaration": { - "id": 390, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 393, + "id": 399, "name": "data", "kind": 1024, "kindString": "Property", @@ -6005,125 +6286,28 @@ }, "defaultValue": "null" }, - { - "id": 396, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 391, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 433, - "name": "Provider" - } - }, - { - "id": 394, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 392, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 395, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 393, - 396, - 391, - 394, - 392, - 395 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 397, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 398, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 401, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 435, - "name": "ApiError" - }, - "defaultValue": "..." - }, { "id": 402, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 397, "name": "provider", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "undefined" + "type": "reference", + "id": 446, + "name": "Provider" } }, { @@ -6139,18 +6323,18 @@ "defaultValue": "null" }, { - "id": 403, + "id": 398, "name": "url", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "intrinsic", - "name": "undefined" + "name": "string" } }, { - "id": 399, + "id": 401, "name": "user", "kind": 1024, "kindString": "Property", @@ -6167,12 +6351,109 @@ "title": "Properties", "kind": 1024, "children": [ - 398, - 401, + 399, 402, + 397, 400, - 403, - 399 + 398, + 401 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 403, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 404, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 407, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "id": 448, + "name": "ApiError" + }, + "defaultValue": "..." + }, + { + "id": 408, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 406, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 409, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 405, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 404, + 407, + 408, + 406, + 409, + 405 ] } ] @@ -6184,7 +6465,7 @@ ] }, { - "id": 431, + "id": 444, "name": "_listenForMultiTabEvents", "kind": 2048, "kindString": "Method", @@ -6194,13 +6475,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 698, + "line": 723, "character": 10 } ], "signatures": [ { - "id": 432, + "id": 445, "name": "_listenForMultiTabEvents", "kind": 4096, "kindString": "Call signature", @@ -6225,7 +6506,7 @@ ] }, { - "id": 417, + "id": 430, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -6235,27 +6516,27 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 644, + "line": 669, "character": 10 } ], "signatures": [ { - "id": 418, + "id": 431, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 432, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 434, + "id": 447, "name": "AuthChangeEvent" } } @@ -6268,7 +6549,7 @@ ] }, { - "id": 423, + "id": 436, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -6278,27 +6559,27 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 671, + "line": 696, "character": 10 } ], "signatures": [ { - "id": 424, + "id": 437, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 425, + "id": 438, "name": "currentSession", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } } @@ -6311,7 +6592,7 @@ ] }, { - "id": 406, + "id": 419, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -6321,13 +6602,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 589, + "line": 614, "character": 16 } ], "signatures": [ { - "id": 407, + "id": 420, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -6360,7 +6641,7 @@ ] }, { - "id": 404, + "id": 417, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -6370,13 +6651,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 565, + "line": 590, "character": 10 } ], "signatures": [ { - "id": 405, + "id": 418, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -6401,7 +6682,7 @@ ] }, { - "id": 426, + "id": 439, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -6411,13 +6692,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 676, + "line": 701, "character": 16 } ], "signatures": [ { - "id": 427, + "id": 440, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -6438,7 +6719,7 @@ ] }, { - "id": 420, + "id": 433, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -6448,13 +6729,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 652, + "line": 677, "character": 10 } ], "signatures": [ { - "id": 421, + "id": 434, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -6464,14 +6745,14 @@ }, "parameters": [ { - "id": 422, + "id": 435, "name": "session", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } } @@ -6484,7 +6765,7 @@ ] }, { - "id": 428, + "id": 441, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -6494,13 +6775,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 687, + "line": 712, "character": 10 } ], "signatures": [ { - "id": 429, + "id": 442, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -6510,7 +6791,7 @@ }, "parameters": [ { - "id": 430, + "id": 443, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6532,7 +6813,7 @@ ] }, { - "id": 330, + "id": 336, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -6540,13 +6821,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 404, + "line": 408, "character": 8 } ], "signatures": [ { - "id": 331, + "id": 337, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -6556,7 +6837,7 @@ }, "parameters": [ { - "id": 332, + "id": 338, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6566,14 +6847,14 @@ "type": { "type": "reflection", "declaration": { - "id": 333, + "id": 339, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 334, + "id": 340, "name": "storeSession", "kind": 1024, "kindString": "Property", @@ -6586,7 +6867,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 405, + "line": 409, "character": 4 } ], @@ -6601,7 +6882,7 @@ "title": "Properties", "kind": 1024, "children": [ - 334 + 340 ] } ] @@ -6615,14 +6896,14 @@ { "type": "reflection", "declaration": { - "id": 335, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 336, + "id": 342, "name": "data", "kind": 1024, "kindString": "Property", @@ -6630,7 +6911,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 406, + "line": 410, "character": 16 } ], @@ -6643,14 +6924,14 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, { - "id": 337, + "id": 343, "name": "error", "kind": 1024, "kindString": "Property", @@ -6658,7 +6939,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 406, + "line": 410, "character": 38 } ], @@ -6671,7 +6952,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -6683,8 +6964,8 @@ "title": "Properties", "kind": 1024, "children": [ - 336, - 337 + 342, + 343 ] } ] @@ -6699,7 +6980,7 @@ ] }, { - "id": 342, + "id": 348, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -6707,13 +6988,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 476, + "line": 480, "character": 2 } ], "signatures": [ { - "id": 343, + "id": 349, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -6724,7 +7005,7 @@ }, "parameters": [ { - "id": 344, + "id": 350, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6732,33 +7013,33 @@ "type": { "type": "reflection", "declaration": { - "id": 345, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 346, + "id": 352, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 347, + "id": 353, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 434, + "id": 447, "name": "AuthChangeEvent" } }, { - "id": 348, + "id": 354, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -6772,7 +7053,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -6792,14 +7073,14 @@ "type": { "type": "reflection", "declaration": { - "id": 349, + "id": 355, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 350, + "id": 356, "name": "data", "kind": 1024, "kindString": "Property", @@ -6807,7 +7088,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 477, + "line": 481, "character": 4 } ], @@ -6820,14 +7101,14 @@ }, { "type": "reference", - "id": 497, + "id": 510, "name": "Subscription" } ] } }, { - "id": 351, + "id": 357, "name": "error", "kind": 1024, "kindString": "Property", @@ -6835,7 +7116,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 478, + "line": 482, "character": 4 } ], @@ -6848,7 +7129,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -6860,8 +7141,8 @@ "title": "Properties", "kind": 1024, "children": [ - 350, - 351 + 356, + 357 ] } ] @@ -6871,7 +7152,7 @@ ] }, { - "id": 308, + "id": 314, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -6879,13 +7160,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 317, + "line": 321, "character": 8 } ], "signatures": [ { - "id": 309, + "id": 315, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -6899,14 +7180,14 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 316, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 317, "name": "data", "kind": 1024, "kindString": "Property", @@ -6914,7 +7195,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 318, + "line": 322, "character": 4 } ], @@ -6927,14 +7208,14 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, { - "id": 313, + "id": 319, "name": "error", "kind": 1024, "kindString": "Property", @@ -6942,7 +7223,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 320, + "line": 324, "character": 4 } ], @@ -6955,14 +7236,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 312, + "id": 318, "name": "user", "kind": 1024, "kindString": "Property", @@ -6970,7 +7251,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 319, + "line": 323, "character": 4 } ], @@ -6983,7 +7264,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -6995,9 +7276,9 @@ "title": "Properties", "kind": 1024, "children": [ - 311, - 313, - 312 + 317, + 319, + 318 ] } ] @@ -7012,7 +7293,7 @@ ] }, { - "id": 306, + "id": 312, "name": "session", "kind": 2048, "kindString": "Method", @@ -7020,13 +7301,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 310, + "line": 314, "character": 2 } ], "signatures": [ { - "id": 307, + "id": 313, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -7043,7 +7324,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -7052,7 +7333,7 @@ ] }, { - "id": 327, + "id": 333, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -7060,13 +7341,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 389, + "line": 393, "character": 2 } ], "signatures": [ { - "id": 328, + "id": 334, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -7076,7 +7357,7 @@ }, "parameters": [ { - "id": 329, + "id": 335, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -7092,14 +7373,14 @@ ], "type": { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } } ] }, { - "id": 321, + "id": 327, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -7107,13 +7388,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 365, + "line": 369, "character": 8 } ], "signatures": [ { - "id": 322, + "id": 328, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -7123,7 +7404,7 @@ }, "parameters": [ { - "id": 323, + "id": 329, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -7143,14 +7424,14 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 330, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 326, + "id": 332, "name": "error", "kind": 1024, "kindString": "Property", @@ -7158,7 +7439,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 367, + "line": 371, "character": 40 } ], @@ -7171,14 +7452,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 325, + "id": 331, "name": "session", "kind": 1024, "kindString": "Property", @@ -7186,7 +7467,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 367, + "line": 371, "character": 15 } ], @@ -7199,7 +7480,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -7211,8 +7492,8 @@ "title": "Properties", "kind": 1024, "children": [ - 326, - 325 + 332, + 331 ] } ] @@ -7227,7 +7508,7 @@ ] }, { - "id": 280, + "id": 286, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -7235,13 +7516,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 188, + "line": 189, "character": 8 } ], "signatures": [ { - "id": 281, + "id": 287, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -7251,19 +7532,19 @@ }, "parameters": [ { - "id": 282, + "id": 288, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 511, + "id": 524, "name": "UserCredentials" } }, { - "id": 283, + "id": 289, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7271,14 +7552,14 @@ "type": { "type": "reflection", "declaration": { - "id": 284, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 287, + "id": 293, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -7288,7 +7569,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 193, + "line": 194, "character": 6 } ], @@ -7298,33 +7579,13 @@ } }, { - "id": 285, + "id": 291, "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 191, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 286, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -7336,6 +7597,26 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 292, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 193, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ @@ -7343,9 +7624,9 @@ "title": "Properties", "kind": 1024, "children": [ - 287, - 285, - 286 + 293, + 291, + 292 ] } ] @@ -7360,14 +7641,14 @@ { "type": "reflection", "declaration": { - "id": 288, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 293, + "id": 299, "name": "error", "kind": 1024, "kindString": "Property", @@ -7375,7 +7656,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 200, + "line": 201, "character": 4 } ], @@ -7388,69 +7669,20 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 291, + "id": 297, "name": "provider", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 198, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 433, - "name": "Provider" - } - }, - { - "id": 289, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 196, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 438, - "name": "Session" - } - ] - } - }, - { - "id": 292, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -7459,22 +7691,14 @@ } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "reference", + "id": 446, + "name": "Provider" } }, { - "id": 290, - "name": "user", + "id": 295, + "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, @@ -7494,7 +7718,64 @@ }, { "type": "reference", - "id": 457, + "id": 451, + "name": "Session" + } + ] + } + }, + { + "id": 298, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 200, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 296, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 198, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 470, "name": "User" } ] @@ -7506,11 +7787,11 @@ "title": "Properties", "kind": 1024, "children": [ - 293, - 291, - 289, - 292, - 290 + 299, + 297, + 295, + 298, + 296 ] } ] @@ -7525,7 +7806,7 @@ ] }, { - "id": 338, + "id": 344, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -7533,13 +7814,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 461, + "line": 465, "character": 8 } ], "signatures": [ { - "id": 339, + "id": 345, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -7554,14 +7835,14 @@ { "type": "reflection", "declaration": { - "id": 340, + "id": 346, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 341, + "id": 347, "name": "error", "kind": 1024, "kindString": "Property", @@ -7569,7 +7850,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 461, + "line": 465, "character": 29 } ], @@ -7582,7 +7863,7 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] @@ -7594,7 +7875,7 @@ "title": "Properties", "kind": 1024, "children": [ - 341 + 347 ] } ] @@ -7609,7 +7890,7 @@ ] }, { - "id": 268, + "id": 274, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -7617,13 +7898,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 123, + "line": 124, "character": 8 } ], "signatures": [ { - "id": 269, + "id": 275, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -7633,19 +7914,19 @@ }, "parameters": [ { - "id": 270, + "id": 276, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 511, + "id": 524, "name": "UserCredentials" } }, { - "id": 271, + "id": 277, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7653,20 +7934,40 @@ "type": { "type": "reflection", "declaration": { - "id": 272, + "id": 278, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 275, + "id": 281, "name": "captchaToken", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 129, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 280, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -7676,12 +7977,12 @@ ], "type": { "type": "intrinsic", - "name": "string" + "name": "object" } }, { - "id": 274, - "name": "data", + "id": 279, + "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { @@ -7694,26 +7995,6 @@ "character": 6 } ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 273, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 126, - "character": 6 - } - ], "type": { "type": "intrinsic", "name": "string" @@ -7725,9 +8006,9 @@ "title": "Properties", "kind": 1024, "children": [ - 275, - 274, - 273 + 281, + 280, + 279 ] } ] @@ -7742,18 +8023,46 @@ { "type": "reflection", "declaration": { - "id": 276, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 279, + "id": 285, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 134, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 448, + "name": "ApiError" + } + ] + } + }, + { + "id": 284, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", @@ -7770,15 +8079,15 @@ }, { "type": "reference", - "id": 435, - "name": "ApiError" + "id": 451, + "name": "Session" } ] } }, { - "id": 278, - "name": "session", + "id": 283, + "name": "user", "kind": 1024, "kindString": "Property", "flags": {}, @@ -7798,35 +8107,7 @@ }, { "type": "reference", - "id": 438, - "name": "Session" - } - ] - } - }, - { - "id": 277, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 131, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -7838,9 +8119,9 @@ "title": "Properties", "kind": 1024, "children": [ - 279, - 278, - 277 + 285, + 284, + 283 ] } ] @@ -7855,7 +8136,7 @@ ] }, { - "id": 314, + "id": 320, "name": "update", "kind": 2048, "kindString": "Method", @@ -7863,13 +8144,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 338, + "line": 342, "character": 8 } ], "signatures": [ { - "id": 315, + "id": 321, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -7879,14 +8160,14 @@ }, "parameters": [ { - "id": 316, + "id": 322, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 483, + "id": 496, "name": "UserAttributes" } } @@ -7897,14 +8178,14 @@ { "type": "reflection", "declaration": { - "id": 317, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 318, + "id": 324, "name": "data", "kind": 1024, "kindString": "Property", @@ -7912,7 +8193,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 340, + "line": 344, "character": 15 } ], @@ -7925,14 +8206,14 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] } }, { - "id": 320, + "id": 326, "name": "error", "kind": 1024, "kindString": "Property", @@ -7940,7 +8221,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 340, + "line": 344, "character": 53 } ], @@ -7953,14 +8234,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 319, + "id": 325, "name": "user", "kind": 1024, "kindString": "Property", @@ -7968,7 +8249,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 340, + "line": 344, "character": 34 } ], @@ -7981,7 +8262,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -7993,9 +8274,9 @@ "title": "Properties", "kind": 1024, "children": [ - 318, - 320, - 319 + 324, + 326, + 325 ] } ] @@ -8010,7 +8291,7 @@ ] }, { - "id": 304, + "id": 310, "name": "user", "kind": 2048, "kindString": "Method", @@ -8018,13 +8299,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 303, + "line": 307, "character": 2 } ], "signatures": [ { - "id": 305, + "id": 311, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -8042,7 +8323,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -8051,7 +8332,7 @@ ] }, { - "id": 294, + "id": 300, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -8059,13 +8340,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 255, + "line": 259, "character": 8 } ], "signatures": [ { - "id": 295, + "id": 301, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -8075,19 +8356,19 @@ }, "parameters": [ { - "id": 296, + "id": 302, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 531, "name": "VerifyOTPParams" } }, { - "id": 297, + "id": 303, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8095,14 +8376,14 @@ "type": { "type": "reflection", "declaration": { - "id": 298, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 299, + "id": 305, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -8112,7 +8393,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 258, + "line": 262, "character": 6 } ], @@ -8127,7 +8408,7 @@ "title": "Properties", "kind": 1024, "children": [ - 299 + 305 ] } ] @@ -8142,14 +8423,14 @@ { "type": "reflection", "declaration": { - "id": 300, + "id": 306, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 303, + "id": 309, "name": "error", "kind": 1024, "kindString": "Property", @@ -8157,7 +8438,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 263, + "line": 267, "character": 4 } ], @@ -8170,14 +8451,14 @@ }, { "type": "reference", - "id": 435, + "id": 448, "name": "ApiError" } ] } }, { - "id": 302, + "id": 308, "name": "session", "kind": 1024, "kindString": "Property", @@ -8185,7 +8466,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 262, + "line": 266, "character": 4 } ], @@ -8198,14 +8479,14 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] } }, { - "id": 301, + "id": 307, "name": "user", "kind": 1024, "kindString": "Property", @@ -8213,7 +8494,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 261, + "line": 265, "character": 4 } ], @@ -8226,7 +8507,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -8238,9 +8519,9 @@ "title": "Properties", "kind": 1024, "children": [ - 303, - 302, - 301 + 309, + 308, + 307 ] } ] @@ -8260,72 +8541,73 @@ "title": "Constructors", "kind": 512, "children": [ - 239 + 245 ] }, { "title": "Properties", "kind": 1024, "children": [ - 259, - 262, - 261, - 260, - 264, 265, - 263, + 268, 267, - 266 + 266, + 270, + 271, + 269, + 273, + 272 ] }, { "title": "Methods", "kind": 2048, "children": [ - 408, - 352, - 369, - 383, - 431, + 421, + 358, + 410, + 375, + 389, + 444, + 430, + 436, + 419, 417, - 423, - 406, - 404, - 426, - 420, - 428, - 330, - 342, - 308, - 306, - 327, - 321, - 280, - 338, - 268, + 439, + 433, + 441, + 336, + 348, 314, - 304, - 294 + 312, + 333, + 327, + 286, + 344, + 274, + 320, + 310, + 300 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 42, + "line": 43, "character": 21 } ] }, { - "id": 488, + "id": 501, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 490, + "id": 503, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -8339,7 +8621,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 126, + "line": 130, "character": 2 } ], @@ -8349,7 +8631,7 @@ } }, { - "id": 496, + "id": 509, "name": "data", "kind": 1024, "kindString": "Property", @@ -8362,7 +8644,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 105, "character": 2 } ], @@ -8372,12 +8654,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 487, + "id": 500, "name": "UserAttributes.data" } }, { - "id": 493, + "id": 506, "name": "email", "kind": 1024, "kindString": "Property", @@ -8390,7 +8672,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 90, "character": 2 } ], @@ -8400,12 +8682,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 484, + "id": 497, "name": "UserAttributes.email" } }, { - "id": 495, + "id": 508, "name": "email_change_token", "kind": 1024, "kindString": "Property", @@ -8418,7 +8700,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 96, + "line": 100, "character": 2 } ], @@ -8428,12 +8710,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 486, + "id": 499, "name": "UserAttributes.email_change_token" } }, { - "id": 491, + "id": 504, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -8447,7 +8729,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -8457,7 +8739,7 @@ } }, { - "id": 494, + "id": 507, "name": "password", "kind": 1024, "kindString": "Property", @@ -8470,7 +8752,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 95, "character": 2 } ], @@ -8480,12 +8762,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 485, + "id": 498, "name": "UserAttributes.password" } }, { - "id": 492, + "id": 505, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -8499,7 +8781,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -8509,7 +8791,7 @@ } }, { - "id": 489, + "id": 502, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -8523,7 +8805,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -8538,41 +8820,41 @@ "title": "Properties", "kind": 1024, "children": [ - 490, - 496, - 493, - 495, - 491, - 494, - 492, - 489 + 503, + 509, + 506, + 508, + 504, + 507, + 505, + 502 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 104, + "line": 108, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 483, + "id": 496, "name": "UserAttributes" } ] }, { - "id": 435, + "id": 448, "name": "ApiError", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 436, + "id": 449, "name": "message", "kind": 1024, "kindString": "Property", @@ -8580,7 +8862,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 24, + "line": 28, "character": 2 } ], @@ -8590,7 +8872,7 @@ } }, { - "id": 437, + "id": 450, "name": "status", "kind": 1024, "kindString": "Property", @@ -8598,7 +8880,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 25, + "line": 29, "character": 2 } ], @@ -8613,34 +8895,74 @@ "title": "Properties", "kind": 1024, "children": [ - 436, - 437 + 449, + 450 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 23, + "line": 27, "character": 17 } ] }, { - "id": 505, + "id": 518, "name": "CookieOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 521, "name": "domain", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 168, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 520, + "name": "lifetime", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 166, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 519, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", @@ -8654,47 +8976,7 @@ } }, { - "id": 507, - "name": "lifetime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 162, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 506, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 160, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 509, + "id": 522, "name": "path", "kind": 1024, "kindString": "Property", @@ -8704,7 +8986,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 165, + "line": 169, "character": 2 } ], @@ -8714,7 +8996,7 @@ } }, { - "id": 510, + "id": 523, "name": "sameSite", "kind": 1024, "kindString": "Property", @@ -8724,7 +9006,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 167, + "line": 171, "character": 2 } ], @@ -8739,39 +9021,41 @@ "title": "Properties", "kind": 1024, "children": [ - 508, - 507, - 506, - 509, - 510 + 521, + 520, + 519, + 522, + 523 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, + "line": 162, "character": 17 } ] }, { - "id": 438, - "name": "Session", + "id": 534, + "name": "OpenIDConnectCredentials", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 440, - "name": "access_token", + "id": 538, + "name": "client_id", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 193, "character": 2 } ], @@ -8781,7 +9065,131 @@ } }, { - "id": 442, + "id": 535, + "name": "id_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 190, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 539, + "name": "issuer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 194, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 536, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 191, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 537, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 192, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 446, + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 538, + 535, + 539, + 536, + 537 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 189, + "character": 17 + } + ] + }, + { + "id": 451, + "name": "Session", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 453, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 34, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 455, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -8791,6 +9199,29 @@ "comment": { "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 42, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 454, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + }, "sources": [ { "fileName": "src/lib/types.ts", @@ -8804,30 +9235,7 @@ } }, { - "id": 441, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 34, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 439, + "id": 452, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -8837,7 +9245,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 29, + "line": 33, "character": 2 } ], @@ -8856,7 +9264,7 @@ } }, { - "id": 443, + "id": 456, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -8866,7 +9274,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 39, + "line": 43, "character": 2 } ], @@ -8876,7 +9284,7 @@ } }, { - "id": 444, + "id": 457, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -8884,7 +9292,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 44, "character": 2 } ], @@ -8894,7 +9302,7 @@ } }, { - "id": 445, + "id": 458, "name": "user", "kind": 1024, "kindString": "Property", @@ -8902,7 +9310,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 45, "character": 2 } ], @@ -8915,7 +9323,7 @@ }, { "type": "reference", - "id": 457, + "id": 470, "name": "User" } ] @@ -8927,33 +9335,33 @@ "title": "Properties", "kind": 1024, "children": [ - 440, - 442, - 441, - 439, - 443, - 444, - 445 + 453, + 455, + 454, + 452, + 456, + 457, + 458 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 28, + "line": 32, "character": 17 } ] }, { - "id": 497, + "id": 510, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 498, + "id": 511, "name": "id", "kind": 1024, "kindString": "Property", @@ -8964,7 +9372,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 147, + "line": 151, "character": 2 } ], @@ -8974,7 +9382,7 @@ } }, { - "id": 499, + "id": 512, "name": "callback", "kind": 2048, "kindString": "Method", @@ -8982,13 +9390,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 151, + "line": 155, "character": 2 } ], "signatures": [ { - "id": 500, + "id": 513, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -8998,19 +9406,19 @@ }, "parameters": [ { - "id": 501, + "id": 514, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 434, + "id": 447, "name": "AuthChangeEvent" } }, { - "id": 502, + "id": 515, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -9024,7 +9432,7 @@ }, { "type": "reference", - "id": 438, + "id": 451, "name": "Session" } ] @@ -9039,7 +9447,7 @@ ] }, { - "id": 503, + "id": 516, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -9047,13 +9455,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 155, + "line": 159, "character": 2 } ], "signatures": [ { - "id": 504, + "id": 517, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -9074,35 +9482,35 @@ "title": "Properties", "kind": 1024, "children": [ - 498 + 511 ] }, { "title": "Methods", "kind": 2048, "children": [ - 499, - 503 + 512, + 516 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 143, + "line": 147, "character": 17 } ] }, { - "id": 457, + "id": 470, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 485, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -9112,7 +9520,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 73, "character": 2 } ], @@ -9122,7 +9530,7 @@ } }, { - "id": 459, + "id": 472, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -9130,21 +9538,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 62, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 461, + "id": 474, "name": "provider", "kind": 1024, "kindString": "Property", @@ -9154,7 +9562,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 63, "character": 4 } ], @@ -9169,19 +9577,768 @@ "title": "Properties", "kind": 1024, "children": [ - 461 + 474 ] } ], "indexSignature": { - "id": 462, + "id": 475, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 463, + "id": 476, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 481, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 69, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 482, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 489, + "name": "confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 77, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 488, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 486, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 490, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 78, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 471, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 495, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 459, + "name": "UserIdentity" + } + } + }, + { + "id": 484, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 492, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 80, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 487, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 491, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 483, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 71, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 493, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 81, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 494, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 82, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 477, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 478, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 479, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 480, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 485, + 472, + 481, + 482, + 489, + 488, + 486, + 490, + 471, + 495, + 484, + 492, + 487, + 491, + 483, + 493, + 494, + 477 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 17 + } + ] + }, + { + "id": 496, + "name": "UserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 500, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 105, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 497, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 499, + "name": "email_change_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An email change token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 100, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 498, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 500, + 497, + 499, + 498 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 86, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 501, + "name": "AdminUserAttributes" + } + ] + }, + { + "id": 524, + "name": "UserCredentials", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 525, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 175, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 530, + "name": "oidc", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 181, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 534, + "name": "OpenIDConnectCredentials" + } + }, + { + "id": 527, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 526, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 176, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 529, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 180, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 446, + "name": "Provider" + } + }, + { + "id": 528, + "name": "refreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 178, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 525, + 530, + 527, + 526, + 529, + 528 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 17 + } + ] + }, + { + "id": 459, + "name": "UserIdentity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 467, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 55, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 460, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 462, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 463, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 464, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 465, "name": "key", "kind": 32768, "flags": {}, @@ -9201,14 +10358,32 @@ }, { "id": 468, - "name": "aud", + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 65, + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 466, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 54, "character": 2 } ], @@ -9219,108 +10394,12 @@ }, { "id": 469, - "name": "confirmation_sent_at", + "name": "updated_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 476, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 475, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 473, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 477, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 458, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -9334,619 +10413,8 @@ } }, { - "id": 482, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 79, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 446, - "name": "UserIdentity" - } - } - }, - { - "id": 471, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 479, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 76, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 474, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 71, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 478, - "name": "phone_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 75, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 470, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 480, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 481, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 78, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 464, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 465, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 466, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 467, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 472, - 459, - 468, - 469, - 476, - 475, - 473, - 477, - 458, - 482, - 471, - 479, - 474, - 478, - 470, - 480, - 481, - 464 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 17 - } - ] - }, - { - "id": 483, - "name": "UserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 487, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 101, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 484, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 86, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 486, - "name": "email_change_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An email change token." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 96, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 485, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 91, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 487, - 484, - 486, - 485 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 17 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 488, - "name": "AdminUserAttributes" - } - ] - }, - { - "id": 511, - "name": "UserCredentials", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 512, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 171, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 514, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 513, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 172, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 516, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 176, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 433, - "name": "Provider" - } - }, - { - "id": 515, - "name": "refreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 174, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 512, - 514, - 513, - 516, - 515 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 170, - "character": 17 - } - ] - }, - { - "id": 446, - "name": "UserIdentity", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 454, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 51, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 45, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 449, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 47, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 450, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 451, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 452, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 455, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 453, - "name": "provider", + "id": 461, + "name": "user_id", "kind": 1024, "kindString": "Property", "flags": {}, @@ -9961,44 +10429,6 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 456, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 53, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 448, - "name": "user_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ @@ -10006,33 +10436,33 @@ "title": "Properties", "kind": 1024, "children": [ - 454, - 447, - 449, - 455, - 453, - 456, - 448 + 467, + 460, + 462, + 468, + 466, + 469, + 461 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 48, "character": 17 } ] }, { - "id": 517, + "id": 531, "name": "VerifyOTPParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 518, + "id": 532, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10040,7 +10470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 185, "character": 2 } ], @@ -10050,7 +10480,7 @@ } }, { - "id": 519, + "id": 533, "name": "token", "kind": 1024, "kindString": "Property", @@ -10058,7 +10488,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, + "line": 186, "character": 2 } ], @@ -10073,21 +10503,21 @@ "title": "Properties", "kind": 1024, "children": [ - 518, - 519 + 532, + 533 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 179, + "line": 184, "character": 17 } ] }, { - "id": 434, + "id": 447, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -10095,7 +10525,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 19, "character": 12 } ], @@ -10130,7 +10560,7 @@ } }, { - "id": 433, + "id": 446, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -10145,6 +10575,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "apple" + }, { "type": "literal", "value": "azure" @@ -10153,6 +10587,10 @@ "type": "literal", "value": "bitbucket" }, + { + "type": "literal", + "value": "discord" + }, { "type": "literal", "value": "facebook" @@ -10171,19 +10609,15 @@ }, { "type": "literal", - "value": "twitter" + "value": "linkedin" }, { "type": "literal", - "value": "apple" + "value": "notion" }, { "type": "literal", - "value": "discord" - }, - { - "type": "literal", - "value": "twitch" + "value": "slack" }, { "type": "literal", @@ -10191,7 +10625,11 @@ }, { "type": "literal", - "value": "slack" + "value": "twitch" + }, + { + "type": "literal", + "value": "twitter" } ] } @@ -10203,31 +10641,32 @@ "kind": 128, "children": [ 1, - 238 + 244 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 488, - 435, - 505, - 438, - 497, - 457, - 483, - 511, - 446, - 517 + 501, + 448, + 518, + 534, + 451, + 510, + 470, + 496, + 524, + 459, + 531 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 434, - 433 + 447, + 446 ] } ], diff --git a/web/spec/storage.json b/web/spec/storage.json index f9c2fb9d584..c66bdf889e2 100644 --- a/web/spec/storage.json +++ b/web/spec/storage.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 289, + "id": 308, "name": "\"SupabaseStorageClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/SupabaseStorageClient.ts", "children": [ { - "id": 290, + "id": 309, "name": "SupabaseStorageClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 291, + "id": 310, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,7 +34,7 @@ }, "signatures": [ { - "id": 292, + "id": 311, "name": "new SupabaseStorageClient", "kind": 16384, "kindString": "Constructor signature", @@ -43,7 +43,7 @@ }, "parameters": [ { - "id": 293, + "id": 312, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -56,7 +56,7 @@ } }, { - "id": 294, + "id": 313, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -66,7 +66,7 @@ "type": { "type": "reflection", "declaration": { - "id": 295, + "id": 314, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -75,7 +75,7 @@ }, "indexSignature": [ { - "id": 296, + "id": 315, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -84,7 +84,7 @@ }, "parameters": [ { - "id": 297, + "id": 316, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -115,7 +115,7 @@ "defaultValue": "{}" }, { - "id": 298, + "id": 317, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -132,7 +132,7 @@ ], "type": { "type": "reference", - "id": 290, + "id": 309, "name": "SupabaseStorageClient" }, "overwrites": { @@ -156,7 +156,7 @@ } }, { - "id": 307, + "id": 326, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -184,7 +184,7 @@ } }, { - "id": 303, + "id": 322, "name": "headers", "kind": 1024, "kindString": "Property", @@ -202,7 +202,7 @@ "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -211,7 +211,7 @@ }, "indexSignature": [ { - "id": 305, + "id": 324, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -220,7 +220,7 @@ }, "parameters": [ { - "id": 306, + "id": 325, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -255,7 +255,7 @@ } }, { - "id": 302, + "id": 321, "name": "url", "kind": 1024, "kindString": "Property", @@ -281,7 +281,7 @@ } }, { - "id": 319, + "id": 338, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -290,7 +290,7 @@ }, "signatures": [ { - "id": 320, + "id": 339, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -303,7 +303,7 @@ }, "parameters": [ { - "id": 321, + "id": 340, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -319,7 +319,7 @@ } }, { - "id": 322, + "id": 341, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -329,7 +329,7 @@ "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 342, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -338,7 +338,7 @@ }, "children": [ { - "id": 324, + "id": 343, "name": "public", "kind": 32, "kindString": "Variable", @@ -363,7 +363,7 @@ "title": "Variables", "kind": 32, "children": [ - 324 + 343 ] } ], @@ -385,7 +385,7 @@ { "type": "reflection", "declaration": { - "id": 325, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -394,7 +394,7 @@ }, "children": [ { - "id": 326, + "id": 345, "name": "data", "kind": 32, "kindString": "Variable", @@ -423,7 +423,7 @@ } }, { - "id": 327, + "id": 346, "name": "error", "kind": 32, "kindString": "Variable", @@ -457,8 +457,8 @@ "title": "Variables", "kind": 32, "children": [ - 326, - 327 + 345, + 346 ] } ], @@ -495,7 +495,7 @@ } }, { - "id": 347, + "id": 366, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -504,7 +504,7 @@ }, "signatures": [ { - "id": 348, + "id": 367, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -516,7 +516,7 @@ }, "parameters": [ { - "id": 349, + "id": 368, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -538,7 +538,7 @@ { "type": "reflection", "declaration": { - "id": 350, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -547,7 +547,7 @@ }, "children": [ { - "id": 351, + "id": 370, "name": "data", "kind": 32, "kindString": "Variable", @@ -567,7 +567,7 @@ { "type": "reflection", "declaration": { - "id": 352, + "id": 371, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -576,7 +576,7 @@ }, "children": [ { - "id": 353, + "id": 372, "name": "message", "kind": 32, "kindString": "Variable", @@ -601,7 +601,7 @@ "title": "Variables", "kind": 32, "children": [ - 353 + 372 ] } ], @@ -622,7 +622,7 @@ } }, { - "id": 354, + "id": 373, "name": "error", "kind": 32, "kindString": "Variable", @@ -656,8 +656,8 @@ "title": "Variables", "kind": 32, "children": [ - 351, - 354 + 370, + 373 ] } ], @@ -694,7 +694,7 @@ } }, { - "id": 339, + "id": 358, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -703,7 +703,7 @@ }, "signatures": [ { - "id": 340, + "id": 359, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -715,7 +715,7 @@ }, "parameters": [ { - "id": 341, + "id": 360, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -737,7 +737,7 @@ { "type": "reflection", "declaration": { - "id": 342, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -746,7 +746,7 @@ }, "children": [ { - "id": 343, + "id": 362, "name": "data", "kind": 32, "kindString": "Variable", @@ -766,7 +766,7 @@ { "type": "reflection", "declaration": { - "id": 344, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -775,7 +775,7 @@ }, "children": [ { - "id": 345, + "id": 364, "name": "message", "kind": 32, "kindString": "Variable", @@ -800,7 +800,7 @@ "title": "Variables", "kind": 32, "children": [ - 345 + 364 ] } ], @@ -821,7 +821,7 @@ } }, { - "id": 346, + "id": 365, "name": "error", "kind": 32, "kindString": "Variable", @@ -855,8 +855,8 @@ "title": "Variables", "kind": 32, "children": [ - 343, - 346 + 362, + 365 ] } ], @@ -893,7 +893,7 @@ } }, { - "id": 299, + "id": 318, "name": "from", "kind": 2048, "kindString": "Method", @@ -902,7 +902,7 @@ }, "signatures": [ { - "id": 300, + "id": 319, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -914,7 +914,7 @@ }, "parameters": [ { - "id": 301, + "id": 320, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -946,7 +946,7 @@ ] }, { - "id": 313, + "id": 332, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -955,7 +955,7 @@ }, "signatures": [ { - "id": 314, + "id": 333, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -967,7 +967,7 @@ }, "parameters": [ { - "id": 315, + "id": 334, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -989,7 +989,7 @@ { "type": "reflection", "declaration": { - "id": 316, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -998,7 +998,7 @@ }, "children": [ { - "id": 317, + "id": 336, "name": "data", "kind": 32, "kindString": "Variable", @@ -1028,7 +1028,7 @@ } }, { - "id": 318, + "id": 337, "name": "error", "kind": 32, "kindString": "Variable", @@ -1062,8 +1062,8 @@ "title": "Variables", "kind": 32, "children": [ - 317, - 318 + 336, + 337 ] } ], @@ -1100,7 +1100,7 @@ } }, { - "id": 308, + "id": 327, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -1109,7 +1109,7 @@ }, "signatures": [ { - "id": 309, + "id": 328, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -1125,7 +1125,7 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1134,7 +1134,7 @@ }, "children": [ { - "id": 311, + "id": 330, "name": "data", "kind": 32, "kindString": "Variable", @@ -1167,7 +1167,7 @@ } }, { - "id": 312, + "id": 331, "name": "error", "kind": 32, "kindString": "Variable", @@ -1201,8 +1201,8 @@ "title": "Variables", "kind": 32, "children": [ - 311, - 312 + 330, + 331 ] } ], @@ -1239,7 +1239,7 @@ } }, { - "id": 328, + "id": 347, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -1248,7 +1248,7 @@ }, "signatures": [ { - "id": 329, + "id": 348, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -1260,7 +1260,7 @@ }, "parameters": [ { - "id": 330, + "id": 349, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1276,7 +1276,7 @@ } }, { - "id": 331, + "id": 350, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1286,7 +1286,7 @@ "type": { "type": "reflection", "declaration": { - "id": 332, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1295,7 +1295,7 @@ }, "children": [ { - "id": 333, + "id": 352, "name": "public", "kind": 32, "kindString": "Variable", @@ -1320,7 +1320,7 @@ "title": "Variables", "kind": 32, "children": [ - 333 + 352 ] } ], @@ -1341,7 +1341,7 @@ { "type": "reflection", "declaration": { - "id": 334, + "id": 353, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1350,7 +1350,7 @@ }, "children": [ { - "id": 335, + "id": 354, "name": "data", "kind": 32, "kindString": "Variable", @@ -1370,7 +1370,7 @@ { "type": "reflection", "declaration": { - "id": 336, + "id": 355, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1379,7 +1379,7 @@ }, "children": [ { - "id": 337, + "id": 356, "name": "message", "kind": 32, "kindString": "Variable", @@ -1404,7 +1404,7 @@ "title": "Variables", "kind": 32, "children": [ - 337 + 356 ] } ], @@ -1425,7 +1425,7 @@ } }, { - "id": 338, + "id": 357, "name": "error", "kind": 32, "kindString": "Variable", @@ -1459,8 +1459,8 @@ "title": "Variables", "kind": 32, "children": [ - 335, - 338 + 354, + 357 ] } ], @@ -1502,29 +1502,29 @@ "title": "Constructors", "kind": 512, "children": [ - 291 + 310 ] }, { "title": "Properties", "kind": 1024, "children": [ - 307, - 303, - 302 + 326, + 322, + 321 ] }, { "title": "Methods", "kind": 2048, "children": [ - 319, - 347, - 339, - 299, - 313, - 308, - 328 + 338, + 366, + 358, + 318, + 332, + 327, + 347 ] } ], @@ -1549,7 +1549,7 @@ "title": "Classes", "kind": 128, "children": [ - 290 + 309 ] } ], @@ -1562,7 +1562,7 @@ ] }, { - "id": 355, + "id": 374, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1572,7 +1572,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/index.ts", "children": [ { - "id": 356, + "id": 375, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -1582,7 +1582,7 @@ "target": 64 }, { - "id": 357, + "id": 376, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -1592,7 +1592,7 @@ "target": 71 }, { - "id": 359, + "id": 378, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -1602,7 +1602,7 @@ "target": 85 }, { - "id": 361, + "id": 380, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -1612,7 +1612,7 @@ "target": 93 }, { - "id": 360, + "id": 379, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -1622,7 +1622,7 @@ "target": 89 }, { - "id": 358, + "id": 377, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -1637,12 +1637,12 @@ "title": "References", "kind": 16777216, "children": [ - 356, - 357, - 359, - 361, - 360, - 358 + 375, + 376, + 378, + 380, + 379, + 377 ] } ], @@ -3048,7 +3048,7 @@ "extendedBy": [ { "type": "reference", - "id": 290, + "id": 309, "name": "SupabaseStorageClient" } ] @@ -3376,7 +3376,7 @@ } }, { - "id": 263, + "id": 282, "name": "_getFinalPath", "kind": 2048, "kindString": "Method", @@ -3385,7 +3385,7 @@ }, "signatures": [ { - "id": 264, + "id": 283, "name": "_getFinalPath", "kind": 4096, "kindString": "Call signature", @@ -3394,7 +3394,7 @@ }, "parameters": [ { - "id": 265, + "id": 284, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3416,13 +3416,13 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 331, + "line": 383, "character": 15 } ] }, { - "id": 266, + "id": 285, "name": "_removeEmptyFolders", "kind": 2048, "kindString": "Method", @@ -3431,7 +3431,7 @@ }, "signatures": [ { - "id": 267, + "id": 286, "name": "_removeEmptyFolders", "kind": 4096, "kindString": "Call signature", @@ -3440,7 +3440,7 @@ }, "parameters": [ { - "id": 268, + "id": 287, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3462,14 +3462,14 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 335, + "line": 387, "character": 21 } ] }, { "id": 224, - "name": "createSignedUrl", + "name": "copy", "kind": 2048, "kindString": "Method", "flags": { @@ -3478,26 +3478,26 @@ "signatures": [ { "id": 225, - "name": "createSignedUrl", + "name": "copy", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { - "shortText": "Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds." + "shortText": "Copies an existing file." }, "parameters": [ { "id": 226, - "name": "path", + "name": "fromPath", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { - "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`." + "text": "The original file path, including the current file name. For example `folder/image.png`." }, "type": { "type": "intrinsic", @@ -3506,18 +3506,18 @@ }, { "id": 227, - "name": "expiresIn", + "name": "toPath", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { - "text": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n" + "text": "The new file path, including the new file name. For example `folder/image-copy.png`.\n" }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } } ], @@ -3547,7 +3547,7 @@ { "fileName": "lib/StorageFileApi.ts", "line": 197, - "character": 8 + "character": 19 } ], "type": { @@ -3566,7 +3566,7 @@ "children": [ { "id": 231, - "name": "signedURL", + "name": "message", "kind": 32, "kindString": "Variable", "flags": { @@ -3576,7 +3576,7 @@ { "fileName": "lib/StorageFileApi.ts", "line": 197, - "character": 21 + "character": 30 } ], "type": { @@ -3598,7 +3598,7 @@ { "fileName": "lib/StorageFileApi.ts", "line": 197, - "character": 9 + "character": 20 } ] } @@ -3621,8 +3621,8 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 198, - "character": 9 + "line": 197, + "character": 54 } ], "type": { @@ -3638,35 +3638,6 @@ } ] } - }, - { - "id": 233, - "name": "signedURL", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageFileApi.ts", - "line": 199, - "character": 13 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } } ], "groups": [ @@ -3675,15 +3646,14 @@ "kind": 32, "children": [ 229, - 232, - 233 + 232 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 196, + "line": 197, "character": 13 } ] @@ -3697,14 +3667,14 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 193, - "character": 23 + "line": 194, + "character": 12 } ] }, { - "id": 234, - "name": "download", + "id": 233, + "name": "createSignedUrl", "kind": 2048, "kindString": "Method", "flags": { @@ -3712,19 +3682,19 @@ }, "signatures": [ { - "id": 235, - "name": "download", + "id": 234, + "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { - "shortText": "Downloads a file." + "shortText": "Create signed URL to download file without requiring permissions. This URL can be valid for a set number of seconds." }, "parameters": [ { - "id": 236, + "id": 235, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3732,12 +3702,28 @@ "isExported": true }, "comment": { - "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n" + "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`." }, "type": { "type": "intrinsic", "name": "string" } + }, + { + "id": 236, + "name": "expiresIn", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } } ], "type": { @@ -3762,10 +3748,461 @@ "flags": { "isExported": true }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 221, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 239, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 240, + "name": "signedURL", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 221, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 240 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 221, + "character": 9 + } + ] + } + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 241, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "lib/StorageFileApi.ts", "line": 222, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 242, + "name": "signedURL", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 223, + "character": 13 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 238, + 241, + 242 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 220, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 217, + "character": 23 + } + ] + }, + { + "id": 243, + "name": "createSignedUrls", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 244, + "name": "createSignedUrls", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds." + }, + "parameters": [ + { + "id": 245, + "name": "paths", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`." + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 246, + "name": "expiresIn", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 247, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 248, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 251, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 249, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 250, + "name": "path", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 251, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 251, + "name": "signedURL", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 251, + "character": 35 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 250, + 251 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 251, + "character": 9 + } + ] + } + } + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 252, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 252, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 248, + 252 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 250, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 247, + "character": 24 + } + ] + }, + { + "id": 253, + "name": "download", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 254, + "name": "download", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Downloads a file." + }, + "parameters": [ + { + "id": 255, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 256, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 257, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageFileApi.ts", + "line": 272, "character": 46 } ], @@ -3784,7 +4221,7 @@ } }, { - "id": 239, + "id": 258, "name": "error", "kind": 32, "kindString": "Variable", @@ -3794,7 +4231,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 222, + "line": 272, "character": 66 } ], @@ -3818,15 +4255,15 @@ "title": "Variables", "kind": 32, "children": [ - 238, - 239 + 257, + 258 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 222, + "line": 272, "character": 40 } ] @@ -3840,13 +4277,13 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 222, + "line": 272, "character": 16 } ] }, { - "id": 240, + "id": 259, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -3855,7 +4292,7 @@ }, "signatures": [ { - "id": 241, + "id": 260, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -3867,7 +4304,7 @@ }, "parameters": [ { - "id": 242, + "id": 261, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3886,7 +4323,7 @@ "type": { "type": "reflection", "declaration": { - "id": 243, + "id": 262, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3895,7 +4332,7 @@ }, "children": [ { - "id": 244, + "id": 263, "name": "data", "kind": 32, "kindString": "Variable", @@ -3905,7 +4342,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 242, + "line": 294, "character": 8 } ], @@ -3915,7 +4352,7 @@ { "type": "reflection", "declaration": { - "id": 245, + "id": 264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3924,7 +4361,7 @@ }, "children": [ { - "id": 246, + "id": 265, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -3934,7 +4371,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 242, + "line": 294, "character": 21 } ], @@ -3949,14 +4386,14 @@ "title": "Variables", "kind": 32, "children": [ - 246 + 265 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 242, + "line": 294, "character": 9 } ] @@ -3970,7 +4407,7 @@ } }, { - "id": 247, + "id": 266, "name": "error", "kind": 32, "kindString": "Variable", @@ -3980,7 +4417,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 243, + "line": 295, "character": 9 } ], @@ -3999,7 +4436,7 @@ } }, { - "id": 248, + "id": 267, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -4009,7 +4446,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 244, + "line": 296, "character": 13 } ], @@ -4033,17 +4470,17 @@ "title": "Variables", "kind": 32, "children": [ - 244, - 247, - 248 + 263, + 266, + 267 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 241, - "character": 29 + "line": 293, + "character": 4 } ] } @@ -4053,13 +4490,13 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 241, + "line": 291, "character": 14 } ] }, { - "id": 255, + "id": 274, "name": "list", "kind": 2048, "kindString": "Method", @@ -4068,7 +4505,7 @@ }, "signatures": [ { - "id": 256, + "id": 275, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -4080,7 +4517,7 @@ }, "parameters": [ { - "id": 257, + "id": 276, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -4106,7 +4543,7 @@ } }, { - "id": 258, + "id": 277, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4124,7 +4561,7 @@ } }, { - "id": 259, + "id": 278, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -4148,7 +4585,7 @@ { "type": "reflection", "declaration": { - "id": 260, + "id": 279, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4157,7 +4594,7 @@ }, "children": [ { - "id": 261, + "id": 280, "name": "data", "kind": 32, "kindString": "Variable", @@ -4167,7 +4604,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 315, + "line": 367, "character": 19 } ], @@ -4190,7 +4627,7 @@ } }, { - "id": 262, + "id": 281, "name": "error", "kind": 32, "kindString": "Variable", @@ -4200,7 +4637,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 315, + "line": 367, "character": 47 } ], @@ -4224,15 +4661,15 @@ "title": "Variables", "kind": 32, "children": [ - 261, - 262 + 280, + 281 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 315, + "line": 367, "character": 13 } ] @@ -4246,7 +4683,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 311, + "line": 363, "character": 12 } ] @@ -4269,7 +4706,7 @@ "isExported": true }, "comment": { - "shortText": "Moves an existing file, optionally renaming it at the same time." + "shortText": "Moves an existing file." }, "parameters": [ { @@ -4297,7 +4734,7 @@ "isExported": true }, "comment": { - "text": "The new file path, including the new file name. For example `folder/image-copy.png`.\n" + "text": "The new file path, including the new file name. For example `folder/image-new.png`.\n" }, "type": { "type": "intrinsic", @@ -4330,7 +4767,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 19 } ], @@ -4359,7 +4796,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 30 } ], @@ -4381,7 +4818,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 20 } ] @@ -4405,7 +4842,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 54 } ], @@ -4437,7 +4874,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 173, + "line": 174, "character": 13 } ] @@ -4451,13 +4888,13 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 170, + "line": 171, "character": 12 } ] }, { - "id": 249, + "id": 268, "name": "remove", "kind": 2048, "kindString": "Method", @@ -4466,7 +4903,7 @@ }, "signatures": [ { - "id": 250, + "id": 269, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -4478,7 +4915,7 @@ }, "parameters": [ { - "id": 251, + "id": 270, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -4503,7 +4940,7 @@ { "type": "reflection", "declaration": { - "id": 252, + "id": 271, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4512,7 +4949,7 @@ }, "children": [ { - "id": 253, + "id": 272, "name": "data", "kind": 32, "kindString": "Variable", @@ -4522,7 +4959,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 261, + "line": 313, "character": 47 } ], @@ -4545,7 +4982,7 @@ } }, { - "id": 254, + "id": 273, "name": "error", "kind": 32, "kindString": "Variable", @@ -4555,7 +4992,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 261, + "line": 313, "character": 75 } ], @@ -4579,15 +5016,15 @@ "title": "Variables", "kind": 32, "children": [ - 253, - 254 + 272, + 273 ] } ], "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 261, + "line": 313, "character": 41 } ] @@ -4601,7 +5038,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 261, + "line": 313, "character": 14 } ] @@ -4750,7 +5187,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 19 } ], @@ -4779,7 +5216,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 26 } ], @@ -4801,7 +5238,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 20 } ] @@ -4825,7 +5262,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 50 } ], @@ -4857,7 +5294,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 160, + "line": 161, "character": 13 } ] @@ -4871,7 +5308,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 146, + "line": 147, "character": 14 } ] @@ -5020,7 +5457,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 19 } ], @@ -5049,7 +5486,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 26 } ], @@ -5071,7 +5508,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 20 } ] @@ -5095,7 +5532,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 50 } ], @@ -5127,7 +5564,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 132, + "line": 133, "character": 13 } ] @@ -5141,7 +5578,7 @@ "sources": [ { "fileName": "lib/StorageFileApi.ts", - "line": 118, + "line": 119, "character": 14 } ] @@ -5465,14 +5902,16 @@ "title": "Methods", "kind": 2048, "children": [ - 263, - 266, + 282, + 285, 224, - 234, - 240, - 255, + 233, + 243, + 253, + 259, + 274, 215, - 249, + 268, 205, 195, 184 @@ -5488,7 +5927,7 @@ ] }, { - "id": 275, + "id": 294, "name": "DEFAULT_FILE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -5497,7 +5936,7 @@ }, "children": [ { - "id": 276, + "id": 295, "name": "cacheControl", "kind": 32, "kindString": "Variable", @@ -5516,7 +5955,7 @@ "defaultValue": "\"3600\"" }, { - "id": 277, + "id": 296, "name": "contentType", "kind": 32, "kindString": "Variable", @@ -5535,7 +5974,7 @@ "defaultValue": "\"text/plain;charset=UTF-8\"" }, { - "id": 278, + "id": 297, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5559,9 +5998,9 @@ "title": "Variables", "kind": 32, "children": [ - 276, - 277, - 278 + 295, + 296, + 297 ] } ], @@ -5578,7 +6017,7 @@ } }, { - "id": 269, + "id": 288, "name": "DEFAULT_SEARCH_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -5587,7 +6026,7 @@ }, "children": [ { - "id": 270, + "id": 289, "name": "limit", "kind": 32, "kindString": "Variable", @@ -5606,7 +6045,7 @@ "defaultValue": "100" }, { - "id": 271, + "id": 290, "name": "offset", "kind": 32, "kindString": "Variable", @@ -5625,14 +6064,14 @@ "defaultValue": "0" }, { - "id": 272, + "id": 291, "name": "sortBy", "kind": 2097152, "kindString": "Object literal", "flags": {}, "children": [ { - "id": 273, + "id": 292, "name": "column", "kind": 32, "kindString": "Variable", @@ -5651,7 +6090,7 @@ "defaultValue": "\"name\"" }, { - "id": 274, + "id": 293, "name": "order", "kind": 32, "kindString": "Variable", @@ -5675,8 +6114,8 @@ "title": "Variables", "kind": 32, "children": [ - 273, - 274 + 292, + 293 ] } ], @@ -5698,15 +6137,15 @@ "title": "Variables", "kind": 32, "children": [ - 270, - 271 + 289, + 290 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 272 + 291 ] } ], @@ -5735,8 +6174,8 @@ "title": "Object literals", "kind": 2097152, "children": [ - 275, - 269 + 294, + 288 ] } ], @@ -6979,7 +7418,7 @@ ] }, { - "id": 279, + "id": 298, "name": "\"lib/index\"", "kind": 1, "kindString": "Module", @@ -6989,7 +7428,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts", "children": [ { - "id": 282, + "id": 301, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -6999,7 +7438,7 @@ "target": 64 }, { - "id": 288, + "id": 307, "name": "DEFAULT_HEADERS", "kind": 16777216, "kindString": "Reference", @@ -7009,7 +7448,7 @@ "target": 98 }, { - "id": 283, + "id": 302, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -7019,7 +7458,7 @@ "target": 71 }, { - "id": 285, + "id": 304, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -7029,7 +7468,7 @@ "target": 85 }, { - "id": 287, + "id": 306, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -7039,7 +7478,7 @@ "target": 93 }, { - "id": 286, + "id": 305, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -7049,7 +7488,7 @@ "target": 89 }, { - "id": 284, + "id": 303, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -7059,7 +7498,7 @@ "target": 82 }, { - "id": 280, + "id": 299, "name": "StorageBucketApi", "kind": 16777216, "kindString": "Reference", @@ -7069,7 +7508,7 @@ "target": 101 }, { - "id": 281, + "id": 300, "name": "StorageFileApi", "kind": 16777216, "kindString": "Reference", @@ -7084,15 +7523,15 @@ "title": "References", "kind": 16777216, "children": [ - 282, - 288, - 283, - 285, - 287, - 286, - 284, - 280, - 281 + 301, + 307, + 302, + 304, + 306, + 305, + 303, + 299, + 300 ] } ], @@ -7954,14 +8393,14 @@ "title": "Modules", "kind": 1, "children": [ - 289, - 355, + 308, + 374, 100, 166, 97, 1, 163, - 279, + 298, 63, 95 ] diff --git a/web/spec/supabase.json b/web/spec/supabase.json index 77d4b0d88f3..0d434e3efc0 100644 --- a/web/spec/supabase.json +++ b/web/spec/supabase.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 301, + "id": 302, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 302, + "id": 303, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -29,7 +29,7 @@ }, "children": [ { - "id": 317, + "id": 318, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41,7 +41,7 @@ }, "signatures": [ { - "id": 320, + "id": 321, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -53,7 +53,7 @@ }, "parameters": [ { - "id": 321, + "id": 322, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -69,7 +69,7 @@ } }, { - "id": 322, + "id": 323, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -85,7 +85,7 @@ } }, { - "id": 323, + "id": 324, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -102,7 +102,7 @@ ], "type": { "type": "reference", - "id": 302, + "id": 303, "name": "SupabaseClient" } } @@ -116,7 +116,7 @@ ] }, { - "id": 303, + "id": 304, "name": "auth", "kind": 1024, "kindString": "Property", @@ -140,7 +140,7 @@ } }, { - "id": 307, + "id": 308, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -161,7 +161,7 @@ } }, { - "id": 312, + "id": 313, "name": "changedAccessToken", "kind": 1024, "kindString": "Property", @@ -191,7 +191,7 @@ } }, { - "id": 311, + "id": 312, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -214,7 +214,7 @@ } }, { - "id": 313, + "id": 314, "name": "headers", "kind": 1024, "kindString": "Property", @@ -232,7 +232,7 @@ "type": { "type": "reflection", "declaration": { - "id": 314, + "id": 315, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -241,7 +241,7 @@ }, "indexSignature": [ { - "id": 315, + "id": 316, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -250,7 +250,7 @@ }, "parameters": [ { - "id": 316, + "id": 317, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -280,7 +280,7 @@ } }, { - "id": 310, + "id": 311, "name": "multiTab", "kind": 1024, "kindString": "Property", @@ -301,7 +301,7 @@ } }, { - "id": 309, + "id": 310, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -322,7 +322,7 @@ } }, { - "id": 306, + "id": 307, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -343,7 +343,7 @@ } }, { - "id": 305, + "id": 306, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -364,7 +364,7 @@ } }, { - "id": 304, + "id": 305, "name": "schema", "kind": 1024, "kindString": "Property", @@ -385,7 +385,7 @@ } }, { - "id": 308, + "id": 309, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -406,7 +406,7 @@ } }, { - "id": 319, + "id": 320, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -431,7 +431,7 @@ } }, { - "id": 318, + "id": 319, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -456,7 +456,7 @@ } }, { - "id": 324, + "id": 325, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -468,7 +468,7 @@ }, "getSignature": [ { - "id": 325, + "id": 326, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -493,115 +493,7 @@ ] }, { - "id": 385, - "name": "_closeChannel", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true, - "isExported": true - }, - "signatures": [ - { - "id": 386, - "name": "_closeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 387, - "name": "subscription", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "RealtimeSubscription" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 388, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 389, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 266, - "character": 76 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "reference", - "name": "Error" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 389 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 266, - "character": 69 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 266, - "character": 23 - } - ] - }, - { - "id": 361, + "id": 355, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -611,7 +503,7 @@ }, "signatures": [ { - "id": 362, + "id": 356, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -620,7 +512,7 @@ }, "parameters": [ { - "id": 363, + "id": 357, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -639,7 +531,7 @@ { "type": "reflection", "declaration": { - "id": 364, + "id": 358, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -648,7 +540,7 @@ }, "children": [ { - "id": 365, + "id": 359, "name": "error", "kind": 32, "kindString": "Variable", @@ -658,20 +550,20 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 202, + "line": 171, "character": 20 } ], "type": { "type": "union", "types": [ - { - "type": "intrinsic", - "name": "null" - }, { "type": "reference", "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" } ] } @@ -682,14 +574,14 @@ "title": "Variables", "kind": 32, "children": [ - 365 + 359 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 202, + "line": 171, "character": 13 } ] @@ -703,13 +595,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 200, + "line": 169, "character": 34 } ] }, { - "id": 383, + "id": 382, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -719,7 +611,7 @@ }, "signatures": [ { - "id": 384, + "id": 383, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -736,13 +628,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 258, + "line": 241, "character": 25 } ] }, { - "id": 394, + "id": 388, "name": "_handleTokenChanged", "kind": 2048, "kindString": "Method", @@ -752,7 +644,7 @@ }, "signatures": [ { - "id": 395, + "id": 389, "name": "_handleTokenChanged", "kind": 4096, "kindString": "Call signature", @@ -761,7 +653,7 @@ }, "parameters": [ { - "id": 396, + "id": 390, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -774,7 +666,7 @@ } }, { - "id": 397, + "id": 391, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -796,7 +688,7 @@ } }, { - "id": 398, + "id": 392, "name": "source", "kind": 32768, "kindString": "Parameter", @@ -827,13 +719,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 310, + "line": 283, "character": 29 } ] }, { - "id": 381, + "id": 380, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -843,7 +735,7 @@ }, "signatures": [ { - "id": 382, + "id": 381, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -859,13 +751,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 250, + "line": 233, "character": 30 } ] }, { - "id": 378, + "id": 377, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -875,7 +767,7 @@ }, "signatures": [ { - "id": 379, + "id": 378, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -884,7 +776,7 @@ }, "parameters": [ { - "id": 380, + "id": 379, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -907,13 +799,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 243, + "line": 226, "character": 29 } ] }, { - "id": 368, + "id": 367, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -923,7 +815,7 @@ }, "signatures": [ { - "id": 369, + "id": 368, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -932,7 +824,7 @@ }, "parameters": [ { - "id": 370, + "id": 369, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -943,7 +835,7 @@ "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -952,7 +844,7 @@ }, "children": [ { - "id": 372, + "id": 371, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -962,7 +854,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 221, + "line": 204, "character": 20 } ], @@ -985,7 +877,7 @@ } }, { - "id": 374, + "id": 373, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -995,7 +887,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 223, + "line": 206, "character": 22 } ], @@ -1018,7 +910,7 @@ } }, { - "id": 377, + "id": 376, "name": "fetch", "kind": 32, "kindString": "Variable", @@ -1028,7 +920,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 226, + "line": 209, "character": 9 } ], @@ -1041,14 +933,14 @@ }, { "type": "reference", - "id": 224, + "id": 225, "name": "fetch" } ] } }, { - "id": 376, + "id": 375, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1058,7 +950,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 225, + "line": 208, "character": 11 } ], @@ -1078,7 +970,7 @@ } }, { - "id": 375, + "id": 374, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -1088,7 +980,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 224, + "line": 207, "character": 16 } ], @@ -1136,7 +1028,7 @@ } }, { - "id": 373, + "id": 372, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1146,7 +1038,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 222, + "line": 205, "character": 18 } ], @@ -1174,19 +1066,19 @@ "title": "Variables", "kind": 32, "children": [ - 372, - 374, - 377, + 371, + 373, 376, 375, - 373 + 374, + 372 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 220, + "line": 203, "character": 34 } ] @@ -1204,13 +1096,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 220, + "line": 203, "character": 33 } ] }, { - "id": 392, + "id": 386, "name": "_listenForAuthEvents", "kind": 2048, "kindString": "Method", @@ -1220,7 +1112,7 @@ }, "signatures": [ { - "id": 393, + "id": 387, "name": "_listenForAuthEvents", "kind": 4096, "kindString": "Call signature", @@ -1245,13 +1137,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 303, + "line": 276, "character": 30 } ] }, { - "id": 390, + "id": 384, "name": "_listenForMultiTabEvents", "kind": 2048, "kindString": "Method", @@ -1261,7 +1153,7 @@ }, "signatures": [ { - "id": 391, + "id": 385, "name": "_listenForMultiTabEvents", "kind": 4096, "kindString": "Call signature", @@ -1286,13 +1178,121 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 276, + "line": 249, "character": 34 } ] }, { - "id": 326, + "id": 360, + "name": "_unsubscribeSubscription", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 361, + "name": "_unsubscribeSubscription", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 362, + "name": "subscription", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "RealtimeSubscription" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 363, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 364, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 186, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 364 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 186, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 184, + "character": 34 + } + ] + }, + { + "id": 327, "name": "from", "kind": 2048, "kindString": "Method", @@ -1301,7 +1301,7 @@ }, "signatures": [ { - "id": 327, + "id": 328, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1313,7 +1313,7 @@ }, "typeParameter": [ { - "id": 328, + "id": 329, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1324,7 +1324,7 @@ ], "parameters": [ { - "id": 329, + "id": 330, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -1342,7 +1342,7 @@ ], "type": { "type": "reference", - "id": 208, + "id": 209, "typeArguments": [ { "type": "typeParameter", @@ -1366,7 +1366,7 @@ ] }, { - "id": 366, + "id": 365, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -1375,7 +1375,7 @@ }, "signatures": [ { - "id": 367, + "id": 366, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -1397,13 +1397,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 216, + "line": 199, "character": 18 } ] }, { - "id": 339, + "id": 340, "name": "removeAllSubscriptions", "kind": 2048, "kindString": "Method", @@ -1412,7 +1412,7 @@ }, "signatures": [ { - "id": 340, + "id": 341, "name": "removeAllSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -1420,7 +1420,7 @@ "isExported": true }, "comment": { - "shortText": "Remove all subscriptions." + "shortText": "Closes and removes all subscriptions and returns a list of removed\nsubscriptions and their errors." }, "type": { "type": "reference", @@ -1428,242 +1428,309 @@ { "type": "array", "elementType": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 341, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": "reflection", + "declaration": { + "id": 342, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 343, + "name": "data", + "kind": 32, + "kindString": "Variable", "flags": { "isExported": true }, - "children": [ - { - "id": 342, - "name": "status", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 139, - "character": 16 - } - ], - "type": { - "type": "stringLiteral", - "value": "fulfilled" - } - }, - { - "id": 343, - "name": "value", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 140, - "character": 15 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 344, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 345, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 141, - "character": 17 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 345 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 140, - "character": 16 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 342, - 343 - ] - } - ], "sources": [ { "fileName": "src/SupabaseClient.ts", "line": 138, - "character": 7 + "character": 10 } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 346, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 348, - "name": "reason", - "kind": 32, - "kindString": "Variable", + ], + "type": { + "type": "reflection", + "declaration": { + "id": 344, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": { "isExported": true }, - "sources": [ + "children": [ { - "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 36 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 349, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "id": 345, + "name": "subscription", + "kind": 32, + "kindString": "Variable", "flags": { "isExported": true }, - "children": [ - { - "id": 350, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 45 - } - ], - "type": { - "type": "reference", - "name": "Error" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 350 - ] - } - ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 37 + "line": 138, + "character": 26 } + ], + "type": { + "type": "reference", + "name": "RealtimeSubscription" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 345 ] } - } - }, - { - "id": 347, - "name": "status", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, + ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 16 + "line": 138, + "character": 11 } - ], - "type": { - "type": "stringLiteral", - "value": "rejected" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 348, - 347 ] } - ], + } + }, + { + "id": 346, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 144, - "character": 7 + "line": 138, + "character": 57 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 343, + 346 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 137, + "character": 42 + } + ] + } + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 137, + "character": 30 + } + ] + }, + { + "id": 347, + "name": "removeSubscription", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 348, + "name": "removeSubscription", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Closes and removes a subscription and returns the number of open subscriptions." + }, + "parameters": [ + { + "id": 349, + "name": "subscription", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The subscription you want to close and remove.\n" + }, + "type": { + "type": "reference", + "name": "RealtimeSubscription" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 350, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 351, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 19 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 352, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 353, + "name": "openSubscriptions", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 40 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 353 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 20 + } + ] + } + } + }, + { + "id": 354, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 57 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" } ] } } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 351, + 354 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 159, + "character": 13 + } ] } } @@ -1675,239 +1742,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 136, - "character": 30 + "line": 157, + "character": 26 } ] }, { - "id": 351, - "name": "removeSubscription", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 352, - "name": "removeSubscription", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Removes an active subscription and returns the number of open connections." - }, - "parameters": [ - { - "id": 353, - "name": "subscription", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The subscription you want to remove.\n" - }, - "type": { - "type": "reference", - "name": "RealtimeSubscription" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 354, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 355, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 169, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 357, - "name": "openSubscriptions", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 169, - "character": 33 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 357 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 169, - "character": 13 - } - ] - } - } - }, - { - "id": 358, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 170, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 355, - 358 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 168, - "character": 5 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 359, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 360, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 172, - "character": 13 - } - ], - "type": { - "type": "reference", - "name": "Error" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 360 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 172, - "character": 5 - } - ] - } - } - ] - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 167, - "character": 20 - } - ] - }, - { - "id": 330, + "id": 331, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1916,7 +1757,7 @@ }, "signatures": [ { - "id": 331, + "id": 332, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1928,7 +1769,7 @@ }, "typeParameter": [ { - "id": 332, + "id": 333, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1939,7 +1780,7 @@ ], "parameters": [ { - "id": 333, + "id": 334, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1955,7 +1796,7 @@ } }, { - "id": 334, + "id": 335, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1981,7 +1822,7 @@ } }, { - "id": 335, + "id": 336, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1992,7 +1833,7 @@ "type": { "type": "reflection", "declaration": { - "id": 336, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2001,7 +1842,7 @@ }, "children": [ { - "id": 338, + "id": 339, "name": "count", "kind": 32, "kindString": "Variable", @@ -2042,7 +1883,7 @@ "defaultValue": "null" }, { - "id": 337, + "id": 338, "name": "head", "kind": 32, "kindString": "Variable", @@ -2071,8 +1912,8 @@ "title": "Variables", "kind": 32, "children": [ - 338, - 337 + 339, + 338 ] } ], @@ -2114,53 +1955,53 @@ "title": "Constructors", "kind": 512, "children": [ - 317 + 318 ] }, { "title": "Properties", "kind": 1024, "children": [ - 303, - 307, - 312, - 311, - 313, - 310, - 309, - 306, - 305, 304, 308, - 319, - 318 + 313, + 312, + 314, + 311, + 310, + 307, + 306, + 305, + 309, + 320, + 319 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 324 + 325 ] }, { "title": "Methods", "kind": 2048, "children": [ - 385, - 361, - 383, - 394, - 381, - 378, - 368, - 392, - 390, - 326, - 366, - 339, - 351, - 330 + 355, + 382, + 388, + 380, + 377, + 367, + 386, + 384, + 360, + 327, + 365, + 340, + 347, + 331 ] } ], @@ -2173,7 +2014,7 @@ ] }, { - "id": 399, + "id": 393, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -2182,7 +2023,7 @@ }, "children": [ { - "id": 401, + "id": 395, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -2201,7 +2042,7 @@ "defaultValue": "true" }, { - "id": 403, + "id": 397, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -2220,7 +2061,7 @@ "defaultValue": "true" }, { - "id": 405, + "id": 399, "name": "headers", "kind": 32, "kindString": "Variable", @@ -2235,14 +2076,14 @@ "type": { "type": "reflection", "declaration": { - "id": 406, + "id": 400, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 407, + "id": 401, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -2266,7 +2107,7 @@ "title": "Variables", "kind": 32, "children": [ - 407 + 401 ] } ] @@ -2275,7 +2116,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 404, + "id": 398, "name": "multiTab", "kind": 32, "kindString": "Variable", @@ -2294,7 +2135,7 @@ "defaultValue": "true" }, { - "id": 402, + "id": 396, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -2313,7 +2154,7 @@ "defaultValue": "true" }, { - "id": 400, + "id": 394, "name": "schema", "kind": 32, "kindString": "Variable", @@ -2337,12 +2178,12 @@ "title": "Variables", "kind": 32, "children": [ - 401, - 403, - 405, - 404, - 402, - 400 + 395, + 397, + 399, + 398, + 396, + 394 ] } ], @@ -2364,14 +2205,14 @@ "title": "Classes", "kind": 128, "children": [ - 302 + 303 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 399 + 393 ] } ], @@ -2384,7 +2225,7 @@ ] }, { - "id": 408, + "id": 402, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -2394,7 +2235,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 409, + "id": 403, "name": "createClient", "kind": 64, "kindString": "Function", @@ -2407,7 +2248,7 @@ }, "signatures": [ { - "id": 410, + "id": 404, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -2419,7 +2260,7 @@ }, "parameters": [ { - "id": 411, + "id": 405, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -2432,7 +2273,7 @@ } }, { - "id": 412, + "id": 406, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -2445,7 +2286,7 @@ } }, { - "id": 413, + "id": 407, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2462,7 +2303,7 @@ ], "type": { "type": "reference", - "id": 302, + "id": 303, "name": "SupabaseClient" } } @@ -2481,7 +2322,7 @@ "title": "Functions", "kind": 64, "children": [ - 409 + 403 ] } ], @@ -2849,7 +2690,7 @@ } }, { - "id": 158, + "id": 159, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -2858,7 +2699,7 @@ }, "signatures": [ { - "id": 159, + "id": 160, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -2870,7 +2711,7 @@ }, "parameters": [ { - "id": 160, + "id": 161, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2888,7 +2729,7 @@ { "type": "reflection", "declaration": { - "id": 161, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2897,7 +2738,7 @@ }, "children": [ { - "id": 162, + "id": 163, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2939,7 +2780,7 @@ "title": "Variables", "kind": 32, "children": [ - 162 + 163 ] } ] @@ -2955,7 +2796,7 @@ { "type": "reflection", "declaration": { - "id": 163, + "id": 164, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2964,7 +2805,7 @@ }, "children": [ { - "id": 164, + "id": 165, "name": "data", "kind": 32, "kindString": "Variable", @@ -2993,7 +2834,7 @@ } }, { - "id": 165, + "id": 166, "name": "error", "kind": 32, "kindString": "Variable", @@ -3027,8 +2868,8 @@ "title": "Variables", "kind": 32, "children": [ - 164, - 165 + 165, + 166 ] } ], @@ -3046,7 +2887,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 158, + "id": 159, "name": "GoTrueClient.getSessionFromUrl" } } @@ -3060,12 +2901,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 158, + "id": 159, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 170, + "id": 171, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -3074,7 +2915,7 @@ }, "signatures": [ { - "id": 171, + "id": 172, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -3087,7 +2928,7 @@ }, "parameters": [ { - "id": 172, + "id": 173, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3097,7 +2938,7 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 174, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3106,7 +2947,7 @@ }, "signatures": [ { - "id": 174, + "id": 175, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -3115,7 +2956,7 @@ }, "parameters": [ { - "id": 175, + "id": 176, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3128,7 +2969,7 @@ } }, { - "id": 176, + "id": 177, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -3170,7 +3011,7 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 178, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3179,7 +3020,7 @@ }, "children": [ { - "id": 178, + "id": 179, "name": "data", "kind": 32, "kindString": "Variable", @@ -3208,7 +3049,7 @@ } }, { - "id": 179, + "id": 180, "name": "error", "kind": 32, "kindString": "Variable", @@ -3242,8 +3083,8 @@ "title": "Variables", "kind": 32, "children": [ - 178, - 179 + 179, + 180 ] } ], @@ -3258,7 +3099,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 170, + "id": 171, "name": "GoTrueClient.onAuthStateChange" } } @@ -3272,12 +3113,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 170, + "id": 171, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 136, + "id": 137, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -3286,7 +3127,7 @@ }, "signatures": [ { - "id": 137, + "id": 138, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -3302,7 +3143,7 @@ { "type": "reflection", "declaration": { - "id": 138, + "id": 139, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3311,7 +3152,7 @@ }, "children": [ { - "id": 139, + "id": 140, "name": "data", "kind": 32, "kindString": "Variable", @@ -3340,7 +3181,7 @@ } }, { - "id": 141, + "id": 142, "name": "error", "kind": 32, "kindString": "Variable", @@ -3369,7 +3210,7 @@ } }, { - "id": 140, + "id": 141, "name": "user", "kind": 32, "kindString": "Variable", @@ -3403,9 +3244,9 @@ "title": "Variables", "kind": 32, "children": [ - 139, - 141, - 140 + 140, + 142, + 141 ] } ], @@ -3423,7 +3264,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 136, + "id": 137, "name": "GoTrueClient.refreshSession" } } @@ -3437,12 +3278,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 136, + "id": 137, "name": "GoTrueClient.refreshSession" } }, { - "id": 134, + "id": 135, "name": "session", "kind": 2048, "kindString": "Method", @@ -3451,7 +3292,7 @@ }, "signatures": [ { - "id": 135, + "id": 136, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -3476,7 +3317,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 134, + "id": 135, "name": "GoTrueClient.session" } } @@ -3490,12 +3331,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 134, + "id": 135, "name": "GoTrueClient.session" } }, { - "id": 155, + "id": 156, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -3504,7 +3345,7 @@ }, "signatures": [ { - "id": 156, + "id": 157, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -3516,7 +3357,7 @@ }, "parameters": [ { - "id": 157, + "id": 158, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -3538,7 +3379,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 155, + "id": 156, "name": "GoTrueClient.setAuth" } } @@ -3552,12 +3393,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 155, + "id": 156, "name": "GoTrueClient.setAuth" } }, { - "id": 149, + "id": 150, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -3566,7 +3407,7 @@ }, "signatures": [ { - "id": 150, + "id": 151, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -3578,7 +3419,7 @@ }, "parameters": [ { - "id": 151, + "id": 152, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -3600,7 +3441,7 @@ { "type": "reflection", "declaration": { - "id": 152, + "id": 153, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3609,7 +3450,7 @@ }, "children": [ { - "id": 154, + "id": 155, "name": "error", "kind": 32, "kindString": "Variable", @@ -3638,7 +3479,7 @@ } }, { - "id": 153, + "id": 154, "name": "session", "kind": 32, "kindString": "Variable", @@ -3672,8 +3513,8 @@ "title": "Variables", "kind": 32, "children": [ - 154, - 153 + 155, + 154 ] } ], @@ -3691,7 +3532,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 149, + "id": 150, "name": "GoTrueClient.setSession" } } @@ -3705,7 +3546,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 149, + "id": 150, "name": "GoTrueClient.setSession" } }, @@ -3782,6 +3623,35 @@ ] } }, + { + "id": 108, + "name": "oidc", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 83, + "character": 65 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "name": "OpenIDConnectCredentials" + } + ] + } + }, { "id": 105, "name": "password", @@ -3868,6 +3738,10 @@ "type": "intrinsic", "name": "undefined" }, + { + "type": "stringLiteral", + "value": "apple" + }, { "type": "stringLiteral", "value": "azure" @@ -3876,6 +3750,10 @@ "type": "stringLiteral", "value": "bitbucket" }, + { + "type": "stringLiteral", + "value": "discord" + }, { "type": "stringLiteral", "value": "facebook" @@ -3894,19 +3772,15 @@ }, { "type": "stringLiteral", - "value": "twitter" + "value": "linkedin" }, { "type": "stringLiteral", - "value": "apple" + "value": "notion" }, { "type": "stringLiteral", - "value": "discord" - }, - { - "type": "stringLiteral", - "value": "twitch" + "value": "slack" }, { "type": "stringLiteral", @@ -3914,7 +3788,11 @@ }, { "type": "stringLiteral", - "value": "slack" + "value": "twitch" + }, + { + "type": "stringLiteral", + "value": "twitter" } ] } @@ -3958,6 +3836,7 @@ "kind": 32, "children": [ 103, + 108, 105, 104, 107, @@ -3976,7 +3855,7 @@ } }, { - "id": 108, + "id": 109, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3994,7 +3873,7 @@ { "type": "reflection", "declaration": { - "id": 109, + "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4003,7 +3882,7 @@ }, "children": [ { - "id": 112, + "id": 113, "name": "captchaToken", "kind": 32, "kindString": "Variable", @@ -4033,7 +3912,7 @@ } }, { - "id": 110, + "id": 111, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4063,7 +3942,7 @@ } }, { - "id": 111, + "id": 112, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -4098,9 +3977,9 @@ "title": "Variables", "kind": 32, "children": [ - 112, - 110, - 111 + 113, + 111, + 112 ] } ] @@ -4116,7 +3995,7 @@ { "type": "reflection", "declaration": { - "id": 113, + "id": 114, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4125,7 +4004,7 @@ }, "children": [ { - "id": 118, + "id": 119, "name": "error", "kind": 32, "kindString": "Variable", @@ -4154,7 +4033,7 @@ } }, { - "id": 116, + "id": 117, "name": "provider", "kind": 32, "kindString": "Variable", @@ -4175,7 +4054,7 @@ } }, { - "id": 114, + "id": 115, "name": "session", "kind": 32, "kindString": "Variable", @@ -4204,7 +4083,7 @@ } }, { - "id": 117, + "id": 118, "name": "url", "kind": 32, "kindString": "Variable", @@ -4234,7 +4113,7 @@ } }, { - "id": 115, + "id": 116, "name": "user", "kind": 32, "kindString": "Variable", @@ -4268,11 +4147,11 @@ "title": "Variables", "kind": 32, "children": [ - 118, - 116, - 114, + 119, 117, - 115 + 115, + 118, + 116 ] } ], @@ -4309,7 +4188,7 @@ } }, { - "id": 166, + "id": 167, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -4318,7 +4197,7 @@ }, "signatures": [ { - "id": 167, + "id": 168, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -4335,7 +4214,7 @@ { "type": "reflection", "declaration": { - "id": 168, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4344,7 +4223,7 @@ }, "children": [ { - "id": 169, + "id": 170, "name": "error", "kind": 32, "kindString": "Variable", @@ -4378,7 +4257,7 @@ "title": "Variables", "kind": 32, "children": [ - 169 + 170 ] } ], @@ -4396,7 +4275,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 166, + "id": 167, "name": "GoTrueClient.signOut" } } @@ -4410,7 +4289,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 166, + "id": 167, "name": "GoTrueClient.signOut" } }, @@ -4854,7 +4733,7 @@ } }, { - "id": 142, + "id": 143, "name": "update", "kind": 2048, "kindString": "Method", @@ -4863,7 +4742,7 @@ }, "signatures": [ { - "id": 143, + "id": 144, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4875,7 +4754,7 @@ }, "parameters": [ { - "id": 144, + "id": 145, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4894,7 +4773,7 @@ { "type": "reflection", "declaration": { - "id": 145, + "id": 146, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4903,7 +4782,7 @@ }, "children": [ { - "id": 146, + "id": 147, "name": "data", "kind": 32, "kindString": "Variable", @@ -4932,7 +4811,7 @@ } }, { - "id": 148, + "id": 149, "name": "error", "kind": 32, "kindString": "Variable", @@ -4961,7 +4840,7 @@ } }, { - "id": 147, + "id": 148, "name": "user", "kind": 32, "kindString": "Variable", @@ -4995,9 +4874,9 @@ "title": "Variables", "kind": 32, "children": [ - 146, - 148, - 147 + 147, + 149, + 148 ] } ], @@ -5015,7 +4894,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 142, + "id": 143, "name": "GoTrueClient.update" } } @@ -5029,12 +4908,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 142, + "id": 143, "name": "GoTrueClient.update" } }, { - "id": 132, + "id": 133, "name": "user", "kind": 2048, "kindString": "Method", @@ -5043,7 +4922,7 @@ }, "signatures": [ { - "id": 133, + "id": 134, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -5069,7 +4948,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 132, + "id": 133, "name": "GoTrueClient.user" } } @@ -5083,12 +4962,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 132, + "id": 133, "name": "GoTrueClient.user" } }, { - "id": 119, + "id": 120, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -5097,7 +4976,7 @@ }, "signatures": [ { - "id": 120, + "id": 121, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -5109,7 +4988,7 @@ }, "parameters": [ { - "id": 121, + "id": 122, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5120,7 +4999,7 @@ "type": { "type": "reflection", "declaration": { - "id": 122, + "id": 123, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5129,7 +5008,7 @@ }, "children": [ { - "id": 123, + "id": 124, "name": "phone", "kind": 32, "kindString": "Variable", @@ -5152,7 +5031,7 @@ } }, { - "id": 124, + "id": 125, "name": "token", "kind": 32, "kindString": "Variable", @@ -5180,8 +5059,8 @@ "title": "Variables", "kind": 32, "children": [ - 123, - 124 + 124, + 125 ] } ], @@ -5196,7 +5075,7 @@ } }, { - "id": 125, + "id": 126, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5214,7 +5093,7 @@ { "type": "reflection", "declaration": { - "id": 126, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5223,7 +5102,7 @@ }, "children": [ { - "id": 127, + "id": 128, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -5258,7 +5137,7 @@ "title": "Variables", "kind": 32, "children": [ - 127 + 128 ] } ] @@ -5274,7 +5153,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 129, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5283,7 +5162,7 @@ }, "children": [ { - "id": 131, + "id": 132, "name": "error", "kind": 32, "kindString": "Variable", @@ -5312,7 +5191,7 @@ } }, { - "id": 130, + "id": 131, "name": "session", "kind": 32, "kindString": "Variable", @@ -5341,7 +5220,7 @@ } }, { - "id": 129, + "id": 130, "name": "user", "kind": 32, "kindString": "Variable", @@ -5375,9 +5254,9 @@ "title": "Variables", "kind": 32, "children": [ + 132, 131, - 130, - 129 + 130 ] } ], @@ -5395,7 +5274,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 119, + "id": 120, "name": "GoTrueClient.verifyOTP" } } @@ -5409,7 +5288,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 119, + "id": 120, "name": "GoTrueClient.verifyOTP" } } @@ -5441,18 +5320,18 @@ "title": "Methods", "kind": 2048, "children": [ - 158, - 170, - 136, - 134, - 155, - 149, + 159, + 171, + 137, + 135, + 156, + 150, 99, - 166, + 167, 83, - 142, - 132, - 119 + 143, + 133, + 120 ] } ], @@ -5489,7 +5368,7 @@ ] }, { - "id": 207, + "id": 208, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -5499,7 +5378,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 208, + "id": 209, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -5508,7 +5387,7 @@ }, "typeParameter": [ { - "id": 209, + "id": 210, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5519,7 +5398,7 @@ ], "children": [ { - "id": 215, + "id": 216, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -5528,7 +5407,7 @@ }, "signatures": [ { - "id": 216, + "id": 217, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -5537,7 +5416,7 @@ }, "parameters": [ { - "id": 217, + "id": 218, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -5550,7 +5429,7 @@ } }, { - "id": 218, + "id": 219, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5561,7 +5440,7 @@ "type": { "type": "reflection", "declaration": { - "id": 219, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5570,7 +5449,7 @@ }, "children": [ { - "id": 224, + "id": 225, "name": "fetch", "kind": 32, "kindString": "Variable", @@ -5593,14 +5472,14 @@ }, { "type": "reference", - "id": 224, + "id": 225, "name": "fetch" } ] } }, { - "id": 220, + "id": 221, "name": "headers", "kind": 32, "kindString": "Variable", @@ -5621,7 +5500,7 @@ } }, { - "id": 222, + "id": 223, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -5641,7 +5520,7 @@ } }, { - "id": 221, + "id": 222, "name": "schema", "kind": 32, "kindString": "Variable", @@ -5661,7 +5540,7 @@ } }, { - "id": 223, + "id": 224, "name": "table", "kind": 32, "kindString": "Variable", @@ -5686,11 +5565,11 @@ "title": "Variables", "kind": 32, "children": [ - 224, - 220, - 222, + 225, 221, - 223 + 223, + 222, + 224 ] } ], @@ -5707,7 +5586,7 @@ ], "type": { "type": "reference", - "id": 208, + "id": 209, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -5729,7 +5608,7 @@ } }, { - "id": 212, + "id": 213, "name": "_headers", "kind": 1024, "kindString": "Property", @@ -5751,7 +5630,7 @@ } }, { - "id": 211, + "id": 212, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -5772,7 +5651,7 @@ } }, { - "id": 213, + "id": 214, "name": "_schema", "kind": 1024, "kindString": "Property", @@ -5793,7 +5672,7 @@ } }, { - "id": 210, + "id": 211, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -5813,7 +5692,7 @@ "types": [ { "type": "reference", - "id": 181, + "id": 182, "name": "SupabaseRealtimeClient" }, { @@ -5825,7 +5704,7 @@ "defaultValue": "null" }, { - "id": 214, + "id": 215, "name": "_table", "kind": 1024, "kindString": "Property", @@ -5846,7 +5725,7 @@ } }, { - "id": 283, + "id": 284, "name": "body", "kind": 1024, "kindString": "Property", @@ -5892,12 +5771,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 283, + "id": 284, "name": "PostgrestBuilder.body" } }, { - "id": 286, + "id": 287, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -5919,12 +5798,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 286, + "id": 287, "name": "PostgrestBuilder.fetch" } }, { - "id": 278, + "id": 279, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5942,7 +5821,7 @@ "type": { "type": "reflection", "declaration": { - "id": 279, + "id": 280, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5951,7 +5830,7 @@ }, "indexSignature": [ { - "id": 280, + "id": 281, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5960,7 +5839,7 @@ }, "parameters": [ { - "id": 281, + "id": 282, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5990,12 +5869,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 278, + "id": 279, "name": "PostgrestBuilder.headers" } }, { - "id": 276, + "id": 277, "name": "method", "kind": 1024, "kindString": "Property", @@ -6037,12 +5916,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 276, + "id": 277, "name": "PostgrestBuilder.method" } }, { - "id": 282, + "id": 283, "name": "schema", "kind": 1024, "kindString": "Property", @@ -6073,12 +5952,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 282, + "id": 283, "name": "PostgrestBuilder.schema" } }, { - "id": 284, + "id": 285, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -6099,12 +5978,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 284, + "id": 285, "name": "PostgrestBuilder.shouldThrowOnError" } }, { - "id": 285, + "id": 286, "name": "signal", "kind": 1024, "kindString": "Property", @@ -6126,12 +6005,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 285, + "id": 286, "name": "PostgrestBuilder.signal" } }, { - "id": 277, + "id": 278, "name": "url", "kind": 1024, "kindString": "Property", @@ -6152,12 +6031,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 277, + "id": 278, "name": "PostgrestBuilder.url" } }, { - "id": 270, + "id": 271, "name": "delete", "kind": 2048, "kindString": "Method", @@ -6166,7 +6045,7 @@ }, "signatures": [ { - "id": 271, + "id": 272, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -6178,7 +6057,7 @@ }, "parameters": [ { - "id": 272, + "id": 273, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6190,7 +6069,7 @@ "type": { "type": "reflection", "declaration": { - "id": 273, + "id": 274, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6199,7 +6078,7 @@ }, "children": [ { - "id": 275, + "id": 276, "name": "count", "kind": 32, "kindString": "Variable", @@ -6243,7 +6122,7 @@ } }, { - "id": 274, + "id": 275, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6284,8 +6163,8 @@ "title": "Variables", "kind": 32, "children": [ - 275, - 274 + 276, + 275 ] } ], @@ -6312,7 +6191,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 270, + "id": 271, "name": "PostgrestQueryBuilder.delete" } } @@ -6326,12 +6205,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 270, + "id": 271, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 239, + "id": 240, "name": "insert", "kind": 2048, "kindString": "Method", @@ -6340,7 +6219,7 @@ }, "signatures": [ { - "id": 240, + "id": 241, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -6352,7 +6231,7 @@ }, "parameters": [ { - "id": 241, + "id": 242, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6392,7 +6271,7 @@ } }, { - "id": 242, + "id": 243, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6410,7 +6289,7 @@ { "type": "reflection", "declaration": { - "id": 243, + "id": 244, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6419,7 +6298,7 @@ }, "children": [ { - "id": 245, + "id": 246, "name": "count", "kind": 32, "kindString": "Variable", @@ -6457,7 +6336,7 @@ } }, { - "id": 244, + "id": 245, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6492,8 +6371,8 @@ "title": "Variables", "kind": 32, "children": [ - 245, - 244 + 246, + 245 ] } ] @@ -6515,12 +6394,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 239, + "id": 240, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 246, + "id": 247, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -6537,7 +6416,7 @@ }, "parameters": [ { - "id": 247, + "id": 248, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6574,7 +6453,7 @@ } }, { - "id": 248, + "id": 249, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6592,7 +6471,7 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6601,7 +6480,7 @@ }, "children": [ { - "id": 253, + "id": 254, "name": "count", "kind": 32, "kindString": "Variable", @@ -6639,7 +6518,7 @@ } }, { - "id": 251, + "id": 252, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6669,7 +6548,7 @@ } }, { - "id": 252, + "id": 253, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6699,7 +6578,7 @@ } }, { - "id": 250, + "id": 251, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -6738,10 +6617,10 @@ "title": "Variables", "kind": 32, "children": [ - 253, - 251, + 254, 252, - 250 + 253, + 251 ] } ] @@ -6763,7 +6642,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 239, + "id": 240, "name": "PostgrestQueryBuilder.insert" } } @@ -6782,12 +6661,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 239, + "id": 240, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 225, + "id": 226, "name": "on", "kind": 2048, "kindString": "Method", @@ -6796,7 +6675,7 @@ }, "signatures": [ { - "id": 226, + "id": 227, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -6808,7 +6687,7 @@ }, "parameters": [ { - "id": 227, + "id": 228, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -6825,7 +6704,7 @@ } }, { - "id": 228, + "id": 229, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6838,7 +6717,7 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 230, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6847,7 +6726,7 @@ }, "signatures": [ { - "id": 230, + "id": 231, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6856,7 +6735,7 @@ }, "parameters": [ { - "id": 231, + "id": 232, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -6895,7 +6774,7 @@ ], "type": { "type": "reference", - "id": 181, + "id": 182, "name": "SupabaseRealtimeClient" } } @@ -6909,7 +6788,7 @@ ] }, { - "id": 232, + "id": 233, "name": "select", "kind": 2048, "kindString": "Method", @@ -6918,7 +6797,7 @@ }, "signatures": [ { - "id": 233, + "id": 234, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6930,7 +6809,7 @@ }, "parameters": [ { - "id": 234, + "id": 235, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6956,7 +6835,7 @@ } }, { - "id": 235, + "id": 236, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6968,7 +6847,7 @@ "type": { "type": "reflection", "declaration": { - "id": 236, + "id": 237, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6977,7 +6856,7 @@ }, "children": [ { - "id": 238, + "id": 239, "name": "count", "kind": 32, "kindString": "Variable", @@ -7021,7 +6900,7 @@ } }, { - "id": 237, + "id": 238, "name": "head", "kind": 32, "kindString": "Variable", @@ -7062,8 +6941,8 @@ "title": "Variables", "kind": 32, "children": [ - 238, - 237 + 239, + 238 ] } ], @@ -7090,7 +6969,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 232, + "id": 233, "name": "PostgrestQueryBuilder.select" } } @@ -7104,12 +6983,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 232, + "id": 233, "name": "PostgrestQueryBuilder.select" } }, { - "id": 289, + "id": 290, "name": "then", "kind": 2048, "kindString": "Method", @@ -7118,7 +6997,7 @@ }, "signatures": [ { - "id": 290, + "id": 291, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -7127,7 +7006,7 @@ }, "typeParameter": [ { - "id": 291, + "id": 292, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -7136,7 +7015,7 @@ } }, { - "id": 292, + "id": 293, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -7147,7 +7026,7 @@ ], "parameters": [ { - "id": 293, + "id": 294, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -7161,7 +7040,7 @@ { "type": "reflection", "declaration": { - "id": 294, + "id": 295, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7170,7 +7049,7 @@ }, "signatures": [ { - "id": 295, + "id": 296, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7179,7 +7058,7 @@ }, "parameters": [ { - "id": 296, + "id": 297, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -7260,7 +7139,7 @@ } }, { - "id": 297, + "id": 298, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -7274,7 +7153,7 @@ { "type": "reflection", "declaration": { - "id": 298, + "id": 299, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7283,7 +7162,7 @@ }, "signatures": [ { - "id": 299, + "id": 300, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7292,7 +7171,7 @@ }, "parameters": [ { - "id": 300, + "id": 301, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -7390,7 +7269,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 289, + "id": 290, "name": "PostgrestBuilder.then" } } @@ -7404,12 +7283,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 289, + "id": 290, "name": "PostgrestBuilder.then" } }, { - "id": 287, + "id": 288, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -7418,7 +7297,7 @@ }, "signatures": [ { - "id": 288, + "id": 289, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -7441,7 +7320,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 287, + "id": 288, "name": "PostgrestBuilder.throwOnError" } } @@ -7455,12 +7334,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 287, + "id": 288, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 263, + "id": 264, "name": "update", "kind": 2048, "kindString": "Method", @@ -7469,7 +7348,7 @@ }, "signatures": [ { - "id": 264, + "id": 265, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -7481,7 +7360,7 @@ }, "parameters": [ { - "id": 265, + "id": 266, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -7503,7 +7382,7 @@ } }, { - "id": 266, + "id": 267, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7515,7 +7394,7 @@ "type": { "type": "reflection", "declaration": { - "id": 267, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7524,7 +7403,7 @@ }, "children": [ { - "id": 269, + "id": 270, "name": "count", "kind": 32, "kindString": "Variable", @@ -7568,7 +7447,7 @@ } }, { - "id": 268, + "id": 269, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7609,8 +7488,8 @@ "title": "Variables", "kind": 32, "children": [ - 269, - 268 + 270, + 269 ] } ], @@ -7637,7 +7516,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 263, + "id": 264, "name": "PostgrestQueryBuilder.update" } } @@ -7651,12 +7530,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 263, + "id": 264, "name": "PostgrestQueryBuilder.update" } }, { - "id": 254, + "id": 255, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -7665,7 +7544,7 @@ }, "signatures": [ { - "id": 255, + "id": 256, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -7677,7 +7556,7 @@ }, "parameters": [ { - "id": 256, + "id": 257, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -7717,7 +7596,7 @@ } }, { - "id": 257, + "id": 258, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7729,7 +7608,7 @@ "type": { "type": "reflection", "declaration": { - "id": 258, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7738,7 +7617,7 @@ }, "children": [ { - "id": 261, + "id": 262, "name": "count", "kind": 32, "kindString": "Variable", @@ -7782,7 +7661,7 @@ } }, { - "id": 262, + "id": 263, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -7818,7 +7697,7 @@ } }, { - "id": 259, + "id": 260, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -7850,7 +7729,7 @@ } }, { - "id": 260, + "id": 261, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7891,10 +7770,10 @@ "title": "Variables", "kind": 32, "children": [ - 261, 262, - 259, - 260 + 263, + 260, + 261 ] } ], @@ -7921,7 +7800,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 254, + "id": 255, "name": "PostgrestQueryBuilder.upsert" } } @@ -7935,7 +7814,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 254, + "id": 255, "name": "PostgrestQueryBuilder.upsert" } } @@ -7945,40 +7824,40 @@ "title": "Constructors", "kind": 512, "children": [ - 215 + 216 ] }, { "title": "Properties", "kind": 1024, "children": [ - 212, - 211, 213, - 210, + 212, 214, - 283, - 286, - 278, - 276, - 282, + 211, + 215, 284, + 287, + 279, + 277, + 283, 285, - 277 + 286, + 278 ] }, { "title": "Methods", "kind": 2048, "children": [ - 270, - 239, - 225, - 232, - 289, - 287, - 263, - 254 + 271, + 240, + 226, + 233, + 290, + 288, + 264, + 255 ] } ], @@ -8026,7 +7905,7 @@ "title": "Classes", "kind": 128, "children": [ - 208 + 209 ] } ], @@ -8039,7 +7918,7 @@ ] }, { - "id": 180, + "id": 181, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -8049,7 +7928,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 181, + "id": 182, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -8058,7 +7937,7 @@ }, "children": [ { - "id": 183, + "id": 184, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8067,7 +7946,7 @@ }, "signatures": [ { - "id": 184, + "id": 185, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -8076,7 +7955,7 @@ }, "parameters": [ { - "id": 185, + "id": 186, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -8089,7 +7968,7 @@ } }, { - "id": 186, + "id": 187, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -8103,7 +7982,7 @@ } }, { - "id": 187, + "id": 188, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -8116,7 +7995,7 @@ } }, { - "id": 188, + "id": 189, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -8131,7 +8010,7 @@ ], "type": { "type": "reference", - "id": 181, + "id": 182, "name": "SupabaseRealtimeClient" } } @@ -8145,7 +8024,7 @@ ] }, { - "id": 182, + "id": 183, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -8165,7 +8044,7 @@ } }, { - "id": 189, + "id": 190, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -8175,7 +8054,7 @@ }, "signatures": [ { - "id": 190, + "id": 191, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -8184,7 +8063,7 @@ }, "parameters": [ { - "id": 191, + "id": 192, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -8200,7 +8079,7 @@ "type": { "type": "reflection", "declaration": { - "id": 192, + "id": 193, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8209,7 +8088,7 @@ }, "children": [ { - "id": 193, + "id": 194, "name": "new", "kind": 32, "kindString": "Variable", @@ -8226,7 +8105,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8237,7 +8116,7 @@ } }, { - "id": 195, + "id": 196, "name": "old", "kind": 32, "kindString": "Variable", @@ -8254,7 +8133,7 @@ "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8270,8 +8149,8 @@ "title": "Variables", "kind": 32, "children": [ - 193, - 195 + 194, + 196 ] } ] @@ -8288,7 +8167,7 @@ ] }, { - "id": 197, + "id": 198, "name": "on", "kind": 2048, "kindString": "Method", @@ -8297,7 +8176,7 @@ }, "signatures": [ { - "id": 198, + "id": 199, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -8309,7 +8188,7 @@ }, "parameters": [ { - "id": 199, + "id": 200, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -8326,7 +8205,7 @@ } }, { - "id": 200, + "id": 201, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -8339,7 +8218,7 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8348,7 +8227,7 @@ }, "signatures": [ { - "id": 202, + "id": 203, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -8357,7 +8236,7 @@ }, "parameters": [ { - "id": 203, + "id": 204, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -8409,7 +8288,7 @@ ] }, { - "id": 204, + "id": 205, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -8418,7 +8297,7 @@ }, "signatures": [ { - "id": 205, + "id": 206, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -8430,7 +8309,7 @@ }, "parameters": [ { - "id": 206, + "id": 207, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -8464,23 +8343,23 @@ "title": "Constructors", "kind": 512, "children": [ - 183 + 184 ] }, { "title": "Properties", "kind": 1024, "children": [ - 182 + 183 ] }, { "title": "Methods", "kind": 2048, "children": [ - 189, - 197, - 204 + 190, + 198, + 205 ] } ], @@ -8498,7 +8377,7 @@ "title": "Classes", "kind": 128, "children": [ - 181 + 182 ] } ], @@ -9504,7 +9383,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 224, + "id": 225, "name": "fetch" } } @@ -10267,11 +10146,11 @@ "title": "Modules", "kind": 1, "children": [ - 301, - 408, + 302, + 402, 69, - 207, - 180, + 208, + 181, 3, 7, 15, diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml index e8f3522ef16..378b49dbc05 100644 --- a/web/spec/supabase.yml +++ b/web/spec/supabase.yml @@ -167,6 +167,7 @@ info: - storage.from.move() - storage.from.remove() - storage.from.createSignedUrl() + - storage.from.createSignedUrls() - storage.from.getPublicUrl() - name: 'Modifiers' items: @@ -230,7 +231,7 @@ pages: //or ``` - + Initializing: $ref: '@supabase/supabase-js."SupabaseClient".SupabaseClient.constructor' description: | @@ -948,7 +949,7 @@ pages: - By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed in Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data. - `select()` can be combined with [Modifiers](/docs/reference/javascript/using-modifiers) - `select()` can be combined with [Filters](/docs/reference/javascript/using-filters) - - If using the Supabase hosted platform `apikey` is technically a reserved keyword, since the API gateway will pluck it out for authentication. [It should be avoided as a column name](https://github.com/supabase/supabase/issues/5465). + - If using the Supabase hosted platform `apikey` is technically a reserved keyword, since the API gateway will pluck it out for authentication. [It should be avoided as a column name](https://github.com/supabase/supabase/issues/5465). examples: - name: Getting your data isSpotlight: true @@ -1615,6 +1616,24 @@ pages: .createSignedUrl('folder/avatar1.png', 60) ``` + storage.from.createSignedUrls(): + title: 'from.createSignedUrls()' + $ref: '@supabase/storage-js."lib/StorageFileApi".StorageFileApi.createSignedUrls' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `select` + examples: + - name: Create Signed URLs + isSpotlight: true + js: | + ```js + const { data, error } = await supabase + .storage + .from('avatars') + .createSignedUrls(['folder/avatar1.png', 'folder/avatar2.png'], 60) + ``` + storage.from.getPublicUrl(): title: 'from.getPublicUrl()' $ref: '@supabase/storage-js."lib/StorageFileApi".StorageFileApi.getPublicUrl'