diff --git a/web/README.md b/web/README.md index faaa71bd879..64cfe02ed7a 100644 --- a/web/README.md +++ b/web/README.md @@ -4,7 +4,7 @@ - `cd /web/spec/` - run `make` which will pull the latest TSDoc with your updates -- add your comments to `supabase.yml` | `postgrest.yml` | `gotrue.yml` | `realtime.yml` +- add your comments to `supabase.yml` | `dart.yml` | `postgrest.yml` | `gotrue.yml` | `realtime.yml` - run `npm run gen:supabase` inside the `/spec` folder which will generate the Docusaurus pages - run `npm run build` to make sure the build is working - submit your PR diff --git a/web/docs/reference/dart/.gitkeep b/web/docs/reference/dart/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d diff --git a/web/package.json b/web/package.json index a1775c8db6e..5cba8290795 100644 --- a/web/package.json +++ b/web/package.json @@ -7,9 +7,10 @@ "build": "npm run gen:all && docusaurus build", "swizzle": "docusaurus swizzle", "traction": "node traction.js", - "gen:all": "npm run gen:supabase && npm run gen:postgres && npm run gen:cli", + "gen:all": "npm run gen:supabase && npm run gen:dart && npm run gen:postgres && npm run gen:cli", "gen:supabase": "ts-node ReferenceGenerator.ts -o docs/reference/javascript spec/supabase.yml", "gen:cli": "ts-node ReferenceGenerator.ts -o docs/reference/cli spec/cli.yml", + "gen:dart": "ts-node ReferenceGenerator.ts -o docs/reference/dart spec/dart.yml", "gen:postgres": "ts-node ReferenceGenerator.ts -o docs/reference/postgres spec/postgres.yml" }, "dependencies": { @@ -44,4 +45,4 @@ "ts-node": "^9.0.0", "typescript": "^4.1.3" } -} +} \ No newline at end of file diff --git a/web/sidebar_spec_dart.js b/web/sidebar_spec_dart.js new file mode 100644 index 00000000000..d5dc6629f3a --- /dev/null +++ b/web/sidebar_spec_dart.js @@ -0,0 +1,46 @@ +module.exports = { + docs: [ + { + type: 'category', + label: 'Getting Started', + items: ['reference/dart/installing', 'reference/dart/initializing'], + collapsed: true, + }, + { + type: 'category', + label: 'Auth', + items: ['reference/dart/auth-signup', 'reference/dart/auth-signin', 'reference/dart/auth-signinwithprovider', 'reference/dart/auth-signout', 'reference/dart/auth-session', 'reference/dart/auth-user', 'reference/dart/auth-update', 'reference/dart/auth-onauthstatechange', 'reference/dart/reset-password-email'], + collapsed: true, + }, + { + type: 'category', + label: 'Database', + items: ['reference/dart/select', 'reference/dart/insert', 'reference/dart/update', 'reference/dart/upsert', 'reference/dart/delete', 'reference/dart/rpc'], + collapsed: true, + }, + { + type: 'category', + label: 'Realtime', + items: ['reference/dart/subscribe', 'reference/dart/removesubscription', 'reference/dart/getsubscriptions', 'reference/dart/stream'], + collapsed: true, + }, + { + type: 'category', + label: 'Storage', + items: ['reference/dart/storage-createbucket', 'reference/dart/storage-getbucket', 'reference/dart/storage-listbuckets', 'reference/dart/storage-updatebucket', 'reference/dart/storage-deletebucket', 'reference/dart/storage-emptybucket', 'reference/dart/storage-from-upload', 'reference/dart/storage-from-download', 'reference/dart/storage-from-list', 'reference/dart/storage-from-update', 'reference/dart/storage-from-move', 'reference/dart/storage-from-remove', 'reference/dart/storage-from-createsignedurl', 'reference/dart/storage-from-getpublicurl'], + collapsed: true, + }, + { + type: 'category', + label: 'Modifiers', + items: ['reference/dart/using-modifiers', 'reference/dart/limit', 'reference/dart/order', 'reference/dart/range', 'reference/dart/single'], + collapsed: true, + }, + { + type: 'category', + label: 'Filters', + items: ['reference/dart/using-filters', 'reference/dart/filter', 'reference/dart/or', 'reference/dart/not', 'reference/dart/match', 'reference/dart/eq', 'reference/dart/neq', 'reference/dart/gt', 'reference/dart/gte', 'reference/dart/lt', 'reference/dart/lte', 'reference/dart/like', 'reference/dart/ilike', 'reference/dart/is_', 'reference/dart/in_', 'reference/dart/contains', 'reference/dart/containedby', 'reference/dart/rangelt', 'reference/dart/rangegt', 'reference/dart/rangegte', 'reference/dart/rangelte', 'reference/dart/rangeadjacent', 'reference/dart/overlaps', 'reference/dart/textsearch'], + collapsed: true, + } + ], +} \ No newline at end of file diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.js index 518a7692e4c..b91bede61ae 100644 --- a/web/sidebar_spec_supabase.js +++ b/web/sidebar_spec_supabase.js @@ -2,7 +2,7 @@ module.exports = { docs: [ { type: 'category', - label: 'About', + label: 'Getting Started', items: ['reference/javascript/index', 'reference/javascript/installing', 'reference/javascript/initializing', 'reference/javascript/generating-types'], collapsed: true, }, @@ -14,7 +14,7 @@ module.exports = { }, { type: 'category', - label: 'Data', + label: 'Database', items: ['reference/javascript/select', 'reference/javascript/insert', 'reference/javascript/update', 'reference/javascript/upsert', 'reference/javascript/delete', 'reference/javascript/rpc'], collapsed: true, }, diff --git a/web/sidebars.js b/web/sidebars.js index af85d54856e..1c3db47d73e 100755 --- a/web/sidebars.js +++ b/web/sidebars.js @@ -8,6 +8,7 @@ const supabaseClient = require('./sidebar_spec_supabase') const supabaseCli = require('./sidebar_spec_cli') const postgres = require('./sidebar_spec_postgres') +const dart = require('./sidebar_spec_dart') module.exports = { supabaseClient: [ @@ -17,6 +18,12 @@ module.exports = { collapsed: false, items: supabaseClient.docs, }, + { + type: 'category', + label: 'Dart', + collapsed: false, + items: dart.docs, + }, { type: 'category', label: 'Postgres', diff --git a/web/spec/combined.json b/web/spec/combined.json index bc90015fad6..b49605166de 100644 --- a/web/spec/combined.json +++ b/web/spec/combined.json @@ -9,7 +9,7 @@ "originalName": "", "children": [ { - "id": 264, + "id": 279, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -19,7 +19,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 265, + "id": 280, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -32,7 +32,7 @@ }, "children": [ { - "id": 273, + "id": 288, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44,7 +44,7 @@ }, "signatures": [ { - "id": 276, + "id": 291, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -56,7 +56,7 @@ }, "parameters": [ { - "id": 277, + "id": 292, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -72,7 +72,7 @@ } }, { - "id": 278, + "id": 293, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -88,7 +88,7 @@ } }, { - "id": 279, + "id": 294, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -98,14 +98,14 @@ }, "type": { "type": "reference", - "id": 5, + "id": 30, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 280, "name": "SupabaseClient" } } @@ -113,13 +113,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 34, + "line": 33, "character": 36 } ] }, { - "id": 266, + "id": 281, "name": "auth", "kind": 1024, "kindString": "Property", @@ -132,18 +132,18 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 27, + "line": 26, "character": 6 } ], "type": { "type": "reference", - "id": 28, + "id": 53, "name": "SupabaseAuthClient" } }, { - "id": 270, + "id": 285, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -154,7 +154,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 32, + "line": 31, "character": 19 } ], @@ -164,7 +164,7 @@ } }, { - "id": 272, + "id": 287, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -175,7 +175,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 34, + "line": 33, "character": 20 } ], @@ -185,7 +185,7 @@ } }, { - "id": 269, + "id": 284, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -196,7 +196,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 31, + "line": 30, "character": 23 } ], @@ -206,7 +206,7 @@ } }, { - "id": 268, + "id": 283, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -217,7 +217,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 30, + "line": 29, "character": 19 } ], @@ -227,7 +227,7 @@ } }, { - "id": 267, + "id": 282, "name": "schema", "kind": 1024, "kindString": "Property", @@ -238,7 +238,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 29, + "line": 28, "character": 18 } ], @@ -248,7 +248,7 @@ } }, { - "id": 271, + "id": 286, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -259,7 +259,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 33, + "line": 32, "character": 22 } ], @@ -269,7 +269,7 @@ } }, { - "id": 275, + "id": 290, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -284,7 +284,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 49, + "line": 48, "character": 25 } ], @@ -294,7 +294,7 @@ } }, { - "id": 274, + "id": 289, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -309,7 +309,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 48, + "line": 47, "character": 25 } ], @@ -319,7 +319,7 @@ } }, { - "id": 280, + "id": 295, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -331,7 +331,7 @@ }, "getSignature": [ { - "id": 281, + "id": 296, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -350,13 +350,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 74, + "line": 73, "character": 13 } ] }, { - "id": 320, + "id": 339, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -366,7 +366,7 @@ }, "signatures": [ { - "id": 321, + "id": 340, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -375,7 +375,7 @@ }, "parameters": [ { - "id": 322, + "id": 341, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -403,13 +403,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 186, + "line": 187, "character": 23 } ] }, { - "id": 297, + "id": 312, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -419,7 +419,7 @@ }, "signatures": [ { - "id": 298, + "id": 313, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -428,7 +428,7 @@ }, "parameters": [ { - "id": 299, + "id": 314, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -456,13 +456,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 132, + "line": 131, "character": 34 } ] }, { - "id": 315, + "id": 334, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -472,7 +472,7 @@ }, "signatures": [ { - "id": 316, + "id": 335, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -482,7 +482,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 336, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -491,7 +491,7 @@ }, "indexSignature": [ { - "id": 318, + "id": 337, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -500,7 +500,7 @@ }, "parameters": [ { - "id": 319, + "id": 338, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -522,7 +522,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 179, "character": 28 } ] @@ -533,13 +533,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 179, "character": 25 } ] }, { - "id": 313, + "id": 332, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -549,7 +549,7 @@ }, "signatures": [ { - "id": 314, + "id": 333, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -565,13 +565,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 171, + "line": 172, "character": 30 } ] }, { - "id": 310, + "id": 329, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -581,7 +581,7 @@ }, "signatures": [ { - "id": 311, + "id": 330, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -590,7 +590,7 @@ }, "parameters": [ { - "id": 312, + "id": 331, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -613,13 +613,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 164, + "line": 165, "character": 29 } ] }, { - "id": 302, + "id": 317, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -629,7 +629,7 @@ }, "signatures": [ { - "id": 303, + "id": 318, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -638,7 +638,7 @@ }, "parameters": [ { - "id": 304, + "id": 319, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -649,7 +649,7 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 320, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -658,7 +658,7 @@ }, "children": [ { - "id": 306, + "id": 321, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -668,7 +668,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 146, + "line": 145, "character": 20 } ], @@ -691,7 +691,7 @@ } }, { - "id": 308, + "id": 323, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -701,7 +701,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 148, + "line": 147, "character": 22 } ], @@ -724,8 +724,8 @@ } }, { - "id": 309, - "name": "localStorage", + "id": 325, + "name": "headers", "kind": 32, "kindString": "Variable", "flags": { @@ -735,6 +735,73 @@ { "fileName": "src/SupabaseClient.ts", "line": 149, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 327, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 328, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 324, + "name": "localStorage", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 148, "character": 16 } ], @@ -747,13 +814,42 @@ }, { "type": "reference", - "name": "Storage" + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "getItem" + }, + { + "type": "stringLiteral", + "value": "setItem" + }, + { + "type": "stringLiteral", + "value": "removeItem" + } + ] + } + ], + "name": "Pick" + } + ], + "name": "PromisifyMethods" } ] } }, { - "id": 307, + "id": 322, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -763,7 +859,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 147, + "line": 146, "character": 18 } ], @@ -791,17 +887,18 @@ "title": "Variables", "kind": 32, "children": [ - 306, - 308, - 309, - 307 + 321, + 323, + 325, + 324, + 322 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 144, "character": 34 } ] @@ -811,7 +908,7 @@ ], "type": { "type": "reference", - "id": 28, + "id": 53, "name": "SupabaseAuthClient" } } @@ -819,13 +916,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 144, "character": 33 } ] }, { - "id": 282, + "id": 297, "name": "from", "kind": 2048, "kindString": "Method", @@ -834,7 +931,7 @@ }, "signatures": [ { - "id": 283, + "id": 298, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -846,7 +943,7 @@ }, "typeParameter": [ { - "id": 284, + "id": 299, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -857,7 +954,7 @@ ], "parameters": [ { - "id": 285, + "id": 300, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -875,7 +972,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 189, "typeArguments": [ { "type": "typeParameter", @@ -893,13 +990,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 83, + "line": 82, "character": 6 } ] }, { - "id": 300, + "id": 315, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -908,7 +1005,7 @@ }, "signatures": [ { - "id": 301, + "id": 316, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -930,13 +1027,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 141, + "line": 140, "character": 18 } ] }, { - "id": 294, + "id": 309, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -945,7 +1042,7 @@ }, "signatures": [ { - "id": 295, + "id": 310, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -957,7 +1054,7 @@ }, "parameters": [ { - "id": 296, + "id": 311, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -988,13 +1085,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 115, + "line": 114, "character": 20 } ] }, { - "id": 286, + "id": 301, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1003,7 +1100,7 @@ }, "signatures": [ { - "id": 287, + "id": 302, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1015,7 +1112,7 @@ }, "typeParameter": [ { - "id": 288, + "id": 303, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1026,7 +1123,7 @@ ], "parameters": [ { - "id": 289, + "id": 304, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1042,7 +1139,7 @@ } }, { - "id": 290, + "id": 305, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1068,7 +1165,7 @@ } }, { - "id": 291, + "id": 306, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1079,7 +1176,7 @@ "type": { "type": "reflection", "declaration": { - "id": 292, + "id": 307, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1088,7 +1185,7 @@ }, "children": [ { - "id": 293, + "id": 308, "name": "count", "kind": 32, "kindString": "Variable", @@ -1101,7 +1198,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 104, + "line": 103, "character": 11 } ], @@ -1134,14 +1231,14 @@ "title": "Variables", "kind": 32, "children": [ - 293 + 308 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 103, + "line": 102, "character": 20 } ] @@ -1165,7 +1262,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 101, + "line": 100, "character": 5 } ] @@ -1176,58 +1273,58 @@ "title": "Constructors", "kind": 512, "children": [ - 273 + 288 ] }, { "title": "Properties", "kind": 1024, "children": [ - 266, - 270, - 272, - 269, - 268, - 267, - 271, - 275, - 274 + 281, + 285, + 287, + 284, + 283, + 282, + 286, + 290, + 289 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 280 + 295 ] }, { "title": "Methods", "kind": 2048, "children": [ - 320, + 339, + 312, + 334, + 332, + 329, + 317, 297, 315, - 313, - 310, - 302, - 282, - 300, - 294, - 286 + 309, + 301 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 23, + "line": 22, "character": 35 } ] }, { - "id": 323, + "id": 342, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1236,7 +1333,7 @@ }, "children": [ { - "id": 325, + "id": 344, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1255,7 +1352,7 @@ "defaultValue": "true" }, { - "id": 327, + "id": 346, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1274,7 +1371,7 @@ "defaultValue": "true" }, { - "id": 329, + "id": 347, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1282,43 +1379,54 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 15, + "line": 14, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": {} + "flags": {}, + "children": [ + { + "id": 349, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`supabase-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 349 + ] + } + ] } }, "defaultValue": "DEFAULT_HEADERS" }, { - "id": 328, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 14, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - }, - "defaultValue": "globalThis.localStorage" - }, - { - "id": 326, + "id": 345, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1337,7 +1445,7 @@ "defaultValue": "true" }, { - "id": 324, + "id": 343, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1361,12 +1469,11 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 327, - 329, - 328, - 326, - 324 + 344, + 346, + 347, + 345, + 343 ] } ], @@ -1388,14 +1495,14 @@ "title": "Classes", "kind": 128, "children": [ - 265 + 280 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 323 + 342 ] } ], @@ -1408,7 +1515,7 @@ ] }, { - "id": 331, + "id": 350, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1418,7 +1525,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 332, + "id": 351, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1431,7 +1538,7 @@ }, "signatures": [ { - "id": 333, + "id": 352, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1443,7 +1550,7 @@ }, "parameters": [ { - "id": 334, + "id": 353, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1456,7 +1563,7 @@ } }, { - "id": 335, + "id": 354, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1469,7 +1576,7 @@ } }, { - "id": 336, + "id": 355, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1479,14 +1586,14 @@ }, "type": { "type": "reference", - "id": 5, + "id": 30, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 280, "name": "SupabaseClient" } } @@ -1505,7 +1612,7 @@ "title": "Functions", "kind": 64, "children": [ - 332 + 351 ] } ], @@ -1518,7 +1625,7 @@ ] }, { - "id": 27, + "id": 52, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", @@ -1528,7 +1635,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { - "id": 28, + "id": 53, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", @@ -1537,7 +1644,7 @@ }, "children": [ { - "id": 29, + "id": 54, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1546,7 +1653,7 @@ }, "signatures": [ { - "id": 30, + "id": 55, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", @@ -1555,7 +1662,7 @@ }, "parameters": [ { - "id": 31, + "id": 56, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1563,266 +1670,15 @@ "isExported": true }, "type": { - "type": "reflection", - "declaration": { - "id": 32, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 39, - "name": "autoRefreshToken", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 8, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 38, - "name": "detectSessionInUrl", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 7, - "character": 22 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 34, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 6, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 35, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 36, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 37, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 41, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 10, - "character": 16 - } - ], - "type": { - "type": "reference", - "name": "Storage" - } - }, - { - "id": 40, - "name": "persistSession", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 9, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 33, - "name": "url", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 5, - "character": 7 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 39, - 38, - 34, - 41, - 40, - 33 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 4, - "character": 22 - } - ] - } + "type": "reference", + "id": 7, + "name": "SupabaseAuthClientOptions" } } ], "type": { "type": "reference", - "id": 28, + "id": 53, "name": "SupabaseAuthClient" }, "overwrites": { @@ -1834,7 +1690,7 @@ "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 3, + "line": 4, "character": 54 } ], @@ -1844,7 +1700,7 @@ } }, { - "id": 42, + "id": 57, "name": "api", "kind": 1024, "kindString": "Property", @@ -1857,7 +1713,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 8, + "line": 14, "character": 7 } ], @@ -1867,12 +1723,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 42, + "id": 57, "name": "GoTrueClient.api" } }, { - "id": 45, + "id": 60, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -1883,7 +1739,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 17, + "line": 23, "character": 30 } ], @@ -1893,12 +1749,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 45, + "id": 60, "name": "GoTrueClient.autoRefreshToken" } }, { - "id": 44, + "id": 59, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -1912,7 +1768,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 16, + "line": 22, "character": 28 } ], @@ -1931,12 +1787,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 59, "name": "GoTrueClient.currentSession" } }, { - "id": 43, + "id": 58, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -1950,7 +1806,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 12, + "line": 18, "character": 25 } ], @@ -1969,12 +1825,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 58, "name": "GoTrueClient.currentUser" } }, { - "id": 47, + "id": 62, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -1985,22 +1841,22 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 19, + "line": 25, "character": 26 } ], "type": { "type": "reference", - "name": "Storage" + "name": "SupportedStorage" }, "inheritedFrom": { "type": "reference", - "id": 47, + "id": 62, "name": "GoTrueClient.localStorage" } }, { - "id": 46, + "id": 61, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -2011,7 +1867,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 18, + "line": 24, "character": 28 } ], @@ -2021,12 +1877,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 46, + "id": 61, "name": "GoTrueClient.persistSession" } }, { - "id": 49, + "id": 64, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -2038,7 +1894,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 21, + "line": 27, "character": 31 } ], @@ -2057,12 +1913,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 49, + "id": 64, "name": "GoTrueClient.refreshTokenTimer" } }, { - "id": 48, + "id": 63, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -2073,7 +1929,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 20, + "line": 26, "character": 33 } ], @@ -2093,12 +1949,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 48, + "id": 63, "name": "GoTrueClient.stateChangeEmitters" } }, { - "id": 125, + "id": 140, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -2107,7 +1963,7 @@ }, "signatures": [ { - "id": 126, + "id": 141, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -2119,7 +1975,7 @@ }, "parameters": [ { - "id": 127, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2137,7 +1993,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2146,7 +2002,7 @@ }, "children": [ { - "id": 129, + "id": 144, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2160,7 +2016,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 137, + "line": 143, "character": 20 } ], @@ -2188,7 +2044,7 @@ "title": "Variables", "kind": 32, "children": [ - 129 + 144 ] } ] @@ -2204,7 +2060,7 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 145, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2213,7 +2069,7 @@ }, "children": [ { - "id": 131, + "id": 146, "name": "data", "kind": 32, "kindString": "Variable", @@ -2223,7 +2079,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 139, + "line": 145, "character": 12 } ], @@ -2242,7 +2098,7 @@ } }, { - "id": 132, + "id": 147, "name": "error", "kind": 32, "kindString": "Variable", @@ -2252,7 +2108,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 140, + "line": 146, "character": 13 } ], @@ -2276,15 +2132,15 @@ "title": "Variables", "kind": 32, "children": [ - 131, - 132 + 146, + 147 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 138, + "line": 144, "character": 16 } ] @@ -2295,7 +2151,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 125, + "id": 140, "name": "GoTrueClient.getSessionFromUrl" } } @@ -2303,18 +2159,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 136, + "line": 142, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 125, + "id": 140, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 137, + "id": 152, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -2323,7 +2179,7 @@ }, "signatures": [ { - "id": 138, + "id": 153, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -2336,7 +2192,7 @@ }, "parameters": [ { - "id": 139, + "id": 154, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2346,7 +2202,7 @@ "type": { "type": "reflection", "declaration": { - "id": 140, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2355,7 +2211,7 @@ }, "signatures": [ { - "id": 141, + "id": 156, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2364,7 +2220,7 @@ }, "parameters": [ { - "id": 142, + "id": 157, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -2377,7 +2233,7 @@ } }, { - "id": 143, + "id": 158, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -2408,7 +2264,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 31 } ] @@ -2419,7 +2275,7 @@ "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 159, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2428,7 +2284,7 @@ }, "children": [ { - "id": 145, + "id": 160, "name": "data", "kind": 32, "kindString": "Variable", @@ -2438,7 +2294,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 156, + "line": 162, "character": 12 } ], @@ -2457,7 +2313,7 @@ } }, { - "id": 146, + "id": 161, "name": "error", "kind": 32, "kindString": "Variable", @@ -2467,7 +2323,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 157, + "line": 163, "character": 13 } ], @@ -2491,15 +2347,15 @@ "title": "Variables", "kind": 32, "children": [ - 145, - 146 + 160, + 161 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 91 } ] @@ -2507,7 +2363,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 137, + "id": 152, "name": "GoTrueClient.onAuthStateChange" } } @@ -2515,18 +2371,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 137, + "id": 152, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 103, + "id": 118, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -2535,7 +2391,7 @@ }, "signatures": [ { - "id": 104, + "id": 119, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -2551,7 +2407,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2560,7 +2416,7 @@ }, "children": [ { - "id": 106, + "id": 121, "name": "data", "kind": 32, "kindString": "Variable", @@ -2570,7 +2426,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 107, + "line": 113, "character": 12 } ], @@ -2589,7 +2445,7 @@ } }, { - "id": 108, + "id": 123, "name": "error", "kind": 32, "kindString": "Variable", @@ -2599,7 +2455,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 109, + "line": 115, "character": 13 } ], @@ -2618,7 +2474,7 @@ } }, { - "id": 107, + "id": 122, "name": "user", "kind": 32, "kindString": "Variable", @@ -2628,7 +2484,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 108, + "line": 114, "character": 12 } ], @@ -2652,16 +2508,16 @@ "title": "Variables", "kind": 32, "children": [ - 106, - 108, - 107 + 121, + 123, + 122 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 106, + "line": 112, "character": 30 } ] @@ -2672,7 +2528,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 118, "name": "GoTrueClient.refreshSession" } } @@ -2680,18 +2536,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 106, + "line": 112, "character": 18 } ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 118, "name": "GoTrueClient.refreshSession" } }, { - "id": 101, + "id": 116, "name": "session", "kind": 2048, "kindString": "Method", @@ -2700,7 +2556,7 @@ }, "signatures": [ { - "id": 102, + "id": 117, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -2725,7 +2581,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 101, + "id": 116, "name": "GoTrueClient.session" } } @@ -2733,18 +2589,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 102, + "line": 108, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 101, + "id": 116, "name": "GoTrueClient.session" } }, { - "id": 122, + "id": 137, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2753,7 +2609,7 @@ }, "signatures": [ { - "id": 123, + "id": 138, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2765,7 +2621,7 @@ }, "parameters": [ { - "id": 124, + "id": 139, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -2787,7 +2643,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 122, + "id": 137, "name": "GoTrueClient.setAuth" } } @@ -2795,18 +2651,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 131, + "line": 137, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 122, + "id": 137, "name": "GoTrueClient.setAuth" } }, { - "id": 116, + "id": 131, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -2815,7 +2671,7 @@ }, "signatures": [ { - "id": 117, + "id": 132, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -2827,7 +2683,7 @@ }, "parameters": [ { - "id": 118, + "id": 133, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -2849,7 +2705,7 @@ { "type": "reflection", "declaration": { - "id": 119, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2858,7 +2714,7 @@ }, "children": [ { - "id": 121, + "id": 136, "name": "error", "kind": 32, "kindString": "Variable", @@ -2868,7 +2724,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 125, + "line": 131, "character": 13 } ], @@ -2887,7 +2743,7 @@ } }, { - "id": 120, + "id": 135, "name": "session", "kind": 32, "kindString": "Variable", @@ -2897,7 +2753,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 124, + "line": 130, "character": 15 } ], @@ -2921,15 +2777,15 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 120 + 136, + 135 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 129, "character": 47 } ] @@ -2940,7 +2796,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 131, "name": "GoTrueClient.setSession" } } @@ -2948,18 +2804,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 129, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 116, + "id": 131, "name": "GoTrueClient.setSession" } }, { - "id": 65, + "id": 80, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -2968,7 +2824,7 @@ }, "signatures": [ { - "id": 66, + "id": 81, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -2980,7 +2836,7 @@ }, "parameters": [ { - "id": 67, + "id": 82, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -2991,7 +2847,7 @@ "type": { "type": "reflection", "declaration": { - "id": 68, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3000,7 +2856,7 @@ }, "children": [ { - "id": 69, + "id": 84, "name": "email", "kind": 32, "kindString": "Variable", @@ -3013,7 +2869,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 18 } ], @@ -3032,7 +2888,7 @@ } }, { - "id": 71, + "id": 86, "name": "password", "kind": 32, "kindString": "Variable", @@ -3045,7 +2901,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 35 } ], @@ -3064,7 +2920,7 @@ } }, { - "id": 70, + "id": 85, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3074,7 +2930,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 25 } ], @@ -3093,7 +2949,7 @@ } }, { - "id": 73, + "id": 88, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3106,7 +2962,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 59 } ], @@ -3161,7 +3017,7 @@ } }, { - "id": 72, + "id": 87, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -3174,7 +3030,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 49 } ], @@ -3198,18 +3054,18 @@ "title": "Variables", "kind": 32, "children": [ - 69, - 71, - 70, - 73, - 72 + 84, + 86, + 85, + 88, + 87 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 11 } ] @@ -3217,7 +3073,7 @@ } }, { - "id": 74, + "id": 89, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3235,7 +3091,7 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3244,7 +3100,7 @@ }, "children": [ { - "id": 76, + "id": 91, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3255,7 +3111,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 69, + "line": 75, "character": 18 } ], @@ -3274,7 +3130,7 @@ } }, { - "id": 77, + "id": 92, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -3285,7 +3141,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 70, + "line": 76, "character": 14 } ], @@ -3309,8 +3165,8 @@ "title": "Variables", "kind": 32, "children": [ - 76, - 77 + 91, + 92 ] } ] @@ -3326,7 +3182,7 @@ { "type": "reflection", "declaration": { - "id": 78, + "id": 93, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3335,7 +3191,7 @@ }, "children": [ { - "id": 84, + "id": 99, "name": "data", "kind": 32, "kindString": "Variable", @@ -3345,7 +3201,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 77, + "line": 83, "character": 12 } ], @@ -3364,7 +3220,7 @@ } }, { - "id": 83, + "id": 98, "name": "error", "kind": 32, "kindString": "Variable", @@ -3374,7 +3230,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 76, + "line": 82, "character": 13 } ], @@ -3393,7 +3249,7 @@ } }, { - "id": 81, + "id": 96, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3404,7 +3260,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 80, "character": 16 } ], @@ -3414,7 +3270,7 @@ } }, { - "id": 79, + "id": 94, "name": "session", "kind": 32, "kindString": "Variable", @@ -3424,7 +3280,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 72, + "line": 78, "character": 15 } ], @@ -3443,7 +3299,7 @@ } }, { - "id": 82, + "id": 97, "name": "url", "kind": 32, "kindString": "Variable", @@ -3454,7 +3310,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 75, + "line": 81, "character": 11 } ], @@ -3473,7 +3329,7 @@ } }, { - "id": 80, + "id": 95, "name": "user", "kind": 32, "kindString": "Variable", @@ -3483,7 +3339,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 73, + "line": 79, "character": 12 } ], @@ -3507,19 +3363,19 @@ "title": "Variables", "kind": 32, "children": [ - 84, - 83, - 81, - 79, - 82, - 80 + 99, + 98, + 96, + 94, + 97, + 95 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 71, + "line": 77, "character": 16 } ] @@ -3530,7 +3386,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 65, + "id": 80, "name": "GoTrueClient.signIn" } } @@ -3538,18 +3394,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 65, + "id": 80, "name": "GoTrueClient.signIn" } }, { - "id": 133, + "id": 148, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3558,7 +3414,7 @@ }, "signatures": [ { - "id": 134, + "id": 149, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3566,7 +3422,7 @@ "isExported": true }, "comment": { - "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", + "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n" }, "type": { @@ -3575,7 +3431,7 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3584,7 +3440,7 @@ }, "children": [ { - "id": 136, + "id": 151, "name": "error", "kind": 32, "kindString": "Variable", @@ -3594,7 +3450,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 149, + "line": 155, "character": 13 } ], @@ -3618,14 +3474,14 @@ "title": "Variables", "kind": 32, "children": [ - 136 + 151 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 148, + "line": 154, "character": 23 } ] @@ -3636,7 +3492,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 133, + "id": 148, "name": "GoTrueClient.signOut" } } @@ -3644,18 +3500,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 148, + "line": 154, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 133, + "id": 148, "name": "GoTrueClient.signOut" } }, { - "id": 50, + "id": 65, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -3664,7 +3520,7 @@ }, "signatures": [ { - "id": 51, + "id": 66, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -3676,7 +3532,7 @@ }, "parameters": [ { - "id": 52, + "id": 67, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3687,7 +3543,7 @@ "type": { "type": "reflection", "declaration": { - "id": 53, + "id": 68, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3696,7 +3552,7 @@ }, "children": [ { - "id": 54, + "id": 69, "name": "email", "kind": 32, "kindString": "Variable", @@ -3709,7 +3565,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 18 } ], @@ -3728,7 +3584,7 @@ } }, { - "id": 55, + "id": 70, "name": "password", "kind": 32, "kindString": "Variable", @@ -3741,7 +3597,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 28 } ], @@ -3760,7 +3616,7 @@ } }, { - "id": 56, + "id": 71, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3773,7 +3629,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 35 } ], @@ -3797,16 +3653,16 @@ "title": "Variables", "kind": 32, "children": [ - 54, - 55, - 56 + 69, + 70, + 71 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 11 } ] @@ -3814,7 +3670,7 @@ } }, { - "id": 57, + "id": 72, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3832,7 +3688,7 @@ { "type": "reflection", "declaration": { - "id": 58, + "id": 73, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3841,7 +3697,7 @@ }, "children": [ { - "id": 59, + "id": 74, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3852,7 +3708,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 51, + "line": 57, "character": 18 } ], @@ -3876,7 +3732,7 @@ "title": "Variables", "kind": 32, "children": [ - 59 + 74 ] } ] @@ -3892,7 +3748,7 @@ { "type": "reflection", "declaration": { - "id": 60, + "id": 75, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3901,7 +3757,7 @@ }, "children": [ { - "id": 64, + "id": 79, "name": "data", "kind": 32, "kindString": "Variable", @@ -3911,7 +3767,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 62, "character": 12 } ], @@ -3934,7 +3790,7 @@ } }, { - "id": 63, + "id": 78, "name": "error", "kind": 32, "kindString": "Variable", @@ -3944,7 +3800,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 55, + "line": 61, "character": 13 } ], @@ -3963,7 +3819,7 @@ } }, { - "id": 62, + "id": 77, "name": "session", "kind": 32, "kindString": "Variable", @@ -3973,7 +3829,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 54, + "line": 60, "character": 15 } ], @@ -3992,7 +3848,7 @@ } }, { - "id": 61, + "id": 76, "name": "user", "kind": 32, "kindString": "Variable", @@ -4002,7 +3858,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 53, + "line": 59, "character": 12 } ], @@ -4026,17 +3882,17 @@ "title": "Variables", "kind": 32, "children": [ - 64, - 63, - 62, - 61 + 79, + 78, + 77, + 76 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 52, + "line": 58, "character": 16 } ] @@ -4047,7 +3903,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 50, + "id": 65, "name": "GoTrueClient.signUp" } } @@ -4055,18 +3911,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 50, + "id": 65, "name": "GoTrueClient.signUp" } }, { - "id": 109, + "id": 124, "name": "update", "kind": 2048, "kindString": "Method", @@ -4075,7 +3931,7 @@ }, "signatures": [ { - "id": 110, + "id": 125, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4087,7 +3943,7 @@ }, "parameters": [ { - "id": 111, + "id": 126, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4106,7 +3962,7 @@ { "type": "reflection", "declaration": { - "id": 112, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4115,7 +3971,7 @@ }, "children": [ { - "id": 113, + "id": 128, "name": "data", "kind": 32, "kindString": "Variable", @@ -4125,7 +3981,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 115, + "line": 121, "character": 12 } ], @@ -4144,7 +4000,7 @@ } }, { - "id": 115, + "id": 130, "name": "error", "kind": 32, "kindString": "Variable", @@ -4154,7 +4010,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 117, + "line": 123, "character": 13 } ], @@ -4173,7 +4029,7 @@ } }, { - "id": 114, + "id": 129, "name": "user", "kind": 32, "kindString": "Variable", @@ -4183,7 +4039,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 116, + "line": 122, "character": 12 } ], @@ -4207,16 +4063,16 @@ "title": "Variables", "kind": 32, "children": [ - 113, - 115, - 114 + 128, + 130, + 129 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 120, "character": 48 } ] @@ -4227,7 +4083,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 109, + "id": 124, "name": "GoTrueClient.update" } } @@ -4235,18 +4091,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 120, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 109, + "id": 124, "name": "GoTrueClient.update" } }, { - "id": 99, + "id": 114, "name": "user", "kind": 2048, "kindString": "Method", @@ -4255,7 +4111,7 @@ }, "signatures": [ { - "id": 100, + "id": 115, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -4281,7 +4137,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 99, + "id": 114, "name": "GoTrueClient.user" } } @@ -4289,18 +4145,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 98, + "line": 104, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 99, + "id": 114, "name": "GoTrueClient.user" } }, { - "id": 85, + "id": 100, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -4309,7 +4165,7 @@ }, "signatures": [ { - "id": 86, + "id": 101, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -4321,7 +4177,7 @@ }, "parameters": [ { - "id": 87, + "id": 102, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4332,7 +4188,7 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 103, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4341,7 +4197,7 @@ }, "children": [ { - "id": 89, + "id": 104, "name": "phone", "kind": 32, "kindString": "Variable", @@ -4354,7 +4210,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 21 } ], @@ -4364,7 +4220,7 @@ } }, { - "id": 90, + "id": 105, "name": "token", "kind": 32, "kindString": "Variable", @@ -4377,7 +4233,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 28 } ], @@ -4392,15 +4248,15 @@ "title": "Variables", "kind": 32, "children": [ - 89, - 90 + 104, + 105 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 14 } ] @@ -4408,7 +4264,7 @@ } }, { - "id": 91, + "id": 106, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4426,7 +4282,7 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 107, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4435,7 +4291,7 @@ }, "children": [ { - "id": 93, + "id": 108, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4446,7 +4302,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 86, + "line": 92, "character": 18 } ], @@ -4470,7 +4326,7 @@ "title": "Variables", "kind": 32, "children": [ - 93 + 108 ] } ] @@ -4486,7 +4342,7 @@ { "type": "reflection", "declaration": { - "id": 94, + "id": 109, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4495,7 +4351,7 @@ }, "children": [ { - "id": 98, + "id": 113, "name": "data", "kind": 32, "kindString": "Variable", @@ -4505,7 +4361,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 97, "character": 12 } ], @@ -4528,7 +4384,7 @@ } }, { - "id": 97, + "id": 112, "name": "error", "kind": 32, "kindString": "Variable", @@ -4538,7 +4394,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 90, + "line": 96, "character": 13 } ], @@ -4557,7 +4413,7 @@ } }, { - "id": 96, + "id": 111, "name": "session", "kind": 32, "kindString": "Variable", @@ -4567,7 +4423,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 89, + "line": 95, "character": 15 } ], @@ -4586,7 +4442,7 @@ } }, { - "id": 95, + "id": 110, "name": "user", "kind": 32, "kindString": "Variable", @@ -4596,7 +4452,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 88, + "line": 94, "character": 12 } ], @@ -4620,17 +4476,17 @@ "title": "Variables", "kind": 32, "children": [ - 98, - 97, - 96, - 95 + 113, + 112, + 111, + 110 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 87, + "line": 93, "character": 16 } ] @@ -4641,7 +4497,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 100, "name": "GoTrueClient.verifyOTP" } } @@ -4649,13 +4505,13 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 13 } ], "inheritedFrom": { "type": "reference", - "id": 85, + "id": 100, "name": "GoTrueClient.verifyOTP" } } @@ -4665,46 +4521,46 @@ "title": "Constructors", "kind": 512, "children": [ - 29 + 54 ] }, { "title": "Properties", "kind": 1024, "children": [ - 42, - 45, - 44, - 43, - 47, - 46, - 49, - 48 + 57, + 60, + 59, + 58, + 62, + 61, + 64, + 63 ] }, { "title": "Methods", "kind": 2048, "children": [ - 125, - 137, - 103, - 101, - 122, + 140, + 152, + 118, 116, + 137, + 131, + 80, + 148, 65, - 133, - 50, - 109, - 99, - 85 + 124, + 114, + 100 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 3, + "line": 4, "character": 31 } ], @@ -4721,7 +4577,7 @@ "title": "Classes", "kind": 128, "children": [ - 28 + 53 ] } ], @@ -4734,7 +4590,7 @@ ] }, { - "id": 173, + "id": 188, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -4744,7 +4600,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 174, + "id": 189, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -4753,7 +4609,7 @@ }, "typeParameter": [ { - "id": 175, + "id": 190, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4764,7 +4620,7 @@ ], "children": [ { - "id": 178, + "id": 193, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4773,7 +4629,7 @@ }, "signatures": [ { - "id": 179, + "id": 194, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -4782,7 +4638,7 @@ }, "parameters": [ { - "id": 180, + "id": 195, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -4795,7 +4651,7 @@ } }, { - "id": 181, + "id": 196, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4806,7 +4662,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4815,7 +4671,7 @@ }, "children": [ { - "id": 183, + "id": 198, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4832,7 +4688,7 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4841,7 +4697,7 @@ }, "indexSignature": [ { - "id": 185, + "id": 200, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4850,7 +4706,7 @@ }, "parameters": [ { - "id": 186, + "id": 201, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4873,7 +4729,7 @@ } }, { - "id": 188, + "id": 203, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -4893,7 +4749,7 @@ } }, { - "id": 187, + "id": 202, "name": "schema", "kind": 32, "kindString": "Variable", @@ -4913,7 +4769,7 @@ } }, { - "id": 189, + "id": 204, "name": "table", "kind": 32, "kindString": "Variable", @@ -4938,10 +4794,10 @@ "title": "Variables", "kind": 32, "children": [ - 183, - 188, - 187, - 189 + 198, + 203, + 202, + 204 ] } ], @@ -4958,7 +4814,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 189, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -4980,7 +4836,7 @@ } }, { - "id": 177, + "id": 192, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -5001,7 +4857,7 @@ } }, { - "id": 176, + "id": 191, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -5018,12 +4874,12 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } }, { - "id": 248, + "id": 263, "name": "body", "kind": 1024, "kindString": "Property", @@ -5069,12 +4925,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 248, + "id": 263, "name": "PostgrestBuilder.body" } }, { - "id": 243, + "id": 258, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5092,7 +4948,7 @@ "type": { "type": "reflection", "declaration": { - "id": 244, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5101,7 +4957,7 @@ }, "indexSignature": [ { - "id": 245, + "id": 260, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5110,7 +4966,7 @@ }, "parameters": [ { - "id": 246, + "id": 261, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5140,12 +4996,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 243, + "id": 258, "name": "PostgrestBuilder.headers" } }, { - "id": 241, + "id": 256, "name": "method", "kind": 1024, "kindString": "Property", @@ -5187,12 +5043,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 241, + "id": 256, "name": "PostgrestBuilder.method" } }, { - "id": 247, + "id": 262, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5223,12 +5079,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 247, + "id": 262, "name": "PostgrestBuilder.schema" } }, { - "id": 249, + "id": 264, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -5263,12 +5119,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 249, + "id": 264, "name": "PostgrestBuilder.shouldThrowOnError" } }, { - "id": 242, + "id": 257, "name": "url", "kind": 1024, "kindString": "Property", @@ -5289,12 +5145,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 242, + "id": 257, "name": "PostgrestBuilder.url" } }, { - "id": 235, + "id": 250, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5303,7 +5159,7 @@ }, "signatures": [ { - "id": 236, + "id": 251, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5315,7 +5171,7 @@ }, "parameters": [ { - "id": 237, + "id": 252, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5327,7 +5183,7 @@ "type": { "type": "reflection", "declaration": { - "id": 238, + "id": 253, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5336,7 +5192,7 @@ }, "children": [ { - "id": 240, + "id": 255, "name": "count", "kind": 32, "kindString": "Variable", @@ -5380,7 +5236,7 @@ } }, { - "id": 239, + "id": 254, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5421,8 +5277,8 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 255, + 254 ] } ], @@ -5449,7 +5305,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 235, + "id": 250, "name": "PostgrestQueryBuilder.delete" } } @@ -5463,12 +5319,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 235, + "id": 250, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 204, + "id": 219, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5477,7 +5333,7 @@ }, "signatures": [ { - "id": 205, + "id": 220, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5489,7 +5345,7 @@ }, "parameters": [ { - "id": 206, + "id": 221, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5529,7 +5385,7 @@ } }, { - "id": 207, + "id": 222, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5547,7 +5403,7 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5556,7 +5412,7 @@ }, "children": [ { - "id": 210, + "id": 225, "name": "count", "kind": 32, "kindString": "Variable", @@ -5594,7 +5450,7 @@ } }, { - "id": 209, + "id": 224, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5629,8 +5485,8 @@ "title": "Variables", "kind": 32, "children": [ - 210, - 209 + 225, + 224 ] } ] @@ -5652,12 +5508,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 211, + "id": 226, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5674,7 +5530,7 @@ }, "parameters": [ { - "id": 212, + "id": 227, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5711,7 +5567,7 @@ } }, { - "id": 213, + "id": 228, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5729,7 +5585,7 @@ { "type": "reflection", "declaration": { - "id": 214, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5738,7 +5594,7 @@ }, "children": [ { - "id": 218, + "id": 233, "name": "count", "kind": 32, "kindString": "Variable", @@ -5776,7 +5632,7 @@ } }, { - "id": 216, + "id": 231, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -5806,7 +5662,7 @@ } }, { - "id": 217, + "id": 232, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5836,7 +5692,7 @@ } }, { - "id": 215, + "id": 230, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5875,10 +5731,10 @@ "title": "Variables", "kind": 32, "children": [ - 218, - 216, - 217, - 215 + 233, + 231, + 232, + 230 ] } ] @@ -5900,7 +5756,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } } @@ -5919,12 +5775,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 190, + "id": 205, "name": "on", "kind": 2048, "kindString": "Method", @@ -5933,7 +5789,7 @@ }, "signatures": [ { - "id": 191, + "id": 206, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -5945,7 +5801,7 @@ }, "parameters": [ { - "id": 192, + "id": 207, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5957,12 +5813,12 @@ }, "type": { "type": "reference", - "id": 26, + "id": 51, "name": "SupabaseEventTypes" } }, { - "id": 193, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5975,7 +5831,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5984,7 +5840,7 @@ }, "signatures": [ { - "id": 195, + "id": 210, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5993,7 +5849,7 @@ }, "parameters": [ { - "id": 196, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -6002,7 +5858,7 @@ }, "type": { "type": "reference", - "id": 17, + "id": 42, "typeArguments": [ { "type": "typeParameter", @@ -6032,7 +5888,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } } @@ -6046,7 +5902,7 @@ ] }, { - "id": 197, + "id": 212, "name": "select", "kind": 2048, "kindString": "Method", @@ -6055,7 +5911,7 @@ }, "signatures": [ { - "id": 198, + "id": 213, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6067,7 +5923,7 @@ }, "parameters": [ { - "id": 199, + "id": 214, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6093,7 +5949,7 @@ } }, { - "id": 200, + "id": 215, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6105,7 +5961,7 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 216, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6114,7 +5970,7 @@ }, "children": [ { - "id": 203, + "id": 218, "name": "count", "kind": 32, "kindString": "Variable", @@ -6158,7 +6014,7 @@ } }, { - "id": 202, + "id": 217, "name": "head", "kind": 32, "kindString": "Variable", @@ -6199,8 +6055,8 @@ "title": "Variables", "kind": 32, "children": [ - 203, - 202 + 218, + 217 ] } ], @@ -6227,7 +6083,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 197, + "id": 212, "name": "PostgrestQueryBuilder.select" } } @@ -6241,12 +6097,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 197, + "id": 212, "name": "PostgrestQueryBuilder.select" } }, { - "id": 252, + "id": 267, "name": "then", "kind": 2048, "kindString": "Method", @@ -6255,7 +6111,7 @@ }, "signatures": [ { - "id": 253, + "id": 268, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6264,7 +6120,7 @@ }, "typeParameter": [ { - "id": 254, + "id": 269, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6273,7 +6129,7 @@ } }, { - "id": 255, + "id": 270, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6284,7 +6140,7 @@ ], "parameters": [ { - "id": 256, + "id": 271, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6298,7 +6154,7 @@ { "type": "reflection", "declaration": { - "id": 257, + "id": 272, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6307,7 +6163,7 @@ }, "signatures": [ { - "id": 258, + "id": 273, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6316,7 +6172,7 @@ }, "parameters": [ { - "id": 259, + "id": 274, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6397,7 +6253,7 @@ } }, { - "id": 260, + "id": 275, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6411,7 +6267,7 @@ { "type": "reflection", "declaration": { - "id": 261, + "id": 276, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6420,7 +6276,7 @@ }, "signatures": [ { - "id": 262, + "id": 277, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6429,7 +6285,7 @@ }, "parameters": [ { - "id": 263, + "id": 278, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6527,7 +6383,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 252, + "id": 267, "name": "PostgrestBuilder.then" } } @@ -6541,12 +6397,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 252, + "id": 267, "name": "PostgrestBuilder.then" } }, { - "id": 250, + "id": 265, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6555,7 +6411,7 @@ }, "signatures": [ { - "id": 251, + "id": 266, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6578,7 +6434,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 250, + "id": 265, "name": "PostgrestBuilder.throwOnError" } } @@ -6592,12 +6448,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 250, + "id": 265, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 228, + "id": 243, "name": "update", "kind": 2048, "kindString": "Method", @@ -6606,7 +6462,7 @@ }, "signatures": [ { - "id": 229, + "id": 244, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6618,7 +6474,7 @@ }, "parameters": [ { - "id": 230, + "id": 245, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6640,7 +6496,7 @@ } }, { - "id": 231, + "id": 246, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6652,7 +6508,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 247, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6661,7 +6517,7 @@ }, "children": [ { - "id": 234, + "id": 249, "name": "count", "kind": 32, "kindString": "Variable", @@ -6705,7 +6561,7 @@ } }, { - "id": 233, + "id": 248, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6746,8 +6602,8 @@ "title": "Variables", "kind": 32, "children": [ - 234, - 233 + 249, + 248 ] } ], @@ -6774,7 +6630,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 228, + "id": 243, "name": "PostgrestQueryBuilder.update" } } @@ -6788,12 +6644,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 228, + "id": 243, "name": "PostgrestQueryBuilder.update" } }, { - "id": 219, + "id": 234, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -6802,7 +6658,7 @@ }, "signatures": [ { - "id": 220, + "id": 235, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -6814,7 +6670,7 @@ }, "parameters": [ { - "id": 221, + "id": 236, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6854,7 +6710,7 @@ } }, { - "id": 222, + "id": 237, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6866,7 +6722,7 @@ "type": { "type": "reflection", "declaration": { - "id": 223, + "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6875,7 +6731,7 @@ }, "children": [ { - "id": 226, + "id": 241, "name": "count", "kind": 32, "kindString": "Variable", @@ -6919,7 +6775,7 @@ } }, { - "id": 227, + "id": 242, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -6955,7 +6811,7 @@ } }, { - "id": 224, + "id": 239, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6987,7 +6843,7 @@ } }, { - "id": 225, + "id": 240, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7028,10 +6884,10 @@ "title": "Variables", "kind": 32, "children": [ - 226, - 227, - 224, - 225 + 241, + 242, + 239, + 240 ] } ], @@ -7058,7 +6914,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 234, "name": "PostgrestQueryBuilder.upsert" } } @@ -7072,7 +6928,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 219, + "id": 234, "name": "PostgrestQueryBuilder.upsert" } } @@ -7082,35 +6938,35 @@ "title": "Constructors", "kind": 512, "children": [ - 178 + 193 ] }, { "title": "Properties", "kind": 1024, "children": [ - 177, - 176, - 248, - 243, - 241, - 247, - 249, - 242 + 192, + 191, + 263, + 258, + 256, + 262, + 264, + 257 ] }, { "title": "Methods", "kind": 2048, "children": [ - 235, - 204, - 190, - 197, - 252, 250, - 228, - 219 + 219, + 205, + 212, + 267, + 265, + 243, + 234 ] } ], @@ -7158,7 +7014,7 @@ "title": "Classes", "kind": 128, "children": [ - 174 + 189 ] } ], @@ -7171,7 +7027,7 @@ ] }, { - "id": 147, + "id": 162, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -7181,7 +7037,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -7190,7 +7046,7 @@ }, "children": [ { - "id": 150, + "id": 165, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7199,7 +7055,7 @@ }, "signatures": [ { - "id": 151, + "id": 166, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -7208,7 +7064,7 @@ }, "parameters": [ { - "id": 152, + "id": 167, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -7221,7 +7077,7 @@ } }, { - "id": 153, + "id": 168, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -7234,7 +7090,7 @@ } }, { - "id": 154, + "id": 169, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -7249,7 +7105,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } } @@ -7263,7 +7119,7 @@ ] }, { - "id": 149, + "id": 164, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -7283,7 +7139,7 @@ } }, { - "id": 155, + "id": 170, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -7293,7 +7149,7 @@ }, "signatures": [ { - "id": 156, + "id": 171, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -7302,7 +7158,7 @@ }, "parameters": [ { - "id": 157, + "id": 172, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7318,7 +7174,7 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 173, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7327,7 +7183,7 @@ }, "children": [ { - "id": 159, + "id": 174, "name": "new", "kind": 32, "kindString": "Variable", @@ -7344,7 +7200,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 175, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7355,7 +7211,7 @@ } }, { - "id": 161, + "id": 176, "name": "old", "kind": 32, "kindString": "Variable", @@ -7372,7 +7228,7 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7388,8 +7244,8 @@ "title": "Variables", "kind": 32, "children": [ - 159, - 161 + 174, + 176 ] } ] @@ -7406,7 +7262,7 @@ ] }, { - "id": 163, + "id": 178, "name": "on", "kind": 2048, "kindString": "Method", @@ -7415,7 +7271,7 @@ }, "signatures": [ { - "id": 164, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7427,7 +7283,7 @@ }, "parameters": [ { - "id": 165, + "id": 180, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -7439,12 +7295,12 @@ }, "type": { "type": "reference", - "id": 26, + "id": 51, "name": "SupabaseEventTypes" } }, { - "id": 166, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7457,7 +7313,7 @@ "type": { "type": "reflection", "declaration": { - "id": 167, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7466,7 +7322,7 @@ }, "signatures": [ { - "id": 168, + "id": 183, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7475,7 +7331,7 @@ }, "parameters": [ { - "id": 169, + "id": 184, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7484,7 +7340,7 @@ }, "type": { "type": "reference", - "id": 17, + "id": 42, "typeArguments": [ { "type": "intrinsic", @@ -7527,7 +7383,7 @@ ] }, { - "id": 170, + "id": 185, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7536,7 +7392,7 @@ }, "signatures": [ { - "id": 171, + "id": 186, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7548,7 +7404,7 @@ }, "parameters": [ { - "id": 172, + "id": 187, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7582,23 +7438,23 @@ "title": "Constructors", "kind": 512, "children": [ - 150 + 165 ] }, { "title": "Properties", "kind": 1024, "children": [ - 149 + 164 ] }, { "title": "Methods", "kind": 2048, "children": [ - 155, - 163, - 170 + 170, + 178, + 185 ] } ], @@ -7616,7 +7472,7 @@ "title": "Classes", "kind": 128, "children": [ - 148 + 163 ] } ], @@ -7629,7 +7485,7 @@ ] }, { - "id": 1, + "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -7639,14 +7495,46 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/constants.ts", "children": [ { - "id": 2, + "id": 4, "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", + "kind": 2097152, + "kindString": "Object literal", "flags": { "isExported": true, "isConst": true }, + "children": [ + { + "id": 5, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`supabase-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 5 + ] + } + ], "sources": [ { "fileName": "src/lib/constants.ts", @@ -7655,25 +7543,17 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 3, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - } - } + "type": "intrinsic", + "name": "object" } } ], "groups": [ { - "title": "Variables", - "kind": 32, + "title": "Object literals", + "kind": 2097152, "children": [ - 2 + 4 ] } ], @@ -7686,7 +7566,7 @@ ] }, { - "id": 337, + "id": 356, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7696,7 +7576,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 338, + "id": 357, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7705,7 +7585,7 @@ }, "signatures": [ { - "id": 339, + "id": 358, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7732,7 +7612,7 @@ "title": "Functions", "kind": 64, "children": [ - 338 + 357 ] } ], @@ -7745,7 +7625,7 @@ ] }, { - "id": 4, + "id": 6, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", @@ -7755,7 +7635,631 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts", "children": [ { - "id": 5, + "id": 7, + "name": "SupabaseAuthClientOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 25, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 15, + "name": "__type.autoRefreshToken" + } + }, + { + "id": 28, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 46, + "character": 21 + } + ], + "type": { + "type": "reference", + "name": "CookieOptions" + }, + "inheritedFrom": { + "type": "reference", + "id": 18, + "name": "__type.cookieOptions" + } + }, + { + "id": 24, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 42, + "character": 26 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 14, + "name": "__type.detectSessionInUrl" + } + }, + { + "id": 20, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 22, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 23, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 10, + "name": "__type.headers" + } + }, + { + "id": 27, + "name": "localStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 45, + "character": 20 + } + ], + "type": { + "type": "reference", + "name": "SupportedStorage" + }, + "inheritedFrom": { + "type": "reference", + "id": 17, + "name": "__type.localStorage" + } + }, + { + "id": 26, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 44, + "character": 22 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 16, + "name": "__type.persistSession" + } + }, + { + "id": 19, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 38, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 9, + "name": "__type.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 25, + 28, + 24, + 20, + 27, + 26, + 19 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 42 + } + ], + "extendedTypes": [ + { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 15, + "name": "autoRefreshToken", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 18, + "name": "cookieOptions", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 46, + "character": 21 + } + ], + "type": { + "type": "reference", + "name": "CookieOptions" + } + }, + { + "id": 14, + "name": "detectSessionInUrl", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 42, + "character": 26 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 10, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 11, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 12, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 13, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 17, + "name": "localStorage", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 45, + "character": 20 + } + ], + "type": { + "type": "reference", + "name": "SupportedStorage" + } + }, + { + "id": 16, + "name": "persistSession", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 44, + "character": 22 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 9, + "name": "url", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 38, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 15, + 18, + 14, + 10, + 17, + 16, + 9 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 50 + } + ] + } + } + ] + }, + { + "id": 29, + "name": "GoTrueClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 4, + "character": 24 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "unknown", + "name": "0" + }, + "objectType": { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "GoTrueClient" + } + } + ], + "name": "ConstructorParameters" + } + } + }, + { + "id": 30, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -7765,14 +8269,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 3, + "line": 8, "character": 33 } ], "type": { "type": "reflection", "declaration": { - "id": 6, + "id": 31, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7781,7 +8285,7 @@ }, "children": [ { - "id": 12, + "id": 37, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -7795,7 +8299,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 20, "character": 18 } ], @@ -7818,7 +8322,7 @@ } }, { - "id": 14, + "id": 39, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -7832,7 +8336,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 23, + "line": 28, "character": 20 } ], @@ -7855,7 +8359,7 @@ } }, { - "id": 8, + "id": 33, "name": "headers", "kind": 32, "kindString": "Variable", @@ -7869,7 +8373,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 11, + "line": 16, "character": 9 } ], @@ -7883,7 +8387,7 @@ { "type": "reflection", "declaration": { - "id": 9, + "id": 34, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7892,7 +8396,7 @@ }, "indexSignature": [ { - "id": 10, + "id": 35, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7901,7 +8405,7 @@ }, "parameters": [ { - "id": 11, + "id": 36, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7926,7 +8430,7 @@ } }, { - "id": 15, + "id": 40, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -7940,17 +8444,24 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 27, + "line": 32, "character": 14 } ], "type": { - "type": "reference", - "name": "Storage" + "type": "indexedAccess", + "indexType": { + "type": "stringLiteral", + "value": "localStorage" + }, + "objectType": { + "type": "reference", + "name": "SupabaseAuthClientOptions" + } } }, { - "id": 13, + "id": 38, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -7964,7 +8475,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 19, + "line": 24, "character": 16 } ], @@ -7987,7 +8498,7 @@ } }, { - "id": 16, + "id": 41, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -8001,7 +8512,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 37, "character": 10 } ], @@ -8011,7 +8522,7 @@ } }, { - "id": 7, + "id": 32, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8025,7 +8536,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 12, "character": 8 } ], @@ -8049,20 +8560,20 @@ "title": "Variables", "kind": 32, "children": [ - 12, - 14, - 8, - 15, - 13, - 16, - 7 + 37, + 39, + 33, + 40, + 38, + 41, + 32 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 3, + "line": 8, "character": 35 } ] @@ -8070,7 +8581,7 @@ } }, { - "id": 26, + "id": 51, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", @@ -8080,7 +8591,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 51, "character": 30 } ], @@ -8107,7 +8618,7 @@ } }, { - "id": 17, + "id": 42, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", @@ -8116,7 +8627,7 @@ }, "typeParameter": [ { - "id": 18, + "id": 43, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8128,14 +8639,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 35, + "line": 40, "character": 35 } ], "type": { "type": "reflection", "declaration": { - "id": 19, + "id": 44, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8144,7 +8655,7 @@ }, "children": [ { - "id": 20, + "id": 45, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", @@ -8154,7 +8665,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 41, "character": 18 } ], @@ -8164,7 +8675,7 @@ } }, { - "id": 21, + "id": 46, "name": "eventType", "kind": 32, "kindString": "Variable", @@ -8174,7 +8685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 37, + "line": 42, "character": 11 } ], @@ -8197,7 +8708,7 @@ } }, { - "id": 24, + "id": 49, "name": "new", "kind": 32, "kindString": "Variable", @@ -8210,7 +8721,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 46, "character": 5 } ], @@ -8220,7 +8731,7 @@ } }, { - "id": 25, + "id": 50, "name": "old", "kind": 32, "kindString": "Variable", @@ -8233,7 +8744,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 43, + "line": 48, "character": 5 } ], @@ -8243,7 +8754,7 @@ } }, { - "id": 22, + "id": 47, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8253,7 +8764,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 43, "character": 8 } ], @@ -8263,7 +8774,7 @@ } }, { - "id": 23, + "id": 48, "name": "table", "kind": 32, "kindString": "Variable", @@ -8273,7 +8784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 39, + "line": 44, "character": 7 } ], @@ -8288,19 +8799,19 @@ "title": "Variables", "kind": 32, "children": [ - 20, - 21, - 24, - 25, - 22, - 23 + 45, + 46, + 49, + 50, + 47, + 48 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 35, + "line": 40, "character": 40 } ] @@ -8309,13 +8820,21 @@ } ], "groups": [ + { + "title": "Interfaces", + "kind": 256, + "children": [ + 7 + ] + }, { "title": "Type aliases", "kind": 4194304, "children": [ - 5, - 26, - 17 + 29, + 30, + 51, + 42 ] } ], @@ -8326,6 +8845,56 @@ "character": 0 } ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -8333,14 +8902,15 @@ "title": "Modules", "kind": 1, "children": [ - 264, - 331, - 27, - 173, - 147, - 1, - 337, - 4 + 279, + 350, + 52, + 188, + 162, + 3, + 356, + 6, + 1 ] } ] @@ -8353,7 +8923,7 @@ "originalName": "", "children": [ { - "id": 207, + "id": 185, "name": "\"GoTrueApi\"", "kind": 1, "kindString": "Module", @@ -8363,7 +8933,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts", "children": [ { - "id": 208, + "id": 186, "name": "GoTrueApi", "kind": 128, "kindString": "Class", @@ -8372,7 +8942,7 @@ }, "children": [ { - "id": 215, + "id": 193, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8381,7 +8951,7 @@ }, "signatures": [ { - "id": 216, + "id": 194, "name": "new GoTrueApi", "kind": 16384, "kindString": "Constructor signature", @@ -8390,7 +8960,7 @@ }, "parameters": [ { - "id": 217, + "id": 195, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8401,7 +8971,7 @@ "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 196, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8410,7 +8980,7 @@ }, "children": [ { - "id": 224, + "id": 202, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -8440,7 +9010,7 @@ } }, { - "id": 220, + "id": 198, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8457,7 +9027,7 @@ "type": { "type": "reflection", "declaration": { - "id": 221, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8466,7 +9036,7 @@ }, "indexSignature": [ { - "id": 222, + "id": 200, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8475,7 +9045,7 @@ }, "parameters": [ { - "id": 223, + "id": 201, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8498,7 +9068,7 @@ } }, { - "id": 219, + "id": 197, "name": "url", "kind": 32, "kindString": "Variable", @@ -8524,9 +9094,9 @@ "title": "Variables", "kind": 32, "children": [ - 224, - 220, - 219 + 202, + 198, + 197 ] } ], @@ -8543,7 +9113,7 @@ ], "type": { "type": "reference", - "id": 208, + "id": 186, "name": "GoTrueApi" } } @@ -8557,7 +9127,7 @@ ] }, { - "id": 214, + "id": 192, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -8579,7 +9149,7 @@ } }, { - "id": 210, + "id": 188, "name": "headers", "kind": 1024, "kindString": "Property", @@ -8597,7 +9167,7 @@ "type": { "type": "reflection", "declaration": { - "id": 211, + "id": 189, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8606,7 +9176,7 @@ }, "indexSignature": [ { - "id": 212, + "id": 190, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8615,7 +9185,7 @@ }, "parameters": [ { - "id": 213, + "id": 191, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8645,7 +9215,7 @@ } }, { - "id": 209, + "id": 187, "name": "url", "kind": 1024, "kindString": "Property", @@ -8666,7 +9236,7 @@ } }, { - "id": 305, + "id": 283, "name": "_createRequestHeaders", "kind": 2048, "kindString": "Method", @@ -8676,7 +9246,7 @@ }, "signatures": [ { - "id": 306, + "id": 284, "name": "_createRequestHeaders", "kind": 4096, "kindString": "Call signature", @@ -8688,7 +9258,7 @@ }, "parameters": [ { - "id": 307, + "id": 285, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -8707,7 +9277,7 @@ "type": { "type": "reflection", "declaration": { - "id": 308, + "id": 286, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8727,7 +9297,7 @@ ] }, { - "id": 336, + "id": 314, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -8736,7 +9306,7 @@ }, "signatures": [ { - "id": 337, + "id": 315, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -8748,7 +9318,7 @@ }, "parameters": [ { - "id": 338, + "id": 316, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -8764,7 +9334,7 @@ } }, { - "id": 339, + "id": 317, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -8786,7 +9356,7 @@ { "type": "reflection", "declaration": { - "id": 340, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8795,7 +9365,7 @@ }, "children": [ { - "id": 342, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -8825,7 +9395,7 @@ } }, { - "id": 343, + "id": 321, "name": "error", "kind": 32, "kindString": "Variable", @@ -8854,7 +9424,7 @@ } }, { - "id": 341, + "id": 319, "name": "user", "kind": 32, "kindString": "Variable", @@ -8889,9 +9459,9 @@ "title": "Variables", "kind": 32, "children": [ - 342, - 343, - 341 + 320, + 321, + 319 ] } ], @@ -8918,7 +9488,7 @@ ] }, { - "id": 361, + "id": 339, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -8927,7 +9497,7 @@ }, "signatures": [ { - "id": 362, + "id": 340, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -8939,7 +9509,7 @@ }, "parameters": [ { - "id": 363, + "id": 341, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -8972,7 +9542,7 @@ } }, { - "id": 364, + "id": 342, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -8988,7 +9558,7 @@ } }, { - "id": 365, + "id": 343, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8998,7 +9568,7 @@ "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9007,7 +9577,7 @@ }, "children": [ { - "id": 368, + "id": 346, "name": "data", "kind": 32, "kindString": "Variable", @@ -9028,7 +9598,7 @@ } }, { - "id": 367, + "id": 345, "name": "password", "kind": 32, "kindString": "Variable", @@ -9058,7 +9628,7 @@ } }, { - "id": 369, + "id": 347, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9093,9 +9663,9 @@ "title": "Variables", "kind": 32, "children": [ - 368, - 367, - 369 + 346, + 345, + 347 ] } ], @@ -9117,7 +9687,7 @@ { "type": "reflection", "declaration": { - "id": 370, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9126,7 +9696,7 @@ }, "children": [ { - "id": 371, + "id": 349, "name": "data", "kind": 32, "kindString": "Variable", @@ -9164,7 +9734,7 @@ } }, { - "id": 372, + "id": 350, "name": "error", "kind": 32, "kindString": "Variable", @@ -9198,8 +9768,8 @@ "title": "Variables", "kind": 32, "children": [ - 371, - 372 + 349, + 350 ] } ], @@ -9226,7 +9796,7 @@ ] }, { - "id": 314, + "id": 292, "name": "getUrlForProvider", "kind": 2048, "kindString": "Method", @@ -9235,7 +9805,7 @@ }, "signatures": [ { - "id": 315, + "id": 293, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -9247,7 +9817,7 @@ }, "parameters": [ { - "id": 316, + "id": 294, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -9264,7 +9834,7 @@ } }, { - "id": 317, + "id": 295, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9274,7 +9844,7 @@ "type": { "type": "reflection", "declaration": { - "id": 318, + "id": 296, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9283,7 +9853,7 @@ }, "children": [ { - "id": 319, + "id": 297, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9313,7 +9883,7 @@ } }, { - "id": 320, + "id": 298, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -9348,8 +9918,8 @@ "title": "Variables", "kind": 32, "children": [ - 319, - 320 + 297, + 298 ] } ], @@ -9379,7 +9949,7 @@ ] }, { - "id": 321, + "id": 299, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -9388,7 +9958,7 @@ }, "signatures": [ { - "id": 322, + "id": 300, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -9400,7 +9970,7 @@ }, "parameters": [ { - "id": 323, + "id": 301, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -9422,7 +9992,7 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9431,7 +10001,7 @@ }, "children": [ { - "id": 326, + "id": 304, "name": "data", "kind": 32, "kindString": "Variable", @@ -9461,7 +10031,7 @@ } }, { - "id": 327, + "id": 305, "name": "error", "kind": 32, "kindString": "Variable", @@ -9490,7 +10060,7 @@ } }, { - "id": 325, + "id": 303, "name": "user", "kind": 32, "kindString": "Variable", @@ -9525,9 +10095,9 @@ "title": "Variables", "kind": 32, "children": [ - 326, - 327, - 325 + 304, + 305, + 303 ] } ], @@ -9554,7 +10124,7 @@ ] }, { - "id": 354, + "id": 332, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -9563,7 +10133,7 @@ }, "signatures": [ { - "id": 355, + "id": 333, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -9575,7 +10145,7 @@ }, "parameters": [ { - "id": 356, + "id": 334, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9594,7 +10164,7 @@ { "type": "reflection", "declaration": { - "id": 357, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9603,7 +10173,7 @@ }, "children": [ { - "id": 359, + "id": 337, "name": "data", "kind": 32, "kindString": "Variable", @@ -9633,7 +10203,7 @@ } }, { - "id": 360, + "id": 338, "name": "error", "kind": 32, "kindString": "Variable", @@ -9662,7 +10232,7 @@ } }, { - "id": 358, + "id": 336, "name": "user", "kind": 32, "kindString": "Variable", @@ -9697,9 +10267,9 @@ "title": "Variables", "kind": 32, "children": [ - 359, - 360, - 358 + 337, + 338, + 336 ] } ], @@ -9726,7 +10296,7 @@ ] }, { - "id": 286, + "id": 264, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -9735,7 +10305,7 @@ }, "signatures": [ { - "id": 287, + "id": 265, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -9747,7 +10317,7 @@ }, "parameters": [ { - "id": 288, + "id": 266, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9763,7 +10333,7 @@ } }, { - "id": 289, + "id": 267, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9773,7 +10343,7 @@ "type": { "type": "reflection", "declaration": { - "id": 290, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9782,7 +10352,7 @@ }, "children": [ { - "id": 291, + "id": 269, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9817,7 +10387,7 @@ "title": "Variables", "kind": 32, "children": [ - 291 + 269 ] } ], @@ -9839,7 +10409,7 @@ { "type": "reflection", "declaration": { - "id": 292, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9848,7 +10418,7 @@ }, "children": [ { - "id": 293, + "id": 271, "name": "data", "kind": 32, "kindString": "Variable", @@ -9878,7 +10448,7 @@ } }, { - "id": 294, + "id": 272, "name": "error", "kind": 32, "kindString": "Variable", @@ -9912,8 +10482,8 @@ "title": "Variables", "kind": 32, "children": [ - 293, - 294 + 271, + 272 ] } ], @@ -9940,7 +10510,7 @@ ] }, { - "id": 344, + "id": 322, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -9949,7 +10519,7 @@ }, "signatures": [ { - "id": 345, + "id": 323, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -9961,7 +10531,7 @@ }, "parameters": [ { - "id": 346, + "id": 324, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -9983,7 +10553,7 @@ { "type": "reflection", "declaration": { - "id": 347, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9992,7 +10562,7 @@ }, "children": [ { - "id": 348, + "id": 326, "name": "data", "kind": 32, "kindString": "Variable", @@ -10022,7 +10592,7 @@ } }, { - "id": 349, + "id": 327, "name": "error", "kind": 32, "kindString": "Variable", @@ -10056,8 +10626,8 @@ "title": "Variables", "kind": 32, "children": [ - 348, - 349 + 326, + 327 ] } ], @@ -10084,7 +10654,7 @@ ] }, { - "id": 295, + "id": 273, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -10093,7 +10663,7 @@ }, "signatures": [ { - "id": 296, + "id": 274, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -10105,7 +10675,7 @@ }, "parameters": [ { - "id": 297, + "id": 275, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10121,7 +10691,7 @@ } }, { - "id": 298, + "id": 276, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10131,7 +10701,7 @@ "type": { "type": "reflection", "declaration": { - "id": 299, + "id": 277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10140,7 +10710,7 @@ }, "children": [ { - "id": 300, + "id": 278, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10175,7 +10745,7 @@ "title": "Variables", "kind": 32, "children": [ - 300 + 278 ] } ], @@ -10197,7 +10767,7 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 279, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10206,7 +10776,7 @@ }, "children": [ { - "id": 302, + "id": 280, "name": "data", "kind": 32, "kindString": "Variable", @@ -10226,7 +10796,7 @@ { "type": "reflection", "declaration": { - "id": 303, + "id": 281, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10250,7 +10820,7 @@ } }, { - "id": 304, + "id": 282, "name": "error", "kind": 32, "kindString": "Variable", @@ -10284,8 +10854,8 @@ "title": "Variables", "kind": 32, "children": [ - 302, - 304 + 280, + 282 ] } ], @@ -10312,7 +10882,7 @@ ] }, { - "id": 259, + "id": 237, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -10321,7 +10891,7 @@ }, "signatures": [ { - "id": 260, + "id": 238, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -10333,7 +10903,7 @@ }, "parameters": [ { - "id": 261, + "id": 239, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10349,7 +10919,7 @@ } }, { - "id": 262, + "id": 240, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10359,7 +10929,7 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10368,7 +10938,7 @@ }, "children": [ { - "id": 264, + "id": 242, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10403,7 +10973,7 @@ "title": "Variables", "kind": 32, "children": [ - 264 + 242 ] } ], @@ -10425,7 +10995,7 @@ { "type": "reflection", "declaration": { - "id": 265, + "id": 243, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10434,7 +11004,7 @@ }, "children": [ { - "id": 266, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -10454,7 +11024,7 @@ { "type": "reflection", "declaration": { - "id": 267, + "id": 245, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10478,7 +11048,7 @@ } }, { - "id": 268, + "id": 246, "name": "error", "kind": 32, "kindString": "Variable", @@ -10512,8 +11082,8 @@ "title": "Variables", "kind": 32, "children": [ - 266, - 268 + 244, + 246 ] } ], @@ -10540,7 +11110,7 @@ ] }, { - "id": 269, + "id": 247, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -10549,7 +11119,7 @@ }, "signatures": [ { - "id": 270, + "id": 248, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -10561,7 +11131,7 @@ }, "parameters": [ { - "id": 271, + "id": 249, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -10583,7 +11153,7 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10592,7 +11162,7 @@ }, "children": [ { - "id": 273, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -10612,7 +11182,7 @@ { "type": "reflection", "declaration": { - "id": 274, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10636,7 +11206,7 @@ } }, { - "id": 275, + "id": 253, "name": "error", "kind": 32, "kindString": "Variable", @@ -10670,8 +11240,8 @@ "title": "Variables", "kind": 32, "children": [ - 273, - 275 + 251, + 253 ] } ], @@ -10698,7 +11268,7 @@ ] }, { - "id": 350, + "id": 328, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -10707,7 +11277,7 @@ }, "signatures": [ { - "id": 351, + "id": 329, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -10719,7 +11289,7 @@ }, "parameters": [ { - "id": 352, + "id": 330, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -10732,7 +11302,7 @@ } }, { - "id": 353, + "id": 331, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -10760,7 +11330,7 @@ ] }, { - "id": 235, + "id": 213, "name": "signInWithEmail", "kind": 2048, "kindString": "Method", @@ -10769,7 +11339,7 @@ }, "signatures": [ { - "id": 236, + "id": 214, "name": "signInWithEmail", "kind": 4096, "kindString": "Call signature", @@ -10781,7 +11351,7 @@ }, "parameters": [ { - "id": 237, + "id": 215, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10797,7 +11367,7 @@ } }, { - "id": 238, + "id": 216, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -10813,7 +11383,7 @@ } }, { - "id": 239, + "id": 217, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10823,7 +11393,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10832,7 +11402,7 @@ }, "children": [ { - "id": 241, + "id": 219, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10867,7 +11437,7 @@ "title": "Variables", "kind": 32, "children": [ - 241 + 219 ] } ], @@ -10889,7 +11459,7 @@ { "type": "reflection", "declaration": { - "id": 242, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10898,7 +11468,7 @@ }, "children": [ { - "id": 243, + "id": 221, "name": "data", "kind": 32, "kindString": "Variable", @@ -10928,7 +11498,7 @@ } }, { - "id": 244, + "id": 222, "name": "error", "kind": 32, "kindString": "Variable", @@ -10962,8 +11532,8 @@ "title": "Variables", "kind": 32, "children": [ - 243, - 244 + 221, + 222 ] } ], @@ -10990,7 +11560,7 @@ ] }, { - "id": 252, + "id": 230, "name": "signInWithPhone", "kind": 2048, "kindString": "Method", @@ -10999,7 +11569,7 @@ }, "signatures": [ { - "id": 253, + "id": 231, "name": "signInWithPhone", "kind": 4096, "kindString": "Call signature", @@ -11011,7 +11581,7 @@ }, "parameters": [ { - "id": 254, + "id": 232, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11027,7 +11597,7 @@ } }, { - "id": 255, + "id": 233, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11049,7 +11619,7 @@ { "type": "reflection", "declaration": { - "id": 256, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11058,7 +11628,7 @@ }, "children": [ { - "id": 257, + "id": 235, "name": "data", "kind": 32, "kindString": "Variable", @@ -11088,7 +11658,7 @@ } }, { - "id": 258, + "id": 236, "name": "error", "kind": 32, "kindString": "Variable", @@ -11122,8 +11692,8 @@ "title": "Variables", "kind": 32, "children": [ - 257, - 258 + 235, + 236 ] } ], @@ -11150,7 +11720,7 @@ ] }, { - "id": 309, + "id": 287, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -11159,7 +11729,7 @@ }, "signatures": [ { - "id": 310, + "id": 288, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -11171,7 +11741,7 @@ }, "parameters": [ { - "id": 311, + "id": 289, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -11193,7 +11763,7 @@ { "type": "reflection", "declaration": { - "id": 312, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11202,7 +11772,7 @@ }, "children": [ { - "id": 313, + "id": 291, "name": "error", "kind": 32, "kindString": "Variable", @@ -11236,7 +11806,7 @@ "title": "Variables", "kind": 32, "children": [ - 313 + 291 ] } ], @@ -11263,7 +11833,7 @@ ] }, { - "id": 225, + "id": 203, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -11272,7 +11842,7 @@ }, "signatures": [ { - "id": 226, + "id": 204, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -11285,7 +11855,7 @@ }, "parameters": [ { - "id": 227, + "id": 205, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -11301,7 +11871,7 @@ } }, { - "id": 228, + "id": 206, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11317,7 +11887,7 @@ } }, { - "id": 229, + "id": 207, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11327,7 +11897,7 @@ "type": { "type": "reflection", "declaration": { - "id": 230, + "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11336,7 +11906,7 @@ }, "children": [ { - "id": 231, + "id": 209, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -11371,7 +11941,7 @@ "title": "Variables", "kind": 32, "children": [ - 231 + 209 ] } ], @@ -11393,7 +11963,7 @@ { "type": "reflection", "declaration": { - "id": 232, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11402,7 +11972,7 @@ }, "children": [ { - "id": 233, + "id": 211, "name": "data", "kind": 32, "kindString": "Variable", @@ -11437,7 +12007,7 @@ } }, { - "id": 234, + "id": 212, "name": "error", "kind": 32, "kindString": "Variable", @@ -11471,8 +12041,8 @@ "title": "Variables", "kind": 32, "children": [ - 233, - 234 + 211, + 212 ] } ], @@ -11499,7 +12069,7 @@ ] }, { - "id": 245, + "id": 223, "name": "signUpWithPhone", "kind": 2048, "kindString": "Method", @@ -11508,7 +12078,7 @@ }, "signatures": [ { - "id": 246, + "id": 224, "name": "signUpWithPhone", "kind": 4096, "kindString": "Call signature", @@ -11520,7 +12090,7 @@ }, "parameters": [ { - "id": 247, + "id": 225, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11536,7 +12106,7 @@ } }, { - "id": 248, + "id": 226, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11558,7 +12128,7 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11567,7 +12137,7 @@ }, "children": [ { - "id": 250, + "id": 228, "name": "data", "kind": 32, "kindString": "Variable", @@ -11602,7 +12172,7 @@ } }, { - "id": 251, + "id": 229, "name": "error", "kind": 32, "kindString": "Variable", @@ -11636,8 +12206,8 @@ "title": "Variables", "kind": 32, "children": [ - 250, - 251 + 228, + 229 ] } ], @@ -11664,7 +12234,7 @@ ] }, { - "id": 328, + "id": 306, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -11673,7 +12243,7 @@ }, "signatures": [ { - "id": 329, + "id": 307, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -11685,7 +12255,7 @@ }, "parameters": [ { - "id": 330, + "id": 308, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -11701,7 +12271,7 @@ } }, { - "id": 331, + "id": 309, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -11724,7 +12294,7 @@ { "type": "reflection", "declaration": { - "id": 332, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11733,7 +12303,7 @@ }, "children": [ { - "id": 334, + "id": 312, "name": "data", "kind": 32, "kindString": "Variable", @@ -11763,7 +12333,7 @@ } }, { - "id": 335, + "id": 313, "name": "error", "kind": 32, "kindString": "Variable", @@ -11792,7 +12362,7 @@ } }, { - "id": 333, + "id": 311, "name": "user", "kind": 32, "kindString": "Variable", @@ -11827,9 +12397,9 @@ "title": "Variables", "kind": 32, "children": [ - 334, - 335, - 333 + 312, + 313, + 311 ] } ], @@ -11856,7 +12426,7 @@ ] }, { - "id": 276, + "id": 254, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -11865,7 +12435,7 @@ }, "signatures": [ { - "id": 277, + "id": 255, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -11877,7 +12447,7 @@ }, "parameters": [ { - "id": 278, + "id": 256, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11893,7 +12463,7 @@ } }, { - "id": 279, + "id": 257, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -11909,7 +12479,7 @@ } }, { - "id": 280, + "id": 258, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11919,7 +12489,7 @@ "type": { "type": "reflection", "declaration": { - "id": 281, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11928,7 +12498,7 @@ }, "children": [ { - "id": 282, + "id": 260, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -11963,7 +12533,7 @@ "title": "Variables", "kind": 32, "children": [ - 282 + 260 ] } ], @@ -11985,7 +12555,7 @@ { "type": "reflection", "declaration": { - "id": 283, + "id": 261, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11994,7 +12564,7 @@ }, "children": [ { - "id": 284, + "id": 262, "name": "data", "kind": 32, "kindString": "Variable", @@ -12029,7 +12599,7 @@ } }, { - "id": 285, + "id": 263, "name": "error", "kind": 32, "kindString": "Variable", @@ -12063,8 +12633,8 @@ "title": "Variables", "kind": 32, "children": [ - 284, - 285 + 262, + 263 ] } ], @@ -12096,41 +12666,41 @@ "title": "Constructors", "kind": 512, "children": [ - 215 + 193 ] }, { "title": "Properties", "kind": 1024, "children": [ - 214, - 210, - 209 + 192, + 188, + 187 ] }, { "title": "Methods", "kind": 2048, "children": [ - 305, - 336, - 361, + 283, 314, - 321, - 354, - 286, - 344, - 295, - 259, - 269, - 350, - 235, - 252, - 309, - 225, - 245, + 339, + 292, + 299, + 332, + 264, + 322, + 273, + 237, + 247, 328, - 276 + 213, + 230, + 287, + 203, + 223, + 306, + 254 ] } ], @@ -12148,7 +12718,7 @@ "title": "Classes", "kind": 128, "children": [ - 208 + 186 ] } ], @@ -12161,7 +12731,7 @@ ] }, { - "id": 376, + "id": 354, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -12171,7 +12741,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 377, + "id": 355, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -12180,7 +12750,7 @@ }, "children": [ { - "id": 386, + "id": 364, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12192,7 +12762,7 @@ }, "signatures": [ { - "id": 387, + "id": 365, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -12204,7 +12774,7 @@ }, "parameters": [ { - "id": 388, + "id": 366, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12214,7 +12784,7 @@ "type": { "type": "reflection", "declaration": { - "id": 389, + "id": 367, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12223,7 +12793,7 @@ }, "children": [ { - "id": 396, + "id": 374, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -12237,7 +12807,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 61, + "line": 72, "character": 20 } ], @@ -12260,7 +12830,7 @@ } }, { - "id": 399, + "id": 377, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -12271,7 +12841,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 64, + "line": 75, "character": 17 } ], @@ -12282,7 +12852,7 @@ } }, { - "id": 395, + "id": 373, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -12296,7 +12866,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 60, + "line": 71, "character": 22 } ], @@ -12319,7 +12889,7 @@ } }, { - "id": 391, + "id": 369, "name": "headers", "kind": 32, "kindString": "Variable", @@ -12333,7 +12903,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 59, + "line": 70, "character": 11 } ], @@ -12347,7 +12917,7 @@ { "type": "reflection", "declaration": { - "id": 392, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12356,7 +12926,7 @@ }, "indexSignature": [ { - "id": 393, + "id": 371, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -12365,7 +12935,7 @@ }, "parameters": [ { - "id": 394, + "id": 372, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -12390,7 +12960,7 @@ } }, { - "id": 398, + "id": 376, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -12404,17 +12974,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 63, + "line": 74, "character": 16 } ], "type": { "type": "reference", - "name": "Storage" + "id": 569, + "name": "SupportedStorage" } }, { - "id": 397, + "id": 375, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -12428,7 +12999,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 62, + "line": 73, "character": 18 } ], @@ -12451,7 +13022,7 @@ } }, { - "id": 390, + "id": 368, "name": "url", "kind": 32, "kindString": "Variable", @@ -12465,7 +13036,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 58, + "line": 69, "character": 7 } ], @@ -12489,20 +13060,20 @@ "title": "Variables", "kind": 32, "children": [ - 396, - 399, - 395, - 391, - 398, - 397, - 390 + 374, + 377, + 373, + 369, + 376, + 375, + 368 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 57, + "line": 68, "character": 22 } ] @@ -12512,7 +13083,7 @@ ], "type": { "type": "reference", - "id": 377, + "id": 355, "name": "GoTrueClient" } } @@ -12520,13 +13091,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 46, + "line": 57, "character": 61 } ] }, { - "id": 378, + "id": 356, "name": "api", "kind": 1024, "kindString": "Property", @@ -12539,18 +13110,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 32, + "line": 43, "character": 5 } ], "type": { "type": "reference", - "id": 208, + "id": 186, "name": "GoTrueApi" } }, { - "id": 381, + "id": 359, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -12561,7 +13132,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 42, + "line": 53, "character": 28 } ], @@ -12571,7 +13142,7 @@ } }, { - "id": 380, + "id": 358, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -12585,7 +13156,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 40, + "line": 51, "character": 26 } ], @@ -12605,7 +13176,7 @@ } }, { - "id": 379, + "id": 357, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -12619,7 +13190,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 36, + "line": 47, "character": 23 } ], @@ -12639,7 +13210,7 @@ } }, { - "id": 383, + "id": 361, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -12650,17 +13221,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 44, + "line": 55, "character": 24 } ], "type": { "type": "reference", - "name": "Storage" + "id": 569, + "name": "SupportedStorage" } }, { - "id": 382, + "id": 360, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -12671,7 +13243,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 43, + "line": 54, "character": 26 } ], @@ -12681,7 +13253,7 @@ } }, { - "id": 385, + "id": 363, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -12693,7 +13265,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 46, + "line": 57, "character": 29 } ], @@ -12712,7 +13284,7 @@ } }, { - "id": 384, + "id": 362, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -12723,7 +13295,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 45, + "line": 56, "character": 31 } ], @@ -12745,7 +13317,7 @@ "defaultValue": "new Map()" }, { - "id": 551, + "id": 529, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -12755,7 +13327,7 @@ }, "signatures": [ { - "id": 552, + "id": 530, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -12764,7 +13336,7 @@ }, "parameters": [ { - "id": 553, + "id": 531, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -12796,7 +13368,7 @@ { "type": "reflection", "declaration": { - "id": 554, + "id": 532, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12805,7 +13377,7 @@ }, "children": [ { - "id": 555, + "id": 533, "name": "data", "kind": 32, "kindString": "Variable", @@ -12815,7 +13387,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 610, + "line": 621, "character": 19 } ], @@ -12826,7 +13398,7 @@ } }, { - "id": 556, + "id": 534, "name": "error", "kind": 32, "kindString": "Variable", @@ -12836,7 +13408,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 610, + "line": 621, "character": 26 } ], @@ -12852,8 +13424,8 @@ "title": "Variables", "kind": 32, "children": [ - 555, - 556 + 533, + 534 ] } ] @@ -12862,7 +13434,7 @@ { "type": "reflection", "declaration": { - "id": 557, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12871,7 +13443,7 @@ }, "children": [ { - "id": 558, + "id": 536, "name": "data", "kind": 32, "kindString": "Variable", @@ -12881,7 +13453,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 612, + "line": 623, "character": 19 } ], @@ -12892,7 +13464,7 @@ "defaultValue": "null" }, { - "id": 559, + "id": 537, "name": "error", "kind": 32, "kindString": "Variable", @@ -12902,7 +13474,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 612, + "line": 623, "character": 32 } ], @@ -12917,8 +13489,8 @@ "title": "Variables", "kind": 32, "children": [ - 558, - 559 + 536, + 537 ] } ] @@ -12934,13 +13506,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 598, + "line": 609, "character": 33 } ] }, { - "id": 497, + "id": 475, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -12950,7 +13522,7 @@ }, "signatures": [ { - "id": 498, + "id": 476, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -12959,7 +13531,7 @@ }, "parameters": [ { - "id": 499, + "id": 477, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -12972,7 +13544,7 @@ } }, { - "id": 500, + "id": 478, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -12985,7 +13557,7 @@ } }, { - "id": 501, + "id": 479, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12995,7 +13567,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 480, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13004,7 +13576,7 @@ }, "children": [ { - "id": 503, + "id": 481, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -13015,7 +13587,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 473, + "line": 484, "character": 16 } ], @@ -13039,14 +13611,14 @@ "title": "Variables", "kind": 32, "children": [ - 503 + 481 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 472, + "line": 483, "character": 12 } ] @@ -13064,7 +13636,7 @@ { "type": "reflection", "declaration": { - "id": 504, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13073,7 +13645,7 @@ }, "children": [ { - "id": 505, + "id": 483, "name": "data", "kind": 32, "kindString": "Variable", @@ -13083,7 +13655,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 19 } ], @@ -13094,7 +13666,7 @@ } }, { - "id": 508, + "id": 486, "name": "error", "kind": 32, "kindString": "Variable", @@ -13104,7 +13676,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 58 } ], @@ -13115,7 +13687,7 @@ "defaultValue": "null" }, { - "id": 507, + "id": 485, "name": "session", "kind": 32, "kindString": "Variable", @@ -13125,7 +13697,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 45 } ], @@ -13137,7 +13709,7 @@ "defaultValue": "data" }, { - "id": 506, + "id": 484, "name": "user", "kind": 32, "kindString": "Variable", @@ -13147,7 +13719,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 25 } ], @@ -13173,10 +13745,10 @@ "title": "Variables", "kind": 32, "children": [ - 505, - 508, - 507, - 506 + 483, + 486, + 485, + 484 ] } ] @@ -13185,7 +13757,7 @@ { "type": "reflection", "declaration": { - "id": 509, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13194,7 +13766,7 @@ }, "children": [ { - "id": 510, + "id": 488, "name": "data", "kind": 32, "kindString": "Variable", @@ -13204,7 +13776,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 19 } ], @@ -13215,7 +13787,7 @@ "defaultValue": "null" }, { - "id": 513, + "id": 491, "name": "error", "kind": 32, "kindString": "Variable", @@ -13225,7 +13797,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 59 } ], @@ -13235,7 +13807,7 @@ } }, { - "id": 512, + "id": 490, "name": "session", "kind": 32, "kindString": "Variable", @@ -13245,7 +13817,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 46 } ], @@ -13256,7 +13828,7 @@ "defaultValue": "null" }, { - "id": 511, + "id": 489, "name": "user", "kind": 32, "kindString": "Variable", @@ -13266,7 +13838,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 31 } ], @@ -13282,10 +13854,10 @@ "title": "Variables", "kind": 32, "children": [ - 510, - 513, - 512, - 511 + 488, + 491, + 490, + 489 ] } ] @@ -13301,13 +13873,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 469, + "line": 480, "character": 34 } ] }, { - "id": 514, + "id": 492, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -13317,7 +13889,7 @@ }, "signatures": [ { - "id": 515, + "id": 493, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", @@ -13326,7 +13898,7 @@ }, "parameters": [ { - "id": 516, + "id": 494, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -13339,7 +13911,7 @@ } }, { - "id": 517, + "id": 495, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -13361,7 +13933,7 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13370,7 +13942,7 @@ }, "children": [ { - "id": 519, + "id": 497, "name": "data", "kind": 32, "kindString": "Variable", @@ -13380,7 +13952,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 19 } ], @@ -13391,7 +13963,7 @@ } }, { - "id": 522, + "id": 500, "name": "error", "kind": 32, "kindString": "Variable", @@ -13401,7 +13973,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 58 } ], @@ -13412,7 +13984,7 @@ "defaultValue": "null" }, { - "id": 521, + "id": 499, "name": "session", "kind": 32, "kindString": "Variable", @@ -13422,7 +13994,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 45 } ], @@ -13434,7 +14006,7 @@ "defaultValue": "data" }, { - "id": 520, + "id": 498, "name": "user", "kind": 32, "kindString": "Variable", @@ -13444,7 +14016,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 25 } ], @@ -13470,10 +14042,10 @@ "title": "Variables", "kind": 32, "children": [ - 519, - 522, - 521, - 520 + 497, + 500, + 499, + 498 ] } ] @@ -13482,7 +14054,7 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13491,7 +14063,7 @@ }, "children": [ { - "id": 524, + "id": 502, "name": "data", "kind": 32, "kindString": "Variable", @@ -13501,7 +14073,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 19 } ], @@ -13512,7 +14084,7 @@ "defaultValue": "null" }, { - "id": 527, + "id": 505, "name": "error", "kind": 32, "kindString": "Variable", @@ -13522,7 +14094,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 59 } ], @@ -13532,7 +14104,7 @@ } }, { - "id": 526, + "id": 504, "name": "session", "kind": 32, "kindString": "Variable", @@ -13542,7 +14114,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 46 } ], @@ -13553,7 +14125,7 @@ "defaultValue": "null" }, { - "id": 525, + "id": 503, "name": "user", "kind": 32, "kindString": "Variable", @@ -13563,7 +14135,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 31 } ], @@ -13579,10 +14151,10 @@ "title": "Variables", "kind": 32, "children": [ - 524, - 527, - 526, - 525 + 502, + 505, + 504, + 503 ] } ] @@ -13598,13 +14170,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 493, + "line": 504, "character": 34 } ] }, { - "id": 528, + "id": 506, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -13614,7 +14186,7 @@ }, "signatures": [ { - "id": 529, + "id": 507, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -13623,7 +14195,7 @@ }, "parameters": [ { - "id": 530, + "id": 508, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -13637,7 +14209,7 @@ } }, { - "id": 531, + "id": 509, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13647,7 +14219,7 @@ "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 510, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13656,7 +14228,7 @@ }, "children": [ { - "id": 533, + "id": 511, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -13667,7 +14239,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 512, + "line": 523, "character": 16 } ], @@ -13686,7 +14258,7 @@ } }, { - "id": 534, + "id": 512, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -13697,7 +14269,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 513, + "line": 524, "character": 12 } ], @@ -13721,15 +14293,15 @@ "title": "Variables", "kind": 32, "children": [ - 533, - 534 + 511, + 512 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 511, + "line": 522, "character": 12 } ] @@ -13744,7 +14316,7 @@ { "type": "reflection", "declaration": { - "id": 535, + "id": 513, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13753,7 +14325,7 @@ }, "children": [ { - "id": 538, + "id": 516, "name": "data", "kind": 32, "kindString": "Variable", @@ -13763,7 +14335,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 34 } ], @@ -13774,7 +14346,7 @@ "defaultValue": "null" }, { - "id": 541, + "id": 519, "name": "error", "kind": 32, "kindString": "Variable", @@ -13784,7 +14356,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 74 } ], @@ -13795,7 +14367,7 @@ "defaultValue": "null" }, { - "id": 536, + "id": 514, "name": "provider", "kind": 32, "kindString": "Variable", @@ -13805,7 +14377,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 23 } ], @@ -13816,7 +14388,7 @@ } }, { - "id": 539, + "id": 517, "name": "session", "kind": 32, "kindString": "Variable", @@ -13826,7 +14398,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 49 } ], @@ -13837,7 +14409,7 @@ "defaultValue": "null" }, { - "id": 537, + "id": 515, "name": "url", "kind": 32, "kindString": "Variable", @@ -13847,7 +14419,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 28 } ], @@ -13857,7 +14429,7 @@ } }, { - "id": 540, + "id": 518, "name": "user", "kind": 32, "kindString": "Variable", @@ -13867,7 +14439,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 61 } ], @@ -13883,12 +14455,12 @@ "title": "Variables", "kind": 32, "children": [ - 538, - 541, - 536, - 539, - 537, - 540 + 516, + 519, + 514, + 517, + 515, + 518 ] } ] @@ -13897,7 +14469,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 520, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13906,7 +14478,7 @@ }, "children": [ { - "id": 543, + "id": 521, "name": "data", "kind": 32, "kindString": "Variable", @@ -13916,7 +14488,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 19 } ], @@ -13927,7 +14499,7 @@ "defaultValue": "null" }, { - "id": 546, + "id": 524, "name": "error", "kind": 32, "kindString": "Variable", @@ -13937,7 +14509,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 59 } ], @@ -13947,7 +14519,7 @@ } }, { - "id": 545, + "id": 523, "name": "session", "kind": 32, "kindString": "Variable", @@ -13957,7 +14529,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 46 } ], @@ -13968,7 +14540,7 @@ "defaultValue": "null" }, { - "id": 544, + "id": 522, "name": "user", "kind": 32, "kindString": "Variable", @@ -13978,7 +14550,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 31 } ], @@ -13994,10 +14566,10 @@ "title": "Variables", "kind": 32, "children": [ - 543, - 546, - 545, - 544 + 521, + 524, + 523, + 522 ] } ] @@ -14010,13 +14582,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 509, + "line": 520, "character": 31 } ] }, { - "id": 560, + "id": 538, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -14026,7 +14598,7 @@ }, "signatures": [ { - "id": 561, + "id": 539, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -14035,7 +14607,7 @@ }, "parameters": [ { - "id": 562, + "id": 540, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -14058,13 +14630,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 616, + "line": 627, "character": 31 } ] }, { - "id": 566, + "id": 544, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -14074,7 +14646,7 @@ }, "signatures": [ { - "id": 567, + "id": 545, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -14083,7 +14655,7 @@ }, "parameters": [ { - "id": 568, + "id": 546, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -14106,13 +14678,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 643, + "line": 654, "character": 25 } ] }, { - "id": 549, + "id": 527, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -14122,7 +14694,7 @@ }, "signatures": [ { - "id": 550, + "id": 528, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -14156,13 +14728,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 562, + "line": 573, "character": 34 } ] }, { - "id": 547, + "id": 525, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -14172,7 +14744,7 @@ }, "signatures": [ { - "id": 548, + "id": 526, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -14200,13 +14772,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 538, + "line": 549, "character": 25 } ] }, { - "id": 569, + "id": 547, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -14216,7 +14788,7 @@ }, "signatures": [ { - "id": 570, + "id": 548, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -14238,13 +14810,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 648, + "line": 659, "character": 30 } ] }, { - "id": 563, + "id": 541, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -14254,7 +14826,7 @@ }, "signatures": [ { - "id": 564, + "id": 542, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -14266,7 +14838,7 @@ }, "parameters": [ { - "id": 565, + "id": 543, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -14289,13 +14861,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 624, + "line": 635, "character": 22 } ] }, { - "id": 571, + "id": 549, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -14305,7 +14877,7 @@ }, "signatures": [ { - "id": 572, + "id": 550, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -14317,7 +14889,7 @@ }, "parameters": [ { - "id": 573, + "id": 551, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -14342,13 +14914,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 659, + "line": 670, "character": 32 } ] }, { - "id": 475, + "id": 453, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -14357,7 +14929,7 @@ }, "signatures": [ { - "id": 476, + "id": 454, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -14369,7 +14941,7 @@ }, "parameters": [ { - "id": 477, + "id": 455, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14387,7 +14959,7 @@ { "type": "reflection", "declaration": { - "id": 478, + "id": 456, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14396,7 +14968,7 @@ }, "children": [ { - "id": 479, + "id": 457, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -14410,7 +14982,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 379, + "line": 390, "character": 16 } ], @@ -14438,7 +15010,7 @@ "title": "Variables", "kind": 32, "children": [ - 479 + 457 ] } ] @@ -14454,7 +15026,7 @@ { "type": "reflection", "declaration": { - "id": 480, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14463,7 +15035,7 @@ }, "children": [ { - "id": 481, + "id": 459, "name": "data", "kind": 32, "kindString": "Variable", @@ -14473,7 +15045,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 20 } ], @@ -14493,7 +15065,7 @@ } }, { - "id": 482, + "id": 460, "name": "error", "kind": 32, "kindString": "Variable", @@ -14503,7 +15075,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 43 } ], @@ -14527,15 +15099,15 @@ "title": "Variables", "kind": 32, "children": [ - 481, - 482 + 459, + 460 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 14 } ] @@ -14549,13 +15121,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 378, + "line": 389, "character": 25 } ] }, { - "id": 487, + "id": 465, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -14564,7 +15136,7 @@ }, "signatures": [ { - "id": 488, + "id": 466, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -14577,7 +15149,7 @@ }, "parameters": [ { - "id": 489, + "id": 467, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -14587,7 +15159,7 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 468, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14596,7 +15168,7 @@ }, "signatures": [ { - "id": 491, + "id": 469, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -14605,7 +15177,7 @@ }, "parameters": [ { - "id": 492, + "id": 470, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -14619,7 +15191,7 @@ } }, { - "id": 493, + "id": 471, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -14651,7 +15223,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 461, "character": 13 } ] @@ -14662,7 +15234,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14671,7 +15243,7 @@ }, "children": [ { - "id": 495, + "id": 473, "name": "data", "kind": 32, "kindString": "Variable", @@ -14681,7 +15253,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 11 } ], @@ -14701,7 +15273,7 @@ } }, { - "id": 496, + "id": 474, "name": "error", "kind": 32, "kindString": "Variable", @@ -14711,7 +15283,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 39 } ], @@ -14735,15 +15307,15 @@ "title": "Variables", "kind": 32, "children": [ - 495, - 496 + 473, + 474 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 4 } ] @@ -14754,13 +15326,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 449, + "line": 460, "character": 19 } ] }, { - "id": 453, + "id": 431, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -14769,7 +15341,7 @@ }, "signatures": [ { - "id": 454, + "id": 432, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -14785,7 +15357,7 @@ { "type": "reflection", "declaration": { - "id": 455, + "id": 433, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14794,7 +15366,7 @@ }, "children": [ { - "id": 456, + "id": 434, "name": "data", "kind": 32, "kindString": "Variable", @@ -14804,7 +15376,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 286, + "line": 297, "character": 8 } ], @@ -14824,7 +15396,7 @@ } }, { - "id": 458, + "id": 436, "name": "error", "kind": 32, "kindString": "Variable", @@ -14834,7 +15406,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 288, + "line": 299, "character": 9 } ], @@ -14853,7 +15425,7 @@ } }, { - "id": 457, + "id": 435, "name": "user", "kind": 32, "kindString": "Variable", @@ -14863,7 +15435,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 287, + "line": 298, "character": 8 } ], @@ -14888,16 +15460,16 @@ "title": "Variables", "kind": 32, "children": [ - 456, - 458, - 457 + 434, + 436, + 435 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 285, + "line": 296, "character": 34 } ] @@ -14911,13 +15483,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 285, + "line": 296, "character": 22 } ] }, { - "id": 451, + "id": 429, "name": "session", "kind": 2048, "kindString": "Method", @@ -14926,7 +15498,7 @@ }, "signatures": [ { - "id": 452, + "id": 430, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -14955,13 +15527,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 278, + "line": 289, "character": 9 } ] }, { - "id": 472, + "id": 450, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -14970,7 +15542,7 @@ }, "signatures": [ { - "id": 473, + "id": 451, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -14982,7 +15554,7 @@ }, "parameters": [ { - "id": 474, + "id": 452, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -15008,13 +15580,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 363, + "line": 374, "character": 9 } ] }, { - "id": 466, + "id": 444, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -15023,7 +15595,7 @@ }, "signatures": [ { - "id": 467, + "id": 445, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -15035,7 +15607,7 @@ }, "parameters": [ { - "id": 468, + "id": 446, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -15057,7 +15629,7 @@ { "type": "reflection", "declaration": { - "id": 469, + "id": 447, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15066,7 +15638,7 @@ }, "children": [ { - "id": 471, + "id": 449, "name": "error", "kind": 32, "kindString": "Variable", @@ -15076,7 +15648,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 45 } ], @@ -15095,7 +15667,7 @@ } }, { - "id": 470, + "id": 448, "name": "session", "kind": 32, "kindString": "Variable", @@ -15105,7 +15677,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 22 } ], @@ -15130,15 +15702,15 @@ "title": "Variables", "kind": 32, "children": [ - 471, - 470 + 449, + 448 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 13 } ] @@ -15152,13 +15724,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 333, + "line": 344, "character": 18 } ] }, { - "id": 415, + "id": 393, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -15167,7 +15739,7 @@ }, "signatures": [ { - "id": 416, + "id": 394, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -15179,7 +15751,7 @@ }, "parameters": [ { - "id": 417, + "id": 395, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -15190,7 +15762,7 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15199,7 +15771,7 @@ }, "children": [ { - "id": 419, + "id": 397, "name": "email", "kind": 32, "kindString": "Variable", @@ -15212,7 +15784,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 11 } ], @@ -15231,7 +15803,7 @@ } }, { - "id": 421, + "id": 399, "name": "password", "kind": 32, "kindString": "Variable", @@ -15244,7 +15816,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 28 } ], @@ -15263,7 +15835,7 @@ } }, { - "id": 420, + "id": 398, "name": "phone", "kind": 32, "kindString": "Variable", @@ -15273,7 +15845,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 18 } ], @@ -15292,7 +15864,7 @@ } }, { - "id": 423, + "id": 401, "name": "provider", "kind": 32, "kindString": "Variable", @@ -15305,7 +15877,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 52 } ], @@ -15360,7 +15932,7 @@ } }, { - "id": 422, + "id": 400, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -15373,7 +15945,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 42 } ], @@ -15397,18 +15969,18 @@ "title": "Variables", "kind": 32, "children": [ - 419, - 421, - 420, - 423, - 422 + 397, + 399, + 398, + 401, + 400 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 157, + "line": 168, "character": 15 } ] @@ -15416,7 +15988,7 @@ } }, { - "id": 424, + "id": 402, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15426,7 +15998,7 @@ "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 403, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15435,7 +16007,7 @@ }, "children": [ { - "id": 426, + "id": 404, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -15446,7 +16018,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 160, + "line": 171, "character": 16 } ], @@ -15465,7 +16037,7 @@ } }, { - "id": 427, + "id": 405, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -15476,7 +16048,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 161, + "line": 172, "character": 12 } ], @@ -15495,499 +16067,499 @@ } } ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 426, - 427 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 159, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 428, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 434, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 169, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 50, - "name": "Session" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 433, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 168, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 431, - "name": "provider", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 166, - "character": 12 - } - ], - "type": { - "type": "reference", - "id": 112, - "name": "Provider" - } - }, - { - "id": 429, - "name": "session", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 164, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 50, - "name": "Session" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 432, - "name": "url", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 167, - "character": 7 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 430, - "name": "user", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 165, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 58, - "name": "User" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 434, - 433, - 431, - 429, - 432, - 430 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 163, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 157, - "character": 14 - } - ] - }, - { - "id": 483, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 484, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", - "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 486, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 486 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 27 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 15 - } - ] - }, - { - "id": 400, - "name": "signUp", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 401, - "name": "signUp", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a new user." - }, - "parameters": [ - { - "id": 402, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__0", - "type": { - "type": "reflection", - "declaration": { - "id": 403, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 404, - "name": "email", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's email address." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 405, - "name": "password", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's password." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 406, - "name": "phone", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's phone number." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 28 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 404, - 405, - 406 + 405 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 170, + "character": 12 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 406, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 412, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 180, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 411, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 179, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 409, + "name": "provider", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 177, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 112, + "name": "Provider" + } + }, + { + "id": 407, + "name": "session", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 175, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 410, + "name": "url", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 178, + "character": 7 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 408, + "name": "user", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 58, + "name": "User" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 412, + 411, + 409, + 407, + 410, + 408 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 174, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 168, + "character": 14 + } + ] + }, + { + "id": 461, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 462, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", + "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 463, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 464, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 34 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 464 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 27 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 15 + } + ] + }, + { + "id": 378, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 379, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Creates a new user." + }, + "parameters": [ + { + "id": 380, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__0", + "type": { + "type": "reflection", + "declaration": { + "id": 381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 382, + "name": "email", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's email address." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 383, + "name": "password", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's password." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 384, + "name": "phone", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's phone number." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 28 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 382, + 383, + 384 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 109, "character": 15 } ] @@ -15995,7 +16567,7 @@ } }, { - "id": 407, + "id": 385, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16005,7 +16577,7 @@ "type": { "type": "reflection", "declaration": { - "id": 408, + "id": 386, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16014,7 +16586,7 @@ }, "children": [ { - "id": 409, + "id": 387, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -16025,7 +16597,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 101, + "line": 112, "character": 16 } ], @@ -16049,14 +16621,14 @@ "title": "Variables", "kind": 32, "children": [ - 409 + 387 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 100, + "line": 111, "character": 12 } ] @@ -16071,7 +16643,7 @@ { "type": "reflection", "declaration": { - "id": 410, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16080,7 +16652,7 @@ }, "children": [ { - "id": 414, + "id": 392, "name": "data", "kind": 32, "kindString": "Variable", @@ -16090,7 +16662,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 107, + "line": 118, "character": 8 } ], @@ -16115,7 +16687,7 @@ } }, { - "id": 413, + "id": 391, "name": "error", "kind": 32, "kindString": "Variable", @@ -16125,7 +16697,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 106, + "line": 117, "character": 9 } ], @@ -16144,7 +16716,7 @@ } }, { - "id": 412, + "id": 390, "name": "session", "kind": 32, "kindString": "Variable", @@ -16154,7 +16726,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 105, + "line": 116, "character": 11 } ], @@ -16174,7 +16746,7 @@ } }, { - "id": 411, + "id": 389, "name": "user", "kind": 32, "kindString": "Variable", @@ -16184,7 +16756,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 104, + "line": 115, "character": 8 } ], @@ -16209,17 +16781,17 @@ "title": "Variables", "kind": 32, "children": [ - 414, - 413, - 412, - 411 + 392, + 391, + 390, + 389 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 103, + "line": 114, "character": 13 } ] @@ -16233,13 +16805,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 109, "character": 14 } ] }, { - "id": 459, + "id": 437, "name": "update", "kind": 2048, "kindString": "Method", @@ -16248,7 +16820,7 @@ }, "signatures": [ { - "id": 460, + "id": 438, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -16260,7 +16832,7 @@ }, "parameters": [ { - "id": 461, + "id": 439, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -16280,7 +16852,7 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16289,7 +16861,7 @@ }, "children": [ { - "id": 463, + "id": 441, "name": "data", "kind": 32, "kindString": "Variable", @@ -16299,7 +16871,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 19 } ], @@ -16319,7 +16891,7 @@ } }, { - "id": 465, + "id": 443, "name": "error", "kind": 32, "kindString": "Variable", @@ -16329,7 +16901,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 58 } ], @@ -16348,7 +16920,7 @@ } }, { - "id": 464, + "id": 442, "name": "user", "kind": 32, "kindString": "Variable", @@ -16358,7 +16930,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 38 } ], @@ -16383,16 +16955,16 @@ "title": "Variables", "kind": 32, "children": [ - 463, - 465, - 464 + 441, + 443, + 442 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 13 } ] @@ -16406,13 +16978,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 306, + "line": 317, "character": 14 } ] }, { - "id": 449, + "id": 427, "name": "user", "kind": 2048, "kindString": "Method", @@ -16421,7 +16993,7 @@ }, "signatures": [ { - "id": 450, + "id": 428, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -16451,13 +17023,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 271, + "line": 282, "character": 6 } ] }, { - "id": 435, + "id": 413, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -16466,7 +17038,7 @@ }, "signatures": [ { - "id": 436, + "id": 414, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -16478,7 +17050,7 @@ }, "parameters": [ { - "id": 437, + "id": 415, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -16489,7 +17061,7 @@ "type": { "type": "reflection", "declaration": { - "id": 438, + "id": 416, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16498,7 +17070,7 @@ }, "children": [ { - "id": 439, + "id": 417, "name": "phone", "kind": 32, "kindString": "Variable", @@ -16511,7 +17083,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 234, "character": 11 } ], @@ -16521,7 +17093,7 @@ } }, { - "id": 440, + "id": 418, "name": "token", "kind": 32, "kindString": "Variable", @@ -16534,7 +17106,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 234, "character": 18 } ], @@ -16549,15 +17121,15 @@ "title": "Variables", "kind": 32, "children": [ - 439, - 440 + 417, + 418 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 222, + "line": 233, "character": 18 } ] @@ -16565,7 +17137,7 @@ } }, { - "id": 441, + "id": 419, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16575,7 +17147,7 @@ "type": { "type": "reflection", "declaration": { - "id": 442, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16584,7 +17156,7 @@ }, "children": [ { - "id": 443, + "id": 421, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -16595,7 +17167,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 225, + "line": 236, "character": 16 } ], @@ -16619,14 +17191,14 @@ "title": "Variables", "kind": 32, "children": [ - 443 + 421 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 224, + "line": 235, "character": 12 } ] @@ -16641,7 +17213,7 @@ { "type": "reflection", "declaration": { - "id": 444, + "id": 422, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16650,7 +17222,7 @@ }, "children": [ { - "id": 448, + "id": 426, "name": "data", "kind": 32, "kindString": "Variable", @@ -16660,7 +17232,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 231, + "line": 242, "character": 8 } ], @@ -16685,7 +17257,7 @@ } }, { - "id": 447, + "id": 425, "name": "error", "kind": 32, "kindString": "Variable", @@ -16695,7 +17267,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 230, + "line": 241, "character": 9 } ], @@ -16714,7 +17286,7 @@ } }, { - "id": 446, + "id": 424, "name": "session", "kind": 32, "kindString": "Variable", @@ -16724,7 +17296,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 229, + "line": 240, "character": 11 } ], @@ -16744,7 +17316,7 @@ } }, { - "id": 445, + "id": 423, "name": "user", "kind": 32, "kindString": "Variable", @@ -16754,7 +17326,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 228, + "line": 239, "character": 8 } ], @@ -16779,17 +17351,17 @@ "title": "Variables", "kind": 32, "children": [ - 448, - 447, - 446, - 445 + 426, + 425, + 424, + 423 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 227, + "line": 238, "character": 13 } ] @@ -16803,7 +17375,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 222, + "line": 233, "character": 17 } ] @@ -16814,63 +17386,255 @@ "title": "Constructors", "kind": 512, "children": [ - 386 + 364 ] }, { "title": "Properties", "kind": 1024, "children": [ - 378, - 381, - 380, - 379, - 383, - 382, - 385, - 384 + 356, + 359, + 358, + 357, + 361, + 360, + 363, + 362 ] }, { "title": "Methods", "kind": 2048, "children": [ - 551, - 497, - 514, - 528, - 560, - 566, - 549, - 547, - 569, - 563, - 571, + 529, 475, - 487, + 492, + 506, + 538, + 544, + 527, + 525, + 547, + 541, + 549, 453, - 451, - 472, - 466, - 415, - 483, - 400, - 459, - 449, - 435 + 465, + 431, + 429, + 450, + 444, + 393, + 461, + 378, + 437, + 427, + 413 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 27, + "line": 38, "character": 33 } ] }, { - "id": 574, + "id": 560, + "name": "AnyFunction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 27, + "character": 16 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 561, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 562, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 563, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 27, + "character": 18 + } + ] + } + } + }, + { + "id": 564, + "name": "MaybePromisify", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 565, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 28, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "typeParameter", + "name": "T" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "Promise" + } + ] + } + }, + { + "id": 566, + "name": "PromisifyMethods", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 567, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 30, + "character": 21 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 30, + "character": 26 + } + ] + } + } + }, + { + "id": 569, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 36, + "character": 21 + } + ], + "type": { + "type": "reference", + "id": 566, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "getItem" + }, + { + "type": "stringLiteral", + "value": "setItem" + }, + { + "type": "stringLiteral", + "value": "removeItem" + } + ] + } + ], + "name": "Pick" + } + ], + "name": "PromisifyMethods" + } + }, + { + "id": 552, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -16879,7 +17643,7 @@ }, "children": [ { - "id": 576, + "id": 554, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -16898,7 +17662,7 @@ "defaultValue": "true" }, { - "id": 579, + "id": 556, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -16906,7 +17670,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 24, + "line": 23, "character": 20 } ], @@ -16917,7 +17681,7 @@ "defaultValue": "true" }, { - "id": 580, + "id": 557, "name": "headers", "kind": 32, "kindString": "Variable", @@ -16925,21 +17689,21 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 25, + "line": 24, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 582, + "id": 559, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -16963,7 +17727,7 @@ "title": "Variables", "kind": 32, "children": [ - 582 + 559 ] } ] @@ -16972,26 +17736,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 578, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 23, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - }, - "defaultValue": "globalThis.localStorage" - }, - { - "id": 577, + "id": 555, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -17010,7 +17755,7 @@ "defaultValue": "true" }, { - "id": 575, + "id": 553, "name": "url", "kind": 32, "kindString": "Variable", @@ -17034,12 +17779,11 @@ "title": "Variables", "kind": 32, "children": [ - 576, - 579, - 580, - 578, - 577, - 575 + 554, + 556, + 557, + 555, + 553 ] } ], @@ -17061,14 +17805,24 @@ "title": "Classes", "kind": 128, "children": [ - 377 + 355 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 560, + 564, + 566, + 569 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 574 + 552 ] } ], @@ -17081,7 +17835,7 @@ ] }, { - "id": 583, + "id": 570, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -17091,7 +17845,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts", "children": [ { - "id": 585, + "id": 572, "name": "AuthChangeEvent", "kind": 16777216, "kindString": "Reference", @@ -17101,7 +17855,7 @@ "target": 113 }, { - "id": 590, + "id": 577, "name": "CookieOptions", "kind": 16777216, "kindString": "Reference", @@ -17111,7 +17865,7 @@ "target": 97 }, { - "id": 584, + "id": 571, "name": "Provider", "kind": 16777216, "kindString": "Reference", @@ -17121,7 +17875,7 @@ "target": 112 }, { - "id": 586, + "id": 573, "name": "Session", "kind": 16777216, "kindString": "Reference", @@ -17131,7 +17885,7 @@ "target": 50 }, { - "id": 589, + "id": 576, "name": "Subscription", "kind": 16777216, "kindString": "Reference", @@ -17141,7 +17895,7 @@ "target": 87 }, { - "id": 587, + "id": 574, "name": "User", "kind": 16777216, "kindString": "Reference", @@ -17151,7 +17905,7 @@ "target": 58 }, { - "id": 588, + "id": 575, "name": "UserAttributes", "kind": 16777216, "kindString": "Reference", @@ -17161,7 +17915,7 @@ "target": 82 }, { - "id": 591, + "id": 578, "name": "UserCredentials", "kind": 16777216, "kindString": "Reference", @@ -17171,7 +17925,7 @@ "target": 103 }, { - "id": 592, + "id": 579, "name": "VerifyOTPParams", "kind": 16777216, "kindString": "Reference", @@ -17186,15 +17940,15 @@ "title": "References", "kind": 16777216, "children": [ - 585, - 590, - 584, - 586, - 589, - 587, - 588, - 591, - 592 + 572, + 577, + 571, + 573, + 576, + 574, + 575, + 578, + 579 ] } ], @@ -17207,7 +17961,7 @@ ] }, { - "id": 114, + "id": 116, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -17217,7 +17971,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts", "children": [ { - "id": 117, + "id": 118, "name": "AUDIENCE", "kind": 32, "kindString": "Variable", @@ -17239,7 +17993,7 @@ "defaultValue": "\"\"" }, { - "id": 120, + "id": 121, "name": "EXPIRY_MARGIN", "kind": 32, "kindString": "Variable", @@ -17261,7 +18015,7 @@ "defaultValue": "60 * 1000" }, { - "id": 116, + "id": 117, "name": "GOTRUE_URL", "kind": 32, "kindString": "Variable", @@ -17283,7 +18037,7 @@ "defaultValue": "\"http://localhost:9999\"" }, { - "id": 121, + "id": 122, "name": "STORAGE_KEY", "kind": 32, "kindString": "Variable", @@ -17305,25 +18059,7 @@ "defaultValue": "\"supabase.auth.token\"" }, { - "id": 115, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 1, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 122, + "id": 123, "name": "COOKIE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -17333,7 +18069,7 @@ }, "children": [ { - "id": 125, + "id": 126, "name": "domain", "kind": 32, "kindString": "Variable", @@ -17354,7 +18090,7 @@ "defaultValue": "\"\"" }, { - "id": 124, + "id": 125, "name": "lifetime", "kind": 32, "kindString": "Variable", @@ -17375,7 +18111,7 @@ "defaultValue": "60 * 60 * 8" }, { - "id": 123, + "id": 124, "name": "name", "kind": 32, "kindString": "Variable", @@ -17396,7 +18132,7 @@ "defaultValue": "\"sb:token\"" }, { - "id": 126, + "id": 127, "name": "path", "kind": 32, "kindString": "Variable", @@ -17417,7 +18153,7 @@ "defaultValue": "\"/\"" }, { - "id": 127, + "id": 128, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -17443,11 +18179,11 @@ "title": "Variables", "kind": 32, "children": [ + 126, 125, 124, - 123, - 126, - 127 + 127, + 128 ] } ], @@ -17464,7 +18200,7 @@ } }, { - "id": 118, + "id": 119, "name": "DEFAULT_HEADERS", "kind": 2097152, "kindString": "Object literal", @@ -17474,7 +18210,7 @@ }, "children": [ { - "id": 119, + "id": 120, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -17500,7 +18236,7 @@ "title": "Variables", "kind": 32, "children": [ - 119 + 120 ] } ], @@ -17522,19 +18258,18 @@ "title": "Variables", "kind": 32, "children": [ - 117, - 120, - 116, + 118, 121, - 115 + 117, + 122 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 122, - 118 + 123, + 119 ] } ], @@ -17547,7 +18282,7 @@ ] }, { - "id": 128, + "id": 129, "name": "\"lib/cookies\"", "kind": 1, "kindString": "Module", @@ -17557,7 +18292,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts", "children": [ { - "id": 129, + "id": 130, "name": "Cookie", "kind": 4194304, "kindString": "Type alias", @@ -17572,14 +18307,14 @@ "type": { "type": "reflection", "declaration": { - "id": 130, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 134, + "id": 135, "name": "domain", "kind": 32, "kindString": "Variable", @@ -17608,7 +18343,7 @@ } }, { - "id": 133, + "id": 134, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -17626,7 +18361,7 @@ } }, { - "id": 131, + "id": 132, "name": "name", "kind": 32, "kindString": "Variable", @@ -17644,7 +18379,7 @@ } }, { - "id": 135, + "id": 136, "name": "path", "kind": 32, "kindString": "Variable", @@ -17673,7 +18408,7 @@ } }, { - "id": 136, + "id": 137, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -17702,7 +18437,7 @@ } }, { - "id": 132, + "id": 133, "name": "value", "kind": 32, "kindString": "Variable", @@ -17725,12 +18460,12 @@ "title": "Variables", "kind": 32, "children": [ - 134, - 133, - 131, 135, + 134, + 132, 136, - 132 + 137, + 133 ] } ], @@ -17745,7 +18480,7 @@ } }, { - "id": 167, + "id": 168, "name": "deleteCookie", "kind": 64, "kindString": "Function", @@ -17754,7 +18489,7 @@ }, "signatures": [ { - "id": 168, + "id": 169, "name": "deleteCookie", "kind": 4096, "kindString": "Call signature", @@ -17763,7 +18498,7 @@ }, "parameters": [ { - "id": 169, + "id": 170, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -17776,7 +18511,7 @@ } }, { - "id": 170, + "id": 171, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -17789,7 +18524,7 @@ } }, { - "id": 171, + "id": 172, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -17817,14 +18552,14 @@ ] }, { - "id": 150, + "id": 151, "name": "isSecureEnvironment", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 151, + "id": 152, "name": "isSecureEnvironment", "kind": 4096, "kindString": "Call signature", @@ -17834,7 +18569,7 @@ }, "parameters": [ { - "id": 152, + "id": 153, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -17860,14 +18595,14 @@ ] }, { - "id": 137, + "id": 138, "name": "serialize", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 138, + "id": 139, "name": "serialize", "kind": 4096, "kindString": "Call signature", @@ -17877,7 +18612,7 @@ }, "parameters": [ { - "id": 139, + "id": 140, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -17888,7 +18623,7 @@ } }, { - "id": 140, + "id": 141, "name": "val", "kind": 32768, "kindString": "Parameter", @@ -17899,7 +18634,7 @@ } }, { - "id": 141, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17907,14 +18642,14 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 145, "name": "domain", "kind": 32, "kindString": "Variable", @@ -17932,7 +18667,7 @@ } }, { - "id": 146, + "id": 147, "name": "expires", "kind": 32, "kindString": "Variable", @@ -17950,7 +18685,7 @@ } }, { - "id": 147, + "id": 148, "name": "httpOnly", "kind": 32, "kindString": "Variable", @@ -17968,7 +18703,7 @@ } }, { - "id": 143, + "id": 144, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -17986,7 +18721,7 @@ } }, { - "id": 145, + "id": 146, "name": "path", "kind": 32, "kindString": "Variable", @@ -18004,7 +18739,7 @@ } }, { - "id": 149, + "id": 150, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -18022,7 +18757,7 @@ } }, { - "id": 148, + "id": 149, "name": "secure", "kind": 32, "kindString": "Variable", @@ -18045,13 +18780,13 @@ "title": "Variables", "kind": 32, "children": [ + 145, + 147, + 148, 144, 146, - 147, - 143, - 145, - 149, - 148 + 150, + 149 ] } ], @@ -18081,14 +18816,14 @@ ] }, { - "id": 153, + "id": 154, "name": "serializeCookie", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 154, + "id": 155, "name": "serializeCookie", "kind": 4096, "kindString": "Call signature", @@ -18098,19 +18833,19 @@ }, "parameters": [ { - "id": 155, + "id": 156, "name": "cookie", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } }, { - "id": 156, + "id": 157, "name": "secure", "kind": 32768, "kindString": "Parameter", @@ -18136,7 +18871,7 @@ ] }, { - "id": 162, + "id": 163, "name": "setCookie", "kind": 64, "kindString": "Function", @@ -18145,7 +18880,7 @@ }, "signatures": [ { - "id": 163, + "id": 164, "name": "setCookie", "kind": 4096, "kindString": "Call signature", @@ -18157,7 +18892,7 @@ }, "parameters": [ { - "id": 164, + "id": 165, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -18170,7 +18905,7 @@ } }, { - "id": 165, + "id": 166, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -18183,7 +18918,7 @@ } }, { - "id": 166, + "id": 167, "name": "cookie", "kind": 32768, "kindString": "Parameter", @@ -18192,7 +18927,7 @@ }, "type": { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } } @@ -18212,7 +18947,7 @@ ] }, { - "id": 157, + "id": 158, "name": "setCookies", "kind": 64, "kindString": "Function", @@ -18221,7 +18956,7 @@ }, "signatures": [ { - "id": 158, + "id": 159, "name": "setCookies", "kind": 4096, "kindString": "Call signature", @@ -18233,7 +18968,7 @@ }, "parameters": [ { - "id": 159, + "id": 160, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -18246,7 +18981,7 @@ } }, { - "id": 160, + "id": 161, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -18259,7 +18994,7 @@ } }, { - "id": 161, + "id": 162, "name": "cookies", "kind": 32768, "kindString": "Parameter", @@ -18271,7 +19006,7 @@ "typeArguments": [ { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } ], @@ -18299,19 +19034,19 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 129 + 130 ] }, { "title": "Functions", "kind": 64, "children": [ - 167, - 150, - 137, - 153, - 162, - 157 + 168, + 151, + 138, + 154, + 163, + 158 ] } ], @@ -19151,7 +19886,7 @@ ] }, { - "id": 172, + "id": 173, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -19161,422 +19896,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts", "children": [ { - "id": 173, - "name": "LocalStorage", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 175, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 176, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "children": [ - { - "id": 178, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 179, - "name": "new LocalStorage", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 180, - "name": "localStorage", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "Storage" - } - } - ], - "type": { - "type": "reference", - "id": 173, - "name": "LocalStorage" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 29, - "character": 17 - } - ] - }, - { - "id": 177, - "name": "length", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 29, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 174, - "name": "localStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 27, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - } - }, - { - "id": 181, - "name": "clear", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 182, - "name": "clear", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 33, - "character": 7 - } - ] - }, - { - "id": 190, - "name": "getItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "name": "getItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 192, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 42, - "character": 9 - } - ] - }, - { - "id": 183, - "name": "key", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 184, - "name": "key", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 185, - "name": "index", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 36, - "character": 5 - } - ] - }, - { - "id": 193, - "name": "removeItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 194, - "name": "removeItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 195, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 45, - "character": 12 - } - ] - }, - { - "id": 186, - "name": "setItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 187, - "name": "setItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 188, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 189, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 39, - "character": 9 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 178 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 177, - 174 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 181, - 190, - 183, - 193, - 186 - ] - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 26, - "character": 25 - } - ], - "implementedTypes": [ - { - "type": "reference", - "name": "Storage" - } - ] - }, - { - "id": 196, + "id": 174, "name": "expiresAt", "kind": 64, "kindString": "Function", @@ -19585,7 +19905,7 @@ }, "signatures": [ { - "id": 197, + "id": 175, "name": "expiresAt", "kind": 4096, "kindString": "Call signature", @@ -19594,7 +19914,7 @@ }, "parameters": [ { - "id": 198, + "id": 176, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -19622,7 +19942,7 @@ ] }, { - "id": 203, + "id": 181, "name": "getParameterByName", "kind": 64, "kindString": "Function", @@ -19631,7 +19951,7 @@ }, "signatures": [ { - "id": 204, + "id": 182, "name": "getParameterByName", "kind": 4096, "kindString": "Call signature", @@ -19640,7 +19960,7 @@ }, "parameters": [ { - "id": 205, + "id": 183, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -19653,7 +19973,7 @@ } }, { - "id": 206, + "id": 184, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -19700,7 +20020,7 @@ ] }, { - "id": 201, + "id": 179, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -19710,7 +20030,7 @@ }, "signatures": [ { - "id": 202, + "id": 180, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -19732,7 +20052,7 @@ ] }, { - "id": 199, + "id": 177, "name": "uuid", "kind": 64, "kindString": "Function", @@ -19741,7 +20061,7 @@ }, "signatures": [ { - "id": 200, + "id": 178, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -19764,21 +20084,14 @@ } ], "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [ - 173 - ] - }, { "title": "Functions", "kind": 64, "children": [ - 196, - 203, - 201, - 199 + 174, + 181, + 179, + 177 ] } ], @@ -19791,7 +20104,7 @@ ] }, { - "id": 373, + "id": 351, "name": "\"lib/polyfills\"", "kind": 1, "kindString": "Module", @@ -19801,7 +20114,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts", "children": [ { - "id": 374, + "id": 352, "name": "polyfillGlobalThis", "kind": 64, "kindString": "Function", @@ -19810,7 +20123,7 @@ }, "signatures": [ { - "id": 375, + "id": 353, "name": "polyfillGlobalThis", "kind": 4096, "kindString": "Call signature", @@ -19840,7 +20153,7 @@ "title": "Functions", "kind": 64, "children": [ - 374 + 352 ] } ], @@ -21610,7 +21923,7 @@ ] }, { - "id": 593, + "id": 114, "name": "\"lib/version\"", "kind": 1, "kindString": "Module", @@ -21620,7 +21933,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/version.ts", "children": [ { - "id": 594, + "id": 115, "name": "version", "kind": 32, "kindString": "Variable", @@ -21647,7 +21960,7 @@ "title": "Variables", "kind": 32, "children": [ - 594 + 115 ] } ], @@ -21665,16 +21978,16 @@ "title": "Modules", "kind": 1, "children": [ - 207, - 376, - 583, - 114, - 128, + 185, + 354, + 570, + 116, + 129, 1, - 172, - 373, + 173, + 351, 49, - 593 + 114 ] } ] @@ -21687,7 +22000,7 @@ "originalName": "", "children": [ { - "id": 443, + "id": 448, "name": "\"PostgrestClient\"", "kind": 1, "kindString": "Module", @@ -21697,7 +22010,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", "children": [ { - "id": 444, + "id": 449, "name": "PostgrestClient", "kind": 128, "kindString": "Class", @@ -21706,7 +22019,7 @@ }, "children": [ { - "id": 451, + "id": 456, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -21718,7 +22031,7 @@ }, "signatures": [ { - "id": 452, + "id": 457, "name": "new PostgrestClient", "kind": 16384, "kindString": "Constructor signature", @@ -21730,7 +22043,7 @@ }, "parameters": [ { - "id": 453, + "id": 458, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -21746,7 +22059,7 @@ } }, { - "id": 454, + "id": 459, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -21757,7 +22070,7 @@ "type": { "type": "reflection", "declaration": { - "id": 455, + "id": 460, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21766,7 +22079,7 @@ }, "children": [ { - "id": 456, + "id": 461, "name": "headers", "kind": 32, "kindString": "Variable", @@ -21779,14 +22092,14 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 19, + "line": 20, "character": 13 } ], "type": { "type": "reflection", "declaration": { - "id": 457, + "id": 462, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21795,7 +22108,7 @@ }, "indexSignature": [ { - "id": 458, + "id": 463, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -21804,7 +22117,7 @@ }, "parameters": [ { - "id": 459, + "id": 464, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -21827,7 +22140,7 @@ } }, { - "id": 460, + "id": 465, "name": "schema", "kind": 32, "kindString": "Variable", @@ -21840,7 +22153,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 19, + "line": 20, "character": 26 } ], @@ -21864,15 +22177,15 @@ "title": "Variables", "kind": 32, "children": [ - 456, - 460 + 461, + 465 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 18, + "line": 19, "character": 16 } ] @@ -21883,7 +22196,7 @@ ], "type": { "type": "reference", - "id": 444, + "id": 449, "name": "PostgrestClient" } } @@ -21891,13 +22204,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 8, + "line": 9, "character": 17 } ] }, { - "id": 446, + "id": 451, "name": "headers", "kind": 1024, "kindString": "Property", @@ -21907,14 +22220,14 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 7, + "line": 8, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 447, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21923,7 +22236,7 @@ }, "indexSignature": [ { - "id": 448, + "id": 453, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -21932,7 +22245,7 @@ }, "parameters": [ { - "id": 449, + "id": 454, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -21954,7 +22267,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 7, + "line": 8, "character": 10 } ] @@ -21962,7 +22275,7 @@ } }, { - "id": 450, + "id": 455, "name": "schema", "kind": 1024, "kindString": "Property", @@ -21973,7 +22286,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 8, + "line": 9, "character": 8 } ], @@ -21992,7 +22305,7 @@ } }, { - "id": 445, + "id": 450, "name": "url", "kind": 1024, "kindString": "Property", @@ -22002,7 +22315,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 6, + "line": 7, "character": 5 } ], @@ -22012,7 +22325,7 @@ } }, { - "id": 461, + "id": 466, "name": "auth", "kind": 2048, "kindString": "Method", @@ -22021,7 +22334,7 @@ }, "signatures": [ { - "id": 462, + "id": 467, "name": "auth", "kind": 4096, "kindString": "Call signature", @@ -22033,7 +22346,7 @@ }, "parameters": [ { - "id": 463, + "id": 468, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -22058,13 +22371,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 31, + "line": 32, "character": 6 } ] }, { - "id": 464, + "id": 469, "name": "from", "kind": 2048, "kindString": "Method", @@ -22073,7 +22386,7 @@ }, "signatures": [ { - "id": 465, + "id": 470, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -22085,7 +22398,7 @@ }, "typeParameter": [ { - "id": 466, + "id": 471, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -22096,7 +22409,7 @@ ], "parameters": [ { - "id": 467, + "id": 472, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -22132,13 +22445,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 41, + "line": 42, "character": 6 } ] }, { - "id": 468, + "id": 473, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -22147,7 +22460,7 @@ }, "signatures": [ { - "id": 469, + "id": 474, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -22159,7 +22472,7 @@ }, "typeParameter": [ { - "id": 470, + "id": 475, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -22170,7 +22483,7 @@ ], "parameters": [ { - "id": 471, + "id": 476, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -22186,7 +22499,7 @@ } }, { - "id": 472, + "id": 477, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -22212,7 +22525,7 @@ } }, { - "id": 473, + "id": 478, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -22223,7 +22536,7 @@ "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22232,7 +22545,7 @@ }, "children": [ { - "id": 475, + "id": 480, "name": "count", "kind": 32, "kindString": "Variable", @@ -22245,7 +22558,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 57, + "line": 58, "character": 11 } ], @@ -22278,14 +22591,14 @@ "title": "Variables", "kind": 32, "children": [ - 475 + 480 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 55, + "line": 56, "character": 20 } ] @@ -22314,7 +22627,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 53, + "line": 54, "character": 5 } ] @@ -22325,32 +22638,32 @@ "title": "Constructors", "kind": 512, "children": [ - 451 + 456 ] }, { "title": "Properties", "kind": 1024, "children": [ - 446, - 450, - 445 + 451, + 455, + 450 ] }, { "title": "Methods", "kind": 2048, "children": [ - 461, - 464, - 468 + 466, + 469, + 473 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 5, + "line": 6, "character": 36 } ] @@ -22361,7 +22674,7 @@ "title": "Classes", "kind": 128, "children": [ - 444 + 449 ] } ], @@ -22374,7 +22687,7 @@ ] }, { - "id": 476, + "id": 481, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -31603,6 +31916,87 @@ } ] }, + { + "id": 445, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts", + "children": [ + { + "id": 446, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 447, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`postgrest-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 447 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 446 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, { "id": 1, "name": "\"lib/types\"", @@ -33212,6 +33606,56 @@ "character": 0 } ] + }, + { + "id": 443, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts", + "children": [ + { + "id": 444, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0-automated" + }, + "defaultValue": "\"0.0.0-automated\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 444 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -33219,13 +33663,15 @@ "title": "Modules", "kind": 1, "children": [ - 443, - 476, + 448, + 481, 126, 321, 401, 67, - 1 + 445, + 1, + 443 ] } ] @@ -33238,7 +33684,7 @@ "originalName": "", "children": [ { - "id": 196, + "id": 200, "name": "\"RealtimeClient\"", "kind": 1, "kindString": "Module", @@ -33248,7 +33694,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts", "children": [ { - "id": 197, + "id": 201, "name": "RealtimeClient", "kind": 128, "kindString": "Class", @@ -33257,7 +33703,7 @@ }, "children": [ { - "id": 228, + "id": 232, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -33269,7 +33715,7 @@ }, "signatures": [ { - "id": 229, + "id": 233, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -33281,7 +33727,7 @@ }, "parameters": [ { - "id": 230, + "id": 234, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -33297,7 +33743,7 @@ } }, { - "id": 231, + "id": 235, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -33307,14 +33753,14 @@ }, "type": { "type": "reference", - "id": 303, + "id": 307, "name": "Options" } } ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } @@ -33322,13 +33768,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 65, + "line": 66, "character": 3 } ] }, { - "id": 198, + "id": 202, "name": "channels", "kind": 1024, "kindString": "Property", @@ -33338,7 +33784,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 36, + "line": 37, "character": 10 } ], @@ -33346,14 +33792,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, "defaultValue": "[]" }, { - "id": 220, + "id": 224, "name": "conn", "kind": 1024, "kindString": "Property", @@ -33363,7 +33809,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 52, + "line": 53, "character": 6 } ], @@ -33383,13 +33829,33 @@ "defaultValue": "null" }, { - "id": 218, + "id": 222, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 51, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 221, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -33403,27 +33869,7 @@ } }, { - "id": 217, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 199, + "id": 203, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -33433,7 +33879,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 37, + "line": 38, "character": 10 } ], @@ -33444,7 +33890,7 @@ "defaultValue": "\"\"" }, { - "id": 200, + "id": 204, "name": "headers", "kind": 1024, "kindString": "Property", @@ -33452,181 +33898,11 @@ "isExported": true, "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 38, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 202, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 203, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 210, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 42, - "character": 21 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "30000" - }, - { - "id": 212, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "query", - "queryType": { - "type": "reference", - "name": "setInterval" - } - } - ], - "name": "ReturnType" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - "defaultValue": "undefined" - }, - { - "id": 216, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 48, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - }, - "defaultValue": "noop" - }, - { - "id": 211, - "name": "longpollerTimeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "20000" - }, - { - "id": 204, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", "line": 39, - "character": 8 + "character": 9 } ], "type": { @@ -33679,11 +33955,33 @@ } } ] - } + }, + "defaultValue": "DEFAULT_HEADERS" }, { - "id": 213, - "name": "pendingHeartbeatRef", + "id": 214, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 216, + "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", "flags": { @@ -33693,6 +33991,155 @@ { "fileName": "RealtimeClient.ts", "line": 45, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "setInterval" + } + } + ], + "name": "ReturnType" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 220, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 215, + "name": "longpollerTimeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20000" + }, + { + "id": 208, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 40, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 210, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 211, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 217, + "name": "pendingHeartbeatRef", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 46, "character": 21 } ], @@ -33712,7 +34159,7 @@ "defaultValue": "null" }, { - "id": 219, + "id": 223, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -33722,7 +34169,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 51, + "line": 52, "character": 18 } ], @@ -33732,7 +34179,7 @@ } }, { - "id": 215, + "id": 219, "name": "reconnectTimer", "kind": 1024, "kindString": "Property", @@ -33742,18 +34189,18 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 47, + "line": 48, "character": 16 } ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } }, { - "id": 214, + "id": 218, "name": "ref", "kind": 1024, "kindString": "Property", @@ -33763,7 +34210,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 46, + "line": 47, "character": 5 } ], @@ -33774,37 +34221,13 @@ "defaultValue": "0" }, { - "id": 221, + "id": 225, "name": "sendBuffer", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 53, - "character": 12 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Function" - } - }, - "defaultValue": "[]" - }, - { - "id": 222, - "name": "serializer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -33812,15 +34235,39 @@ "character": 12 } ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "Function" + } + }, + "defaultValue": "[]" + }, + { + "id": 226, + "name": "serializer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 55, + "character": 12 + } + ], "type": { "type": "reference", - "id": 172, + "id": 176, "name": "Serializer" }, "defaultValue": "new Serializer()" }, { - "id": 208, + "id": 212, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -33830,7 +34277,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 9 } ], @@ -33841,7 +34288,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 209, + "id": 213, "name": "transport", "kind": 1024, "kindString": "Property", @@ -33851,7 +34298,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 11 } ], @@ -33862,7 +34309,7 @@ "defaultValue": "WebSocket" }, { - "id": 290, + "id": 294, "name": "_appendParams", "kind": 2048, "kindString": "Method", @@ -33872,7 +34319,7 @@ }, "signatures": [ { - "id": 291, + "id": 295, "name": "_appendParams", "kind": 4096, "kindString": "Call signature", @@ -33881,7 +34328,7 @@ }, "parameters": [ { - "id": 292, + "id": 296, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -33894,7 +34341,7 @@ } }, { - "id": 293, + "id": 297, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -33904,7 +34351,7 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -33913,7 +34360,7 @@ }, "indexSignature": [ { - "id": 295, + "id": 299, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -33922,7 +34369,7 @@ }, "parameters": [ { - "id": 296, + "id": 300, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -33944,7 +34391,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 44 } ] @@ -33961,13 +34408,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 23 } ] }, { - "id": 297, + "id": 301, "name": "_flushSendBuffer", "kind": 2048, "kindString": "Method", @@ -33977,7 +34424,7 @@ }, "signatures": [ { - "id": 298, + "id": 302, "name": "_flushSendBuffer", "kind": 4096, "kindString": "Call signature", @@ -33993,13 +34440,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 357, + "line": 358, "character": 26 } ] }, { - "id": 282, + "id": 286, "name": "_onConnClose", "kind": 2048, "kindString": "Method", @@ -34009,7 +34456,7 @@ }, "signatures": [ { - "id": 283, + "id": 287, "name": "_onConnClose", "kind": 4096, "kindString": "Call signature", @@ -34018,7 +34465,7 @@ }, "parameters": [ { - "id": 284, + "id": 288, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -34040,13 +34487,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 327, + "line": 328, "character": 22 } ] }, { - "id": 285, + "id": 289, "name": "_onConnError", "kind": 2048, "kindString": "Method", @@ -34056,7 +34503,7 @@ }, "signatures": [ { - "id": 286, + "id": 290, "name": "_onConnError", "kind": 4096, "kindString": "Call signature", @@ -34065,7 +34512,7 @@ }, "parameters": [ { - "id": 287, + "id": 291, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -34087,13 +34534,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 335, + "line": 336, "character": 22 } ] }, { - "id": 280, + "id": 284, "name": "_onConnOpen", "kind": 2048, "kindString": "Method", @@ -34103,7 +34550,7 @@ }, "signatures": [ { - "id": 281, + "id": 285, "name": "_onConnOpen", "kind": 4096, "kindString": "Call signature", @@ -34119,13 +34566,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 319, + "line": 320, "character": 21 } ] }, { - "id": 299, + "id": 303, "name": "_resetHeartbeat", "kind": 2048, "kindString": "Method", @@ -34135,7 +34582,7 @@ }, "signatures": [ { - "id": 300, + "id": 304, "name": "_resetHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -34151,13 +34598,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 364, + "line": 365, "character": 25 } ] }, { - "id": 301, + "id": 305, "name": "_sendHeartbeat", "kind": 2048, "kindString": "Method", @@ -34167,7 +34614,7 @@ }, "signatures": [ { - "id": 302, + "id": 306, "name": "_sendHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -34183,13 +34630,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 373, + "line": 374, "character": 24 } ] }, { - "id": 288, + "id": 292, "name": "_triggerChanError", "kind": 2048, "kindString": "Method", @@ -34199,7 +34646,7 @@ }, "signatures": [ { - "id": 289, + "id": 293, "name": "_triggerChanError", "kind": 4096, "kindString": "Call signature", @@ -34215,13 +34662,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 341, + "line": 342, "character": 27 } ] }, { - "id": 265, + "id": 269, "name": "channel", "kind": 2048, "kindString": "Method", @@ -34230,7 +34677,7 @@ }, "signatures": [ { - "id": 266, + "id": 270, "name": "channel", "kind": 4096, "kindString": "Call signature", @@ -34239,7 +34686,7 @@ }, "parameters": [ { - "id": 267, + "id": 271, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -34252,7 +34699,7 @@ } }, { - "id": 268, + "id": 272, "name": "chanParams", "kind": 32768, "kindString": "Parameter", @@ -34262,7 +34709,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 273, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -34276,7 +34723,7 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -34284,13 +34731,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 249, + "line": 250, "character": 9 } ] }, { - "id": 232, + "id": 236, "name": "connect", "kind": 2048, "kindString": "Method", @@ -34299,7 +34746,7 @@ }, "signatures": [ { - "id": 233, + "id": 237, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -34318,13 +34765,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 117, + "line": 118, "character": 9 } ] }, { - "id": 258, + "id": 262, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -34333,7 +34780,7 @@ }, "signatures": [ { - "id": 259, + "id": 263, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -34369,13 +34816,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 218, + "line": 219, "character": 17 } ] }, { - "id": 234, + "id": 238, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -34384,7 +34831,7 @@ }, "signatures": [ { - "id": 235, + "id": 239, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -34396,7 +34843,7 @@ }, "parameters": [ { - "id": 236, + "id": 240, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -34422,7 +34869,7 @@ } }, { - "id": 237, + "id": 241, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -34454,7 +34901,7 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -34463,7 +34910,7 @@ }, "children": [ { - "id": 240, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -34473,7 +34920,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 40 } ], @@ -34483,7 +34930,7 @@ } }, { - "id": 239, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -34493,7 +34940,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 20 } ], @@ -34517,15 +34964,15 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 244, + 243 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 13 } ] @@ -34539,13 +34986,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 139, + "line": 140, "character": 12 } ] }, { - "id": 276, + "id": 280, "name": "endPointURL", "kind": 2048, "kindString": "Method", @@ -34554,7 +35001,7 @@ }, "signatures": [ { - "id": 277, + "id": 281, "name": "endPointURL", "kind": 4096, "kindString": "Call signature", @@ -34573,13 +35020,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 298, + "line": 299, "character": 13 } ] }, { - "id": 260, + "id": 264, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -34588,7 +35035,7 @@ }, "signatures": [ { - "id": 261, + "id": 265, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -34607,13 +35054,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 234, + "line": 235, "character": 13 } ] }, { - "id": 241, + "id": 245, "name": "log", "kind": 2048, "kindString": "Method", @@ -34622,7 +35069,7 @@ }, "signatures": [ { - "id": 242, + "id": 246, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -34634,7 +35081,7 @@ }, "parameters": [ { - "id": 243, + "id": 247, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -34647,7 +35094,7 @@ } }, { - "id": 244, + "id": 248, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -34660,7 +35107,7 @@ } }, { - "id": 245, + "id": 249, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -34683,13 +35130,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 167, + "line": 168, "character": 5 } ] }, { - "id": 278, + "id": 282, "name": "makeRef", "kind": 2048, "kindString": "Method", @@ -34698,7 +35145,7 @@ }, "signatures": [ { - "id": 279, + "id": 283, "name": "makeRef", "kind": 4096, "kindString": "Call signature", @@ -34717,13 +35164,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 308, + "line": 309, "character": 9 } ] }, { - "id": 249, + "id": 253, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -34732,7 +35179,7 @@ }, "signatures": [ { - "id": 250, + "id": 254, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -34750,7 +35197,7 @@ }, "parameters": [ { - "id": 251, + "id": 255, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -34775,13 +35222,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 189, + "line": 190, "character": 9 } ] }, { - "id": 273, + "id": 277, "name": "onConnMessage", "kind": 2048, "kindString": "Method", @@ -34790,7 +35237,7 @@ }, "signatures": [ { - "id": 274, + "id": 278, "name": "onConnMessage", "kind": 4096, "kindString": "Call signature", @@ -34799,7 +35246,7 @@ }, "parameters": [ { - "id": 275, + "id": 279, "name": "rawMessage", "kind": 32768, "kindString": "Parameter", @@ -34821,13 +35268,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 270, + "line": 271, "character": 15 } ] }, { - "id": 252, + "id": 256, "name": "onError", "kind": 2048, "kindString": "Method", @@ -34836,7 +35283,7 @@ }, "signatures": [ { - "id": 253, + "id": 257, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -34854,7 +35301,7 @@ }, "parameters": [ { - "id": 254, + "id": 258, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -34879,13 +35326,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 200, + "line": 201, "character": 9 } ] }, { - "id": 255, + "id": 259, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -34894,7 +35341,7 @@ }, "signatures": [ { - "id": 256, + "id": 260, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -34912,7 +35359,7 @@ }, "parameters": [ { - "id": 257, + "id": 261, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -34937,13 +35384,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 211, + "line": 212, "character": 11 } ] }, { - "id": 246, + "id": 250, "name": "onOpen", "kind": 2048, "kindString": "Method", @@ -34952,7 +35399,7 @@ }, "signatures": [ { - "id": 247, + "id": 251, "name": "onOpen", "kind": 4096, "kindString": "Call signature", @@ -34970,7 +35417,7 @@ }, "parameters": [ { - "id": 248, + "id": 252, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -34995,13 +35442,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 178, + "line": 179, "character": 8 } ] }, { - "id": 270, + "id": 274, "name": "push", "kind": 2048, "kindString": "Method", @@ -35010,7 +35457,7 @@ }, "signatures": [ { - "id": 271, + "id": 275, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -35019,7 +35466,7 @@ }, "parameters": [ { - "id": 272, + "id": 276, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -35028,7 +35475,7 @@ }, "type": { "type": "reference", - "id": 321, + "id": 325, "name": "Message" } } @@ -35042,13 +35489,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 255, + "line": 256, "character": 6 } ] }, { - "id": 262, + "id": 266, "name": "remove", "kind": 2048, "kindString": "Method", @@ -35057,7 +35504,7 @@ }, "signatures": [ { - "id": 263, + "id": 267, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -35069,7 +35516,7 @@ }, "parameters": [ { - "id": 264, + "id": 268, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -35081,7 +35528,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -35095,13 +35542,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 243, + "line": 244, "character": 8 } ] }, { - "id": 223, + "id": 227, "name": "stateChangeCallbacks", "kind": 2097152, "kindString": "Object literal", @@ -35110,37 +35557,13 @@ }, "children": [ { - "id": 225, + "id": 229, "name": "close", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 9 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "never" - } - }, - "defaultValue": "[]" - }, - { - "id": 226, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -35158,8 +35581,8 @@ "defaultValue": "[]" }, { - "id": 227, - "name": "message", + "id": 230, + "name": "error", "kind": 32, "kindString": "Variable", "flags": { @@ -35169,6 +35592,30 @@ { "fileName": "RealtimeClient.ts", "line": 64, + "character": 9 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 231, + "name": "message", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 65, "character": 11 } ], @@ -35182,7 +35629,7 @@ "defaultValue": "[]" }, { - "id": 224, + "id": 228, "name": "open", "kind": 32, "kindString": "Variable", @@ -35192,7 +35639,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 8 } ], @@ -35211,17 +35658,17 @@ "title": "Variables", "kind": 32, "children": [ - 225, - 226, - 227, - 224 + 229, + 230, + 231, + 228 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 55, + "line": 56, "character": 22 } ], @@ -35236,81 +35683,81 @@ "title": "Constructors", "kind": 512, "children": [ - 228 + 232 ] }, { "title": "Properties", "kind": 1024, "children": [ - 198, - 220, - 218, - 217, - 199, - 200, - 210, - 212, - 216, - 211, - 204, - 213, - 219, - 215, - 214, - 221, + 202, + 224, 222, + 221, + 203, + 204, + 214, + 216, + 220, + 215, 208, - 209 + 217, + 223, + 219, + 218, + 225, + 226, + 212, + 213 ] }, { "title": "Methods", "kind": 2048, "children": [ - 290, - 297, - 282, - 285, - 280, - 299, + 294, 301, - 288, - 265, - 232, - 258, - 234, - 276, - 260, - 241, - 278, - 249, - 273, - 252, - 255, - 246, - 270, - 262 + 286, + 289, + 284, + 303, + 305, + 292, + 269, + 236, + 262, + 238, + 280, + 264, + 245, + 282, + 253, + 277, + 256, + 259, + 250, + 274, + 266 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 223 + 227 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 35, + "line": 36, "character": 35 } ] }, { - "id": 321, + "id": 325, "name": "Message", "kind": 4194304, "kindString": "Type alias", @@ -35318,25 +35765,79 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 26, + "line": 27, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 328, "name": "event", "kind": 32, "kindString": "Variable", "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 29, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 329, + "name": "payload", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 30, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 330, + "name": "ref", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 31, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "topic", + "kind": 32, + "kindString": "Variable", + "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -35348,60 +35849,6 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 325, - "name": "payload", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 326, - "name": "ref", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 30, - "character": 5 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 323, - "name": "topic", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 27, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ @@ -35409,17 +35856,17 @@ "title": "Variables", "kind": 32, "children": [ - 324, - 325, - 326, - 323 + 328, + 329, + 330, + 327 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 26, + "line": 27, "character": 14 } ] @@ -35427,7 +35874,7 @@ } }, { - "id": 303, + "id": 307, "name": "Options", "kind": 4194304, "kindString": "Type alias", @@ -35437,14 +35884,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 14, + "line": 15, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35453,7 +35900,7 @@ }, "children": [ { - "id": 311, + "id": 315, "name": "decode", "kind": 32, "kindString": "Variable", @@ -35461,6 +35908,27 @@ "isExported": true, "isOptional": true }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 22, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 314, + "name": "encode", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -35474,28 +35942,7 @@ } }, { - "id": 310, - "name": "encode", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 313, + "id": 317, "name": "headers", "kind": 32, "kindString": "Variable", @@ -35503,160 +35950,11 @@ "isExported": true, "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 23, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 314, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 315, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 316, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 307, - "name": "heartbeatIntervalMs", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 17, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 309, - "name": "logger", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 308, - "name": "longpollerTimeout", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 317, - "name": "params", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", "line": 24, - "character": 8 + "character": 9 } ], "type": { @@ -35711,8 +36009,157 @@ ] } }, + { + "id": 311, + "name": "heartbeatIntervalMs", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 313, + "name": "logger", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 20, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, { "id": 312, + "name": "longpollerTimeout", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 321, + "name": "params", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 322, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 323, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 324, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 316, "name": "reconnectAfterMs", "kind": 32, "kindString": "Variable", @@ -35723,7 +36170,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 22, + "line": 23, "character": 18 } ], @@ -35733,7 +36180,7 @@ } }, { - "id": 306, + "id": 310, "name": "timeout", "kind": 32, "kindString": "Variable", @@ -35744,7 +36191,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 9 } ], @@ -35763,7 +36210,7 @@ } }, { - "id": 305, + "id": 309, "name": "transport", "kind": 32, "kindString": "Variable", @@ -35774,7 +36221,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 15, + "line": 16, "character": 11 } ], @@ -35789,23 +36236,23 @@ "title": "Variables", "kind": 32, "children": [ - 311, - 310, - 313, - 307, - 309, - 308, + 315, + 314, 317, + 311, + 313, 312, - 306, - 305 + 321, + 316, + 310, + 309 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 14, + "line": 15, "character": 21 } ] @@ -35813,7 +36260,7 @@ } }, { - "id": 327, + "id": 331, "name": "noop", "kind": 64, "kindString": "Function", @@ -35822,7 +36269,7 @@ }, "signatures": [ { - "id": 328, + "id": 332, "name": "noop", "kind": 4096, "kindString": "Call signature", @@ -35836,7 +36283,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 33, + "line": 34, "character": 10 } ] @@ -35847,22 +36294,22 @@ "title": "Classes", "kind": 128, "children": [ - 197 + 201 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 321, - 303 + 325, + 307 ] }, { "title": "Functions", "kind": 64, "children": [ - 327 + 331 ] } ], @@ -35875,7 +36322,7 @@ ] }, { - "id": 92, + "id": 96, "name": "\"RealtimeSubscription\"", "kind": 1, "kindString": "Module", @@ -35885,7 +36332,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts", "children": [ { - "id": 93, + "id": 97, "name": "RealtimeSubscription", "kind": 128, "kindString": "Class", @@ -35894,7 +36341,7 @@ }, "children": [ { - "id": 101, + "id": 105, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -35903,7 +36350,7 @@ }, "signatures": [ { - "id": 105, + "id": 109, "name": "new RealtimeSubscription", "kind": 16384, "kindString": "Constructor signature", @@ -35912,7 +36359,7 @@ }, "parameters": [ { - "id": 106, + "id": 110, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -35925,7 +36372,7 @@ } }, { - "id": 107, + "id": 111, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -35939,7 +36386,7 @@ "defaultValue": "{}" }, { - "id": 108, + "id": 112, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -35948,14 +36395,14 @@ }, "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -35969,7 +36416,7 @@ ] }, { - "id": 94, + "id": 98, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -35993,7 +36440,7 @@ "defaultValue": "[]" }, { - "id": 98, + "id": 102, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -36009,12 +36456,12 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } }, { - "id": 97, + "id": 101, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -36035,7 +36482,7 @@ "defaultValue": "false" }, { - "id": 103, + "id": 107, "name": "params", "kind": 1024, "kindString": "Property", @@ -36057,7 +36504,7 @@ } }, { - "id": 100, + "id": 104, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -36075,14 +36522,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } }, "defaultValue": "[]" }, { - "id": 99, + "id": 103, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -36098,12 +36545,12 @@ ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } }, { - "id": 104, + "id": 108, "name": "socket", "kind": 1024, "kindString": "Property", @@ -36121,12 +36568,12 @@ ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } }, { - "id": 96, + "id": 100, "name": "state", "kind": 1024, "kindString": "Property", @@ -36142,13 +36589,13 @@ ], "type": { "type": "reference", - "id": 7, + "id": 9, "name": "CHANNEL_STATES" }, "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 95, + "id": 99, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -36168,7 +36615,7 @@ } }, { - "id": 102, + "id": 106, "name": "topic", "kind": 1024, "kindString": "Property", @@ -36190,7 +36637,7 @@ } }, { - "id": 127, + "id": 131, "name": "canPush", "kind": 2048, "kindString": "Method", @@ -36199,7 +36646,7 @@ }, "signatures": [ { - "id": 128, + "id": 132, "name": "canPush", "kind": 4096, "kindString": "Call signature", @@ -36221,7 +36668,7 @@ ] }, { - "id": 161, + "id": 165, "name": "isClosed", "kind": 2048, "kindString": "Method", @@ -36230,7 +36677,7 @@ }, "signatures": [ { - "id": 162, + "id": 166, "name": "isClosed", "kind": 4096, "kindString": "Call signature", @@ -36252,7 +36699,7 @@ ] }, { - "id": 163, + "id": 167, "name": "isErrored", "kind": 2048, "kindString": "Method", @@ -36261,7 +36708,7 @@ }, "signatures": [ { - "id": 164, + "id": 168, "name": "isErrored", "kind": 4096, "kindString": "Call signature", @@ -36283,7 +36730,7 @@ ] }, { - "id": 165, + "id": 169, "name": "isJoined", "kind": 2048, "kindString": "Method", @@ -36292,7 +36739,7 @@ }, "signatures": [ { - "id": 166, + "id": 170, "name": "isJoined", "kind": 4096, "kindString": "Call signature", @@ -36314,7 +36761,7 @@ ] }, { - "id": 167, + "id": 171, "name": "isJoining", "kind": 2048, "kindString": "Method", @@ -36323,7 +36770,7 @@ }, "signatures": [ { - "id": 168, + "id": 172, "name": "isJoining", "kind": 4096, "kindString": "Call signature", @@ -36345,7 +36792,7 @@ ] }, { - "id": 169, + "id": 173, "name": "isLeaving", "kind": 2048, "kindString": "Method", @@ -36354,7 +36801,7 @@ }, "signatures": [ { - "id": 170, + "id": 174, "name": "isLeaving", "kind": 4096, "kindString": "Call signature", @@ -36376,7 +36823,7 @@ ] }, { - "id": 142, + "id": 146, "name": "isMember", "kind": 2048, "kindString": "Method", @@ -36385,7 +36832,7 @@ }, "signatures": [ { - "id": 143, + "id": 147, "name": "isMember", "kind": 4096, "kindString": "Call signature", @@ -36394,7 +36841,7 @@ }, "parameters": [ { - "id": 144, + "id": 148, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -36422,7 +36869,7 @@ ] }, { - "id": 145, + "id": 149, "name": "joinRef", "kind": 2048, "kindString": "Method", @@ -36431,7 +36878,7 @@ }, "signatures": [ { - "id": 146, + "id": 150, "name": "joinRef", "kind": 4096, "kindString": "Call signature", @@ -36453,7 +36900,7 @@ ] }, { - "id": 124, + "id": 128, "name": "off", "kind": 2048, "kindString": "Method", @@ -36462,7 +36909,7 @@ }, "signatures": [ { - "id": 125, + "id": 129, "name": "off", "kind": 4096, "kindString": "Call signature", @@ -36471,7 +36918,7 @@ }, "parameters": [ { - "id": 126, + "id": 130, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36499,7 +36946,7 @@ ] }, { - "id": 120, + "id": 124, "name": "on", "kind": 2048, "kindString": "Method", @@ -36508,7 +36955,7 @@ }, "signatures": [ { - "id": 121, + "id": 125, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -36517,7 +36964,7 @@ }, "parameters": [ { - "id": 122, + "id": 126, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36530,7 +36977,7 @@ } }, { - "id": 123, + "id": 127, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36558,7 +37005,7 @@ ] }, { - "id": 114, + "id": 118, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -36567,7 +37014,7 @@ }, "signatures": [ { - "id": 115, + "id": 119, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -36576,7 +37023,7 @@ }, "parameters": [ { - "id": 116, + "id": 120, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36604,7 +37051,7 @@ ] }, { - "id": 117, + "id": 121, "name": "onError", "kind": 2048, "kindString": "Method", @@ -36613,7 +37060,7 @@ }, "signatures": [ { - "id": 118, + "id": 122, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -36622,7 +37069,7 @@ }, "parameters": [ { - "id": 119, + "id": 123, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36650,7 +37097,7 @@ ] }, { - "id": 137, + "id": 141, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -36659,7 +37106,7 @@ }, "signatures": [ { - "id": 138, + "id": 142, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -36672,7 +37119,7 @@ }, "parameters": [ { - "id": 139, + "id": 143, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36685,7 +37132,7 @@ } }, { - "id": 140, + "id": 144, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -36698,7 +37145,7 @@ } }, { - "id": 141, + "id": 145, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -36736,7 +37183,7 @@ ] }, { - "id": 129, + "id": 133, "name": "push", "kind": 2048, "kindString": "Method", @@ -36745,7 +37192,7 @@ }, "signatures": [ { - "id": 130, + "id": 134, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -36754,7 +37201,7 @@ }, "parameters": [ { - "id": 131, + "id": 135, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36763,12 +37210,12 @@ }, "type": { "type": "reference", - "id": 13, + "id": 15, "name": "CHANNEL_EVENTS" } }, { - "id": 132, + "id": 136, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -36781,7 +37228,7 @@ } }, { - "id": 133, + "id": 137, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -36797,7 +37244,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -36811,7 +37258,7 @@ ] }, { - "id": 150, + "id": 154, "name": "rejoin", "kind": 2048, "kindString": "Method", @@ -36820,7 +37267,7 @@ }, "signatures": [ { - "id": 151, + "id": 155, "name": "rejoin", "kind": 4096, "kindString": "Call signature", @@ -36829,7 +37276,7 @@ }, "parameters": [ { - "id": 152, + "id": 156, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -36858,7 +37305,7 @@ ] }, { - "id": 109, + "id": 113, "name": "rejoinUntilConnected", "kind": 2048, "kindString": "Method", @@ -36867,7 +37314,7 @@ }, "signatures": [ { - "id": 110, + "id": 114, "name": "rejoinUntilConnected", "kind": 4096, "kindString": "Call signature", @@ -36889,7 +37336,7 @@ ] }, { - "id": 158, + "id": 162, "name": "replyEventName", "kind": 2048, "kindString": "Method", @@ -36898,7 +37345,7 @@ }, "signatures": [ { - "id": 159, + "id": 163, "name": "replyEventName", "kind": 4096, "kindString": "Call signature", @@ -36907,7 +37354,7 @@ }, "parameters": [ { - "id": 160, + "id": 164, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -36935,7 +37382,7 @@ ] }, { - "id": 147, + "id": 151, "name": "sendJoin", "kind": 2048, "kindString": "Method", @@ -36944,7 +37391,7 @@ }, "signatures": [ { - "id": 148, + "id": 152, "name": "sendJoin", "kind": 4096, "kindString": "Call signature", @@ -36953,7 +37400,7 @@ }, "parameters": [ { - "id": 149, + "id": 153, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -36981,7 +37428,7 @@ ] }, { - "id": 111, + "id": 115, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -36990,7 +37437,7 @@ }, "signatures": [ { - "id": 112, + "id": 116, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -36999,7 +37446,7 @@ }, "parameters": [ { - "id": 113, + "id": 117, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -37015,7 +37462,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -37029,7 +37476,7 @@ ] }, { - "id": 153, + "id": 157, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -37038,7 +37485,7 @@ }, "signatures": [ { - "id": 154, + "id": 158, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -37047,7 +37494,7 @@ }, "parameters": [ { - "id": 155, + "id": 159, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -37060,7 +37507,7 @@ } }, { - "id": 156, + "id": 160, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -37074,7 +37521,7 @@ } }, { - "id": 157, + "id": 161, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -37112,7 +37559,7 @@ ] }, { - "id": 134, + "id": 138, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -37121,7 +37568,7 @@ }, "signatures": [ { - "id": 135, + "id": 139, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -37134,7 +37581,7 @@ }, "parameters": [ { - "id": 136, + "id": 140, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -37150,7 +37597,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -37169,50 +37616,50 @@ "title": "Constructors", "kind": 512, "children": [ - 101 + 105 ] }, { "title": "Properties", "kind": 1024, "children": [ - 94, 98, - 97, + 102, + 101, + 107, + 104, 103, + 108, 100, 99, - 104, - 96, - 95, - 102 + 106 ] }, { "title": "Methods", "kind": 2048, "children": [ - 127, - 161, - 163, + 131, 165, 167, 169, - 142, - 145, + 171, + 173, + 146, + 149, + 128, 124, - 120, - 114, - 117, - 137, - 129, - 150, - 109, - 158, - 147, - 111, - 153, - 134 + 118, + 121, + 141, + 133, + 154, + 113, + 162, + 151, + 115, + 157, + 138 ] } ], @@ -37230,7 +37677,7 @@ "title": "Classes", "kind": 128, "children": [ - 93 + 97 ] } ], @@ -37243,7 +37690,7 @@ ] }, { - "id": 415, + "id": 419, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -37260,7 +37707,7 @@ ] }, { - "id": 1, + "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -37270,7 +37717,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/constants.ts", "children": [ { - "id": 13, + "id": 15, "name": "CHANNEL_EVENTS", "kind": 4, "kindString": "Enumeration", @@ -37278,60 +37725,9 @@ "isExported": true }, "children": [ - { - "id": 14, - "name": "close", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 23, - "character": 7 - } - ], - "defaultValue": "\"phx_close\"" - }, - { - "id": 15, - "name": "error", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 24, - "character": 7 - } - ], - "defaultValue": "\"phx_error\"" - }, { "id": 16, - "name": "join", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 25, - "character": 6 - } - ], - "defaultValue": "\"phx_join\"" - }, - { - "id": 18, - "name": "leave", + "name": "close", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -37344,10 +37740,61 @@ "character": 7 } ], - "defaultValue": "\"phx_leave\"" + "defaultValue": "\"phx_close\"" }, { "id": 17, + "name": "error", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 28, + "character": 7 + } + ], + "defaultValue": "\"phx_error\"" + }, + { + "id": 18, + "name": "join", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 29, + "character": 6 + } + ], + "defaultValue": "\"phx_join\"" + }, + { + "id": 20, + "name": "leave", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 31, + "character": 7 + } + ], + "defaultValue": "\"phx_leave\"" + }, + { + "id": 19, "name": "reply", "kind": 16, "kindString": "Enumeration member", @@ -37357,7 +37804,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 26, + "line": 30, "character": 7 } ], @@ -37369,30 +37816,146 @@ "title": "Enumeration members", "kind": 16, "children": [ - 14, - 15, 16, + 17, 18, - 17 + 20, + 19 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 22, + "line": 26, "character": 26 } ] }, { - "id": 7, + "id": 9, "name": "CHANNEL_STATES", "kind": 4, "kindString": "Enumeration", "flags": { "isExported": true }, + "children": [ + { + "id": 10, + "name": "closed", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 19, + "character": 8 + } + ], + "defaultValue": "\"closed\"" + }, + { + "id": 11, + "name": "errored", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 20, + "character": 9 + } + ], + "defaultValue": "\"errored\"" + }, + { + "id": 12, + "name": "joined", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 21, + "character": 8 + } + ], + "defaultValue": "\"joined\"" + }, + { + "id": 13, + "name": "joining", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 22, + "character": 9 + } + ], + "defaultValue": "\"joining\"" + }, + { + "id": 14, + "name": "leaving", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 23, + "character": 9 + } + ], + "defaultValue": "\"leaving\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 10, + 11, + 12, + 13, + 14 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 18, + "character": 26 + } + ] + }, + { + "id": 4, + "name": "SOCKET_STATES", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, "children": [ { "id": 8, @@ -37409,126 +37972,10 @@ "character": 8 } ], - "defaultValue": "\"closed\"" - }, - { - "id": 9, - "name": "errored", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 16, - "character": 9 - } - ], - "defaultValue": "\"errored\"" - }, - { - "id": 10, - "name": "joined", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 17, - "character": 8 - } - ], - "defaultValue": "\"joined\"" - }, - { - "id": 11, - "name": "joining", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 18, - "character": 9 - } - ], - "defaultValue": "\"joining\"" - }, - { - "id": 12, - "name": "leaving", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 19, - "character": 9 - } - ], - "defaultValue": "\"leaving\"" - } - ], - "groups": [ - { - "title": "Enumeration members", - "kind": 16, - "children": [ - 8, - 9, - 10, - 11, - 12 - ] - } - ], - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 14, - "character": 26 - } - ] - }, - { - "id": 2, - "name": "SOCKET_STATES", - "kind": 4, - "kindString": "Enumeration", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 6, - "name": "closed", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 11, - "character": 8 - } - ], "defaultValue": "3" }, { - "id": 5, + "id": 7, "name": "closing", "kind": 16, "kindString": "Enumeration member", @@ -37538,14 +37985,14 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 10, + "line": 14, "character": 9 } ], "defaultValue": "2" }, { - "id": 3, + "id": 5, "name": "connecting", "kind": 16, "kindString": "Enumeration member", @@ -37555,14 +38002,14 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 8, + "line": 12, "character": 12 } ], "defaultValue": "0" }, { - "id": 4, + "id": 6, "name": "open", "kind": 16, "kindString": "Enumeration member", @@ -37572,7 +38019,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 9, + "line": 13, "character": 6 } ], @@ -37584,23 +38031,23 @@ "title": "Enumeration members", "kind": 16, "children": [ - 6, + 8, + 7, 5, - 3, - 4 + 6 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 7, + "line": 11, "character": 25 } ] }, { - "id": 19, + "id": 21, "name": "TRANSPORTS", "kind": 4, "kindString": "Enumeration", @@ -37609,7 +38056,7 @@ }, "children": [ { - "id": 20, + "id": 22, "name": "websocket", "kind": 16, "kindString": "Enumeration member", @@ -37619,7 +38066,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 31, + "line": 35, "character": 11 } ], @@ -37631,20 +38078,20 @@ "title": "Enumeration members", "kind": 16, "children": [ - 20 + 22 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 30, + "line": 34, "character": 22 } ] }, { - "id": 22, + "id": 26, "name": "DEFAULT_TIMEOUT", "kind": 32, "kindString": "Variable", @@ -37655,7 +38102,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 3, + "line": 7, "character": 28 } ], @@ -37666,7 +38113,7 @@ "defaultValue": "10000" }, { - "id": 21, + "id": 25, "name": "VSN", "kind": 32, "kindString": "Variable", @@ -37677,7 +38124,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 1, + "line": 5, "character": 16 } ], @@ -37688,7 +38135,7 @@ "defaultValue": "\"1.0.0\"" }, { - "id": 23, + "id": 27, "name": "WS_CLOSE_NORMAL", "kind": 32, "kindString": "Variable", @@ -37699,7 +38146,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 5, + "line": 9, "character": 28 } ], @@ -37708,6 +38155,59 @@ "name": "1000" }, "defaultValue": "1000" + }, + { + "id": 23, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 24, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`realtime-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 24 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } } ], "groups": [ @@ -37715,18 +38215,25 @@ "title": "Enumerations", "kind": 4, "children": [ - 13, - 7, - 2, - 19 + 15, + 9, + 4, + 21 ] }, { "title": "Variables", "kind": 32, "children": [ - 22, - 21, + 26, + 25, + 27 + ] + }, + { + "title": "Object literals", + "kind": 2097152, + "children": [ 23 ] } @@ -37740,7 +38247,7 @@ ] }, { - "id": 38, + "id": 42, "name": "\"lib/push\"", "kind": 1, "kindString": "Module", @@ -37750,7 +38257,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/push.ts", "children": [ { - "id": 39, + "id": 43, "name": "Push", "kind": 128, "kindString": "Class", @@ -37759,7 +38266,7 @@ }, "children": [ { - "id": 52, + "id": 56, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37771,7 +38278,7 @@ }, "signatures": [ { - "id": 57, + "id": 61, "name": "new Push", "kind": 16384, "kindString": "Constructor signature", @@ -37783,7 +38290,7 @@ }, "parameters": [ { - "id": 58, + "id": 62, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -37795,12 +38302,12 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, { - "id": 59, + "id": 63, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -37816,7 +38323,7 @@ } }, { - "id": 60, + "id": 64, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -37833,7 +38340,7 @@ "defaultValue": "{}" }, { - "id": 61, + "id": 65, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -37852,7 +38359,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -37866,7 +38373,7 @@ ] }, { - "id": 53, + "id": 57, "name": "channel", "kind": 1024, "kindString": "Property", @@ -37887,12 +38394,12 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, { - "id": 54, + "id": 58, "name": "event", "kind": 1024, "kindString": "Property", @@ -37917,7 +38424,7 @@ } }, { - "id": 55, + "id": 59, "name": "payload", "kind": 1024, "kindString": "Property", @@ -37942,7 +38449,7 @@ } }, { - "id": 47, + "id": 51, "name": "recHooks", "kind": 1024, "kindString": "Property", @@ -37961,7 +38468,7 @@ "elementType": { "type": "reflection", "declaration": { - "id": 48, + "id": 52, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37970,7 +38477,7 @@ }, "children": [ { - "id": 50, + "id": 54, "name": "callback", "kind": 32, "kindString": "Variable", @@ -37990,7 +38497,7 @@ } }, { - "id": 49, + "id": 53, "name": "status", "kind": 32, "kindString": "Variable", @@ -38015,8 +38522,8 @@ "title": "Variables", "kind": 32, "children": [ - 50, - 49 + 54, + 53 ] } ], @@ -38033,7 +38540,7 @@ "defaultValue": "[]" }, { - "id": 43, + "id": 47, "name": "receivedResp", "kind": 1024, "kindString": "Property", @@ -38053,7 +38560,7 @@ { "type": "reflection", "declaration": { - "id": 44, + "id": 48, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -38062,7 +38569,7 @@ }, "children": [ { - "id": 46, + "id": 50, "name": "response", "kind": 32, "kindString": "Variable", @@ -38082,7 +38589,7 @@ } }, { - "id": 45, + "id": 49, "name": "status", "kind": 32, "kindString": "Variable", @@ -38107,8 +38614,8 @@ "title": "Variables", "kind": 32, "children": [ - 46, - 45 + 50, + 49 ] } ], @@ -38130,7 +38637,7 @@ "defaultValue": "null" }, { - "id": 42, + "id": 46, "name": "ref", "kind": 1024, "kindString": "Property", @@ -38151,7 +38658,7 @@ "defaultValue": "\"\"" }, { - "id": 51, + "id": 55, "name": "refEvent", "kind": 1024, "kindString": "Property", @@ -38181,7 +38688,7 @@ "defaultValue": "null" }, { - "id": 40, + "id": 44, "name": "sent", "kind": 1024, "kindString": "Property", @@ -38202,7 +38709,7 @@ "defaultValue": "false" }, { - "id": 56, + "id": 60, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -38227,7 +38734,7 @@ } }, { - "id": 41, + "id": 45, "name": "timeoutTimer", "kind": 1024, "kindString": "Property", @@ -38257,7 +38764,7 @@ "defaultValue": "undefined" }, { - "id": 79, + "id": 83, "name": "_cancelRefEvent", "kind": 2048, "kindString": "Method", @@ -38267,7 +38774,7 @@ }, "signatures": [ { - "id": 80, + "id": 84, "name": "_cancelRefEvent", "kind": 4096, "kindString": "Call signature", @@ -38289,7 +38796,7 @@ ] }, { - "id": 81, + "id": 85, "name": "_cancelTimeout", "kind": 2048, "kindString": "Method", @@ -38299,7 +38806,7 @@ }, "signatures": [ { - "id": 82, + "id": 86, "name": "_cancelTimeout", "kind": 4096, "kindString": "Call signature", @@ -38321,7 +38828,7 @@ ] }, { - "id": 89, + "id": 93, "name": "_hasReceived", "kind": 2048, "kindString": "Method", @@ -38331,7 +38838,7 @@ }, "signatures": [ { - "id": 90, + "id": 94, "name": "_hasReceived", "kind": 4096, "kindString": "Call signature", @@ -38340,7 +38847,7 @@ }, "parameters": [ { - "id": 91, + "id": 95, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -38381,7 +38888,7 @@ ] }, { - "id": 83, + "id": 87, "name": "_matchReceive", "kind": 2048, "kindString": "Method", @@ -38391,7 +38898,7 @@ }, "signatures": [ { - "id": 84, + "id": 88, "name": "_matchReceive", "kind": 4096, "kindString": "Call signature", @@ -38400,7 +38907,7 @@ }, "parameters": [ { - "id": 85, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -38411,7 +38918,7 @@ "type": { "type": "reflection", "declaration": { - "id": 86, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -38420,7 +38927,7 @@ }, "children": [ { - "id": 88, + "id": 92, "name": "response", "kind": 32, "kindString": "Variable", @@ -38440,7 +38947,7 @@ } }, { - "id": 87, + "id": 91, "name": "status", "kind": 32, "kindString": "Variable", @@ -38465,8 +38972,8 @@ "title": "Variables", "kind": 32, "children": [ - 88, - 87 + 92, + 91 ] } ], @@ -38496,7 +39003,7 @@ ] }, { - "id": 77, + "id": 81, "name": "destroy", "kind": 2048, "kindString": "Method", @@ -38505,7 +39012,7 @@ }, "signatures": [ { - "id": 78, + "id": 82, "name": "destroy", "kind": 4096, "kindString": "Call signature", @@ -38527,7 +39034,7 @@ ] }, { - "id": 67, + "id": 71, "name": "receive", "kind": 2048, "kindString": "Method", @@ -38536,7 +39043,7 @@ }, "signatures": [ { - "id": 68, + "id": 72, "name": "receive", "kind": 4096, "kindString": "Call signature", @@ -38545,7 +39052,7 @@ }, "parameters": [ { - "id": 69, + "id": 73, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -38558,7 +39065,7 @@ } }, { - "id": 70, + "id": 74, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -38586,7 +39093,7 @@ ] }, { - "id": 62, + "id": 66, "name": "resend", "kind": 2048, "kindString": "Method", @@ -38595,7 +39102,7 @@ }, "signatures": [ { - "id": 63, + "id": 67, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -38604,7 +39111,7 @@ }, "parameters": [ { - "id": 64, + "id": 68, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -38632,7 +39139,7 @@ ] }, { - "id": 65, + "id": 69, "name": "send", "kind": 2048, "kindString": "Method", @@ -38641,7 +39148,7 @@ }, "signatures": [ { - "id": 66, + "id": 70, "name": "send", "kind": 4096, "kindString": "Call signature", @@ -38663,7 +39170,7 @@ ] }, { - "id": 71, + "id": 75, "name": "startTimeout", "kind": 2048, "kindString": "Method", @@ -38672,7 +39179,7 @@ }, "signatures": [ { - "id": 72, + "id": 76, "name": "startTimeout", "kind": 4096, "kindString": "Call signature", @@ -38694,7 +39201,7 @@ ] }, { - "id": 73, + "id": 77, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -38703,7 +39210,7 @@ }, "signatures": [ { - "id": 74, + "id": 78, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -38712,7 +39219,7 @@ }, "parameters": [ { - "id": 75, + "id": 79, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -38725,7 +39232,7 @@ } }, { - "id": 76, + "id": 80, "name": "response", "kind": 32768, "kindString": "Parameter", @@ -38758,39 +39265,39 @@ "title": "Constructors", "kind": 512, "children": [ - 52 + 56 ] }, { "title": "Properties", "kind": 1024, "children": [ - 53, - 54, - 55, - 47, - 43, - 42, + 57, + 58, + 59, 51, - 40, - 56, - 41 + 47, + 46, + 55, + 44, + 60, + 45 ] }, { "title": "Methods", "kind": 2048, "children": [ - 79, - 81, - 89, 83, - 77, - 67, - 62, - 65, + 85, + 93, + 87, + 81, 71, - 73 + 66, + 69, + 75, + 77 ] } ], @@ -38808,7 +39315,7 @@ "title": "Classes", "kind": 128, "children": [ - 39 + 43 ] } ], @@ -38821,7 +39328,7 @@ ] }, { - "id": 171, + "id": 175, "name": "\"lib/serializer\"", "kind": 1, "kindString": "Module", @@ -38831,7 +39338,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts", "children": [ { - "id": 172, + "id": 176, "name": "Serializer", "kind": 128, "kindString": "Class", @@ -38840,7 +39347,7 @@ }, "children": [ { - "id": 173, + "id": 177, "name": "HEADER_LENGTH", "kind": 1024, "kindString": "Property", @@ -38861,7 +39368,7 @@ "defaultValue": "1" }, { - "id": 178, + "id": 182, "name": "_binaryDecode", "kind": 2048, "kindString": "Method", @@ -38871,7 +39378,7 @@ }, "signatures": [ { - "id": 179, + "id": 183, "name": "_binaryDecode", "kind": 4096, "kindString": "Call signature", @@ -38880,7 +39387,7 @@ }, "parameters": [ { - "id": 180, + "id": 184, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -38896,7 +39403,7 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -38905,7 +39412,7 @@ }, "children": [ { - "id": 184, + "id": 188, "name": "event", "kind": 32, "kindString": "Variable", @@ -38925,7 +39432,7 @@ } }, { - "id": 185, + "id": 189, "name": "payload", "kind": 32, "kindString": "Variable", @@ -38945,7 +39452,7 @@ } }, { - "id": 182, + "id": 186, "name": "ref", "kind": 32, "kindString": "Variable", @@ -38965,7 +39472,7 @@ } }, { - "id": 183, + "id": 187, "name": "topic", "kind": 32, "kindString": "Variable", @@ -38990,10 +39497,10 @@ "title": "Variables", "kind": 32, "children": [ - 184, - 185, - 182, - 183 + 188, + 189, + 186, + 187 ] } ] @@ -39010,7 +39517,7 @@ ] }, { - "id": 186, + "id": 190, "name": "_decodeBroadcast", "kind": 2048, "kindString": "Method", @@ -39020,7 +39527,7 @@ }, "signatures": [ { - "id": 187, + "id": 191, "name": "_decodeBroadcast", "kind": 4096, "kindString": "Call signature", @@ -39029,7 +39536,7 @@ }, "parameters": [ { - "id": 188, + "id": 192, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -39042,7 +39549,7 @@ } }, { - "id": 189, + "id": 193, "name": "view", "kind": 32768, "kindString": "Parameter", @@ -39055,7 +39562,7 @@ } }, { - "id": 190, + "id": 194, "name": "decoder", "kind": 32768, "kindString": "Parameter", @@ -39071,7 +39578,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -39080,7 +39587,7 @@ }, "children": [ { - "id": 194, + "id": 198, "name": "event", "kind": 32, "kindString": "Variable", @@ -39100,7 +39607,7 @@ } }, { - "id": 195, + "id": 199, "name": "payload", "kind": 32, "kindString": "Variable", @@ -39120,7 +39627,7 @@ } }, { - "id": 192, + "id": 196, "name": "ref", "kind": 32, "kindString": "Variable", @@ -39140,7 +39647,7 @@ } }, { - "id": 193, + "id": 197, "name": "topic", "kind": 32, "kindString": "Variable", @@ -39165,10 +39672,10 @@ "title": "Variables", "kind": 32, "children": [ - 194, - 195, - 192, - 193 + 198, + 199, + 196, + 197 ] } ], @@ -39192,7 +39699,7 @@ ] }, { - "id": 174, + "id": 178, "name": "decode", "kind": 2048, "kindString": "Method", @@ -39201,7 +39708,7 @@ }, "signatures": [ { - "id": 175, + "id": 179, "name": "decode", "kind": 4096, "kindString": "Call signature", @@ -39210,7 +39717,7 @@ }, "parameters": [ { - "id": 176, + "id": 180, "name": "rawPayload", "kind": 32768, "kindString": "Parameter", @@ -39232,7 +39739,7 @@ } }, { - "id": 177, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -39265,16 +39772,16 @@ "title": "Properties", "kind": 1024, "children": [ - 173 + 177 ] }, { "title": "Methods", "kind": 2048, "children": [ - 178, - 186, - 174 + 182, + 190, + 178 ] } ], @@ -39292,7 +39799,7 @@ "title": "Classes", "kind": 128, "children": [ - 172 + 176 ] } ], @@ -39305,7 +39812,7 @@ ] }, { - "id": 24, + "id": 28, "name": "\"lib/timer\"", "kind": 1, "kindString": "Module", @@ -39315,7 +39822,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/timer.ts", "children": [ { - "id": 25, + "id": 29, "name": "Timer", "kind": 128, "kindString": "Class", @@ -39333,7 +39840,7 @@ }, "children": [ { - "id": 28, + "id": 32, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -39342,7 +39849,7 @@ }, "signatures": [ { - "id": 31, + "id": 35, "name": "new Timer", "kind": 16384, "kindString": "Constructor signature", @@ -39351,7 +39858,7 @@ }, "parameters": [ { - "id": 32, + "id": 36, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -39364,7 +39871,7 @@ } }, { - "id": 33, + "id": 37, "name": "timerCalc", "kind": 32768, "kindString": "Parameter", @@ -39379,7 +39886,7 @@ ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } } @@ -39393,7 +39900,7 @@ ] }, { - "id": 29, + "id": 33, "name": "callback", "kind": 1024, "kindString": "Property", @@ -39415,7 +39922,7 @@ } }, { - "id": 26, + "id": 30, "name": "timer", "kind": 1024, "kindString": "Property", @@ -39445,7 +39952,7 @@ "defaultValue": "undefined" }, { - "id": 30, + "id": 34, "name": "timerCalc", "kind": 1024, "kindString": "Property", @@ -39467,7 +39974,7 @@ } }, { - "id": 27, + "id": 31, "name": "tries", "kind": 1024, "kindString": "Property", @@ -39488,7 +39995,7 @@ "defaultValue": "0" }, { - "id": 34, + "id": 38, "name": "reset", "kind": 2048, "kindString": "Method", @@ -39497,7 +40004,7 @@ }, "signatures": [ { - "id": 35, + "id": 39, "name": "reset", "kind": 4096, "kindString": "Call signature", @@ -39519,7 +40026,7 @@ ] }, { - "id": 36, + "id": 40, "name": "scheduleTimeout", "kind": 2048, "kindString": "Method", @@ -39528,7 +40035,7 @@ }, "signatures": [ { - "id": 37, + "id": 41, "name": "scheduleTimeout", "kind": 4096, "kindString": "Call signature", @@ -39555,25 +40062,25 @@ "title": "Constructors", "kind": 512, "children": [ - 28 + 32 ] }, { "title": "Properties", "kind": 1024, "children": [ - 29, - 26, + 33, 30, - 27 + 34, + 31 ] }, { "title": "Methods", "kind": 2048, "children": [ - 34, - 36 + 38, + 40 ] } ], @@ -39591,7 +40098,7 @@ "title": "Classes", "kind": 128, "children": [ - 25 + 29 ] } ], @@ -39604,7 +40111,7 @@ ] }, { - "id": 329, + "id": 333, "name": "\"lib/transformers\"", "kind": 1, "kindString": "Module", @@ -39614,7 +40121,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts", "children": [ { - "id": 330, + "id": 334, "name": "PostgresTypes", "kind": 4, "kindString": "Enumeration", @@ -39626,7 +40133,7 @@ }, "children": [ { - "id": 331, + "id": 335, "name": "abstime", "kind": 16, "kindString": "Enumeration member", @@ -39643,7 +40150,7 @@ "defaultValue": "\"abstime\"" }, { - "id": 332, + "id": 336, "name": "bool", "kind": 16, "kindString": "Enumeration member", @@ -39660,7 +40167,7 @@ "defaultValue": "\"bool\"" }, { - "id": 333, + "id": 337, "name": "date", "kind": 16, "kindString": "Enumeration member", @@ -39677,7 +40184,7 @@ "defaultValue": "\"date\"" }, { - "id": 334, + "id": 338, "name": "daterange", "kind": 16, "kindString": "Enumeration member", @@ -39694,7 +40201,7 @@ "defaultValue": "\"daterange\"" }, { - "id": 335, + "id": 339, "name": "float4", "kind": 16, "kindString": "Enumeration member", @@ -39711,7 +40218,7 @@ "defaultValue": "\"float4\"" }, { - "id": 336, + "id": 340, "name": "float8", "kind": 16, "kindString": "Enumeration member", @@ -39728,7 +40235,7 @@ "defaultValue": "\"float8\"" }, { - "id": 337, + "id": 341, "name": "int2", "kind": 16, "kindString": "Enumeration member", @@ -39745,7 +40252,7 @@ "defaultValue": "\"int2\"" }, { - "id": 338, + "id": 342, "name": "int4", "kind": 16, "kindString": "Enumeration member", @@ -39762,7 +40269,7 @@ "defaultValue": "\"int4\"" }, { - "id": 339, + "id": 343, "name": "int4range", "kind": 16, "kindString": "Enumeration member", @@ -39779,7 +40286,7 @@ "defaultValue": "\"int4range\"" }, { - "id": 340, + "id": 344, "name": "int8", "kind": 16, "kindString": "Enumeration member", @@ -39796,7 +40303,7 @@ "defaultValue": "\"int8\"" }, { - "id": 341, + "id": 345, "name": "int8range", "kind": 16, "kindString": "Enumeration member", @@ -39813,7 +40320,7 @@ "defaultValue": "\"int8range\"" }, { - "id": 342, + "id": 346, "name": "json", "kind": 16, "kindString": "Enumeration member", @@ -39830,7 +40337,7 @@ "defaultValue": "\"json\"" }, { - "id": 343, + "id": 347, "name": "jsonb", "kind": 16, "kindString": "Enumeration member", @@ -39847,7 +40354,7 @@ "defaultValue": "\"jsonb\"" }, { - "id": 344, + "id": 348, "name": "money", "kind": 16, "kindString": "Enumeration member", @@ -39864,7 +40371,7 @@ "defaultValue": "\"money\"" }, { - "id": 345, + "id": 349, "name": "numeric", "kind": 16, "kindString": "Enumeration member", @@ -39881,7 +40388,7 @@ "defaultValue": "\"numeric\"" }, { - "id": 346, + "id": 350, "name": "oid", "kind": 16, "kindString": "Enumeration member", @@ -39898,7 +40405,7 @@ "defaultValue": "\"oid\"" }, { - "id": 347, + "id": 351, "name": "reltime", "kind": 16, "kindString": "Enumeration member", @@ -39915,7 +40422,7 @@ "defaultValue": "\"reltime\"" }, { - "id": 348, + "id": 352, "name": "time", "kind": 16, "kindString": "Enumeration member", @@ -39932,7 +40439,7 @@ "defaultValue": "\"time\"" }, { - "id": 349, + "id": 353, "name": "timestamp", "kind": 16, "kindString": "Enumeration member", @@ -39949,7 +40456,7 @@ "defaultValue": "\"timestamp\"" }, { - "id": 350, + "id": 354, "name": "timestamptz", "kind": 16, "kindString": "Enumeration member", @@ -39966,7 +40473,7 @@ "defaultValue": "\"timestamptz\"" }, { - "id": 351, + "id": 355, "name": "timetz", "kind": 16, "kindString": "Enumeration member", @@ -39983,7 +40490,7 @@ "defaultValue": "\"timetz\"" }, { - "id": 352, + "id": 356, "name": "tsrange", "kind": 16, "kindString": "Enumeration member", @@ -40000,7 +40507,7 @@ "defaultValue": "\"tsrange\"" }, { - "id": 353, + "id": 357, "name": "tstzrange", "kind": 16, "kindString": "Enumeration member", @@ -40022,10 +40529,6 @@ "title": "Enumeration members", "kind": 16, "children": [ - 331, - 332, - 333, - 334, 335, 336, 337, @@ -40044,7 +40547,11 @@ 350, 351, 352, - 353 + 353, + 354, + 355, + 356, + 357 ] } ], @@ -40057,7 +40564,7 @@ ] }, { - "id": 354, + "id": 358, "name": "Column", "kind": 4194304, "kindString": "Type alias", @@ -40072,14 +40579,14 @@ "type": { "type": "reflection", "declaration": { - "id": 355, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 356, + "id": 360, "name": "flags", "kind": 32, "kindString": "Variable", @@ -40100,7 +40607,7 @@ } }, { - "id": 357, + "id": 361, "name": "name", "kind": 32, "kindString": "Variable", @@ -40118,7 +40625,7 @@ } }, { - "id": 358, + "id": 362, "name": "type", "kind": 32, "kindString": "Variable", @@ -40136,7 +40643,7 @@ } }, { - "id": 359, + "id": 363, "name": "type_modifier", "kind": 32, "kindString": "Variable", @@ -40159,10 +40666,10 @@ "title": "Variables", "kind": 32, "children": [ - 356, - 357, - 358, - 359 + 360, + 361, + 362, + 363 ] } ], @@ -40177,7 +40684,7 @@ } }, { - "id": 360, + "id": 364, "name": "Records", "kind": 4194304, "kindString": "Type alias", @@ -40192,21 +40699,21 @@ "type": { "type": "reflection", "declaration": { - "id": 361, + "id": 365, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": [ { - "id": 362, + "id": 366, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 363, + "id": 367, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -40234,7 +40741,7 @@ } }, { - "id": 380, + "id": 384, "name": "convertCell", "kind": 64, "kindString": "Function", @@ -40261,7 +40768,7 @@ }, "signatures": [ { - "id": 381, + "id": 385, "name": "convertCell", "kind": 4096, "kindString": "Call signature", @@ -40287,7 +40794,7 @@ }, "parameters": [ { - "id": 382, + "id": 386, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -40303,7 +40810,7 @@ } }, { - "id": 383, + "id": 387, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40334,7 +40841,7 @@ ] }, { - "id": 364, + "id": 368, "name": "convertChangeData", "kind": 64, "kindString": "Function", @@ -40353,7 +40860,7 @@ }, "signatures": [ { - "id": 365, + "id": 369, "name": "convertChangeData", "kind": 4096, "kindString": "Call signature", @@ -40371,7 +40878,7 @@ }, "parameters": [ { - "id": 366, + "id": 370, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -40382,13 +40889,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 367, + "id": 371, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -40398,12 +40905,12 @@ "comment": {}, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 368, + "id": 372, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -40416,7 +40923,7 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 373, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -40425,7 +40932,7 @@ }, "children": [ { - "id": 370, + "id": 374, "name": "skipTypes", "kind": 32, "kindString": "Variable", @@ -40454,7 +40961,7 @@ "title": "Variables", "kind": 32, "children": [ - 370 + 374 ] } ], @@ -40473,7 +40980,7 @@ "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -40482,7 +40989,7 @@ }, "indexSignature": [ { - "id": 372, + "id": 376, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -40491,7 +40998,7 @@ }, "parameters": [ { - "id": 373, + "id": 377, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -40523,7 +41030,7 @@ ] }, { - "id": 374, + "id": 378, "name": "convertColumn", "kind": 64, "kindString": "Function", @@ -40547,7 +41054,7 @@ }, "signatures": [ { - "id": 375, + "id": 379, "name": "convertColumn", "kind": 4096, "kindString": "Call signature", @@ -40570,7 +41077,7 @@ }, "parameters": [ { - "id": 376, + "id": 380, "name": "columnName", "kind": 32768, "kindString": "Parameter", @@ -40586,7 +41093,7 @@ } }, { - "id": 377, + "id": 381, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -40597,13 +41104,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 378, + "id": 382, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -40615,12 +41122,12 @@ }, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 379, + "id": 383, "name": "skipTypes", "kind": 32768, "kindString": "Parameter", @@ -40654,7 +41161,7 @@ ] }, { - "id": 384, + "id": 388, "name": "noop", "kind": 64, "kindString": "Function", @@ -40663,14 +41170,14 @@ }, "signatures": [ { - "id": 385, + "id": 389, "name": "noop", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 386, + "id": 390, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40696,7 +41203,7 @@ ] }, { - "id": 408, + "id": 412, "name": "toArray", "kind": 64, "kindString": "Function", @@ -40719,7 +41226,7 @@ }, "signatures": [ { - "id": 409, + "id": 413, "name": "toArray", "kind": 4096, "kindString": "Call signature", @@ -40741,7 +41248,7 @@ }, "parameters": [ { - "id": 410, + "id": 414, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40754,7 +41261,7 @@ } }, { - "id": 411, + "id": 415, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -40785,7 +41292,7 @@ ] }, { - "id": 387, + "id": 391, "name": "toBoolean", "kind": 64, "kindString": "Function", @@ -40795,7 +41302,7 @@ }, "signatures": [ { - "id": 388, + "id": 392, "name": "toBoolean", "kind": 4096, "kindString": "Call signature", @@ -40804,7 +41311,7 @@ }, "parameters": [ { - "id": 389, + "id": 393, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40845,7 +41352,7 @@ ] }, { - "id": 390, + "id": 394, "name": "toDate", "kind": 64, "kindString": "Function", @@ -40855,7 +41362,7 @@ }, "signatures": [ { - "id": 391, + "id": 395, "name": "toDate", "kind": 4096, "kindString": "Call signature", @@ -40864,7 +41371,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40892,7 +41399,7 @@ ] }, { - "id": 393, + "id": 397, "name": "toDateRange", "kind": 64, "kindString": "Function", @@ -40902,7 +41409,7 @@ }, "signatures": [ { - "id": 394, + "id": 398, "name": "toDateRange", "kind": 4096, "kindString": "Call signature", @@ -40911,7 +41418,7 @@ }, "parameters": [ { - "id": 395, + "id": 399, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40942,7 +41449,7 @@ ] }, { - "id": 396, + "id": 400, "name": "toFloat", "kind": 64, "kindString": "Function", @@ -40952,7 +41459,7 @@ }, "signatures": [ { - "id": 397, + "id": 401, "name": "toFloat", "kind": 4096, "kindString": "Call signature", @@ -40961,7 +41468,7 @@ }, "parameters": [ { - "id": 398, + "id": 402, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40989,7 +41496,7 @@ ] }, { - "id": 399, + "id": 403, "name": "toInt", "kind": 64, "kindString": "Function", @@ -40999,7 +41506,7 @@ }, "signatures": [ { - "id": 400, + "id": 404, "name": "toInt", "kind": 4096, "kindString": "Call signature", @@ -41008,7 +41515,7 @@ }, "parameters": [ { - "id": 401, + "id": 405, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -41036,7 +41543,7 @@ ] }, { - "id": 402, + "id": 406, "name": "toIntRange", "kind": 64, "kindString": "Function", @@ -41046,7 +41553,7 @@ }, "signatures": [ { - "id": 403, + "id": 407, "name": "toIntRange", "kind": 4096, "kindString": "Call signature", @@ -41055,7 +41562,7 @@ }, "parameters": [ { - "id": 404, + "id": 408, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -41086,7 +41593,7 @@ ] }, { - "id": 405, + "id": 409, "name": "toJson", "kind": 64, "kindString": "Function", @@ -41096,7 +41603,7 @@ }, "signatures": [ { - "id": 406, + "id": 410, "name": "toJson", "kind": 4096, "kindString": "Call signature", @@ -41105,7 +41612,7 @@ }, "parameters": [ { - "id": 407, + "id": 411, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -41133,7 +41640,7 @@ ] }, { - "id": 412, + "id": 416, "name": "toTimestampString", "kind": 64, "kindString": "Function", @@ -41152,7 +41659,7 @@ }, "signatures": [ { - "id": 413, + "id": 417, "name": "toTimestampString", "kind": 4096, "kindString": "Call signature", @@ -41170,7 +41677,7 @@ }, "parameters": [ { - "id": 414, + "id": 418, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -41203,34 +41710,34 @@ "title": "Enumerations", "kind": 4, "children": [ - 330 + 334 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 354, - 360 + 358, + 364 ] }, { "title": "Functions", "kind": 64, "children": [ - 380, - 364, - 374, 384, - 408, - 387, - 390, - 393, - 396, - 399, - 402, - 405, - 412 + 368, + 378, + 388, + 412, + 391, + 394, + 397, + 400, + 403, + 406, + 409, + 416 ] } ], @@ -41241,6 +41748,56 @@ "character": 0 } ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -41248,14 +41805,15 @@ "title": "Modules", "kind": 1, "children": [ - 196, - 92, - 415, - 1, - 38, - 171, - 24, - 329 + 200, + 96, + 419, + 3, + 42, + 175, + 28, + 333, + 1 ] } ] @@ -41268,7 +41826,7 @@ "originalName": "", "children": [ { - "id": 270, + "id": 276, "name": "\"SupabaseStorageClient\"", "kind": 1, "kindString": "Module", @@ -41278,7 +41836,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/SupabaseStorageClient.ts", "children": [ { - "id": 271, + "id": 277, "name": "SupabaseStorageClient", "kind": 128, "kindString": "Class", @@ -41287,7 +41845,7 @@ }, "children": [ { - "id": 272, + "id": 278, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41296,7 +41854,7 @@ }, "signatures": [ { - "id": 273, + "id": 279, "name": "new SupabaseStorageClient", "kind": 16384, "kindString": "Constructor signature", @@ -41305,7 +41863,7 @@ }, "parameters": [ { - "id": 274, + "id": 280, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -41318,7 +41876,7 @@ } }, { - "id": 275, + "id": 281, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -41328,7 +41886,7 @@ "type": { "type": "reflection", "declaration": { - "id": 276, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41337,7 +41895,7 @@ }, "indexSignature": [ { - "id": 277, + "id": 283, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -41346,7 +41904,7 @@ }, "parameters": [ { - "id": 278, + "id": 284, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -41379,12 +41937,12 @@ ], "type": { "type": "reference", - "id": 271, + "id": 277, "name": "SupabaseStorageClient" }, "overwrites": { "type": "reference", - "id": 96, + "id": 101, "name": "StorageBucketApi.__constructor" } } @@ -41398,12 +41956,12 @@ ], "overwrites": { "type": "reference", - "id": 96, + "id": 101, "name": "StorageBucketApi.__constructor" } }, { - "id": 283, + "id": 289, "name": "headers", "kind": 1024, "kindString": "Property", @@ -41414,14 +41972,14 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 284, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41430,7 +41988,7 @@ }, "indexSignature": [ { - "id": 285, + "id": 291, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -41439,7 +41997,7 @@ }, "parameters": [ { - "id": 286, + "id": 292, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -41461,7 +42019,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 20 } ] @@ -41469,12 +42027,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 92, + "id": 97, "name": "StorageBucketApi.headers" } }, { - "id": 282, + "id": 288, "name": "url", "kind": 1024, "kindString": "Property", @@ -41485,7 +42043,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 5, + "line": 6, "character": 15 } ], @@ -41495,12 +42053,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 91, + "id": 96, "name": "StorageBucketApi.url" } }, { - "id": 298, + "id": 304, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -41509,7 +42067,7 @@ }, "signatures": [ { - "id": 299, + "id": 305, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -41522,7 +42080,7 @@ }, "parameters": [ { - "id": 300, + "id": 306, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -41538,7 +42096,7 @@ } }, { - "id": 301, + "id": 307, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -41548,7 +42106,7 @@ "type": { "type": "reflection", "declaration": { - "id": 302, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41557,7 +42115,7 @@ }, "children": [ { - "id": 303, + "id": 309, "name": "public", "kind": 32, "kindString": "Variable", @@ -41567,7 +42125,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 21 } ], @@ -41582,14 +42140,14 @@ "title": "Variables", "kind": 32, "children": [ - 303 + 309 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 12 } ] @@ -41604,7 +42162,7 @@ { "type": "reflection", "declaration": { - "id": 304, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41613,7 +42171,7 @@ }, "children": [ { - "id": 305, + "id": 311, "name": "data", "kind": 32, "kindString": "Variable", @@ -41623,7 +42181,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 19 } ], @@ -41642,7 +42200,7 @@ } }, { - "id": 306, + "id": 312, "name": "error", "kind": 32, "kindString": "Variable", @@ -41652,7 +42210,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 41 } ], @@ -41676,15 +42234,15 @@ "title": "Variables", "kind": 32, "children": [ - 305, - 306 + 311, + 312 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 13 } ] @@ -41695,7 +42253,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 114, + "id": 119, "name": "StorageBucketApi.createBucket" } } @@ -41703,18 +42261,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 45, + "line": 46, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 114, + "id": 119, "name": "StorageBucketApi.createBucket" } }, { - "id": 326, + "id": 332, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -41723,7 +42281,7 @@ }, "signatures": [ { - "id": 327, + "id": 333, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -41735,7 +42293,7 @@ }, "parameters": [ { - "id": 328, + "id": 334, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -41757,7 +42315,7 @@ { "type": "reflection", "declaration": { - "id": 329, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41766,7 +42324,7 @@ }, "children": [ { - "id": 330, + "id": 336, "name": "data", "kind": 32, "kindString": "Variable", @@ -41776,7 +42334,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 19 } ], @@ -41786,7 +42344,7 @@ { "type": "reflection", "declaration": { - "id": 331, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41795,7 +42353,7 @@ }, "children": [ { - "id": 332, + "id": 338, "name": "message", "kind": 32, "kindString": "Variable", @@ -41805,7 +42363,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 30 } ], @@ -41820,14 +42378,14 @@ "title": "Variables", "kind": 32, "children": [ - 332 + 338 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 20 } ] @@ -41841,7 +42399,7 @@ } }, { - "id": 333, + "id": 339, "name": "error", "kind": 32, "kindString": "Variable", @@ -41851,7 +42409,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 54 } ], @@ -41875,15 +42433,15 @@ "title": "Variables", "kind": 32, "children": [ - 330, - 333 + 336, + 339 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 13 } ] @@ -41894,7 +42452,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 142, + "id": 147, "name": "StorageBucketApi.deleteBucket" } } @@ -41902,18 +42460,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 104, + "line": 105, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 142, + "id": 147, "name": "StorageBucketApi.deleteBucket" } }, { - "id": 318, + "id": 324, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -41922,7 +42480,7 @@ }, "signatures": [ { - "id": 319, + "id": 325, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -41934,7 +42492,7 @@ }, "parameters": [ { - "id": 320, + "id": 326, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -41956,7 +42514,7 @@ { "type": "reflection", "declaration": { - "id": 321, + "id": 327, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41965,7 +42523,7 @@ }, "children": [ { - "id": 322, + "id": 328, "name": "data", "kind": 32, "kindString": "Variable", @@ -41975,7 +42533,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 19 } ], @@ -41985,7 +42543,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41994,7 +42552,7 @@ }, "children": [ { - "id": 324, + "id": 330, "name": "message", "kind": 32, "kindString": "Variable", @@ -42004,7 +42562,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 30 } ], @@ -42019,14 +42577,14 @@ "title": "Variables", "kind": 32, "children": [ - 324 + 330 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 20 } ] @@ -42040,7 +42598,7 @@ } }, { - "id": 325, + "id": 331, "name": "error", "kind": 32, "kindString": "Variable", @@ -42050,7 +42608,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 54 } ], @@ -42074,15 +42632,15 @@ "title": "Variables", "kind": 32, "children": [ - 322, - 325 + 328, + 331 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 13 } ] @@ -42093,7 +42651,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 134, + "id": 139, "name": "StorageBucketApi.emptyBucket" } } @@ -42101,18 +42659,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 87, + "line": 88, "character": 19 } ], "inheritedFrom": { "type": "reference", - "id": 134, + "id": 139, "name": "StorageBucketApi.emptyBucket" } }, { - "id": 279, + "id": 285, "name": "from", "kind": 2048, "kindString": "Method", @@ -42121,7 +42679,7 @@ }, "signatures": [ { - "id": 280, + "id": 286, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -42133,7 +42691,7 @@ }, "parameters": [ { - "id": 281, + "id": 287, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42151,7 +42709,7 @@ ], "type": { "type": "reference", - "id": 154, + "id": 159, "name": "StorageFileApi" } } @@ -42165,7 +42723,7 @@ ] }, { - "id": 292, + "id": 298, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -42174,7 +42732,7 @@ }, "signatures": [ { - "id": 293, + "id": 299, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -42186,7 +42744,7 @@ }, "parameters": [ { - "id": 294, + "id": 300, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42202,6 +42760,142 @@ } } ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 301, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 302, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 45 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 58, + "name": "Bucket" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 303, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 67 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 302, + 303 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 39 + } + ] + } + } + ], + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 113, + "name": "StorageBucketApi.getBucket" + } + } + ], + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 17 + } + ], + "inheritedFrom": { + "type": "reference", + "id": 113, + "name": "StorageBucketApi.getBucket" + } + }, + { + "id": 293, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 294, + "name": "listBuckets", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Retrieves the details of all Storage buckets within an existing product." + }, "type": { "type": "reference", "typeArguments": [ @@ -42227,17 +42921,20 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 45 + "line": 17, + "character": 37 } ], "type": { "type": "union", "types": [ { - "type": "reference", - "id": 58, - "name": "Bucket" + "type": "array", + "elementType": { + "type": "reference", + "id": 58, + "name": "Bucket" + } }, { "type": "intrinsic", @@ -42257,8 +42954,8 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 67 + "line": 17, + "character": 61 } ], "type": { @@ -42289,146 +42986,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 39 - } - ] - } - } - ], - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 108, - "name": "StorageBucketApi.getBucket" - } - } - ], - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 17 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 108, - "name": "StorageBucketApi.getBucket" - } - }, - { - "id": 287, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 288, - "name": "listBuckets", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves the details of all Storage buckets within an existing product." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 290, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 58, - "name": "Bucket" - } - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 291, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, - "character": 61 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 290, - 291 - ] - } - ], - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 31 } ] @@ -42439,7 +42997,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 108, "name": "StorageBucketApi.listBuckets" } } @@ -42447,18 +43005,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 19 } ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 108, "name": "StorageBucketApi.listBuckets" } }, { - "id": 307, + "id": 313, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -42467,7 +43025,7 @@ }, "signatures": [ { - "id": 308, + "id": 314, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -42479,7 +43037,7 @@ }, "parameters": [ { - "id": 309, + "id": 315, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42495,7 +43053,7 @@ } }, { - "id": 310, + "id": 316, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -42505,7 +43063,7 @@ "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42514,7 +43072,7 @@ }, "children": [ { - "id": 312, + "id": 318, "name": "public", "kind": 32, "kindString": "Variable", @@ -42524,7 +43082,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 21 } ], @@ -42539,14 +43097,14 @@ "title": "Variables", "kind": 32, "children": [ - 312 + 318 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 12 } ] @@ -42560,7 +43118,7 @@ { "type": "reflection", "declaration": { - "id": 313, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42569,7 +43127,7 @@ }, "children": [ { - "id": 314, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -42579,7 +43137,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 19 } ], @@ -42589,7 +43147,7 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42598,7 +43156,7 @@ }, "children": [ { - "id": 316, + "id": 322, "name": "message", "kind": 32, "kindString": "Variable", @@ -42608,7 +43166,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 30 } ], @@ -42623,14 +43181,14 @@ "title": "Variables", "kind": 32, "children": [ - 316 + 322 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 20 } ] @@ -42644,7 +43202,7 @@ } }, { - "id": 317, + "id": 323, "name": "error", "kind": 32, "kindString": "Variable", @@ -42654,7 +43212,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 54 } ], @@ -42678,15 +43236,15 @@ "title": "Variables", "kind": 32, "children": [ - 314, - 317 + 320, + 323 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 13 } ] @@ -42697,7 +43255,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 123, + "id": 128, "name": "StorageBucketApi.updateBucket" } } @@ -42705,13 +43263,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 66, + "line": 67, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 123, + "id": 128, "name": "StorageBucketApi.updateBucket" } } @@ -42721,28 +43279,28 @@ "title": "Constructors", "kind": 512, "children": [ - 272 + 278 ] }, { "title": "Properties", "kind": 1024, "children": [ - 283, - 282 + 289, + 288 ] }, { "title": "Methods", "kind": 2048, "children": [ + 304, + 332, + 324, + 285, 298, - 326, - 318, - 279, - 292, - 287, - 307 + 293, + 313 ] } ], @@ -42756,7 +43314,7 @@ "extendedTypes": [ { "type": "reference", - "id": 90, + "id": 95, "name": "StorageBucketApi" } ] @@ -42767,7 +43325,7 @@ "title": "Classes", "kind": 128, "children": [ - 271 + 277 ] } ], @@ -42780,7 +43338,7 @@ ] }, { - "id": 334, + "id": 340, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -42790,7 +43348,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/index.ts", "children": [ { - "id": 335, + "id": 341, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -42800,7 +43358,7 @@ "target": 58 }, { - "id": 336, + "id": 342, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -42810,7 +43368,7 @@ "target": 65 }, { - "id": 338, + "id": 344, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -42820,7 +43378,7 @@ "target": 79 }, { - "id": 340, + "id": 346, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -42830,7 +43388,7 @@ "target": 87 }, { - "id": 339, + "id": 345, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -42840,7 +43398,7 @@ "target": 83 }, { - "id": 337, + "id": 343, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -42855,12 +43413,12 @@ "title": "References", "kind": 16777216, "children": [ - 335, - 336, - 338, - 340, - 339, - 337 + 341, + 342, + 344, + 346, + 345, + 343 ] } ], @@ -42873,7 +43431,7 @@ ] }, { - "id": 89, + "id": 94, "name": "\"lib/StorageBucketApi\"", "kind": 1, "kindString": "Module", @@ -42883,7 +43441,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageBucketApi.ts", "children": [ { - "id": 90, + "id": 95, "name": "StorageBucketApi", "kind": 128, "kindString": "Class", @@ -42892,7 +43450,7 @@ }, "children": [ { - "id": 96, + "id": 101, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -42901,7 +43459,7 @@ }, "signatures": [ { - "id": 97, + "id": 102, "name": "new StorageBucketApi", "kind": 16384, "kindString": "Constructor signature", @@ -42910,7 +43468,7 @@ }, "parameters": [ { - "id": 98, + "id": 103, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -42923,7 +43481,7 @@ } }, { - "id": 99, + "id": 104, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -42933,7 +43491,7 @@ "type": { "type": "reflection", "declaration": { - "id": 100, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42942,7 +43500,7 @@ }, "indexSignature": [ { - "id": 101, + "id": 106, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -42951,7 +43509,7 @@ }, "parameters": [ { - "id": 102, + "id": 107, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -42973,7 +43531,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 8, + "line": 9, "character": 35 } ] @@ -42984,7 +43542,7 @@ ], "type": { "type": "reference", - "id": 90, + "id": 95, "name": "StorageBucketApi" } } @@ -42992,13 +43550,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 46 } ] }, { - "id": 92, + "id": 97, "name": "headers", "kind": 1024, "kindString": "Property", @@ -43009,14 +43567,14 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 93, + "id": 98, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43025,7 +43583,7 @@ }, "indexSignature": [ { - "id": 94, + "id": 99, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -43034,7 +43592,7 @@ }, "parameters": [ { - "id": 95, + "id": 100, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -43056,7 +43614,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 20 } ] @@ -43064,7 +43622,7 @@ } }, { - "id": 91, + "id": 96, "name": "url", "kind": 1024, "kindString": "Property", @@ -43075,7 +43633,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 5, + "line": 6, "character": 15 } ], @@ -43085,7 +43643,7 @@ } }, { - "id": 114, + "id": 119, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -43094,7 +43652,7 @@ }, "signatures": [ { - "id": 115, + "id": 120, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -43107,7 +43665,7 @@ }, "parameters": [ { - "id": 116, + "id": 121, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43123,7 +43681,7 @@ } }, { - "id": 117, + "id": 122, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -43133,7 +43691,7 @@ "type": { "type": "reflection", "declaration": { - "id": 118, + "id": 123, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43142,7 +43700,7 @@ }, "children": [ { - "id": 119, + "id": 124, "name": "public", "kind": 32, "kindString": "Variable", @@ -43152,7 +43710,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 21 } ], @@ -43167,14 +43725,14 @@ "title": "Variables", "kind": 32, "children": [ - 119 + 124 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 12 } ] @@ -43189,7 +43747,7 @@ { "type": "reflection", "declaration": { - "id": 120, + "id": 125, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43198,7 +43756,7 @@ }, "children": [ { - "id": 121, + "id": 126, "name": "data", "kind": 32, "kindString": "Variable", @@ -43208,7 +43766,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 19 } ], @@ -43227,7 +43785,7 @@ } }, { - "id": 122, + "id": 127, "name": "error", "kind": 32, "kindString": "Variable", @@ -43237,7 +43795,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 41 } ], @@ -43261,15 +43819,15 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 122 + 126, + 127 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 13 } ] @@ -43283,13 +43841,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 45, + "line": 46, "character": 20 } ] }, { - "id": 142, + "id": 147, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -43298,7 +43856,7 @@ }, "signatures": [ { - "id": 143, + "id": 148, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -43310,7 +43868,7 @@ }, "parameters": [ { - "id": 144, + "id": 149, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43332,7 +43890,7 @@ { "type": "reflection", "declaration": { - "id": 145, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43341,7 +43899,7 @@ }, "children": [ { - "id": 146, + "id": 151, "name": "data", "kind": 32, "kindString": "Variable", @@ -43351,7 +43909,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 19 } ], @@ -43361,7 +43919,7 @@ { "type": "reflection", "declaration": { - "id": 147, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43370,7 +43928,7 @@ }, "children": [ { - "id": 148, + "id": 153, "name": "message", "kind": 32, "kindString": "Variable", @@ -43380,7 +43938,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 30 } ], @@ -43395,14 +43953,14 @@ "title": "Variables", "kind": 32, "children": [ - 148 + 153 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 20 } ] @@ -43416,7 +43974,7 @@ } }, { - "id": 149, + "id": 154, "name": "error", "kind": 32, "kindString": "Variable", @@ -43426,7 +43984,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 54 } ], @@ -43450,15 +44008,15 @@ "title": "Variables", "kind": 32, "children": [ - 146, - 149 + 151, + 154 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 13 } ] @@ -43472,13 +44030,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 104, + "line": 105, "character": 20 } ] }, { - "id": 134, + "id": 139, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -43487,7 +44045,7 @@ }, "signatures": [ { - "id": 135, + "id": 140, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -43499,7 +44057,7 @@ }, "parameters": [ { - "id": 136, + "id": 141, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43521,7 +44079,7 @@ { "type": "reflection", "declaration": { - "id": 137, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43530,7 +44088,7 @@ }, "children": [ { - "id": 138, + "id": 143, "name": "data", "kind": 32, "kindString": "Variable", @@ -43540,7 +44098,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 19 } ], @@ -43550,7 +44108,7 @@ { "type": "reflection", "declaration": { - "id": 139, + "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43559,7 +44117,7 @@ }, "children": [ { - "id": 140, + "id": 145, "name": "message", "kind": 32, "kindString": "Variable", @@ -43569,7 +44127,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 30 } ], @@ -43584,14 +44142,14 @@ "title": "Variables", "kind": 32, "children": [ - 140 + 145 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 20 } ] @@ -43605,7 +44163,7 @@ } }, { - "id": 141, + "id": 146, "name": "error", "kind": 32, "kindString": "Variable", @@ -43615,7 +44173,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 54 } ], @@ -43639,15 +44197,15 @@ "title": "Variables", "kind": 32, "children": [ - 138, - 141 + 143, + 146 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 13 } ] @@ -43661,13 +44219,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 87, + "line": 88, "character": 19 } ] }, { - "id": 108, + "id": 113, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -43676,7 +44234,7 @@ }, "signatures": [ { - "id": 109, + "id": 114, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -43688,7 +44246,7 @@ }, "parameters": [ { - "id": 110, + "id": 115, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43710,7 +44268,7 @@ { "type": "reflection", "declaration": { - "id": 111, + "id": 116, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43719,7 +44277,7 @@ }, "children": [ { - "id": 112, + "id": 117, "name": "data", "kind": 32, "kindString": "Variable", @@ -43729,7 +44287,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 45 } ], @@ -43749,7 +44307,7 @@ } }, { - "id": 113, + "id": 118, "name": "error", "kind": 32, "kindString": "Variable", @@ -43759,7 +44317,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 67 } ], @@ -43783,15 +44341,15 @@ "title": "Variables", "kind": 32, "children": [ - 112, - 113 + 117, + 118 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 39 } ] @@ -43805,13 +44363,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 17 } ] }, { - "id": 103, + "id": 108, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -43820,7 +44378,7 @@ }, "signatures": [ { - "id": 104, + "id": 109, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -43836,7 +44394,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43845,7 +44403,7 @@ }, "children": [ { - "id": 106, + "id": 111, "name": "data", "kind": 32, "kindString": "Variable", @@ -43855,7 +44413,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 37 } ], @@ -43878,7 +44436,7 @@ } }, { - "id": 107, + "id": 112, "name": "error", "kind": 32, "kindString": "Variable", @@ -43888,7 +44446,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 61 } ], @@ -43912,15 +44470,15 @@ "title": "Variables", "kind": 32, "children": [ - 106, - 107 + 111, + 112 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 31 } ] @@ -43934,13 +44492,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 19 } ] }, { - "id": 123, + "id": 128, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -43949,7 +44507,7 @@ }, "signatures": [ { - "id": 124, + "id": 129, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -43961,7 +44519,7 @@ }, "parameters": [ { - "id": 125, + "id": 130, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43977,7 +44535,7 @@ } }, { - "id": 126, + "id": 131, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -43987,7 +44545,7 @@ "type": { "type": "reflection", "declaration": { - "id": 127, + "id": 132, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43996,7 +44554,7 @@ }, "children": [ { - "id": 128, + "id": 133, "name": "public", "kind": 32, "kindString": "Variable", @@ -44006,7 +44564,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 21 } ], @@ -44021,14 +44579,14 @@ "title": "Variables", "kind": 32, "children": [ - 128 + 133 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 12 } ] @@ -44042,7 +44600,7 @@ { "type": "reflection", "declaration": { - "id": 129, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44051,7 +44609,7 @@ }, "children": [ { - "id": 130, + "id": 135, "name": "data", "kind": 32, "kindString": "Variable", @@ -44061,7 +44619,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 19 } ], @@ -44071,7 +44629,7 @@ { "type": "reflection", "declaration": { - "id": 131, + "id": 136, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44080,7 +44638,7 @@ }, "children": [ { - "id": 132, + "id": 137, "name": "message", "kind": 32, "kindString": "Variable", @@ -44090,7 +44648,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 30 } ], @@ -44105,14 +44663,14 @@ "title": "Variables", "kind": 32, "children": [ - 132 + 137 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 20 } ] @@ -44126,7 +44684,7 @@ } }, { - "id": 133, + "id": 138, "name": "error", "kind": 32, "kindString": "Variable", @@ -44136,7 +44694,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 54 } ], @@ -44160,15 +44718,15 @@ "title": "Variables", "kind": 32, "children": [ - 130, - 133 + 135, + 138 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 13 } ] @@ -44182,7 +44740,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 66, + "line": 67, "character": 20 } ] @@ -44193,41 +44751,41 @@ "title": "Constructors", "kind": 512, "children": [ - 96 + 101 ] }, { "title": "Properties", "kind": 1024, "children": [ - 92, - 91 + 97, + 96 ] }, { "title": "Methods", "kind": 2048, "children": [ - 114, - 142, - 134, + 119, + 147, + 139, + 113, 108, - 103, - 123 + 128 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 4, + "line": 5, "character": 29 } ], "extendedBy": [ { "type": "reference", - "id": 271, + "id": 277, "name": "SupabaseStorageClient" } ] @@ -44238,7 +44796,7 @@ "title": "Classes", "kind": 128, "children": [ - 90 + 95 ] } ], @@ -44251,7 +44809,7 @@ ] }, { - "id": 153, + "id": 158, "name": "\"lib/StorageFileApi\"", "kind": 1, "kindString": "Module", @@ -44261,7 +44819,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageFileApi.ts", "children": [ { - "id": 154, + "id": 159, "name": "StorageFileApi", "kind": 128, "kindString": "Class", @@ -44270,7 +44828,7 @@ }, "children": [ { - "id": 161, + "id": 166, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44279,7 +44837,7 @@ }, "signatures": [ { - "id": 162, + "id": 167, "name": "new StorageFileApi", "kind": 16384, "kindString": "Constructor signature", @@ -44288,7 +44846,7 @@ }, "parameters": [ { - "id": 163, + "id": 168, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -44301,7 +44859,7 @@ } }, { - "id": 164, + "id": 169, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -44311,7 +44869,7 @@ "type": { "type": "reflection", "declaration": { - "id": 165, + "id": 170, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44320,7 +44878,7 @@ }, "indexSignature": [ { - "id": 166, + "id": 171, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -44329,7 +44887,7 @@ }, "parameters": [ { - "id": 167, + "id": 172, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -44360,7 +44918,7 @@ "defaultValue": "{}" }, { - "id": 168, + "id": 173, "name": "bucketId", "kind": 32768, "kindString": "Parameter", @@ -44385,7 +44943,7 @@ ], "type": { "type": "reference", - "id": 154, + "id": 159, "name": "StorageFileApi" } } @@ -44399,7 +44957,7 @@ ] }, { - "id": 160, + "id": 165, "name": "bucketId", "kind": 1024, "kindString": "Property", @@ -44430,7 +44988,7 @@ } }, { - "id": 156, + "id": 161, "name": "headers", "kind": 1024, "kindString": "Property", @@ -44448,7 +45006,7 @@ "type": { "type": "reflection", "declaration": { - "id": 157, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44457,7 +45015,7 @@ }, "indexSignature": [ { - "id": 158, + "id": 163, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -44466,7 +45024,7 @@ }, "parameters": [ { - "id": 159, + "id": 164, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -44496,7 +45054,7 @@ } }, { - "id": 155, + "id": 160, "name": "url", "kind": 1024, "kindString": "Property", @@ -44517,7 +45075,7 @@ } }, { - "id": 248, + "id": 253, "name": "_getFinalPath", "kind": 2048, "kindString": "Method", @@ -44526,7 +45084,7 @@ }, "signatures": [ { - "id": 249, + "id": 254, "name": "_getFinalPath", "kind": 4096, "kindString": "Call signature", @@ -44535,7 +45093,7 @@ }, "parameters": [ { - "id": 250, + "id": 255, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44563,7 +45121,7 @@ ] }, { - "id": 209, + "id": 214, "name": "createSignedUrl", "kind": 2048, "kindString": "Method", @@ -44572,7 +45130,7 @@ }, "signatures": [ { - "id": 210, + "id": 215, "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -44584,7 +45142,7 @@ }, "parameters": [ { - "id": 211, + "id": 216, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44600,7 +45158,7 @@ } }, { - "id": 212, + "id": 217, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -44622,7 +45180,7 @@ { "type": "reflection", "declaration": { - "id": 213, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44631,7 +45189,7 @@ }, "children": [ { - "id": 214, + "id": 219, "name": "data", "kind": 32, "kindString": "Variable", @@ -44651,7 +45209,7 @@ { "type": "reflection", "declaration": { - "id": 215, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44660,7 +45218,7 @@ }, "children": [ { - "id": 216, + "id": 221, "name": "signedURL", "kind": 32, "kindString": "Variable", @@ -44685,7 +45243,7 @@ "title": "Variables", "kind": 32, "children": [ - 216 + 221 ] } ], @@ -44706,7 +45264,7 @@ } }, { - "id": 217, + "id": 222, "name": "error", "kind": 32, "kindString": "Variable", @@ -44735,7 +45293,7 @@ } }, { - "id": 218, + "id": 223, "name": "signedURL", "kind": 32, "kindString": "Variable", @@ -44769,9 +45327,9 @@ "title": "Variables", "kind": 32, "children": [ - 214, - 217, - 218 + 219, + 222, + 223 ] } ], @@ -44798,7 +45356,7 @@ ] }, { - "id": 219, + "id": 224, "name": "download", "kind": 2048, "kindString": "Method", @@ -44807,7 +45365,7 @@ }, "signatures": [ { - "id": 220, + "id": 225, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -44819,7 +45377,7 @@ }, "parameters": [ { - "id": 221, + "id": 226, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44841,7 +45399,7 @@ { "type": "reflection", "declaration": { - "id": 222, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44850,7 +45408,7 @@ }, "children": [ { - "id": 223, + "id": 228, "name": "data", "kind": 32, "kindString": "Variable", @@ -44879,7 +45437,7 @@ } }, { - "id": 224, + "id": 229, "name": "error", "kind": 32, "kindString": "Variable", @@ -44913,8 +45471,8 @@ "title": "Variables", "kind": 32, "children": [ - 223, - 224 + 228, + 229 ] } ], @@ -44941,7 +45499,7 @@ ] }, { - "id": 225, + "id": 230, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -44950,7 +45508,7 @@ }, "signatures": [ { - "id": 226, + "id": 231, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -44962,7 +45520,7 @@ }, "parameters": [ { - "id": 227, + "id": 232, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44981,7 +45539,7 @@ "type": { "type": "reflection", "declaration": { - "id": 228, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44990,7 +45548,7 @@ }, "children": [ { - "id": 229, + "id": 234, "name": "data", "kind": 32, "kindString": "Variable", @@ -45010,7 +45568,7 @@ { "type": "reflection", "declaration": { - "id": 230, + "id": 235, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45019,7 +45577,7 @@ }, "children": [ { - "id": 231, + "id": 236, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -45044,7 +45602,7 @@ "title": "Variables", "kind": 32, "children": [ - 231 + 236 ] } ], @@ -45065,7 +45623,7 @@ } }, { - "id": 232, + "id": 237, "name": "error", "kind": 32, "kindString": "Variable", @@ -45094,7 +45652,7 @@ } }, { - "id": 233, + "id": 238, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -45128,9 +45686,9 @@ "title": "Variables", "kind": 32, "children": [ - 229, - 232, - 233 + 234, + 237, + 238 ] } ], @@ -45154,7 +45712,7 @@ ] }, { - "id": 240, + "id": 245, "name": "list", "kind": 2048, "kindString": "Method", @@ -45163,7 +45721,7 @@ }, "signatures": [ { - "id": 241, + "id": 246, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -45175,7 +45733,7 @@ }, "parameters": [ { - "id": 242, + "id": 247, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -45201,7 +45759,7 @@ } }, { - "id": 243, + "id": 248, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -45219,7 +45777,7 @@ } }, { - "id": 244, + "id": 249, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -45243,7 +45801,7 @@ { "type": "reflection", "declaration": { - "id": 245, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45252,7 +45810,7 @@ }, "children": [ { - "id": 246, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -45285,7 +45843,7 @@ } }, { - "id": 247, + "id": 252, "name": "error", "kind": 32, "kindString": "Variable", @@ -45319,8 +45877,8 @@ "title": "Variables", "kind": 32, "children": [ - 246, - 247 + 251, + 252 ] } ], @@ -45347,7 +45905,7 @@ ] }, { - "id": 200, + "id": 205, "name": "move", "kind": 2048, "kindString": "Method", @@ -45356,7 +45914,7 @@ }, "signatures": [ { - "id": 201, + "id": 206, "name": "move", "kind": 4096, "kindString": "Call signature", @@ -45368,7 +45926,7 @@ }, "parameters": [ { - "id": 202, + "id": 207, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -45384,7 +45942,7 @@ } }, { - "id": 203, + "id": 208, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -45406,7 +45964,7 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45415,7 +45973,7 @@ }, "children": [ { - "id": 205, + "id": 210, "name": "data", "kind": 32, "kindString": "Variable", @@ -45435,7 +45993,7 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45444,7 +46002,7 @@ }, "children": [ { - "id": 207, + "id": 212, "name": "message", "kind": 32, "kindString": "Variable", @@ -45469,7 +46027,7 @@ "title": "Variables", "kind": 32, "children": [ - 207 + 212 ] } ], @@ -45490,7 +46048,7 @@ } }, { - "id": 208, + "id": 213, "name": "error", "kind": 32, "kindString": "Variable", @@ -45524,8 +46082,8 @@ "title": "Variables", "kind": 32, "children": [ - 205, - 208 + 210, + 213 ] } ], @@ -45552,7 +46110,7 @@ ] }, { - "id": 234, + "id": 239, "name": "remove", "kind": 2048, "kindString": "Method", @@ -45561,7 +46119,7 @@ }, "signatures": [ { - "id": 235, + "id": 240, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -45573,7 +46131,7 @@ }, "parameters": [ { - "id": 236, + "id": 241, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -45598,7 +46156,7 @@ { "type": "reflection", "declaration": { - "id": 237, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45607,7 +46165,7 @@ }, "children": [ { - "id": 238, + "id": 243, "name": "data", "kind": 32, "kindString": "Variable", @@ -45640,7 +46198,7 @@ } }, { - "id": 239, + "id": 244, "name": "error", "kind": 32, "kindString": "Variable", @@ -45674,8 +46232,8 @@ "title": "Variables", "kind": 32, "children": [ - 238, - 239 + 243, + 244 ] } ], @@ -45702,7 +46260,7 @@ ] }, { - "id": 190, + "id": 195, "name": "update", "kind": 2048, "kindString": "Method", @@ -45711,7 +46269,7 @@ }, "signatures": [ { - "id": 191, + "id": 196, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -45723,7 +46281,7 @@ }, "parameters": [ { - "id": 192, + "id": 197, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -45739,7 +46297,7 @@ } }, { - "id": 193, + "id": 198, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -45802,7 +46360,7 @@ } }, { - "id": 194, + "id": 199, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -45826,7 +46384,7 @@ { "type": "reflection", "declaration": { - "id": 195, + "id": 200, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45835,7 +46393,7 @@ }, "children": [ { - "id": 196, + "id": 201, "name": "data", "kind": 32, "kindString": "Variable", @@ -45855,7 +46413,7 @@ { "type": "reflection", "declaration": { - "id": 197, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45864,7 +46422,7 @@ }, "children": [ { - "id": 198, + "id": 203, "name": "Key", "kind": 32, "kindString": "Variable", @@ -45889,7 +46447,7 @@ "title": "Variables", "kind": 32, "children": [ - 198 + 203 ] } ], @@ -45910,7 +46468,7 @@ } }, { - "id": 199, + "id": 204, "name": "error", "kind": 32, "kindString": "Variable", @@ -45944,8 +46502,8 @@ "title": "Variables", "kind": 32, "children": [ - 196, - 199 + 201, + 204 ] } ], @@ -45972,7 +46530,7 @@ ] }, { - "id": 180, + "id": 185, "name": "upload", "kind": 2048, "kindString": "Method", @@ -45981,7 +46539,7 @@ }, "signatures": [ { - "id": 181, + "id": 186, "name": "upload", "kind": 4096, "kindString": "Call signature", @@ -45993,7 +46551,7 @@ }, "parameters": [ { - "id": 182, + "id": 187, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -46009,7 +46567,7 @@ } }, { - "id": 183, + "id": 188, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -46072,7 +46630,7 @@ } }, { - "id": 184, + "id": 189, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -46096,7 +46654,7 @@ { "type": "reflection", "declaration": { - "id": 185, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -46105,7 +46663,7 @@ }, "children": [ { - "id": 186, + "id": 191, "name": "data", "kind": 32, "kindString": "Variable", @@ -46125,7 +46683,7 @@ { "type": "reflection", "declaration": { - "id": 187, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -46134,7 +46692,7 @@ }, "children": [ { - "id": 188, + "id": 193, "name": "Key", "kind": 32, "kindString": "Variable", @@ -46159,7 +46717,7 @@ "title": "Variables", "kind": 32, "children": [ - 188 + 193 ] } ], @@ -46180,7 +46738,7 @@ } }, { - "id": 189, + "id": 194, "name": "error", "kind": 32, "kindString": "Variable", @@ -46214,8 +46772,8 @@ "title": "Variables", "kind": 32, "children": [ - 186, - 189 + 191, + 194 ] } ], @@ -46242,7 +46800,7 @@ ] }, { - "id": 169, + "id": 174, "name": "uploadOrUpdate", "kind": 2048, "kindString": "Method", @@ -46252,7 +46810,7 @@ }, "signatures": [ { - "id": 170, + "id": 175, "name": "uploadOrUpdate", "kind": 4096, "kindString": "Call signature", @@ -46264,7 +46822,7 @@ }, "parameters": [ { - "id": 171, + "id": 176, "name": "method", "kind": 32768, "kindString": "Parameter", @@ -46289,7 +46847,7 @@ } }, { - "id": 172, + "id": 177, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -46305,7 +46863,7 @@ } }, { - "id": 173, + "id": 178, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -46368,7 +46926,7 @@ } }, { - "id": 174, + "id": 179, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -46392,7 +46950,7 @@ { "type": "reflection", "declaration": { - "id": 175, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -46401,7 +46959,7 @@ }, "children": [ { - "id": 176, + "id": 181, "name": "data", "kind": 32, "kindString": "Variable", @@ -46421,7 +46979,7 @@ { "type": "reflection", "declaration": { - "id": 177, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -46430,7 +46988,7 @@ }, "children": [ { - "id": 178, + "id": 183, "name": "Key", "kind": 32, "kindString": "Variable", @@ -46455,7 +47013,7 @@ "title": "Variables", "kind": 32, "children": [ - 178 + 183 ] } ], @@ -46476,7 +47034,7 @@ } }, { - "id": 179, + "id": 184, "name": "error", "kind": 32, "kindString": "Variable", @@ -46510,8 +47068,8 @@ "title": "Variables", "kind": 32, "children": [ - 176, - 179 + 181, + 184 ] } ], @@ -46543,32 +47101,32 @@ "title": "Constructors", "kind": 512, "children": [ - 161 + 166 ] }, { "title": "Properties", "kind": 1024, "children": [ - 160, - 156, - 155 + 165, + 161, + 160 ] }, { "title": "Methods", "kind": 2048, "children": [ - 248, - 209, - 219, - 225, - 240, - 200, - 234, - 190, - 180, - 169 + 253, + 214, + 224, + 230, + 245, + 205, + 239, + 195, + 185, + 174 ] } ], @@ -46581,7 +47139,7 @@ ] }, { - "id": 257, + "id": 262, "name": "DEFAULT_FILE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -46590,7 +47148,7 @@ }, "children": [ { - "id": 258, + "id": 263, "name": "cacheControl", "kind": 32, "kindString": "Variable", @@ -46609,7 +47167,7 @@ "defaultValue": "\"3600\"" }, { - "id": 259, + "id": 264, "name": "contentType", "kind": 32, "kindString": "Variable", @@ -46628,7 +47186,7 @@ "defaultValue": "\"text/plain;charset=UTF-8\"" }, { - "id": 260, + "id": 265, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -46652,9 +47210,9 @@ "title": "Variables", "kind": 32, "children": [ - 258, - 259, - 260 + 263, + 264, + 265 ] } ], @@ -46671,7 +47229,7 @@ } }, { - "id": 251, + "id": 256, "name": "DEFAULT_SEARCH_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -46680,7 +47238,7 @@ }, "children": [ { - "id": 252, + "id": 257, "name": "limit", "kind": 32, "kindString": "Variable", @@ -46699,7 +47257,7 @@ "defaultValue": "100" }, { - "id": 253, + "id": 258, "name": "offset", "kind": 32, "kindString": "Variable", @@ -46718,14 +47276,14 @@ "defaultValue": "0" }, { - "id": 254, + "id": 259, "name": "sortBy", "kind": 2097152, "kindString": "Object literal", "flags": {}, "children": [ { - "id": 255, + "id": 260, "name": "column", "kind": 32, "kindString": "Variable", @@ -46744,7 +47302,7 @@ "defaultValue": "\"name\"" }, { - "id": 256, + "id": 261, "name": "order", "kind": 32, "kindString": "Variable", @@ -46768,8 +47326,8 @@ "title": "Variables", "kind": 32, "children": [ - 255, - 256 + 260, + 261 ] } ], @@ -46791,15 +47349,15 @@ "title": "Variables", "kind": 32, "children": [ - 252, - 253 + 257, + 258 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 254 + 259 ] } ], @@ -46821,15 +47379,15 @@ "title": "Classes", "kind": 128, "children": [ - 154 + 159 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 257, - 251 + 262, + 256 ] } ], @@ -46841,6 +47399,87 @@ } ] }, + { + "id": 91, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/storage-js/storage-js/src/lib/constants.ts", + "children": [ + { + "id": 92, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 93, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`storage-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 93 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 92 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, { "id": 1, "name": "\"lib/fetch\"", @@ -47802,7 +48441,7 @@ ] }, { - "id": 150, + "id": 155, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -47812,7 +48451,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/helpers.ts", "children": [ { - "id": 151, + "id": 156, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -47822,7 +48461,7 @@ }, "signatures": [ { - "id": 152, + "id": 157, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -47849,7 +48488,7 @@ "title": "Functions", "kind": 64, "children": [ - 151 + 156 ] } ], @@ -47862,7 +48501,7 @@ ] }, { - "id": 261, + "id": 266, "name": "\"lib/index\"", "kind": 1, "kindString": "Module", @@ -47872,7 +48511,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts", "children": [ { - "id": 264, + "id": 269, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -47882,7 +48521,17 @@ "target": 58 }, { - "id": 265, + "id": 275, + "name": "DEFAULT_HEADERS", + "kind": 16777216, + "kindString": "Reference", + "flags": { + "isExported": true + }, + "target": 92 + }, + { + "id": 270, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -47892,7 +48541,7 @@ "target": 65 }, { - "id": 267, + "id": 272, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -47902,7 +48551,7 @@ "target": 79 }, { - "id": 269, + "id": 274, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -47912,7 +48561,7 @@ "target": 87 }, { - "id": 268, + "id": 273, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -47922,7 +48571,7 @@ "target": 83 }, { - "id": 266, + "id": 271, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -47932,24 +48581,24 @@ "target": 76 }, { - "id": 262, + "id": 267, "name": "StorageBucketApi", "kind": 16777216, "kindString": "Reference", "flags": { "isExported": true }, - "target": 90 + "target": 95 }, { - "id": 263, + "id": 268, "name": "StorageFileApi", "kind": 16777216, "kindString": "Reference", "flags": { "isExported": true }, - "target": 154 + "target": 159 } ], "groups": [ @@ -47957,14 +48606,15 @@ "title": "References", "kind": 16777216, "children": [ - 264, - 265, - 267, 269, - 268, - 266, - 262, - 263 + 275, + 270, + 272, + 274, + 273, + 271, + 267, + 268 ] } ], @@ -48769,6 +49419,56 @@ "character": 0 } ] + }, + { + "id": 89, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/storage-js/storage-js/src/lib/version.ts", + "children": [ + { + "id": 90, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 90 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -48776,14 +49476,16 @@ "title": "Modules", "kind": 1, "children": [ - 270, - 334, - 89, - 153, + 276, + 340, + 94, + 158, + 91, 1, - 150, - 261, - 57 + 155, + 266, + 57, + 89 ] } ] diff --git a/web/spec/dart.yml b/web/spec/dart.yml new file mode 100644 index 00000000000..c2fd2002ed5 --- /dev/null +++ b/web/spec/dart.yml @@ -0,0 +1,2190 @@ +openref: 0.1 + +info: + id: reference/dart + title: Getting started + description: | + + Supabase Dart. + + definition: spec/combined.json + libraries: + - name: 'Dart' + id: 'dart' + version: '0.0.1' + docs: + path: reference/dart/ + sidebar: + - name: 'Getting Started' + items: + - Installing + - Initializing + - name: 'Auth' + items: + - auth.signUp() + - auth.signIn() + - auth.signInWithProvider() + - auth.signOut() + - auth.session() + - auth.user() + - auth.update() + - auth.onAuthStateChange() + - Reset Password (Email) + - name: 'Database' + items: + - select() + - insert() + - update() + - upsert() + - delete() + - rpc() + - name: 'Realtime' + items: + - subscribe() + - removeSubscription() + - getSubscriptions() + - stream() + - name: 'Storage' + items: + - storage.createBucket() + - storage.getBucket() + - storage.listBuckets() + - storage.updateBucket() + - storage.deleteBucket() + - storage.emptyBucket() + - storage.from.upload() + - storage.from.download() + - storage.from.list() + - storage.from.update() + - storage.from.move() + - storage.from.remove() + - storage.from.createSignedUrl() + - storage.from.getPublicUrl() + - name: 'Modifiers' + items: + - Using Modifiers + - limit() + - order() + - range() + - single() + - name: 'Filters' + items: + - Using Filters + - .filter() + - .or() + - .not() + - .match() + - .eq() + - .neq() + - .gt() + - .gte() + - .lt() + - .lte() + - .like() + - .ilike() + - .is_() + - .in_() + - .contains() + - .containedBy() + - .rangeLt() + - .rangeGt() + - .rangeGte() + - .rangeLte() + - .rangeAdjacent() + - .overlaps() + - .textSearch() +pages: + Installing: + description: | + + ## Dart + + Dart libraries are built and suppported by the community. + + ```bash + dart pub add supabase + ``` + + Find the source code on [GitHub](https://github.com/supabase/supabase-dart). + + ## Flutter + + For Flutter project, you can use [supabase-flutter](https://github.com/supabase/supabase-flutter). + + ```bash + flutter pub add supabase_flutter + ``` + + `supabase-flutter` plugin uses `supabase` plugin internally, and it adds some Flutter specific functionality such as handling deeplinks comoing back from magic link vefications. + If you are creating a Flutter application, you should use `supabase-flutter` instead of `supabase-dart`. + + For the most part `supabase-flutter` are share the same API `supabase` with few exceptions such as initialization or OAuth sign in. + + Initializing: + description: | + ## Dart + You can initialize a new Supabase client using the `SupabaseClient()` method. + + The Supabase client is your entrypoint to the rest of the Supabase functionality + and is the easiest way to interact with everything we offer within the Supabase ecosystem. + + + ## Flutter + + For `supabase-flutter`, you will be using the static `initialize()` method on `Supabase` class. + + examples: + - name: Dart SupabaseClient() + dart: | + ```dart + final supabase = SupabaseClient('https://xyzcompany.supabase.co', 'public-anon-key'); + ``` + - name: Flutter initialize() + dart: | + ```dart title="main.dart" + Future main() async { + await Supabase.initialize(url: 'https://xyzcompany.supabase.co', anonKey: 'public-anon-key'); + runApp(MyApp()); + } + ``` + + auth.signUp(): + description: | + Creates a new user. + notes: | + - By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable "Email Confirmations" by going to Authentication -> Settings on [app.supabase.io](https://app.supabase.io) + - If "Email Confirmations" is turned on, a `user` is returned but `session` will be null + - If "Email Confirmations" is turned off, both a `user` and a `session` will be returned + - When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.io](https://app.supabase.io) + examples: + - name: Sign up. + isSpotlight: true + dart: | + ```dart + final res = await supabase.auth.signUp('example@email.com', 'example-password'); + + final user = res.data?.user; + final error = res.error; + ``` + - name: Sign up with third-party providers. + hideCodeBlock: true + description: | + If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase-flutter`. + + auth.signIn(): + description: | + Log in an existing user, or login via a third-party provider. + notes: | + - A user can sign up via email, phone number. + - If you provide `email` without a `password`, the user will be sent a magic link. + - The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.io](https://app.supabase.io) + - Similary, if you provide `phone` without a `password`, the user will be sent a one time password. + - If you are looking to sign users in with OAuth in Flutter apps, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider). + examples: + - name: Sign in with email. + isSpotlight: true + dart: | + ```dart + final res = await supabase.auth.signIn(email: 'example@email.com', password: 'example-password'); + + final user = res.data?.user; + final error = res.error; + ``` + - name: Sign in with magic link. + description: If email is provided, but no password is provided, the user will be sent a "magic link" to their email address, which they can click to open your application with a valid session. By default, a given user can only request a Magic Link once every 60 seconds. + dart: | + ```dart + final res = await supabase.auth.signIn(email: 'example@email.com'); + + final error = res.error; + ``` + - name: Get OAuth sign in URL. + description: | + Passing provider parameter to `signIn()` will return a URL to sign your user in via OAuth. + If you are looking to sign in a user via OAuth on Flutter app, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider). + dart: | + ```dart + final res = await supabase.auth.signIn(provider: Provider.github); + + final url = res.data?.url; + final error = res.error; + ``` + auth.signInWithProvider(): + description: | + Signs the user in using thrid party OAuth providers. + notes: | + - `auth.signInWithProvider()` is only available on `supabase-flutter` + - It will open the browser to the relevant login page. + examples: + - name: Sign in with provider. + isSpotlight: true + dart: | + ```dart + final res = await supabase.auth.signInWithProvider(Provider.github); + + final error = res.error; + ``` + - name: With `redirectTo` + description: | + Specify the redirect link to bring back the user via deeplink. + Note that `redirectTo` should be null for Flutter Web. + dart: | + ```dart + final res = await supabase.auth.signInWithProvider( + Provider.github, + options: AuthOptions( + redirectTo: kIsWeb + ? null + : 'io.supabase.flutter://reset-callback/'), + ); + + final error = res.error; + ``` + - name: With scopes + description: | + If you need additional data from an OAuth provider, you can include a space-separated list of scopes in your request to get back an OAuth provider token. + You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider. + dart: | + ```dart + const { user, session, error } = await supabase.auth.signIn({ + provider: 'github' + }, { + scopes: 'repo gist notifications' + }) + const oAuthToken = session.provider_token // use to access provider API + ``` + auth.signOut(): + description: | + Signs out the current user, if there is a logged in user. + examples: + - name: Sign out + isSpotlight: true + dart: | + ```dart + final res = await supabase.auth.signOut(); + + final error = res.error; + ``` + + auth.session(): + description: | + Returns the session data, if there is an active session. + examples: + - name: Get the session data + isSpotlight: true + dart: | + ```dart + final session = supabase.auth.session(); + ``` + + auth.user(): + description: | + Returns the user data, if there is a logged in user. + examples: + - name: Get the logged in user + isSpotlight: true + dart: | + ```dart + final user = supabase.auth.user(); + ``` + + auth.update(): + description: | + Updates user data, if there is a logged in user. + notes: | + It's generally better to store user data in a table inside your public schema (i.e. `public.users`). + Use the `update()` method if you have data which rarely changes or is specific only to the logged in user. + examples: + - name: Update a user's metadata. + isSpotlight: true + dart: | + ```dart + final res = await supabase.auth.update( + UserAttributes(data: {'hello': 'world'}) + ); + + final error = res.error; + ``` + + auth.onAuthStateChange(): + description: | + Receive a notification every time an auth event happens. + examples: + - name: Listen to auth changes + isSpotlight: true + dart: | + ```dart + final subscription = supabase.auth.onAuthStateChange((event, session) { + print(session?.user?.id); + // handle auth state change + }); + ``` + + Reset Password (Email): + description: | + Sends a reset request to an email address. + notes: | + Sends a reset request to an email address. + + When the user clicks the reset link in the email they will be forwarded to: + + `#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=recovery` + + Your app must detect `type=recovery` in the fragment and display a password reset form to the user. + + You should then use the access_token in the url and new password to update the user as follows: + + ```dart + final res = await supabase.auth.api.updateUser( + accessToken, + UserAttributes(password: 'NEW_PASSWORD'), + ); + ``` + examples: + - name: Reset password + isSpotlight: true + dart: | + ```dart + final res = await supabase.auth.api.resetPasswordForEmail('user@example.com'); + + final error = res.error; + ``` + - name: Reset password for Flutter + isSpotlight: true + dart: | + You can pass `redirectTo` to open the app via deeplink when user opens the password reset email. + ```dart + final res = await supabase.auth.api.resetPasswordForEmail( + 'user@example.com', + options: AuthOptions(redirectTo: kIsWeb + ? null + : 'io.supabase.flutter://reset-callback/'), + ); + + final error = res.error; + ``` + select(): + description: | + Performs vertical filtering with SELECT. + title: 'Fetch data: select()' + notes: | + - By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed 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/dart/using-modifiers) + - `select()` can be combined with [Filters](/docs/reference/dart/using-filters) + examples: + - name: Getting your data + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select() + .execute(); + + final data = res.data; + final error = res.error; + ``` + - name: Selecting specific columns + description: You can select specific fields from your tables. + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name') + .execute(); + ``` + - name: Query foreign tables + description: If your database has relationships, you can query related tables too. + dart: | + ```dart + final res = await supabase + .from('countries') + .select(''' + name, + cities ( + name + ) + ''') + .execute(); + ``` + - name: Query the same foreign table multiple times + description: | + Sometimes you will need to query the same foreign table twice. + In this case, you can use the name of the joined column to identify + which join you intend to use. For convenience, you can also give an + alias for each column. For example, if we had a shop of products, + and we wanted to get the supplier and the purchaser at the same time + (both in the users) table: + dart: | + ```dart + final res = await supabase + .from('products') + .select(''' + id, + supplier:supplier_id ( name ), + purchaser:purchaser_id ( name ) + ''') + .execute(); + ``` + - name: Querying with count option + description: | + You can get the number of rows by using the count option. + Allowed values for count option are [exact](https://postgrest.org/en/stable/api.html#exact-count), [planned](https://postgrest.org/en/stable/api.html#planned-count) and [estimated](https://postgrest.org/en/stable/api.html#estimated-count). + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name') + .execute(count: CountOption.exact); + + final count = res.count; + ``` + - name: Querying JSON data + description: | + If you have data inside of a JSONB column, you can apply select + and query filters to the data values. Postgres offers a + [number of operators](https://www.postgresql.org/docs/current/functions-json.html) + for querying JSON data. Also see + [PostgREST docs](http://postgrest.org/en/v7.0.0/api.html#json-columns) for more details. + dart: | + ```dart + final res = await supabase + .from('users') + .select(''' + id, name, + address->street + ''') + .eq('address->postcode', 90210) + .execute(); + ``` + - name: Return data as CSV + description: | + By default the data is returned in JSON format, however you can also request for it to be returned as Comma Separated Values. + dart: | + ```dart + fianl res = await supabase + .from('users') + .select() + .csv() + .execute(); + ``` + + insert(): + description: | + Performs an INSERT into the table. + title: 'Create data: insert()' + notes: | + - By default, every time you run `insert()`, the client library will make a `select` to return the full record. + This is convenient, but it can also cause problems if your Policies are not configured to allow the `select` operation. + If you are using Row Level Security and you are encountering problems, try setting the `returning` param to `minimal`. + examples: + - name: Create a record + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .insert([ + {'name': 'The Shire', 'country_id': 554} + ]).execute(); + ``` + - name: Bulk create + dart: | + ```dart + final res = await supabase + .from('cities') + .insert([ + {'name': 'The Shire', 'country_id': 554}, + {'name': 'Rohan', 'country_id': 555}, + ]).execute(); + ``` + + update(): + description: | + Performs an UPDATE on the table. + title: 'Modify data: update()' + notes: | + TODO update the link to dart + - `update()` should always be combined with [Filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to update. + examples: + - name: Updating your data + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Middle Earth' }) + .match({ 'name': 'Auckland' }) + .execute(); + ``` + - name: Updating JSON data + description: | + Postgres offers a + [number of operators](https://www.postgresql.org/docs/current/functions-json.html) + for working with JSON data. Right now it is only possible to update an entire JSON document, + but we are [working on ideas](https://github.com/PostgREST/postgrest/issues/465) for updating individual keys. + dart: | + ```dart + final res = await supabase + .from('users') + .update({ + 'address': { + 'street': 'Melrose Place', + 'postcode': 90210 + } + }) + .eq('address->postcode', 90210) + .execute(); + ``` + + upsert(): + description: | + Performs an UPSERT into the table. + title: 'Upsert data: upsert()' + notes: | + - Primary keys should to be included in the data payload in order for an update to work correctly. + - Primary keys must be natural, not surrogate. There are however, [workarounds](https://github.com/PostgREST/postgrest/issues/1118) for surrogate primary keys. + examples: + - name: Upsert your data + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('messages') + .upsert({ 'id': 3, 'message': 'foo', 'username': 'supabot' }) + .execute(); + ``` + - name: Upserting into tables with constraints + description: | + Running the following will cause supabase to upsert data into the `users` table. + If the username 'supabot' already exists, the `onConflict` argument tells supabase to overwrite that row + based on the column passed into `onConflict`. + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('users') + .upsert({ 'username': 'supabot' }, { 'onConflict': 'username' }) + .execute(); + ``` + - name: Return the exact number of rows + description: | + Allowed values for count option are `exact`, `planned` and `estimated`. + dart: | + ```dart + final res = await supabase + .from('users') + .upsert({ + 'id': 3, + 'message': 'foo', + 'username': 'supabot' + }) + .execute(count: CountOption.exact); + ``` + + delete(): + description: | + Performs a DELETE on the table. + title: 'Delete data: delete()' + notes: | + TODO update link to dart + - `delete()` should always be combined with [Filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to delete. + examples: + - name: Delete records + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .match({ 'id': 666 }) + .execute(); + ``` + + rpc(): + title: 'Stored Procedures: rpc()' + description: | + You can call stored procedures as a "Remote Procedure Call". + + That's a fancy way of saying that you can put some logic into your database then call it from anywhere. + It's especially useful when the logic rarely changes - like password resets and updates. + examples: + - name: Call a stored procedure + isSpotlight: true + description: This is an example invoking a stored procedure. + dart: | + ```dart + final res = await supabase + .rpc('hello_world') + .execute(); + ``` + - name: With Parameters + dart: | + ```dart + final res = await supabase + .rpc('echo_city', params: { 'name': 'The Shire' }) + .execute(); + ``` + - name: With count option + description: | + You can specify a count option to get the row count along with your data. + Allowed values for count option are `exact`, `planned` and `estimated`. + dart: | + ```dart + final res = await supabase + .rpc('hello_world') + .execute(count: CountOption.exact); + ``` + + subscribe(): + description: | + Subscribe to realtime changes in your databse. + title: 'on().subscribe()' + notes: | + - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime). + - If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;` + examples: + - name: Listen to all database changes + isSpotlight: true + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.all, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to a specific table + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.all, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to inserts + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.insert, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to updates + description: | + By default, Supabase will send only the updated record. If you want to receive the previous values as well you can + enable full replication for the table you are listening too: + + ```sql + alter table "your_table" replica identity full; + ``` + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.update, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to deletes + description: | + By default, Supabase does not send deleted records. If you want to receive the deleted record you can + enable full replication for the table you are listening too: + + ```sql + alter table "your_table" replica identity full; + ``` + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.delete, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to multiple events + description: You can chain listeners if you want to listen to multiple events for each table. + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.insert, handleInsert) + .on(SupabaseEventTypes.delete, handleDelete) + .subscribe(); + ``` + - name: Listening to row level changes + description: You can listen to individual rows using the format `{table}:{col}=eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match. + dart: | + ```dart + final mySubscription = supabase + .from('countries:id=eq.200') + .on(SupabaseEventTypes.update, handleRecordUpdated) + .subscribe(); + ``` + + removeSubscription(): + description: | + Removes an active subscription and returns the number of open connections. + title: 'removeSubscription()' + notes: | + - Removing subscriptions is a great way to maintain the performance of your project's database. Supabase will automatically handle cleanup 30 seconds after a user is disconnected, but unused subscriptions may cause degradation as more users are simultaneously subscribed. + examples: + - name: Remove a subscription + isSpotlight: true + dart: | + ```dart + supabase.removeSubscription(mySubscription); + ``` + + getSubscriptions(): + description: | + Returns an array of all your subscriptions. + title: 'getSubscriptions()' + examples: + - name: Get all subscriptions + isSpotlight: true + dart: | + ```dart + final subscriptions = supabase.getSubscriptions(); + ``` + + stream(): + description: | + Notifies of data at the queried table. + title: 'stream()' + notes: | + - `stream()` will emit the initial data as well as any further change on the database as `Stream` of `List>` by combining Postgrest and Realtime. + examples: + - name: Listening to a specific table + isSpotlight: true + dart: | + ```dart + supabase + .from('countries') + .stream() + .execute(); + ``` + - name: Listening to a specific rows within a table + description: | + You can listen to individual rows using the format `{table}:{col}=eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match. + This syntax is the as how you can filter data in Realtime + dart: | + ```dart + supabase + .from('countries:id=eq.120') + .stream() + .execute(); + ``` + - name: With `order()` + dart: | + ```dart + supabase + .from('countries') + .stream() + .order('name', ascending: false) + .execute(); + ``` + - name: With `limit()` + dart: | + ```dart + supabase + .from('countries') + .stream() + .order('name', ascending: false) + .limit(10) + .execute(); + ``` + + storage.listBuckets(): + description: | + Retrieves the details of all Storage buckets within an existing product. + title: 'listBuckets()' + $ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.listBuckets' + notes: | + - Policy permissions required: + - `buckets` permissions: `select` + - `objects` permissions: none + examples: + - name: List buckets + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .listBuckets() + ``` + + storage.getBucket(): + description: | + Retrieves the details of an existing Storage bucket. + title: 'getBucket()' + $ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.getBucket' + notes: | + - Policy permissions required: + - `buckets` permissions: `select` + - `objects` permissions: none + examples: + - name: Get bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .getBucket('avatars') + ``` + + storage.createBucket(): + description: | + Creates a new Storage bucket + title: 'createBucket()' + notes: | + - Policy permissions required: + - `buckets` permissions: `insert` + - `objects` permissions: none + examples: + - name: Create bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .createBucket('avatars'); + ``` + + storage.emptyBucket(): + description: | + Removes all objects inside a single bucket. + title: 'emptyBucket()' + notes: | + - Policy permissions required: + - `buckets` permissions: `select` + - `objects` permissions: `select` and `delete` + examples: + - name: Empty bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .emptyBucket('avatars'); + ``` + storage.updateBucket(): + description: | + Updates a new Storage bucket + title: 'updateBucket()' + notes: | + - Policy permissions required: + - `buckets` permissions: `update` + - `objects` permissions: none + examples: + - name: Update bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .updateBucket('avatars', { public: false }); + ``` + + storage.deleteBucket(): + description: | + Deletes an existing bucket. A bucket can't be deleted with existing objects inside it. You must first `empty()` the bucket. + title: 'deleteBucket()' + notes: | + - Policy permissions required: + - `buckets` permissions: `select` and `delete` + - `objects` permissions: none + examples: + - name: Delete bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .deleteBucket('avatars'); + ``` + + storage.from.upload(): + description: | + Uploads a file to an existing bucket. + title: 'from.upload()' + $ref: '@supabase/storage-js."lib/StorageFileApi".StorageFileApi.upload' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `insert` + examples: + - name: Upload file + isSpotlight: true + dart: | + ```dart + final avatarFile = File('path/to/file'); + final res = await supabase + .storage + .from('avatars') + .upload('public/avatar1.png', avatarFile, fileOptions: FileOptions( + cacheControl: '3600', + upsert: false + )); + ``` + + storage.from.update(): + description: | + Replaces an existing file at the specified path with a new one. + title: 'from.update()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `update` and `select` + examples: + - name: Update file + isSpotlight: true + dart: | + ```dart + final avatarFile = File('path/to/file'); + final res = await supabase + .storage + .from('avatars') + .update('public/avatar1.png', avatarFile, fileOptions: FileOptions( + cacheControl: '3600', + upsert: false + )); + ``` + + storage.from.move(): + description: | + Moves an existing file, optionally renaming it at the same time. + title: 'from.move()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `update` and `select` + examples: + - name: Move file + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .move('public/avatar1.png', 'private/avatar2.png'); + ``` + + storage.from.createSignedUrl(): + description: | + Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds. + title: 'from.createSignedUrl()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `select` + examples: + - name: Create Signed URL + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .createSignedUrl('avatar1.png', 60); + + final signedURL = res.data; + ``` + + storage.from.getPublicUrl(): + description: | + Retrieve URLs for assets in public buckets + title: 'from.getPublicUrl()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: none + examples: + - name: Returns the URL for an asset in a public bucket + isSpotlight: true + dart: | + ```dart + final res = supabase + .storage + .from('public-bucket') + .getPublicUrl('avatar1.png'); + + final publicURL = res.data; + ``` + + storage.from.download(): + description: | + Downloads a file. + title: 'from.download()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `select` + examples: + - name: Download file + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .download('avatar1.png'); + ``` + + storage.from.remove(): + description: | + Deletes files within the same bucket + title: 'from.remove()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `delete` and `select` + examples: + - name: Delete file + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .remove(['avatar1.png']); + ``` + + storage.from.list(): + description: | + Lists all the files within a bucket. + title: 'from.list()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `select` + examples: + - name: List files in a bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .list(); + ``` + Using Modifiers: + description: | + Modifiers can be used on `select()` queries. + + If a Stored Procedure returns a table response, you can also apply modifiers to the `rpc()` function. + + limit(): + description: | + Limits the result with the specified count. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .limit(1) + .execute(); + ``` + - name: With embedded resources + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, cities(name)') + .eq('name', 'United States') + .limit(1, foreignTable: 'cities' ) + .execute(); + ``` + + order(): + description: | + Orders the result with the specified column. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .order('id', ascending: false ) + .execute(); + ``` + - name: With embedded resources + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, cities(name)') + .eq('name', 'United States') + .order('name', foreignTable: 'cities') + .execute(); + ``` + + range(): + description: | + Limits the result to rows within the specified range, inclusive. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .range(0,3) + .execute(); + ``` + + single(): + description: | + Retrieves only one row from the result. Result must be one row (e.g. using limit), otherwise this will result in an error. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .single() + .execute(); + ``` + + Using Filters: + description: | + Filters can be used on `select()`, `update()`, and `delete()` queries. + + If a Stored Procedure returns a table response, you can also apply filters. + + ### Applying Filters + + You must apply your filters to the end of your query. For example: + + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .eq('name', 'The Shire') // Correct + .execute(); + + final res = await supabase + .from('cities') + .eq('name', 'The Shire') // Incorrect + .select('name, country_id') + .execute(); + ``` + + ### Chaining + + Filters can be chained together to produce advanced queries. For example: + + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .gte('population', 1000) + .lt('population', 10000) + .execute(); + ``` + + .filter(): + description: | + Finds all rows whose `column` satisfies the filter. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .filter('name', 'eq', 'Paris') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .filter('name', 'eq', 'Paris') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .filter('name', 'eq', 'Paris') + .execute(); + ``` + # TODO Not available at the moment, so would have to fix the bug on postgrest-dart first + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .filter('name', 'eq', 'Paris') + # ``` + - name: Filter embedded resources + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, countries ( name )') + .filter('countries.name', 'eq', 'France') + .execute(); + ``` + + .or(): + description: | + Finds all rows satisfying at least one of the filters. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .or('id.eq.20,id.eq.30') + .execute(); + ``` + - name: Use `or` with `and` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)') + .execute(); + ``` + # TODO Not available at the moment, so would have to fix the bug on postgrest-dart first + # - name: Use `or` on foreign tables + # isSpotlight: true + # dart: | + # ```dart + # final res = await supabase + # .from('countries') + # .select('id, cities(*)') + # .or('name.eq.Wellington,name.eq.Paris', { foreignTable: "cities" }) + # ``` + + .not(): + description: | + Finds all rows which doesn't satisfy the filter. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .not('name', 'eq', 'Paris') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .not('name', 'eq', 'Paris') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .not('name', 'eq', 'Paris') + .execute(); + ``` + # TODO Not available in dart yes, so first fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities) + # .not('name', 'eq', 'Paris') + # ``` + + .match(): + description: | + Finds all rows whose columns match the specified `query` object. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .match({'name': 'Beijing', 'country_id': 156}) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .match({'name': 'Beijing', 'country_id': 156}) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .match({'name': 'Beijing', 'country_id': 156}) + .execute(); + ``` + # TODO Not available in postgrest-dart yet, so first fix the bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .match({name: 'Beijing', country_id: 156}) + # ``` + + .eq(): + description: | + Finds all rows whose value on the stated `column` exactly matches the specified `value`. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .eq('name', 'The shire') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .eq('name', 'San Francisco') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .eq('name', 'Mordor') + .execute(); + ``` + # TODO Fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .eq('name', 'San Francisco') + # ``` + + .neq(): + description: | + Finds all rows whose value on the stated `column` doesn't match the specified `value`. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .neq('name', 'The shire') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .neq('name', 'San Francisco') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .neq('name', 'Mordor') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .neq('name', 'Lagos') + # ``` + + .gt(): + description: | + Finds all rows whose value on the stated `column` is greater than the specified `value`. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .gt('country_id', 250) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .gt('country_id', 250) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .gt('country_id', 250) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .gt('country_id', 250) + # ``` + + .gte(): + description: | + Finds all rows whose value on the stated `column` is greater than or equal to the specified `value`. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .gte('country_id', 250) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .gte('country_id', 250) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .gte('country_id', 250) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .gte('country_id', 250) + # ``` + + .lt(): + description: | + Finds all rows whose value on the stated `column` is less than the specified `value`. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .lt('country_id', 250) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .lt('country_id', 250) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .lt('country_id', 250) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .lt('country_id', 250) + # .execute(); + # ``` + + .lte(): + description: | + Finds all rows whose value on the stated `column` is less than or equal to the specified `value`. + $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.lte' + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .lte('country_id', 250) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .lte('country_id', 250) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .lte('country_id', 250) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .lte('country_id', 250) + # .execute(); + # ``` + + .like(): + description: | + Finds all rows whose value in the stated `column` matches the supplied `pattern` (case sensitive). + $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.like' + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .like('name', '%la%') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .like('name', '%la%') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .like('name', '%la%') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .like('name', '%la%') + # .execute(); + # ``` + + .ilike(): + description: | + Finds all rows whose value in the stated `column` matches the supplied `pattern` (case insensitive). + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .ilike('name', '%la%') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .ilike('name', '%la%') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .ilike('name', '%la%') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .ilike('name', '%la%') + # .execute(); + # ``` + + .is_(): + description: | + A check for exact equality (null, true, false), finds all rows whose value on the stated `column` exactly match the specified `value`. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .is_('name', null) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .is_('name', null) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .is_('name', null) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .is('name', null) + # .execute(); + # ``` + + .in_(): + description: | + Finds all rows whose value on the stated `column` is found on the specified `values`. + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .in_('name', ['Rio de Janeiro', 'San Francisco']) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .in_('name', ['Rio de Janeiro', 'San Francisco']) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .in_('name', ['Rio de Janeiro', 'San Francisco']) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .in('name', ['Rio de Janeiro', 'San Francisco']) + # .execute(); + # ``` + + .contains(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, main_exports') + .contains('main_exports', ['oil']) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .contains('main_exports', ['oil']) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .contains('main_exports', ['oil']) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .contains('main_exports', ['oil']) + # .execute(); + # ``` + + .containedBy(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, main_exports') + .containedBy('main_exports', ['cars', 'food', 'machine']) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .containedBy('main_exports', ['orks', 'surveillance', 'evil']) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .containedBy('main_exports', ['cars', 'food', 'machine']) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .containedBy('main_exports', ['cars', 'food', 'machine']) + # .execute(); + # ``` + + .rangeLt(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeLt('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeLt('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeLt('population_range_millions', '[150, 250]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeLt('population_range_millions', [150, 250]) + # .execute(); + # ``` + + .rangeGt(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeGt('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeGt('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeGt('population_range_millions', '[150, 250]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeGt('population_range_millions', [150, 250]) + # .execute(); + # ``` + + .rangeGte(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeGte('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeGte('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeGte('population_range_millions', '[150, 250]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeGte('population_range_millions', [150, 250]) + # .execute(); + # ``` + + .rangeLte(): + $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.nxr' + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeLte('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeLte('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeLte('population_range_millions', '[150, 250]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeLte('population_range_millions', [150, 250]) + # .execute(); + # ``` + + .rangeAdjacent(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeAdjacent('population_range_millions', '[70, 185]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeAdjacent('population_range_millions', '[70, 185]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeAdjacent('population_range_millions', '[70, 185]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeAdjacent('population_range_millions', [70, 185]) + # .execute(); + # ``` + + .overlaps(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, main_exports') + .overlaps('main_exports', ['computers', 'minerals']) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .overlaps('main_exports', ['computers', 'minerals']) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .overlaps('main_exports', ['computers', 'minerals']) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .overlaps('main_exports', ['computers', 'minerals']) + # .execute(); + # ``` + + .textSearch(): + description: | + Finds all rows whose tsvector value on the stated `column` matches to_tsquery(query). + examples: + - name: Text search + dart: | + ```dart + final res = await supabase + .from('quotes') + .select('catchphrase') + .textSearch('catchphrase', "'fat' & 'cat'", + config: 'english' + ) + .execute(); + ``` + - name: Basic normalization + description: Uses PostgreSQL's `plainto_tsquery` function. + dart: | + ```dart + final res = await supabase + .from('quotes') + .select('catchphrase') + .textSearch('catchphrase', "'fat' & 'cat'", + type: TextSearchType.plain, + config: 'english' + ) + .execute(); + ``` + - name: Full normalization + description: Uses PostgreSQL's `phraseto_tsquery` function. + dart: | + ```dart + final res = await supabase + .from('quotes') + .select('catchphrase') + .textSearch('catchphrase', "'fat' & 'cat'", + type: TextSearchType.phrase, + config: 'english' + ) + .execute(); + ``` + - name: Full normalization + description: | + Uses PostgreSQL's `websearch_to_tsquery` function. + This function will never raise syntax errors, which makes it possible to use raw user-supplied input for search, and can be used + with advanced operators. + + - `unquoted text`: text not inside quote marks will be converted to terms separated by & operators, as if processed by plainto_tsquery. + - `"quoted text"`: text inside quote marks will be converted to terms separated by <-> operators, as if processed by phraseto_tsquery. + - `OR`: the word “or” will be converted to the | operator. + - `-`: a dash will be converted to the ! operator. + + dart: | + ```dart + final res = await supabase + .from('quotes') + .select('catchphrase') + .textSearch('catchphrase', "'fat or cat'", + type: TextSearchType.websearch, + config: 'english' + ) + .execute(); + ``` diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json index eff58464413..7670a069264 100644 --- a/web/spec/gotrue.json +++ b/web/spec/gotrue.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 207, + "id": 185, "name": "\"GoTrueApi\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts", "children": [ { - "id": 208, + "id": 186, "name": "GoTrueApi", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 215, + "id": 193, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,7 +34,7 @@ }, "signatures": [ { - "id": 216, + "id": 194, "name": "new GoTrueApi", "kind": 16384, "kindString": "Constructor signature", @@ -43,7 +43,7 @@ }, "parameters": [ { - "id": 217, + "id": 195, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -54,7 +54,7 @@ "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 196, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -63,7 +63,7 @@ }, "children": [ { - "id": 224, + "id": 202, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -93,7 +93,7 @@ } }, { - "id": 220, + "id": 198, "name": "headers", "kind": 32, "kindString": "Variable", @@ -110,7 +110,7 @@ "type": { "type": "reflection", "declaration": { - "id": 221, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -119,7 +119,7 @@ }, "indexSignature": [ { - "id": 222, + "id": 200, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -128,7 +128,7 @@ }, "parameters": [ { - "id": 223, + "id": 201, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -151,7 +151,7 @@ } }, { - "id": 219, + "id": 197, "name": "url", "kind": 32, "kindString": "Variable", @@ -177,9 +177,9 @@ "title": "Variables", "kind": 32, "children": [ - 224, - 220, - 219 + 202, + 198, + 197 ] } ], @@ -196,7 +196,7 @@ ], "type": { "type": "reference", - "id": 208, + "id": 186, "name": "GoTrueApi" } } @@ -210,7 +210,7 @@ ] }, { - "id": 214, + "id": 192, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -232,7 +232,7 @@ } }, { - "id": 210, + "id": 188, "name": "headers", "kind": 1024, "kindString": "Property", @@ -250,7 +250,7 @@ "type": { "type": "reflection", "declaration": { - "id": 211, + "id": 189, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -259,7 +259,7 @@ }, "indexSignature": [ { - "id": 212, + "id": 190, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -268,7 +268,7 @@ }, "parameters": [ { - "id": 213, + "id": 191, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -298,7 +298,7 @@ } }, { - "id": 209, + "id": 187, "name": "url", "kind": 1024, "kindString": "Property", @@ -319,7 +319,7 @@ } }, { - "id": 305, + "id": 283, "name": "_createRequestHeaders", "kind": 2048, "kindString": "Method", @@ -329,7 +329,7 @@ }, "signatures": [ { - "id": 306, + "id": 284, "name": "_createRequestHeaders", "kind": 4096, "kindString": "Call signature", @@ -341,7 +341,7 @@ }, "parameters": [ { - "id": 307, + "id": 285, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -360,7 +360,7 @@ "type": { "type": "reflection", "declaration": { - "id": 308, + "id": 286, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -380,7 +380,7 @@ ] }, { - "id": 336, + "id": 314, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -389,7 +389,7 @@ }, "signatures": [ { - "id": 337, + "id": 315, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -401,7 +401,7 @@ }, "parameters": [ { - "id": 338, + "id": 316, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -417,7 +417,7 @@ } }, { - "id": 339, + "id": 317, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -439,7 +439,7 @@ { "type": "reflection", "declaration": { - "id": 340, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -448,7 +448,7 @@ }, "children": [ { - "id": 342, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -478,7 +478,7 @@ } }, { - "id": 343, + "id": 321, "name": "error", "kind": 32, "kindString": "Variable", @@ -507,7 +507,7 @@ } }, { - "id": 341, + "id": 319, "name": "user", "kind": 32, "kindString": "Variable", @@ -542,9 +542,9 @@ "title": "Variables", "kind": 32, "children": [ - 342, - 343, - 341 + 320, + 321, + 319 ] } ], @@ -571,7 +571,7 @@ ] }, { - "id": 361, + "id": 339, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -580,7 +580,7 @@ }, "signatures": [ { - "id": 362, + "id": 340, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -592,7 +592,7 @@ }, "parameters": [ { - "id": 363, + "id": 341, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -625,7 +625,7 @@ } }, { - "id": 364, + "id": 342, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -641,7 +641,7 @@ } }, { - "id": 365, + "id": 343, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -651,7 +651,7 @@ "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -660,7 +660,7 @@ }, "children": [ { - "id": 368, + "id": 346, "name": "data", "kind": 32, "kindString": "Variable", @@ -681,7 +681,7 @@ } }, { - "id": 367, + "id": 345, "name": "password", "kind": 32, "kindString": "Variable", @@ -711,7 +711,7 @@ } }, { - "id": 369, + "id": 347, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -746,9 +746,9 @@ "title": "Variables", "kind": 32, "children": [ - 368, - 367, - 369 + 346, + 345, + 347 ] } ], @@ -770,7 +770,7 @@ { "type": "reflection", "declaration": { - "id": 370, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -779,7 +779,7 @@ }, "children": [ { - "id": 371, + "id": 349, "name": "data", "kind": 32, "kindString": "Variable", @@ -817,7 +817,7 @@ } }, { - "id": 372, + "id": 350, "name": "error", "kind": 32, "kindString": "Variable", @@ -851,8 +851,8 @@ "title": "Variables", "kind": 32, "children": [ - 371, - 372 + 349, + 350 ] } ], @@ -879,7 +879,7 @@ ] }, { - "id": 314, + "id": 292, "name": "getUrlForProvider", "kind": 2048, "kindString": "Method", @@ -888,7 +888,7 @@ }, "signatures": [ { - "id": 315, + "id": 293, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -900,7 +900,7 @@ }, "parameters": [ { - "id": 316, + "id": 294, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -917,7 +917,7 @@ } }, { - "id": 317, + "id": 295, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -927,7 +927,7 @@ "type": { "type": "reflection", "declaration": { - "id": 318, + "id": 296, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -936,7 +936,7 @@ }, "children": [ { - "id": 319, + "id": 297, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -966,7 +966,7 @@ } }, { - "id": 320, + "id": 298, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -1001,8 +1001,8 @@ "title": "Variables", "kind": 32, "children": [ - 319, - 320 + 297, + 298 ] } ], @@ -1032,7 +1032,7 @@ ] }, { - "id": 321, + "id": 299, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -1041,7 +1041,7 @@ }, "signatures": [ { - "id": 322, + "id": 300, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -1053,7 +1053,7 @@ }, "parameters": [ { - "id": 323, + "id": 301, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -1075,7 +1075,7 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1084,7 +1084,7 @@ }, "children": [ { - "id": 326, + "id": 304, "name": "data", "kind": 32, "kindString": "Variable", @@ -1114,7 +1114,7 @@ } }, { - "id": 327, + "id": 305, "name": "error", "kind": 32, "kindString": "Variable", @@ -1143,7 +1143,7 @@ } }, { - "id": 325, + "id": 303, "name": "user", "kind": 32, "kindString": "Variable", @@ -1178,9 +1178,9 @@ "title": "Variables", "kind": 32, "children": [ - 326, - 327, - 325 + 304, + 305, + 303 ] } ], @@ -1207,7 +1207,7 @@ ] }, { - "id": 354, + "id": 332, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -1216,7 +1216,7 @@ }, "signatures": [ { - "id": 355, + "id": 333, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -1228,7 +1228,7 @@ }, "parameters": [ { - "id": 356, + "id": 334, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -1247,7 +1247,7 @@ { "type": "reflection", "declaration": { - "id": 357, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1256,7 +1256,7 @@ }, "children": [ { - "id": 359, + "id": 337, "name": "data", "kind": 32, "kindString": "Variable", @@ -1286,7 +1286,7 @@ } }, { - "id": 360, + "id": 338, "name": "error", "kind": 32, "kindString": "Variable", @@ -1315,7 +1315,7 @@ } }, { - "id": 358, + "id": 336, "name": "user", "kind": 32, "kindString": "Variable", @@ -1350,9 +1350,9 @@ "title": "Variables", "kind": 32, "children": [ - 359, - 360, - 358 + 337, + 338, + 336 ] } ], @@ -1379,7 +1379,7 @@ ] }, { - "id": 286, + "id": 264, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -1388,7 +1388,7 @@ }, "signatures": [ { - "id": 287, + "id": 265, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -1400,7 +1400,7 @@ }, "parameters": [ { - "id": 288, + "id": 266, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1416,7 +1416,7 @@ } }, { - "id": 289, + "id": 267, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1426,7 +1426,7 @@ "type": { "type": "reflection", "declaration": { - "id": 290, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1435,7 +1435,7 @@ }, "children": [ { - "id": 291, + "id": 269, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1470,7 +1470,7 @@ "title": "Variables", "kind": 32, "children": [ - 291 + 269 ] } ], @@ -1492,7 +1492,7 @@ { "type": "reflection", "declaration": { - "id": 292, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1501,7 +1501,7 @@ }, "children": [ { - "id": 293, + "id": 271, "name": "data", "kind": 32, "kindString": "Variable", @@ -1531,7 +1531,7 @@ } }, { - "id": 294, + "id": 272, "name": "error", "kind": 32, "kindString": "Variable", @@ -1565,8 +1565,8 @@ "title": "Variables", "kind": 32, "children": [ - 293, - 294 + 271, + 272 ] } ], @@ -1593,7 +1593,7 @@ ] }, { - "id": 344, + "id": 322, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -1602,7 +1602,7 @@ }, "signatures": [ { - "id": 345, + "id": 323, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -1614,7 +1614,7 @@ }, "parameters": [ { - "id": 346, + "id": 324, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -1636,7 +1636,7 @@ { "type": "reflection", "declaration": { - "id": 347, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1645,7 +1645,7 @@ }, "children": [ { - "id": 348, + "id": 326, "name": "data", "kind": 32, "kindString": "Variable", @@ -1675,7 +1675,7 @@ } }, { - "id": 349, + "id": 327, "name": "error", "kind": 32, "kindString": "Variable", @@ -1709,8 +1709,8 @@ "title": "Variables", "kind": 32, "children": [ - 348, - 349 + 326, + 327 ] } ], @@ -1737,7 +1737,7 @@ ] }, { - "id": 295, + "id": 273, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -1746,7 +1746,7 @@ }, "signatures": [ { - "id": 296, + "id": 274, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -1758,7 +1758,7 @@ }, "parameters": [ { - "id": 297, + "id": 275, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1774,7 +1774,7 @@ } }, { - "id": 298, + "id": 276, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1784,7 +1784,7 @@ "type": { "type": "reflection", "declaration": { - "id": 299, + "id": 277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1793,7 +1793,7 @@ }, "children": [ { - "id": 300, + "id": 278, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1828,7 +1828,7 @@ "title": "Variables", "kind": 32, "children": [ - 300 + 278 ] } ], @@ -1850,7 +1850,7 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 279, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1859,7 +1859,7 @@ }, "children": [ { - "id": 302, + "id": 280, "name": "data", "kind": 32, "kindString": "Variable", @@ -1879,7 +1879,7 @@ { "type": "reflection", "declaration": { - "id": 303, + "id": 281, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1903,7 +1903,7 @@ } }, { - "id": 304, + "id": 282, "name": "error", "kind": 32, "kindString": "Variable", @@ -1937,8 +1937,8 @@ "title": "Variables", "kind": 32, "children": [ - 302, - 304 + 280, + 282 ] } ], @@ -1965,7 +1965,7 @@ ] }, { - "id": 259, + "id": 237, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -1974,7 +1974,7 @@ }, "signatures": [ { - "id": 260, + "id": 238, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -1986,7 +1986,7 @@ }, "parameters": [ { - "id": 261, + "id": 239, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2002,7 +2002,7 @@ } }, { - "id": 262, + "id": 240, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2012,7 +2012,7 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2021,7 +2021,7 @@ }, "children": [ { - "id": 264, + "id": 242, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2056,7 +2056,7 @@ "title": "Variables", "kind": 32, "children": [ - 264 + 242 ] } ], @@ -2078,7 +2078,7 @@ { "type": "reflection", "declaration": { - "id": 265, + "id": 243, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2087,7 +2087,7 @@ }, "children": [ { - "id": 266, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -2107,7 +2107,7 @@ { "type": "reflection", "declaration": { - "id": 267, + "id": 245, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2131,7 +2131,7 @@ } }, { - "id": 268, + "id": 246, "name": "error", "kind": 32, "kindString": "Variable", @@ -2165,8 +2165,8 @@ "title": "Variables", "kind": 32, "children": [ - 266, - 268 + 244, + 246 ] } ], @@ -2193,7 +2193,7 @@ ] }, { - "id": 269, + "id": 247, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -2202,7 +2202,7 @@ }, "signatures": [ { - "id": 270, + "id": 248, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -2214,7 +2214,7 @@ }, "parameters": [ { - "id": 271, + "id": 249, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2236,7 +2236,7 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2245,7 +2245,7 @@ }, "children": [ { - "id": 273, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -2265,7 +2265,7 @@ { "type": "reflection", "declaration": { - "id": 274, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2289,7 +2289,7 @@ } }, { - "id": 275, + "id": 253, "name": "error", "kind": 32, "kindString": "Variable", @@ -2323,8 +2323,8 @@ "title": "Variables", "kind": 32, "children": [ - 273, - 275 + 251, + 253 ] } ], @@ -2351,7 +2351,7 @@ ] }, { - "id": 350, + "id": 328, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -2360,7 +2360,7 @@ }, "signatures": [ { - "id": 351, + "id": 329, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -2372,7 +2372,7 @@ }, "parameters": [ { - "id": 352, + "id": 330, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -2385,7 +2385,7 @@ } }, { - "id": 353, + "id": 331, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -2413,7 +2413,7 @@ ] }, { - "id": 235, + "id": 213, "name": "signInWithEmail", "kind": 2048, "kindString": "Method", @@ -2422,7 +2422,7 @@ }, "signatures": [ { - "id": 236, + "id": 214, "name": "signInWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2434,7 +2434,7 @@ }, "parameters": [ { - "id": 237, + "id": 215, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2450,7 +2450,7 @@ } }, { - "id": 238, + "id": 216, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2466,7 +2466,7 @@ } }, { - "id": 239, + "id": 217, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2476,7 +2476,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2485,7 +2485,7 @@ }, "children": [ { - "id": 241, + "id": 219, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2520,7 +2520,7 @@ "title": "Variables", "kind": 32, "children": [ - 241 + 219 ] } ], @@ -2542,7 +2542,7 @@ { "type": "reflection", "declaration": { - "id": 242, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2551,7 +2551,7 @@ }, "children": [ { - "id": 243, + "id": 221, "name": "data", "kind": 32, "kindString": "Variable", @@ -2581,7 +2581,7 @@ } }, { - "id": 244, + "id": 222, "name": "error", "kind": 32, "kindString": "Variable", @@ -2615,8 +2615,8 @@ "title": "Variables", "kind": 32, "children": [ - 243, - 244 + 221, + 222 ] } ], @@ -2643,7 +2643,7 @@ ] }, { - "id": 252, + "id": 230, "name": "signInWithPhone", "kind": 2048, "kindString": "Method", @@ -2652,7 +2652,7 @@ }, "signatures": [ { - "id": 253, + "id": 231, "name": "signInWithPhone", "kind": 4096, "kindString": "Call signature", @@ -2664,7 +2664,7 @@ }, "parameters": [ { - "id": 254, + "id": 232, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2680,7 +2680,7 @@ } }, { - "id": 255, + "id": 233, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2702,7 +2702,7 @@ { "type": "reflection", "declaration": { - "id": 256, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2711,7 +2711,7 @@ }, "children": [ { - "id": 257, + "id": 235, "name": "data", "kind": 32, "kindString": "Variable", @@ -2741,7 +2741,7 @@ } }, { - "id": 258, + "id": 236, "name": "error", "kind": 32, "kindString": "Variable", @@ -2775,8 +2775,8 @@ "title": "Variables", "kind": 32, "children": [ - 257, - 258 + 235, + 236 ] } ], @@ -2803,7 +2803,7 @@ ] }, { - "id": 309, + "id": 287, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -2812,7 +2812,7 @@ }, "signatures": [ { - "id": 310, + "id": 288, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -2824,7 +2824,7 @@ }, "parameters": [ { - "id": 311, + "id": 289, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -2846,7 +2846,7 @@ { "type": "reflection", "declaration": { - "id": 312, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2855,7 +2855,7 @@ }, "children": [ { - "id": 313, + "id": 291, "name": "error", "kind": 32, "kindString": "Variable", @@ -2889,7 +2889,7 @@ "title": "Variables", "kind": 32, "children": [ - 313 + 291 ] } ], @@ -2916,7 +2916,7 @@ ] }, { - "id": 225, + "id": 203, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -2925,7 +2925,7 @@ }, "signatures": [ { - "id": 226, + "id": 204, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2938,7 +2938,7 @@ }, "parameters": [ { - "id": 227, + "id": 205, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2954,7 +2954,7 @@ } }, { - "id": 228, + "id": 206, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2970,7 +2970,7 @@ } }, { - "id": 229, + "id": 207, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2980,7 +2980,7 @@ "type": { "type": "reflection", "declaration": { - "id": 230, + "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2989,7 +2989,7 @@ }, "children": [ { - "id": 231, + "id": 209, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3024,7 +3024,7 @@ "title": "Variables", "kind": 32, "children": [ - 231 + 209 ] } ], @@ -3046,7 +3046,7 @@ { "type": "reflection", "declaration": { - "id": 232, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3055,7 +3055,7 @@ }, "children": [ { - "id": 233, + "id": 211, "name": "data", "kind": 32, "kindString": "Variable", @@ -3090,7 +3090,7 @@ } }, { - "id": 234, + "id": 212, "name": "error", "kind": 32, "kindString": "Variable", @@ -3124,8 +3124,8 @@ "title": "Variables", "kind": 32, "children": [ - 233, - 234 + 211, + 212 ] } ], @@ -3152,7 +3152,7 @@ ] }, { - "id": 245, + "id": 223, "name": "signUpWithPhone", "kind": 2048, "kindString": "Method", @@ -3161,7 +3161,7 @@ }, "signatures": [ { - "id": 246, + "id": 224, "name": "signUpWithPhone", "kind": 4096, "kindString": "Call signature", @@ -3173,7 +3173,7 @@ }, "parameters": [ { - "id": 247, + "id": 225, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -3189,7 +3189,7 @@ } }, { - "id": 248, + "id": 226, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -3211,7 +3211,7 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3220,7 +3220,7 @@ }, "children": [ { - "id": 250, + "id": 228, "name": "data", "kind": 32, "kindString": "Variable", @@ -3255,7 +3255,7 @@ } }, { - "id": 251, + "id": 229, "name": "error", "kind": 32, "kindString": "Variable", @@ -3289,8 +3289,8 @@ "title": "Variables", "kind": 32, "children": [ - 250, - 251 + 228, + 229 ] } ], @@ -3317,7 +3317,7 @@ ] }, { - "id": 328, + "id": 306, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -3326,7 +3326,7 @@ }, "signatures": [ { - "id": 329, + "id": 307, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -3338,7 +3338,7 @@ }, "parameters": [ { - "id": 330, + "id": 308, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -3354,7 +3354,7 @@ } }, { - "id": 331, + "id": 309, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -3377,7 +3377,7 @@ { "type": "reflection", "declaration": { - "id": 332, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3386,7 +3386,7 @@ }, "children": [ { - "id": 334, + "id": 312, "name": "data", "kind": 32, "kindString": "Variable", @@ -3416,7 +3416,7 @@ } }, { - "id": 335, + "id": 313, "name": "error", "kind": 32, "kindString": "Variable", @@ -3445,7 +3445,7 @@ } }, { - "id": 333, + "id": 311, "name": "user", "kind": 32, "kindString": "Variable", @@ -3480,9 +3480,9 @@ "title": "Variables", "kind": 32, "children": [ - 334, - 335, - 333 + 312, + 313, + 311 ] } ], @@ -3509,7 +3509,7 @@ ] }, { - "id": 276, + "id": 254, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -3518,7 +3518,7 @@ }, "signatures": [ { - "id": 277, + "id": 255, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -3530,7 +3530,7 @@ }, "parameters": [ { - "id": 278, + "id": 256, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -3546,7 +3546,7 @@ } }, { - "id": 279, + "id": 257, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -3562,7 +3562,7 @@ } }, { - "id": 280, + "id": 258, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3572,7 +3572,7 @@ "type": { "type": "reflection", "declaration": { - "id": 281, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3581,7 +3581,7 @@ }, "children": [ { - "id": 282, + "id": 260, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3616,7 +3616,7 @@ "title": "Variables", "kind": 32, "children": [ - 282 + 260 ] } ], @@ -3638,7 +3638,7 @@ { "type": "reflection", "declaration": { - "id": 283, + "id": 261, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3647,7 +3647,7 @@ }, "children": [ { - "id": 284, + "id": 262, "name": "data", "kind": 32, "kindString": "Variable", @@ -3682,7 +3682,7 @@ } }, { - "id": 285, + "id": 263, "name": "error", "kind": 32, "kindString": "Variable", @@ -3716,8 +3716,8 @@ "title": "Variables", "kind": 32, "children": [ - 284, - 285 + 262, + 263 ] } ], @@ -3749,41 +3749,41 @@ "title": "Constructors", "kind": 512, "children": [ - 215 + 193 ] }, { "title": "Properties", "kind": 1024, "children": [ - 214, - 210, - 209 + 192, + 188, + 187 ] }, { "title": "Methods", "kind": 2048, "children": [ - 305, - 336, - 361, + 283, 314, - 321, - 354, - 286, - 344, - 295, - 259, - 269, - 350, - 235, - 252, - 309, - 225, - 245, + 339, + 292, + 299, + 332, + 264, + 322, + 273, + 237, + 247, 328, - 276 + 213, + 230, + 287, + 203, + 223, + 306, + 254 ] } ], @@ -3801,7 +3801,7 @@ "title": "Classes", "kind": 128, "children": [ - 208 + 186 ] } ], @@ -3814,7 +3814,7 @@ ] }, { - "id": 376, + "id": 354, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -3824,7 +3824,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 377, + "id": 355, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -3833,7 +3833,7 @@ }, "children": [ { - "id": 386, + "id": 364, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3845,7 +3845,7 @@ }, "signatures": [ { - "id": 387, + "id": 365, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -3857,7 +3857,7 @@ }, "parameters": [ { - "id": 388, + "id": 366, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3867,7 +3867,7 @@ "type": { "type": "reflection", "declaration": { - "id": 389, + "id": 367, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3876,7 +3876,7 @@ }, "children": [ { - "id": 396, + "id": 374, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -3890,7 +3890,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 61, + "line": 72, "character": 20 } ], @@ -3913,7 +3913,7 @@ } }, { - "id": 399, + "id": 377, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -3924,7 +3924,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 64, + "line": 75, "character": 17 } ], @@ -3935,7 +3935,7 @@ } }, { - "id": 395, + "id": 373, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -3949,7 +3949,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 60, + "line": 71, "character": 22 } ], @@ -3972,7 +3972,7 @@ } }, { - "id": 391, + "id": 369, "name": "headers", "kind": 32, "kindString": "Variable", @@ -3986,7 +3986,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 59, + "line": 70, "character": 11 } ], @@ -4000,7 +4000,7 @@ { "type": "reflection", "declaration": { - "id": 392, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4009,7 +4009,7 @@ }, "indexSignature": [ { - "id": 393, + "id": 371, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4018,7 +4018,7 @@ }, "parameters": [ { - "id": 394, + "id": 372, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4043,7 +4043,7 @@ } }, { - "id": 398, + "id": 376, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -4057,17 +4057,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 63, + "line": 74, "character": 16 } ], "type": { "type": "reference", - "name": "Storage" + "id": 569, + "name": "SupportedStorage" } }, { - "id": 397, + "id": 375, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -4081,7 +4082,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 62, + "line": 73, "character": 18 } ], @@ -4104,7 +4105,7 @@ } }, { - "id": 390, + "id": 368, "name": "url", "kind": 32, "kindString": "Variable", @@ -4118,7 +4119,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 58, + "line": 69, "character": 7 } ], @@ -4142,20 +4143,20 @@ "title": "Variables", "kind": 32, "children": [ - 396, - 399, - 395, - 391, - 398, - 397, - 390 + 374, + 377, + 373, + 369, + 376, + 375, + 368 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 57, + "line": 68, "character": 22 } ] @@ -4165,7 +4166,7 @@ ], "type": { "type": "reference", - "id": 377, + "id": 355, "name": "GoTrueClient" } } @@ -4173,13 +4174,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 46, + "line": 57, "character": 61 } ] }, { - "id": 378, + "id": 356, "name": "api", "kind": 1024, "kindString": "Property", @@ -4192,18 +4193,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 32, + "line": 43, "character": 5 } ], "type": { "type": "reference", - "id": 208, + "id": 186, "name": "GoTrueApi" } }, { - "id": 381, + "id": 359, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -4214,7 +4215,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 42, + "line": 53, "character": 28 } ], @@ -4224,7 +4225,7 @@ } }, { - "id": 380, + "id": 358, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -4238,7 +4239,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 40, + "line": 51, "character": 26 } ], @@ -4258,7 +4259,7 @@ } }, { - "id": 379, + "id": 357, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -4272,7 +4273,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 36, + "line": 47, "character": 23 } ], @@ -4292,7 +4293,7 @@ } }, { - "id": 383, + "id": 361, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -4303,17 +4304,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 44, + "line": 55, "character": 24 } ], "type": { "type": "reference", - "name": "Storage" + "id": 569, + "name": "SupportedStorage" } }, { - "id": 382, + "id": 360, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -4324,7 +4326,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 43, + "line": 54, "character": 26 } ], @@ -4334,7 +4336,7 @@ } }, { - "id": 385, + "id": 363, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -4346,7 +4348,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 46, + "line": 57, "character": 29 } ], @@ -4365,7 +4367,7 @@ } }, { - "id": 384, + "id": 362, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -4376,7 +4378,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 45, + "line": 56, "character": 31 } ], @@ -4398,7 +4400,7 @@ "defaultValue": "new Map()" }, { - "id": 551, + "id": 529, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -4408,7 +4410,7 @@ }, "signatures": [ { - "id": 552, + "id": 530, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -4417,7 +4419,7 @@ }, "parameters": [ { - "id": 553, + "id": 531, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -4449,7 +4451,7 @@ { "type": "reflection", "declaration": { - "id": 554, + "id": 532, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4458,7 +4460,7 @@ }, "children": [ { - "id": 555, + "id": 533, "name": "data", "kind": 32, "kindString": "Variable", @@ -4468,7 +4470,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 610, + "line": 621, "character": 19 } ], @@ -4479,7 +4481,7 @@ } }, { - "id": 556, + "id": 534, "name": "error", "kind": 32, "kindString": "Variable", @@ -4489,7 +4491,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 610, + "line": 621, "character": 26 } ], @@ -4505,8 +4507,8 @@ "title": "Variables", "kind": 32, "children": [ - 555, - 556 + 533, + 534 ] } ] @@ -4515,7 +4517,7 @@ { "type": "reflection", "declaration": { - "id": 557, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4524,7 +4526,7 @@ }, "children": [ { - "id": 558, + "id": 536, "name": "data", "kind": 32, "kindString": "Variable", @@ -4534,7 +4536,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 612, + "line": 623, "character": 19 } ], @@ -4545,7 +4547,7 @@ "defaultValue": "null" }, { - "id": 559, + "id": 537, "name": "error", "kind": 32, "kindString": "Variable", @@ -4555,7 +4557,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 612, + "line": 623, "character": 32 } ], @@ -4570,8 +4572,8 @@ "title": "Variables", "kind": 32, "children": [ - 558, - 559 + 536, + 537 ] } ] @@ -4587,13 +4589,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 598, + "line": 609, "character": 33 } ] }, { - "id": 497, + "id": 475, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -4603,7 +4605,7 @@ }, "signatures": [ { - "id": 498, + "id": 476, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -4612,7 +4614,7 @@ }, "parameters": [ { - "id": 499, + "id": 477, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -4625,7 +4627,7 @@ } }, { - "id": 500, + "id": 478, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -4638,7 +4640,7 @@ } }, { - "id": 501, + "id": 479, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4648,7 +4650,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 480, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4657,7 +4659,7 @@ }, "children": [ { - "id": 503, + "id": 481, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4668,7 +4670,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 473, + "line": 484, "character": 16 } ], @@ -4692,14 +4694,14 @@ "title": "Variables", "kind": 32, "children": [ - 503 + 481 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 472, + "line": 483, "character": 12 } ] @@ -4717,7 +4719,7 @@ { "type": "reflection", "declaration": { - "id": 504, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4726,7 +4728,7 @@ }, "children": [ { - "id": 505, + "id": 483, "name": "data", "kind": 32, "kindString": "Variable", @@ -4736,7 +4738,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 19 } ], @@ -4747,7 +4749,7 @@ } }, { - "id": 508, + "id": 486, "name": "error", "kind": 32, "kindString": "Variable", @@ -4757,7 +4759,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 58 } ], @@ -4768,7 +4770,7 @@ "defaultValue": "null" }, { - "id": 507, + "id": 485, "name": "session", "kind": 32, "kindString": "Variable", @@ -4778,7 +4780,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 45 } ], @@ -4790,7 +4792,7 @@ "defaultValue": "data" }, { - "id": 506, + "id": 484, "name": "user", "kind": 32, "kindString": "Variable", @@ -4800,7 +4802,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 25 } ], @@ -4826,10 +4828,10 @@ "title": "Variables", "kind": 32, "children": [ - 505, - 508, - 507, - 506 + 483, + 486, + 485, + 484 ] } ] @@ -4838,7 +4840,7 @@ { "type": "reflection", "declaration": { - "id": 509, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4847,7 +4849,7 @@ }, "children": [ { - "id": 510, + "id": 488, "name": "data", "kind": 32, "kindString": "Variable", @@ -4857,7 +4859,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 19 } ], @@ -4868,7 +4870,7 @@ "defaultValue": "null" }, { - "id": 513, + "id": 491, "name": "error", "kind": 32, "kindString": "Variable", @@ -4878,7 +4880,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 59 } ], @@ -4888,7 +4890,7 @@ } }, { - "id": 512, + "id": 490, "name": "session", "kind": 32, "kindString": "Variable", @@ -4898,7 +4900,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 46 } ], @@ -4909,7 +4911,7 @@ "defaultValue": "null" }, { - "id": 511, + "id": 489, "name": "user", "kind": 32, "kindString": "Variable", @@ -4919,7 +4921,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 31 } ], @@ -4935,10 +4937,10 @@ "title": "Variables", "kind": 32, "children": [ - 510, - 513, - 512, - 511 + 488, + 491, + 490, + 489 ] } ] @@ -4954,13 +4956,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 469, + "line": 480, "character": 34 } ] }, { - "id": 514, + "id": 492, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -4970,7 +4972,7 @@ }, "signatures": [ { - "id": 515, + "id": 493, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", @@ -4979,7 +4981,7 @@ }, "parameters": [ { - "id": 516, + "id": 494, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -4992,7 +4994,7 @@ } }, { - "id": 517, + "id": 495, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -5014,7 +5016,7 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5023,7 +5025,7 @@ }, "children": [ { - "id": 519, + "id": 497, "name": "data", "kind": 32, "kindString": "Variable", @@ -5033,7 +5035,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 19 } ], @@ -5044,7 +5046,7 @@ } }, { - "id": 522, + "id": 500, "name": "error", "kind": 32, "kindString": "Variable", @@ -5054,7 +5056,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 58 } ], @@ -5065,7 +5067,7 @@ "defaultValue": "null" }, { - "id": 521, + "id": 499, "name": "session", "kind": 32, "kindString": "Variable", @@ -5075,7 +5077,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 45 } ], @@ -5087,7 +5089,7 @@ "defaultValue": "data" }, { - "id": 520, + "id": 498, "name": "user", "kind": 32, "kindString": "Variable", @@ -5097,7 +5099,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 25 } ], @@ -5123,10 +5125,10 @@ "title": "Variables", "kind": 32, "children": [ - 519, - 522, - 521, - 520 + 497, + 500, + 499, + 498 ] } ] @@ -5135,7 +5137,7 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5144,7 +5146,7 @@ }, "children": [ { - "id": 524, + "id": 502, "name": "data", "kind": 32, "kindString": "Variable", @@ -5154,7 +5156,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 19 } ], @@ -5165,7 +5167,7 @@ "defaultValue": "null" }, { - "id": 527, + "id": 505, "name": "error", "kind": 32, "kindString": "Variable", @@ -5175,7 +5177,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 59 } ], @@ -5185,7 +5187,7 @@ } }, { - "id": 526, + "id": 504, "name": "session", "kind": 32, "kindString": "Variable", @@ -5195,7 +5197,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 46 } ], @@ -5206,7 +5208,7 @@ "defaultValue": "null" }, { - "id": 525, + "id": 503, "name": "user", "kind": 32, "kindString": "Variable", @@ -5216,7 +5218,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 31 } ], @@ -5232,10 +5234,10 @@ "title": "Variables", "kind": 32, "children": [ - 524, - 527, - 526, - 525 + 502, + 505, + 504, + 503 ] } ] @@ -5251,13 +5253,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 493, + "line": 504, "character": 34 } ] }, { - "id": 528, + "id": 506, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -5267,7 +5269,7 @@ }, "signatures": [ { - "id": 529, + "id": 507, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -5276,7 +5278,7 @@ }, "parameters": [ { - "id": 530, + "id": 508, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -5290,7 +5292,7 @@ } }, { - "id": 531, + "id": 509, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5300,7 +5302,7 @@ "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 510, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5309,7 +5311,7 @@ }, "children": [ { - "id": 533, + "id": 511, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -5320,7 +5322,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 512, + "line": 523, "character": 16 } ], @@ -5339,7 +5341,7 @@ } }, { - "id": 534, + "id": 512, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -5350,7 +5352,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 513, + "line": 524, "character": 12 } ], @@ -5374,15 +5376,15 @@ "title": "Variables", "kind": 32, "children": [ - 533, - 534 + 511, + 512 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 511, + "line": 522, "character": 12 } ] @@ -5397,7 +5399,7 @@ { "type": "reflection", "declaration": { - "id": 535, + "id": 513, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5406,7 +5408,7 @@ }, "children": [ { - "id": 538, + "id": 516, "name": "data", "kind": 32, "kindString": "Variable", @@ -5416,7 +5418,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 34 } ], @@ -5427,7 +5429,7 @@ "defaultValue": "null" }, { - "id": 541, + "id": 519, "name": "error", "kind": 32, "kindString": "Variable", @@ -5437,7 +5439,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 74 } ], @@ -5448,7 +5450,7 @@ "defaultValue": "null" }, { - "id": 536, + "id": 514, "name": "provider", "kind": 32, "kindString": "Variable", @@ -5458,7 +5460,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 23 } ], @@ -5469,7 +5471,7 @@ } }, { - "id": 539, + "id": 517, "name": "session", "kind": 32, "kindString": "Variable", @@ -5479,7 +5481,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 49 } ], @@ -5490,7 +5492,7 @@ "defaultValue": "null" }, { - "id": 537, + "id": 515, "name": "url", "kind": 32, "kindString": "Variable", @@ -5500,7 +5502,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 28 } ], @@ -5510,7 +5512,7 @@ } }, { - "id": 540, + "id": 518, "name": "user", "kind": 32, "kindString": "Variable", @@ -5520,7 +5522,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 61 } ], @@ -5536,12 +5538,12 @@ "title": "Variables", "kind": 32, "children": [ - 538, - 541, - 536, - 539, - 537, - 540 + 516, + 519, + 514, + 517, + 515, + 518 ] } ] @@ -5550,7 +5552,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 520, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5559,7 +5561,7 @@ }, "children": [ { - "id": 543, + "id": 521, "name": "data", "kind": 32, "kindString": "Variable", @@ -5569,7 +5571,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 19 } ], @@ -5580,7 +5582,7 @@ "defaultValue": "null" }, { - "id": 546, + "id": 524, "name": "error", "kind": 32, "kindString": "Variable", @@ -5590,7 +5592,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 59 } ], @@ -5600,7 +5602,7 @@ } }, { - "id": 545, + "id": 523, "name": "session", "kind": 32, "kindString": "Variable", @@ -5610,7 +5612,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 46 } ], @@ -5621,7 +5623,7 @@ "defaultValue": "null" }, { - "id": 544, + "id": 522, "name": "user", "kind": 32, "kindString": "Variable", @@ -5631,7 +5633,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 31 } ], @@ -5647,10 +5649,10 @@ "title": "Variables", "kind": 32, "children": [ - 543, - 546, - 545, - 544 + 521, + 524, + 523, + 522 ] } ] @@ -5663,13 +5665,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 509, + "line": 520, "character": 31 } ] }, { - "id": 560, + "id": 538, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -5679,7 +5681,7 @@ }, "signatures": [ { - "id": 561, + "id": 539, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -5688,7 +5690,7 @@ }, "parameters": [ { - "id": 562, + "id": 540, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5711,13 +5713,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 616, + "line": 627, "character": 31 } ] }, { - "id": 566, + "id": 544, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -5727,7 +5729,7 @@ }, "signatures": [ { - "id": 567, + "id": 545, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -5736,7 +5738,7 @@ }, "parameters": [ { - "id": 568, + "id": 546, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5759,13 +5761,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 643, + "line": 654, "character": 25 } ] }, { - "id": 549, + "id": 527, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -5775,7 +5777,7 @@ }, "signatures": [ { - "id": 550, + "id": 528, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -5809,13 +5811,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 562, + "line": 573, "character": 34 } ] }, { - "id": 547, + "id": 525, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -5825,7 +5827,7 @@ }, "signatures": [ { - "id": 548, + "id": 526, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -5853,13 +5855,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 538, + "line": 549, "character": 25 } ] }, { - "id": 569, + "id": 547, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -5869,7 +5871,7 @@ }, "signatures": [ { - "id": 570, + "id": 548, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -5891,13 +5893,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 648, + "line": 659, "character": 30 } ] }, { - "id": 563, + "id": 541, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -5907,7 +5909,7 @@ }, "signatures": [ { - "id": 564, + "id": 542, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -5919,7 +5921,7 @@ }, "parameters": [ { - "id": 565, + "id": 543, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -5942,13 +5944,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 624, + "line": 635, "character": 22 } ] }, { - "id": 571, + "id": 549, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -5958,7 +5960,7 @@ }, "signatures": [ { - "id": 572, + "id": 550, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -5970,7 +5972,7 @@ }, "parameters": [ { - "id": 573, + "id": 551, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5995,13 +5997,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 659, + "line": 670, "character": 32 } ] }, { - "id": 475, + "id": 453, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -6010,7 +6012,7 @@ }, "signatures": [ { - "id": 476, + "id": 454, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -6022,7 +6024,7 @@ }, "parameters": [ { - "id": 477, + "id": 455, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6040,7 +6042,7 @@ { "type": "reflection", "declaration": { - "id": 478, + "id": 456, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6049,7 +6051,7 @@ }, "children": [ { - "id": 479, + "id": 457, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -6063,7 +6065,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 379, + "line": 390, "character": 16 } ], @@ -6091,7 +6093,7 @@ "title": "Variables", "kind": 32, "children": [ - 479 + 457 ] } ] @@ -6107,7 +6109,7 @@ { "type": "reflection", "declaration": { - "id": 480, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6116,7 +6118,7 @@ }, "children": [ { - "id": 481, + "id": 459, "name": "data", "kind": 32, "kindString": "Variable", @@ -6126,7 +6128,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 20 } ], @@ -6146,7 +6148,7 @@ } }, { - "id": 482, + "id": 460, "name": "error", "kind": 32, "kindString": "Variable", @@ -6156,7 +6158,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 43 } ], @@ -6180,15 +6182,15 @@ "title": "Variables", "kind": 32, "children": [ - 481, - 482 + 459, + 460 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 14 } ] @@ -6202,13 +6204,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 378, + "line": 389, "character": 25 } ] }, { - "id": 487, + "id": 465, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -6217,7 +6219,7 @@ }, "signatures": [ { - "id": 488, + "id": 466, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -6230,7 +6232,7 @@ }, "parameters": [ { - "id": 489, + "id": 467, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6240,7 +6242,7 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 468, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6249,7 +6251,7 @@ }, "signatures": [ { - "id": 491, + "id": 469, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6258,7 +6260,7 @@ }, "parameters": [ { - "id": 492, + "id": 470, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -6272,7 +6274,7 @@ } }, { - "id": 493, + "id": 471, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -6304,7 +6306,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 461, "character": 13 } ] @@ -6315,7 +6317,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6324,7 +6326,7 @@ }, "children": [ { - "id": 495, + "id": 473, "name": "data", "kind": 32, "kindString": "Variable", @@ -6334,7 +6336,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 11 } ], @@ -6354,7 +6356,7 @@ } }, { - "id": 496, + "id": 474, "name": "error", "kind": 32, "kindString": "Variable", @@ -6364,7 +6366,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 39 } ], @@ -6388,15 +6390,15 @@ "title": "Variables", "kind": 32, "children": [ - 495, - 496 + 473, + 474 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 4 } ] @@ -6407,13 +6409,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 449, + "line": 460, "character": 19 } ] }, { - "id": 453, + "id": 431, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -6422,7 +6424,7 @@ }, "signatures": [ { - "id": 454, + "id": 432, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -6438,7 +6440,7 @@ { "type": "reflection", "declaration": { - "id": 455, + "id": 433, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6447,7 +6449,7 @@ }, "children": [ { - "id": 456, + "id": 434, "name": "data", "kind": 32, "kindString": "Variable", @@ -6457,7 +6459,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 286, + "line": 297, "character": 8 } ], @@ -6477,7 +6479,7 @@ } }, { - "id": 458, + "id": 436, "name": "error", "kind": 32, "kindString": "Variable", @@ -6487,7 +6489,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 288, + "line": 299, "character": 9 } ], @@ -6506,7 +6508,7 @@ } }, { - "id": 457, + "id": 435, "name": "user", "kind": 32, "kindString": "Variable", @@ -6516,7 +6518,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 287, + "line": 298, "character": 8 } ], @@ -6541,16 +6543,16 @@ "title": "Variables", "kind": 32, "children": [ - 456, - 458, - 457 + 434, + 436, + 435 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 285, + "line": 296, "character": 34 } ] @@ -6564,13 +6566,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 285, + "line": 296, "character": 22 } ] }, { - "id": 451, + "id": 429, "name": "session", "kind": 2048, "kindString": "Method", @@ -6579,7 +6581,7 @@ }, "signatures": [ { - "id": 452, + "id": 430, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -6608,13 +6610,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 278, + "line": 289, "character": 9 } ] }, { - "id": 472, + "id": 450, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -6623,7 +6625,7 @@ }, "signatures": [ { - "id": 473, + "id": 451, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -6635,7 +6637,7 @@ }, "parameters": [ { - "id": 474, + "id": 452, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -6661,13 +6663,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 363, + "line": 374, "character": 9 } ] }, { - "id": 466, + "id": 444, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -6676,7 +6678,7 @@ }, "signatures": [ { - "id": 467, + "id": 445, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -6688,7 +6690,7 @@ }, "parameters": [ { - "id": 468, + "id": 446, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -6710,7 +6712,7 @@ { "type": "reflection", "declaration": { - "id": 469, + "id": 447, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6719,7 +6721,7 @@ }, "children": [ { - "id": 471, + "id": 449, "name": "error", "kind": 32, "kindString": "Variable", @@ -6729,7 +6731,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 45 } ], @@ -6748,7 +6750,7 @@ } }, { - "id": 470, + "id": 448, "name": "session", "kind": 32, "kindString": "Variable", @@ -6758,7 +6760,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 22 } ], @@ -6783,15 +6785,15 @@ "title": "Variables", "kind": 32, "children": [ - 471, - 470 + 449, + 448 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 13 } ] @@ -6805,13 +6807,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 333, + "line": 344, "character": 18 } ] }, { - "id": 415, + "id": 393, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -6820,7 +6822,7 @@ }, "signatures": [ { - "id": 416, + "id": 394, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -6832,7 +6834,7 @@ }, "parameters": [ { - "id": 417, + "id": 395, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6843,7 +6845,7 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6852,7 +6854,7 @@ }, "children": [ { - "id": 419, + "id": 397, "name": "email", "kind": 32, "kindString": "Variable", @@ -6865,7 +6867,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 11 } ], @@ -6884,7 +6886,7 @@ } }, { - "id": 421, + "id": 399, "name": "password", "kind": 32, "kindString": "Variable", @@ -6897,7 +6899,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 28 } ], @@ -6916,7 +6918,7 @@ } }, { - "id": 420, + "id": 398, "name": "phone", "kind": 32, "kindString": "Variable", @@ -6926,7 +6928,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 18 } ], @@ -6945,7 +6947,7 @@ } }, { - "id": 423, + "id": 401, "name": "provider", "kind": 32, "kindString": "Variable", @@ -6958,7 +6960,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 52 } ], @@ -7013,7 +7015,7 @@ } }, { - "id": 422, + "id": 400, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -7026,7 +7028,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 42 } ], @@ -7050,18 +7052,18 @@ "title": "Variables", "kind": 32, "children": [ - 419, - 421, - 420, - 423, - 422 + 397, + 399, + 398, + 401, + 400 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 157, + "line": 168, "character": 15 } ] @@ -7069,7 +7071,7 @@ } }, { - "id": 424, + "id": 402, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7079,7 +7081,7 @@ "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 403, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7088,7 +7090,7 @@ }, "children": [ { - "id": 426, + "id": 404, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -7099,7 +7101,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 160, + "line": 171, "character": 16 } ], @@ -7118,7 +7120,7 @@ } }, { - "id": 427, + "id": 405, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -7129,7 +7131,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 161, + "line": 172, "character": 12 } ], @@ -7148,499 +7150,499 @@ } } ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 426, - 427 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 159, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 428, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 434, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 169, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 50, - "name": "Session" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 433, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 168, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 431, - "name": "provider", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 166, - "character": 12 - } - ], - "type": { - "type": "reference", - "id": 112, - "name": "Provider" - } - }, - { - "id": 429, - "name": "session", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 164, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 50, - "name": "Session" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 432, - "name": "url", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 167, - "character": 7 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 430, - "name": "user", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 165, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 58, - "name": "User" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 434, - 433, - 431, - 429, - 432, - 430 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 163, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 157, - "character": 14 - } - ] - }, - { - "id": 483, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 484, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", - "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 486, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 486 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 27 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 15 - } - ] - }, - { - "id": 400, - "name": "signUp", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 401, - "name": "signUp", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a new user." - }, - "parameters": [ - { - "id": 402, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__0", - "type": { - "type": "reflection", - "declaration": { - "id": 403, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 404, - "name": "email", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's email address." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 405, - "name": "password", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's password." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 406, - "name": "phone", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's phone number." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 28 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], "groups": [ { "title": "Variables", "kind": 32, "children": [ 404, - 405, - 406 + 405 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 170, + "character": 12 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 406, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 412, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 180, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 411, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 179, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 409, + "name": "provider", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 177, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 112, + "name": "Provider" + } + }, + { + "id": 407, + "name": "session", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 175, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 410, + "name": "url", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 178, + "character": 7 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 408, + "name": "user", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 58, + "name": "User" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 412, + 411, + 409, + 407, + 410, + 408 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 174, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 168, + "character": 14 + } + ] + }, + { + "id": 461, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 462, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", + "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 463, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 464, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 34 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 464 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 27 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 15 + } + ] + }, + { + "id": 378, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 379, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Creates a new user." + }, + "parameters": [ + { + "id": 380, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__0", + "type": { + "type": "reflection", + "declaration": { + "id": 381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 382, + "name": "email", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's email address." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 383, + "name": "password", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's password." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 384, + "name": "phone", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's phone number." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 28 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 382, + 383, + 384 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 109, "character": 15 } ] @@ -7648,7 +7650,7 @@ } }, { - "id": 407, + "id": 385, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7658,7 +7660,7 @@ "type": { "type": "reflection", "declaration": { - "id": 408, + "id": 386, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7667,7 +7669,7 @@ }, "children": [ { - "id": 409, + "id": 387, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -7678,7 +7680,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 101, + "line": 112, "character": 16 } ], @@ -7702,14 +7704,14 @@ "title": "Variables", "kind": 32, "children": [ - 409 + 387 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 100, + "line": 111, "character": 12 } ] @@ -7724,7 +7726,7 @@ { "type": "reflection", "declaration": { - "id": 410, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7733,7 +7735,7 @@ }, "children": [ { - "id": 414, + "id": 392, "name": "data", "kind": 32, "kindString": "Variable", @@ -7743,7 +7745,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 107, + "line": 118, "character": 8 } ], @@ -7768,7 +7770,7 @@ } }, { - "id": 413, + "id": 391, "name": "error", "kind": 32, "kindString": "Variable", @@ -7778,7 +7780,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 106, + "line": 117, "character": 9 } ], @@ -7797,7 +7799,7 @@ } }, { - "id": 412, + "id": 390, "name": "session", "kind": 32, "kindString": "Variable", @@ -7807,7 +7809,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 105, + "line": 116, "character": 11 } ], @@ -7827,7 +7829,7 @@ } }, { - "id": 411, + "id": 389, "name": "user", "kind": 32, "kindString": "Variable", @@ -7837,7 +7839,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 104, + "line": 115, "character": 8 } ], @@ -7862,17 +7864,17 @@ "title": "Variables", "kind": 32, "children": [ - 414, - 413, - 412, - 411 + 392, + 391, + 390, + 389 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 103, + "line": 114, "character": 13 } ] @@ -7886,13 +7888,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 109, "character": 14 } ] }, { - "id": 459, + "id": 437, "name": "update", "kind": 2048, "kindString": "Method", @@ -7901,7 +7903,7 @@ }, "signatures": [ { - "id": 460, + "id": 438, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -7913,7 +7915,7 @@ }, "parameters": [ { - "id": 461, + "id": 439, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -7933,7 +7935,7 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7942,7 +7944,7 @@ }, "children": [ { - "id": 463, + "id": 441, "name": "data", "kind": 32, "kindString": "Variable", @@ -7952,7 +7954,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 19 } ], @@ -7972,7 +7974,7 @@ } }, { - "id": 465, + "id": 443, "name": "error", "kind": 32, "kindString": "Variable", @@ -7982,7 +7984,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 58 } ], @@ -8001,7 +8003,7 @@ } }, { - "id": 464, + "id": 442, "name": "user", "kind": 32, "kindString": "Variable", @@ -8011,7 +8013,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 38 } ], @@ -8036,16 +8038,16 @@ "title": "Variables", "kind": 32, "children": [ - 463, - 465, - 464 + 441, + 443, + 442 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 13 } ] @@ -8059,13 +8061,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 306, + "line": 317, "character": 14 } ] }, { - "id": 449, + "id": 427, "name": "user", "kind": 2048, "kindString": "Method", @@ -8074,7 +8076,7 @@ }, "signatures": [ { - "id": 450, + "id": 428, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -8104,13 +8106,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 271, + "line": 282, "character": 6 } ] }, { - "id": 435, + "id": 413, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -8119,7 +8121,7 @@ }, "signatures": [ { - "id": 436, + "id": 414, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -8131,7 +8133,7 @@ }, "parameters": [ { - "id": 437, + "id": 415, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8142,7 +8144,7 @@ "type": { "type": "reflection", "declaration": { - "id": 438, + "id": 416, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8151,7 +8153,7 @@ }, "children": [ { - "id": 439, + "id": 417, "name": "phone", "kind": 32, "kindString": "Variable", @@ -8164,7 +8166,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 234, "character": 11 } ], @@ -8174,7 +8176,7 @@ } }, { - "id": 440, + "id": 418, "name": "token", "kind": 32, "kindString": "Variable", @@ -8187,7 +8189,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 234, "character": 18 } ], @@ -8202,15 +8204,15 @@ "title": "Variables", "kind": 32, "children": [ - 439, - 440 + 417, + 418 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 222, + "line": 233, "character": 18 } ] @@ -8218,7 +8220,7 @@ } }, { - "id": 441, + "id": 419, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8228,7 +8230,7 @@ "type": { "type": "reflection", "declaration": { - "id": 442, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8237,7 +8239,7 @@ }, "children": [ { - "id": 443, + "id": 421, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -8248,7 +8250,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 225, + "line": 236, "character": 16 } ], @@ -8272,14 +8274,14 @@ "title": "Variables", "kind": 32, "children": [ - 443 + 421 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 224, + "line": 235, "character": 12 } ] @@ -8294,7 +8296,7 @@ { "type": "reflection", "declaration": { - "id": 444, + "id": 422, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8303,7 +8305,7 @@ }, "children": [ { - "id": 448, + "id": 426, "name": "data", "kind": 32, "kindString": "Variable", @@ -8313,7 +8315,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 231, + "line": 242, "character": 8 } ], @@ -8338,7 +8340,7 @@ } }, { - "id": 447, + "id": 425, "name": "error", "kind": 32, "kindString": "Variable", @@ -8348,7 +8350,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 230, + "line": 241, "character": 9 } ], @@ -8367,7 +8369,7 @@ } }, { - "id": 446, + "id": 424, "name": "session", "kind": 32, "kindString": "Variable", @@ -8377,7 +8379,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 229, + "line": 240, "character": 11 } ], @@ -8397,7 +8399,7 @@ } }, { - "id": 445, + "id": 423, "name": "user", "kind": 32, "kindString": "Variable", @@ -8407,7 +8409,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 228, + "line": 239, "character": 8 } ], @@ -8432,17 +8434,17 @@ "title": "Variables", "kind": 32, "children": [ - 448, - 447, - 446, - 445 + 426, + 425, + 424, + 423 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 227, + "line": 238, "character": 13 } ] @@ -8456,7 +8458,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 222, + "line": 233, "character": 17 } ] @@ -8467,63 +8469,255 @@ "title": "Constructors", "kind": 512, "children": [ - 386 + 364 ] }, { "title": "Properties", "kind": 1024, "children": [ - 378, - 381, - 380, - 379, - 383, - 382, - 385, - 384 + 356, + 359, + 358, + 357, + 361, + 360, + 363, + 362 ] }, { "title": "Methods", "kind": 2048, "children": [ - 551, - 497, - 514, - 528, - 560, - 566, - 549, - 547, - 569, - 563, - 571, + 529, 475, - 487, + 492, + 506, + 538, + 544, + 527, + 525, + 547, + 541, + 549, 453, - 451, - 472, - 466, - 415, - 483, - 400, - 459, - 449, - 435 + 465, + 431, + 429, + 450, + 444, + 393, + 461, + 378, + 437, + 427, + 413 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 27, + "line": 38, "character": 33 } ] }, { - "id": 574, + "id": 560, + "name": "AnyFunction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 27, + "character": 16 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 561, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 562, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 563, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 27, + "character": 18 + } + ] + } + } + }, + { + "id": 564, + "name": "MaybePromisify", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 565, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 28, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "typeParameter", + "name": "T" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "Promise" + } + ] + } + }, + { + "id": 566, + "name": "PromisifyMethods", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 567, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 30, + "character": 21 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 30, + "character": 26 + } + ] + } + } + }, + { + "id": 569, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 36, + "character": 21 + } + ], + "type": { + "type": "reference", + "id": 566, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "getItem" + }, + { + "type": "stringLiteral", + "value": "setItem" + }, + { + "type": "stringLiteral", + "value": "removeItem" + } + ] + } + ], + "name": "Pick" + } + ], + "name": "PromisifyMethods" + } + }, + { + "id": 552, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -8532,7 +8726,7 @@ }, "children": [ { - "id": 576, + "id": 554, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -8551,7 +8745,7 @@ "defaultValue": "true" }, { - "id": 579, + "id": 556, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -8559,7 +8753,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 24, + "line": 23, "character": 20 } ], @@ -8570,7 +8764,7 @@ "defaultValue": "true" }, { - "id": 580, + "id": 557, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8578,21 +8772,21 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 25, + "line": 24, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 582, + "id": 559, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -8616,7 +8810,7 @@ "title": "Variables", "kind": 32, "children": [ - 582 + 559 ] } ] @@ -8625,26 +8819,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 578, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 23, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - }, - "defaultValue": "globalThis.localStorage" - }, - { - "id": 577, + "id": 555, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8663,7 +8838,7 @@ "defaultValue": "true" }, { - "id": 575, + "id": 553, "name": "url", "kind": 32, "kindString": "Variable", @@ -8687,12 +8862,11 @@ "title": "Variables", "kind": 32, "children": [ - 576, - 579, - 580, - 578, - 577, - 575 + 554, + 556, + 557, + 555, + 553 ] } ], @@ -8714,14 +8888,24 @@ "title": "Classes", "kind": 128, "children": [ - 377 + 355 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 560, + 564, + 566, + 569 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 574 + 552 ] } ], @@ -8734,7 +8918,7 @@ ] }, { - "id": 583, + "id": 570, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -8744,7 +8928,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts", "children": [ { - "id": 585, + "id": 572, "name": "AuthChangeEvent", "kind": 16777216, "kindString": "Reference", @@ -8754,7 +8938,7 @@ "target": 113 }, { - "id": 590, + "id": 577, "name": "CookieOptions", "kind": 16777216, "kindString": "Reference", @@ -8764,7 +8948,7 @@ "target": 97 }, { - "id": 584, + "id": 571, "name": "Provider", "kind": 16777216, "kindString": "Reference", @@ -8774,7 +8958,7 @@ "target": 112 }, { - "id": 586, + "id": 573, "name": "Session", "kind": 16777216, "kindString": "Reference", @@ -8784,7 +8968,7 @@ "target": 50 }, { - "id": 589, + "id": 576, "name": "Subscription", "kind": 16777216, "kindString": "Reference", @@ -8794,7 +8978,7 @@ "target": 87 }, { - "id": 587, + "id": 574, "name": "User", "kind": 16777216, "kindString": "Reference", @@ -8804,7 +8988,7 @@ "target": 58 }, { - "id": 588, + "id": 575, "name": "UserAttributes", "kind": 16777216, "kindString": "Reference", @@ -8814,7 +8998,7 @@ "target": 82 }, { - "id": 591, + "id": 578, "name": "UserCredentials", "kind": 16777216, "kindString": "Reference", @@ -8824,7 +9008,7 @@ "target": 103 }, { - "id": 592, + "id": 579, "name": "VerifyOTPParams", "kind": 16777216, "kindString": "Reference", @@ -8839,15 +9023,15 @@ "title": "References", "kind": 16777216, "children": [ - 585, - 590, - 584, - 586, - 589, - 587, - 588, - 591, - 592 + 572, + 577, + 571, + 573, + 576, + 574, + 575, + 578, + 579 ] } ], @@ -8860,7 +9044,7 @@ ] }, { - "id": 114, + "id": 116, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -8870,7 +9054,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts", "children": [ { - "id": 117, + "id": 118, "name": "AUDIENCE", "kind": 32, "kindString": "Variable", @@ -8892,7 +9076,7 @@ "defaultValue": "\"\"" }, { - "id": 120, + "id": 121, "name": "EXPIRY_MARGIN", "kind": 32, "kindString": "Variable", @@ -8914,7 +9098,7 @@ "defaultValue": "60 * 1000" }, { - "id": 116, + "id": 117, "name": "GOTRUE_URL", "kind": 32, "kindString": "Variable", @@ -8936,7 +9120,7 @@ "defaultValue": "\"http://localhost:9999\"" }, { - "id": 121, + "id": 122, "name": "STORAGE_KEY", "kind": 32, "kindString": "Variable", @@ -8958,25 +9142,7 @@ "defaultValue": "\"supabase.auth.token\"" }, { - "id": 115, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 1, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 122, + "id": 123, "name": "COOKIE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -8986,7 +9152,7 @@ }, "children": [ { - "id": 125, + "id": 126, "name": "domain", "kind": 32, "kindString": "Variable", @@ -9007,7 +9173,7 @@ "defaultValue": "\"\"" }, { - "id": 124, + "id": 125, "name": "lifetime", "kind": 32, "kindString": "Variable", @@ -9028,7 +9194,7 @@ "defaultValue": "60 * 60 * 8" }, { - "id": 123, + "id": 124, "name": "name", "kind": 32, "kindString": "Variable", @@ -9049,7 +9215,7 @@ "defaultValue": "\"sb:token\"" }, { - "id": 126, + "id": 127, "name": "path", "kind": 32, "kindString": "Variable", @@ -9070,7 +9236,7 @@ "defaultValue": "\"/\"" }, { - "id": 127, + "id": 128, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9096,11 +9262,11 @@ "title": "Variables", "kind": 32, "children": [ + 126, 125, 124, - 123, - 126, - 127 + 127, + 128 ] } ], @@ -9117,7 +9283,7 @@ } }, { - "id": 118, + "id": 119, "name": "DEFAULT_HEADERS", "kind": 2097152, "kindString": "Object literal", @@ -9127,7 +9293,7 @@ }, "children": [ { - "id": 119, + "id": 120, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -9153,7 +9319,7 @@ "title": "Variables", "kind": 32, "children": [ - 119 + 120 ] } ], @@ -9175,19 +9341,18 @@ "title": "Variables", "kind": 32, "children": [ - 117, - 120, - 116, + 118, 121, - 115 + 117, + 122 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 122, - 118 + 123, + 119 ] } ], @@ -9200,7 +9365,7 @@ ] }, { - "id": 128, + "id": 129, "name": "\"lib/cookies\"", "kind": 1, "kindString": "Module", @@ -9210,7 +9375,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts", "children": [ { - "id": 129, + "id": 130, "name": "Cookie", "kind": 4194304, "kindString": "Type alias", @@ -9225,14 +9390,14 @@ "type": { "type": "reflection", "declaration": { - "id": 130, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 134, + "id": 135, "name": "domain", "kind": 32, "kindString": "Variable", @@ -9261,7 +9426,7 @@ } }, { - "id": 133, + "id": 134, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -9279,7 +9444,7 @@ } }, { - "id": 131, + "id": 132, "name": "name", "kind": 32, "kindString": "Variable", @@ -9297,7 +9462,7 @@ } }, { - "id": 135, + "id": 136, "name": "path", "kind": 32, "kindString": "Variable", @@ -9326,7 +9491,7 @@ } }, { - "id": 136, + "id": 137, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9355,7 +9520,7 @@ } }, { - "id": 132, + "id": 133, "name": "value", "kind": 32, "kindString": "Variable", @@ -9378,12 +9543,12 @@ "title": "Variables", "kind": 32, "children": [ - 134, - 133, - 131, 135, + 134, + 132, 136, - 132 + 137, + 133 ] } ], @@ -9398,7 +9563,7 @@ } }, { - "id": 167, + "id": 168, "name": "deleteCookie", "kind": 64, "kindString": "Function", @@ -9407,7 +9572,7 @@ }, "signatures": [ { - "id": 168, + "id": 169, "name": "deleteCookie", "kind": 4096, "kindString": "Call signature", @@ -9416,7 +9581,7 @@ }, "parameters": [ { - "id": 169, + "id": 170, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9429,7 +9594,7 @@ } }, { - "id": 170, + "id": 171, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9442,7 +9607,7 @@ } }, { - "id": 171, + "id": 172, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -9470,14 +9635,14 @@ ] }, { - "id": 150, + "id": 151, "name": "isSecureEnvironment", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 151, + "id": 152, "name": "isSecureEnvironment", "kind": 4096, "kindString": "Call signature", @@ -9487,7 +9652,7 @@ }, "parameters": [ { - "id": 152, + "id": 153, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9513,14 +9678,14 @@ ] }, { - "id": 137, + "id": 138, "name": "serialize", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 138, + "id": 139, "name": "serialize", "kind": 4096, "kindString": "Call signature", @@ -9530,7 +9695,7 @@ }, "parameters": [ { - "id": 139, + "id": 140, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -9541,7 +9706,7 @@ } }, { - "id": 140, + "id": 141, "name": "val", "kind": 32768, "kindString": "Parameter", @@ -9552,7 +9717,7 @@ } }, { - "id": 141, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9560,14 +9725,14 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 145, "name": "domain", "kind": 32, "kindString": "Variable", @@ -9585,7 +9750,7 @@ } }, { - "id": 146, + "id": 147, "name": "expires", "kind": 32, "kindString": "Variable", @@ -9603,7 +9768,7 @@ } }, { - "id": 147, + "id": 148, "name": "httpOnly", "kind": 32, "kindString": "Variable", @@ -9621,7 +9786,7 @@ } }, { - "id": 143, + "id": 144, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -9639,7 +9804,7 @@ } }, { - "id": 145, + "id": 146, "name": "path", "kind": 32, "kindString": "Variable", @@ -9657,7 +9822,7 @@ } }, { - "id": 149, + "id": 150, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9675,7 +9840,7 @@ } }, { - "id": 148, + "id": 149, "name": "secure", "kind": 32, "kindString": "Variable", @@ -9698,13 +9863,13 @@ "title": "Variables", "kind": 32, "children": [ + 145, + 147, + 148, 144, 146, - 147, - 143, - 145, - 149, - 148 + 150, + 149 ] } ], @@ -9734,14 +9899,14 @@ ] }, { - "id": 153, + "id": 154, "name": "serializeCookie", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 154, + "id": 155, "name": "serializeCookie", "kind": 4096, "kindString": "Call signature", @@ -9751,19 +9916,19 @@ }, "parameters": [ { - "id": 155, + "id": 156, "name": "cookie", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } }, { - "id": 156, + "id": 157, "name": "secure", "kind": 32768, "kindString": "Parameter", @@ -9789,7 +9954,7 @@ ] }, { - "id": 162, + "id": 163, "name": "setCookie", "kind": 64, "kindString": "Function", @@ -9798,7 +9963,7 @@ }, "signatures": [ { - "id": 163, + "id": 164, "name": "setCookie", "kind": 4096, "kindString": "Call signature", @@ -9810,7 +9975,7 @@ }, "parameters": [ { - "id": 164, + "id": 165, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9823,7 +9988,7 @@ } }, { - "id": 165, + "id": 166, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9836,7 +10001,7 @@ } }, { - "id": 166, + "id": 167, "name": "cookie", "kind": 32768, "kindString": "Parameter", @@ -9845,7 +10010,7 @@ }, "type": { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } } @@ -9865,7 +10030,7 @@ ] }, { - "id": 157, + "id": 158, "name": "setCookies", "kind": 64, "kindString": "Function", @@ -9874,7 +10039,7 @@ }, "signatures": [ { - "id": 158, + "id": 159, "name": "setCookies", "kind": 4096, "kindString": "Call signature", @@ -9886,7 +10051,7 @@ }, "parameters": [ { - "id": 159, + "id": 160, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9899,7 +10064,7 @@ } }, { - "id": 160, + "id": 161, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9912,7 +10077,7 @@ } }, { - "id": 161, + "id": 162, "name": "cookies", "kind": 32768, "kindString": "Parameter", @@ -9924,7 +10089,7 @@ "typeArguments": [ { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } ], @@ -9952,19 +10117,19 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 129 + 130 ] }, { "title": "Functions", "kind": 64, "children": [ - 167, - 150, - 137, - 153, - 162, - 157 + 168, + 151, + 138, + 154, + 163, + 158 ] } ], @@ -10804,7 +10969,7 @@ ] }, { - "id": 172, + "id": 173, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -10814,422 +10979,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts", "children": [ { - "id": 173, - "name": "LocalStorage", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 175, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 176, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "children": [ - { - "id": 178, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 179, - "name": "new LocalStorage", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 180, - "name": "localStorage", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "Storage" - } - } - ], - "type": { - "type": "reference", - "id": 173, - "name": "LocalStorage" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 29, - "character": 17 - } - ] - }, - { - "id": 177, - "name": "length", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 29, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 174, - "name": "localStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 27, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - } - }, - { - "id": 181, - "name": "clear", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 182, - "name": "clear", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 33, - "character": 7 - } - ] - }, - { - "id": 190, - "name": "getItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "name": "getItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 192, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 42, - "character": 9 - } - ] - }, - { - "id": 183, - "name": "key", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 184, - "name": "key", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 185, - "name": "index", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 36, - "character": 5 - } - ] - }, - { - "id": 193, - "name": "removeItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 194, - "name": "removeItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 195, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 45, - "character": 12 - } - ] - }, - { - "id": 186, - "name": "setItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 187, - "name": "setItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 188, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 189, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 39, - "character": 9 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 178 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 177, - 174 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 181, - 190, - 183, - 193, - 186 - ] - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 26, - "character": 25 - } - ], - "implementedTypes": [ - { - "type": "reference", - "name": "Storage" - } - ] - }, - { - "id": 196, + "id": 174, "name": "expiresAt", "kind": 64, "kindString": "Function", @@ -11238,7 +10988,7 @@ }, "signatures": [ { - "id": 197, + "id": 175, "name": "expiresAt", "kind": 4096, "kindString": "Call signature", @@ -11247,7 +10997,7 @@ }, "parameters": [ { - "id": 198, + "id": 176, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -11275,7 +11025,7 @@ ] }, { - "id": 203, + "id": 181, "name": "getParameterByName", "kind": 64, "kindString": "Function", @@ -11284,7 +11034,7 @@ }, "signatures": [ { - "id": 204, + "id": 182, "name": "getParameterByName", "kind": 4096, "kindString": "Call signature", @@ -11293,7 +11043,7 @@ }, "parameters": [ { - "id": 205, + "id": 183, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -11306,7 +11056,7 @@ } }, { - "id": 206, + "id": 184, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -11353,7 +11103,7 @@ ] }, { - "id": 201, + "id": 179, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -11363,7 +11113,7 @@ }, "signatures": [ { - "id": 202, + "id": 180, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -11385,7 +11135,7 @@ ] }, { - "id": 199, + "id": 177, "name": "uuid", "kind": 64, "kindString": "Function", @@ -11394,7 +11144,7 @@ }, "signatures": [ { - "id": 200, + "id": 178, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -11417,21 +11167,14 @@ } ], "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [ - 173 - ] - }, { "title": "Functions", "kind": 64, "children": [ - 196, - 203, - 201, - 199 + 174, + 181, + 179, + 177 ] } ], @@ -11444,7 +11187,7 @@ ] }, { - "id": 373, + "id": 351, "name": "\"lib/polyfills\"", "kind": 1, "kindString": "Module", @@ -11454,7 +11197,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts", "children": [ { - "id": 374, + "id": 352, "name": "polyfillGlobalThis", "kind": 64, "kindString": "Function", @@ -11463,7 +11206,7 @@ }, "signatures": [ { - "id": 375, + "id": 353, "name": "polyfillGlobalThis", "kind": 4096, "kindString": "Call signature", @@ -11493,7 +11236,7 @@ "title": "Functions", "kind": 64, "children": [ - 374 + 352 ] } ], @@ -13263,7 +13006,7 @@ ] }, { - "id": 593, + "id": 114, "name": "\"lib/version\"", "kind": 1, "kindString": "Module", @@ -13273,7 +13016,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/version.ts", "children": [ { - "id": 594, + "id": 115, "name": "version", "kind": 32, "kindString": "Variable", @@ -13300,7 +13043,7 @@ "title": "Variables", "kind": 32, "children": [ - 594 + 115 ] } ], @@ -13318,16 +13061,16 @@ "title": "Modules", "kind": 1, "children": [ - 207, - 376, - 583, - 114, - 128, + 185, + 354, + 570, + 116, + 129, 1, - 172, - 373, + 173, + 351, 49, - 593 + 114 ] } ] diff --git a/web/spec/postgrest.json b/web/spec/postgrest.json index a69d688f966..6e9089b8e35 100644 --- a/web/spec/postgrest.json +++ b/web/spec/postgrest.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 443, + "id": 448, "name": "\"PostgrestClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", "children": [ { - "id": 444, + "id": 449, "name": "PostgrestClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 451, + "id": 456, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37,7 +37,7 @@ }, "signatures": [ { - "id": 452, + "id": 457, "name": "new PostgrestClient", "kind": 16384, "kindString": "Constructor signature", @@ -49,7 +49,7 @@ }, "parameters": [ { - "id": 453, + "id": 458, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -65,7 +65,7 @@ } }, { - "id": 454, + "id": 459, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -76,7 +76,7 @@ "type": { "type": "reflection", "declaration": { - "id": 455, + "id": 460, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -85,7 +85,7 @@ }, "children": [ { - "id": 456, + "id": 461, "name": "headers", "kind": 32, "kindString": "Variable", @@ -98,14 +98,14 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 19, + "line": 20, "character": 13 } ], "type": { "type": "reflection", "declaration": { - "id": 457, + "id": 462, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -114,7 +114,7 @@ }, "indexSignature": [ { - "id": 458, + "id": 463, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -123,7 +123,7 @@ }, "parameters": [ { - "id": 459, + "id": 464, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -146,7 +146,7 @@ } }, { - "id": 460, + "id": 465, "name": "schema", "kind": 32, "kindString": "Variable", @@ -159,7 +159,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 19, + "line": 20, "character": 26 } ], @@ -183,15 +183,15 @@ "title": "Variables", "kind": 32, "children": [ - 456, - 460 + 461, + 465 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 18, + "line": 19, "character": 16 } ] @@ -202,7 +202,7 @@ ], "type": { "type": "reference", - "id": 444, + "id": 449, "name": "PostgrestClient" } } @@ -210,13 +210,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 8, + "line": 9, "character": 17 } ] }, { - "id": 446, + "id": 451, "name": "headers", "kind": 1024, "kindString": "Property", @@ -226,14 +226,14 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 7, + "line": 8, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 447, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -242,7 +242,7 @@ }, "indexSignature": [ { - "id": 448, + "id": 453, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -251,7 +251,7 @@ }, "parameters": [ { - "id": 449, + "id": 454, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -273,7 +273,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 7, + "line": 8, "character": 10 } ] @@ -281,7 +281,7 @@ } }, { - "id": 450, + "id": 455, "name": "schema", "kind": 1024, "kindString": "Property", @@ -292,7 +292,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 8, + "line": 9, "character": 8 } ], @@ -311,7 +311,7 @@ } }, { - "id": 445, + "id": 450, "name": "url", "kind": 1024, "kindString": "Property", @@ -321,7 +321,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 6, + "line": 7, "character": 5 } ], @@ -331,7 +331,7 @@ } }, { - "id": 461, + "id": 466, "name": "auth", "kind": 2048, "kindString": "Method", @@ -340,7 +340,7 @@ }, "signatures": [ { - "id": 462, + "id": 467, "name": "auth", "kind": 4096, "kindString": "Call signature", @@ -352,7 +352,7 @@ }, "parameters": [ { - "id": 463, + "id": 468, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -377,13 +377,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 31, + "line": 32, "character": 6 } ] }, { - "id": 464, + "id": 469, "name": "from", "kind": 2048, "kindString": "Method", @@ -392,7 +392,7 @@ }, "signatures": [ { - "id": 465, + "id": 470, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -404,7 +404,7 @@ }, "typeParameter": [ { - "id": 466, + "id": 471, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -415,7 +415,7 @@ ], "parameters": [ { - "id": 467, + "id": 472, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -451,13 +451,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 41, + "line": 42, "character": 6 } ] }, { - "id": 468, + "id": 473, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -466,7 +466,7 @@ }, "signatures": [ { - "id": 469, + "id": 474, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -478,7 +478,7 @@ }, "typeParameter": [ { - "id": 470, + "id": 475, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -489,7 +489,7 @@ ], "parameters": [ { - "id": 471, + "id": 476, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -505,7 +505,7 @@ } }, { - "id": 472, + "id": 477, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -531,7 +531,7 @@ } }, { - "id": 473, + "id": 478, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -542,7 +542,7 @@ "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -551,7 +551,7 @@ }, "children": [ { - "id": 475, + "id": 480, "name": "count", "kind": 32, "kindString": "Variable", @@ -564,7 +564,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 57, + "line": 58, "character": 11 } ], @@ -597,14 +597,14 @@ "title": "Variables", "kind": 32, "children": [ - 475 + 480 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 55, + "line": 56, "character": 20 } ] @@ -633,7 +633,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 53, + "line": 54, "character": 5 } ] @@ -644,32 +644,32 @@ "title": "Constructors", "kind": 512, "children": [ - 451 + 456 ] }, { "title": "Properties", "kind": 1024, "children": [ - 446, - 450, - 445 + 451, + 455, + 450 ] }, { "title": "Methods", "kind": 2048, "children": [ - 461, - 464, - 468 + 466, + 469, + 473 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 5, + "line": 6, "character": 36 } ] @@ -680,7 +680,7 @@ "title": "Classes", "kind": 128, "children": [ - 444 + 449 ] } ], @@ -693,7 +693,7 @@ ] }, { - "id": 476, + "id": 481, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -9922,6 +9922,87 @@ } ] }, + { + "id": 445, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts", + "children": [ + { + "id": 446, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 447, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`postgrest-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 447 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 446 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, { "id": 1, "name": "\"lib/types\"", @@ -11531,6 +11612,56 @@ "character": 0 } ] + }, + { + "id": 443, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts", + "children": [ + { + "id": 444, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0-automated" + }, + "defaultValue": "\"0.0.0-automated\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 444 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -11538,13 +11669,15 @@ "title": "Modules", "kind": 1, "children": [ - 443, - 476, + 448, + 481, 126, 321, 401, 67, - 1 + 445, + 1, + 443 ] } ] diff --git a/web/spec/realtime.json b/web/spec/realtime.json index a204988b1d8..6dd7a8be4ca 100644 --- a/web/spec/realtime.json +++ b/web/spec/realtime.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 196, + "id": 200, "name": "\"RealtimeClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts", "children": [ { - "id": 197, + "id": 201, "name": "RealtimeClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 228, + "id": 232, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37,7 +37,7 @@ }, "signatures": [ { - "id": 229, + "id": 233, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -49,7 +49,7 @@ }, "parameters": [ { - "id": 230, + "id": 234, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -65,7 +65,7 @@ } }, { - "id": 231, + "id": 235, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -75,14 +75,14 @@ }, "type": { "type": "reference", - "id": 303, + "id": 307, "name": "Options" } } ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } @@ -90,13 +90,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 65, + "line": 66, "character": 3 } ] }, { - "id": 198, + "id": 202, "name": "channels", "kind": 1024, "kindString": "Property", @@ -106,7 +106,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 36, + "line": 37, "character": 10 } ], @@ -114,14 +114,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, "defaultValue": "[]" }, { - "id": 220, + "id": 224, "name": "conn", "kind": 1024, "kindString": "Property", @@ -131,7 +131,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 52, + "line": 53, "character": 6 } ], @@ -151,13 +151,33 @@ "defaultValue": "null" }, { - "id": 218, + "id": 222, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 51, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 221, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -171,27 +191,7 @@ } }, { - "id": 217, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 199, + "id": 203, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -201,7 +201,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 37, + "line": 38, "character": 10 } ], @@ -212,7 +212,7 @@ "defaultValue": "\"\"" }, { - "id": 200, + "id": 204, "name": "headers", "kind": 1024, "kindString": "Property", @@ -220,181 +220,11 @@ "isExported": true, "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 38, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 202, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 203, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 210, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 42, - "character": 21 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "30000" - }, - { - "id": 212, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "query", - "queryType": { - "type": "reference", - "name": "setInterval" - } - } - ], - "name": "ReturnType" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - "defaultValue": "undefined" - }, - { - "id": 216, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 48, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - }, - "defaultValue": "noop" - }, - { - "id": 211, - "name": "longpollerTimeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "20000" - }, - { - "id": 204, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", "line": 39, - "character": 8 + "character": 9 } ], "type": { @@ -447,11 +277,33 @@ } } ] - } + }, + "defaultValue": "DEFAULT_HEADERS" }, { - "id": 213, - "name": "pendingHeartbeatRef", + "id": 214, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 216, + "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", "flags": { @@ -461,6 +313,155 @@ { "fileName": "RealtimeClient.ts", "line": 45, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "setInterval" + } + } + ], + "name": "ReturnType" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 220, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 215, + "name": "longpollerTimeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20000" + }, + { + "id": 208, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 40, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 210, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 211, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 217, + "name": "pendingHeartbeatRef", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 46, "character": 21 } ], @@ -480,7 +481,7 @@ "defaultValue": "null" }, { - "id": 219, + "id": 223, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -490,7 +491,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 51, + "line": 52, "character": 18 } ], @@ -500,7 +501,7 @@ } }, { - "id": 215, + "id": 219, "name": "reconnectTimer", "kind": 1024, "kindString": "Property", @@ -510,18 +511,18 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 47, + "line": 48, "character": 16 } ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } }, { - "id": 214, + "id": 218, "name": "ref", "kind": 1024, "kindString": "Property", @@ -531,7 +532,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 46, + "line": 47, "character": 5 } ], @@ -542,37 +543,13 @@ "defaultValue": "0" }, { - "id": 221, + "id": 225, "name": "sendBuffer", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 53, - "character": 12 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Function" - } - }, - "defaultValue": "[]" - }, - { - "id": 222, - "name": "serializer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -580,15 +557,39 @@ "character": 12 } ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "Function" + } + }, + "defaultValue": "[]" + }, + { + "id": 226, + "name": "serializer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 55, + "character": 12 + } + ], "type": { "type": "reference", - "id": 172, + "id": 176, "name": "Serializer" }, "defaultValue": "new Serializer()" }, { - "id": 208, + "id": 212, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -598,7 +599,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 9 } ], @@ -609,7 +610,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 209, + "id": 213, "name": "transport", "kind": 1024, "kindString": "Property", @@ -619,7 +620,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 11 } ], @@ -630,7 +631,7 @@ "defaultValue": "WebSocket" }, { - "id": 290, + "id": 294, "name": "_appendParams", "kind": 2048, "kindString": "Method", @@ -640,7 +641,7 @@ }, "signatures": [ { - "id": 291, + "id": 295, "name": "_appendParams", "kind": 4096, "kindString": "Call signature", @@ -649,7 +650,7 @@ }, "parameters": [ { - "id": 292, + "id": 296, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -662,7 +663,7 @@ } }, { - "id": 293, + "id": 297, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -672,7 +673,7 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -681,7 +682,7 @@ }, "indexSignature": [ { - "id": 295, + "id": 299, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -690,7 +691,7 @@ }, "parameters": [ { - "id": 296, + "id": 300, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -712,7 +713,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 44 } ] @@ -729,13 +730,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 23 } ] }, { - "id": 297, + "id": 301, "name": "_flushSendBuffer", "kind": 2048, "kindString": "Method", @@ -745,7 +746,7 @@ }, "signatures": [ { - "id": 298, + "id": 302, "name": "_flushSendBuffer", "kind": 4096, "kindString": "Call signature", @@ -761,13 +762,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 357, + "line": 358, "character": 26 } ] }, { - "id": 282, + "id": 286, "name": "_onConnClose", "kind": 2048, "kindString": "Method", @@ -777,7 +778,7 @@ }, "signatures": [ { - "id": 283, + "id": 287, "name": "_onConnClose", "kind": 4096, "kindString": "Call signature", @@ -786,7 +787,7 @@ }, "parameters": [ { - "id": 284, + "id": 288, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -808,13 +809,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 327, + "line": 328, "character": 22 } ] }, { - "id": 285, + "id": 289, "name": "_onConnError", "kind": 2048, "kindString": "Method", @@ -824,7 +825,7 @@ }, "signatures": [ { - "id": 286, + "id": 290, "name": "_onConnError", "kind": 4096, "kindString": "Call signature", @@ -833,7 +834,7 @@ }, "parameters": [ { - "id": 287, + "id": 291, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -855,13 +856,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 335, + "line": 336, "character": 22 } ] }, { - "id": 280, + "id": 284, "name": "_onConnOpen", "kind": 2048, "kindString": "Method", @@ -871,7 +872,7 @@ }, "signatures": [ { - "id": 281, + "id": 285, "name": "_onConnOpen", "kind": 4096, "kindString": "Call signature", @@ -887,13 +888,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 319, + "line": 320, "character": 21 } ] }, { - "id": 299, + "id": 303, "name": "_resetHeartbeat", "kind": 2048, "kindString": "Method", @@ -903,7 +904,7 @@ }, "signatures": [ { - "id": 300, + "id": 304, "name": "_resetHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -919,13 +920,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 364, + "line": 365, "character": 25 } ] }, { - "id": 301, + "id": 305, "name": "_sendHeartbeat", "kind": 2048, "kindString": "Method", @@ -935,7 +936,7 @@ }, "signatures": [ { - "id": 302, + "id": 306, "name": "_sendHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -951,13 +952,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 373, + "line": 374, "character": 24 } ] }, { - "id": 288, + "id": 292, "name": "_triggerChanError", "kind": 2048, "kindString": "Method", @@ -967,7 +968,7 @@ }, "signatures": [ { - "id": 289, + "id": 293, "name": "_triggerChanError", "kind": 4096, "kindString": "Call signature", @@ -983,13 +984,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 341, + "line": 342, "character": 27 } ] }, { - "id": 265, + "id": 269, "name": "channel", "kind": 2048, "kindString": "Method", @@ -998,7 +999,7 @@ }, "signatures": [ { - "id": 266, + "id": 270, "name": "channel", "kind": 4096, "kindString": "Call signature", @@ -1007,7 +1008,7 @@ }, "parameters": [ { - "id": 267, + "id": 271, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -1020,7 +1021,7 @@ } }, { - "id": 268, + "id": 272, "name": "chanParams", "kind": 32768, "kindString": "Parameter", @@ -1030,7 +1031,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 273, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1044,7 +1045,7 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -1052,13 +1053,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 249, + "line": 250, "character": 9 } ] }, { - "id": 232, + "id": 236, "name": "connect", "kind": 2048, "kindString": "Method", @@ -1067,7 +1068,7 @@ }, "signatures": [ { - "id": 233, + "id": 237, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -1086,13 +1087,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 117, + "line": 118, "character": 9 } ] }, { - "id": 258, + "id": 262, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -1101,7 +1102,7 @@ }, "signatures": [ { - "id": 259, + "id": 263, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -1137,13 +1138,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 218, + "line": 219, "character": 17 } ] }, { - "id": 234, + "id": 238, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -1152,7 +1153,7 @@ }, "signatures": [ { - "id": 235, + "id": 239, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -1164,7 +1165,7 @@ }, "parameters": [ { - "id": 236, + "id": 240, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -1190,7 +1191,7 @@ } }, { - "id": 237, + "id": 241, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -1222,7 +1223,7 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1231,7 +1232,7 @@ }, "children": [ { - "id": 240, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -1241,7 +1242,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 40 } ], @@ -1251,7 +1252,7 @@ } }, { - "id": 239, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -1261,7 +1262,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 20 } ], @@ -1285,15 +1286,15 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 244, + 243 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 13 } ] @@ -1307,13 +1308,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 139, + "line": 140, "character": 12 } ] }, { - "id": 276, + "id": 280, "name": "endPointURL", "kind": 2048, "kindString": "Method", @@ -1322,7 +1323,7 @@ }, "signatures": [ { - "id": 277, + "id": 281, "name": "endPointURL", "kind": 4096, "kindString": "Call signature", @@ -1341,13 +1342,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 298, + "line": 299, "character": 13 } ] }, { - "id": 260, + "id": 264, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -1356,7 +1357,7 @@ }, "signatures": [ { - "id": 261, + "id": 265, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -1375,13 +1376,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 234, + "line": 235, "character": 13 } ] }, { - "id": 241, + "id": 245, "name": "log", "kind": 2048, "kindString": "Method", @@ -1390,7 +1391,7 @@ }, "signatures": [ { - "id": 242, + "id": 246, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -1402,7 +1403,7 @@ }, "parameters": [ { - "id": 243, + "id": 247, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -1415,7 +1416,7 @@ } }, { - "id": 244, + "id": 248, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -1428,7 +1429,7 @@ } }, { - "id": 245, + "id": 249, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -1451,13 +1452,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 167, + "line": 168, "character": 5 } ] }, { - "id": 278, + "id": 282, "name": "makeRef", "kind": 2048, "kindString": "Method", @@ -1466,7 +1467,7 @@ }, "signatures": [ { - "id": 279, + "id": 283, "name": "makeRef", "kind": 4096, "kindString": "Call signature", @@ -1485,13 +1486,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 308, + "line": 309, "character": 9 } ] }, { - "id": 249, + "id": 253, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -1500,7 +1501,7 @@ }, "signatures": [ { - "id": 250, + "id": 254, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -1518,7 +1519,7 @@ }, "parameters": [ { - "id": 251, + "id": 255, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1543,13 +1544,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 189, + "line": 190, "character": 9 } ] }, { - "id": 273, + "id": 277, "name": "onConnMessage", "kind": 2048, "kindString": "Method", @@ -1558,7 +1559,7 @@ }, "signatures": [ { - "id": 274, + "id": 278, "name": "onConnMessage", "kind": 4096, "kindString": "Call signature", @@ -1567,7 +1568,7 @@ }, "parameters": [ { - "id": 275, + "id": 279, "name": "rawMessage", "kind": 32768, "kindString": "Parameter", @@ -1589,13 +1590,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 270, + "line": 271, "character": 15 } ] }, { - "id": 252, + "id": 256, "name": "onError", "kind": 2048, "kindString": "Method", @@ -1604,7 +1605,7 @@ }, "signatures": [ { - "id": 253, + "id": 257, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -1622,7 +1623,7 @@ }, "parameters": [ { - "id": 254, + "id": 258, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1647,13 +1648,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 200, + "line": 201, "character": 9 } ] }, { - "id": 255, + "id": 259, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -1662,7 +1663,7 @@ }, "signatures": [ { - "id": 256, + "id": 260, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -1680,7 +1681,7 @@ }, "parameters": [ { - "id": 257, + "id": 261, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1705,13 +1706,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 211, + "line": 212, "character": 11 } ] }, { - "id": 246, + "id": 250, "name": "onOpen", "kind": 2048, "kindString": "Method", @@ -1720,7 +1721,7 @@ }, "signatures": [ { - "id": 247, + "id": 251, "name": "onOpen", "kind": 4096, "kindString": "Call signature", @@ -1738,7 +1739,7 @@ }, "parameters": [ { - "id": 248, + "id": 252, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1763,13 +1764,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 178, + "line": 179, "character": 8 } ] }, { - "id": 270, + "id": 274, "name": "push", "kind": 2048, "kindString": "Method", @@ -1778,7 +1779,7 @@ }, "signatures": [ { - "id": 271, + "id": 275, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -1787,7 +1788,7 @@ }, "parameters": [ { - "id": 272, + "id": 276, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -1796,7 +1797,7 @@ }, "type": { "type": "reference", - "id": 321, + "id": 325, "name": "Message" } } @@ -1810,13 +1811,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 255, + "line": 256, "character": 6 } ] }, { - "id": 262, + "id": 266, "name": "remove", "kind": 2048, "kindString": "Method", @@ -1825,7 +1826,7 @@ }, "signatures": [ { - "id": 263, + "id": 267, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -1837,7 +1838,7 @@ }, "parameters": [ { - "id": 264, + "id": 268, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -1849,7 +1850,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -1863,13 +1864,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 243, + "line": 244, "character": 8 } ] }, { - "id": 223, + "id": 227, "name": "stateChangeCallbacks", "kind": 2097152, "kindString": "Object literal", @@ -1878,37 +1879,13 @@ }, "children": [ { - "id": 225, + "id": 229, "name": "close", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 9 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "never" - } - }, - "defaultValue": "[]" - }, - { - "id": 226, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -1926,8 +1903,8 @@ "defaultValue": "[]" }, { - "id": 227, - "name": "message", + "id": 230, + "name": "error", "kind": 32, "kindString": "Variable", "flags": { @@ -1937,6 +1914,30 @@ { "fileName": "RealtimeClient.ts", "line": 64, + "character": 9 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 231, + "name": "message", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 65, "character": 11 } ], @@ -1950,7 +1951,7 @@ "defaultValue": "[]" }, { - "id": 224, + "id": 228, "name": "open", "kind": 32, "kindString": "Variable", @@ -1960,7 +1961,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 8 } ], @@ -1979,17 +1980,17 @@ "title": "Variables", "kind": 32, "children": [ - 225, - 226, - 227, - 224 + 229, + 230, + 231, + 228 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 55, + "line": 56, "character": 22 } ], @@ -2004,81 +2005,81 @@ "title": "Constructors", "kind": 512, "children": [ - 228 + 232 ] }, { "title": "Properties", "kind": 1024, "children": [ - 198, - 220, - 218, - 217, - 199, - 200, - 210, - 212, - 216, - 211, - 204, - 213, - 219, - 215, - 214, - 221, + 202, + 224, 222, + 221, + 203, + 204, + 214, + 216, + 220, + 215, 208, - 209 + 217, + 223, + 219, + 218, + 225, + 226, + 212, + 213 ] }, { "title": "Methods", "kind": 2048, "children": [ - 290, - 297, - 282, - 285, - 280, - 299, + 294, 301, - 288, - 265, - 232, - 258, - 234, - 276, - 260, - 241, - 278, - 249, - 273, - 252, - 255, - 246, - 270, - 262 + 286, + 289, + 284, + 303, + 305, + 292, + 269, + 236, + 262, + 238, + 280, + 264, + 245, + 282, + 253, + 277, + 256, + 259, + 250, + 274, + 266 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 223 + 227 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 35, + "line": 36, "character": 35 } ] }, { - "id": 321, + "id": 325, "name": "Message", "kind": 4194304, "kindString": "Type alias", @@ -2086,25 +2087,79 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 26, + "line": 27, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 328, "name": "event", "kind": 32, "kindString": "Variable", "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 29, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 329, + "name": "payload", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 30, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 330, + "name": "ref", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 31, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "topic", + "kind": 32, + "kindString": "Variable", + "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -2116,60 +2171,6 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 325, - "name": "payload", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 326, - "name": "ref", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 30, - "character": 5 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 323, - "name": "topic", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 27, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ @@ -2177,17 +2178,17 @@ "title": "Variables", "kind": 32, "children": [ - 324, - 325, - 326, - 323 + 328, + 329, + 330, + 327 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 26, + "line": 27, "character": 14 } ] @@ -2195,7 +2196,7 @@ } }, { - "id": 303, + "id": 307, "name": "Options", "kind": 4194304, "kindString": "Type alias", @@ -2205,14 +2206,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 14, + "line": 15, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2221,7 +2222,7 @@ }, "children": [ { - "id": 311, + "id": 315, "name": "decode", "kind": 32, "kindString": "Variable", @@ -2229,6 +2230,27 @@ "isExported": true, "isOptional": true }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 22, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 314, + "name": "encode", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -2242,28 +2264,7 @@ } }, { - "id": 310, - "name": "encode", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 313, + "id": 317, "name": "headers", "kind": 32, "kindString": "Variable", @@ -2271,160 +2272,11 @@ "isExported": true, "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 23, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 314, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 315, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 316, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 307, - "name": "heartbeatIntervalMs", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 17, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 309, - "name": "logger", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 308, - "name": "longpollerTimeout", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 317, - "name": "params", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", "line": 24, - "character": 8 + "character": 9 } ], "type": { @@ -2479,8 +2331,157 @@ ] } }, + { + "id": 311, + "name": "heartbeatIntervalMs", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 313, + "name": "logger", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 20, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, { "id": 312, + "name": "longpollerTimeout", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 321, + "name": "params", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 322, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 323, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 324, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 316, "name": "reconnectAfterMs", "kind": 32, "kindString": "Variable", @@ -2491,7 +2492,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 22, + "line": 23, "character": 18 } ], @@ -2501,7 +2502,7 @@ } }, { - "id": 306, + "id": 310, "name": "timeout", "kind": 32, "kindString": "Variable", @@ -2512,7 +2513,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 9 } ], @@ -2531,7 +2532,7 @@ } }, { - "id": 305, + "id": 309, "name": "transport", "kind": 32, "kindString": "Variable", @@ -2542,7 +2543,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 15, + "line": 16, "character": 11 } ], @@ -2557,23 +2558,23 @@ "title": "Variables", "kind": 32, "children": [ - 311, - 310, - 313, - 307, - 309, - 308, + 315, + 314, 317, + 311, + 313, 312, - 306, - 305 + 321, + 316, + 310, + 309 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 14, + "line": 15, "character": 21 } ] @@ -2581,7 +2582,7 @@ } }, { - "id": 327, + "id": 331, "name": "noop", "kind": 64, "kindString": "Function", @@ -2590,7 +2591,7 @@ }, "signatures": [ { - "id": 328, + "id": 332, "name": "noop", "kind": 4096, "kindString": "Call signature", @@ -2604,7 +2605,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 33, + "line": 34, "character": 10 } ] @@ -2615,22 +2616,22 @@ "title": "Classes", "kind": 128, "children": [ - 197 + 201 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 321, - 303 + 325, + 307 ] }, { "title": "Functions", "kind": 64, "children": [ - 327 + 331 ] } ], @@ -2643,7 +2644,7 @@ ] }, { - "id": 92, + "id": 96, "name": "\"RealtimeSubscription\"", "kind": 1, "kindString": "Module", @@ -2653,7 +2654,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts", "children": [ { - "id": 93, + "id": 97, "name": "RealtimeSubscription", "kind": 128, "kindString": "Class", @@ -2662,7 +2663,7 @@ }, "children": [ { - "id": 101, + "id": 105, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2671,7 +2672,7 @@ }, "signatures": [ { - "id": 105, + "id": 109, "name": "new RealtimeSubscription", "kind": 16384, "kindString": "Constructor signature", @@ -2680,7 +2681,7 @@ }, "parameters": [ { - "id": 106, + "id": 110, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -2693,7 +2694,7 @@ } }, { - "id": 107, + "id": 111, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -2707,7 +2708,7 @@ "defaultValue": "{}" }, { - "id": 108, + "id": 112, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -2716,14 +2717,14 @@ }, "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -2737,7 +2738,7 @@ ] }, { - "id": 94, + "id": 98, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -2761,7 +2762,7 @@ "defaultValue": "[]" }, { - "id": 98, + "id": 102, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -2777,12 +2778,12 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } }, { - "id": 97, + "id": 101, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -2803,7 +2804,7 @@ "defaultValue": "false" }, { - "id": 103, + "id": 107, "name": "params", "kind": 1024, "kindString": "Property", @@ -2825,7 +2826,7 @@ } }, { - "id": 100, + "id": 104, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -2843,14 +2844,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } }, "defaultValue": "[]" }, { - "id": 99, + "id": 103, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -2866,12 +2867,12 @@ ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } }, { - "id": 104, + "id": 108, "name": "socket", "kind": 1024, "kindString": "Property", @@ -2889,12 +2890,12 @@ ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } }, { - "id": 96, + "id": 100, "name": "state", "kind": 1024, "kindString": "Property", @@ -2910,13 +2911,13 @@ ], "type": { "type": "reference", - "id": 7, + "id": 9, "name": "CHANNEL_STATES" }, "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 95, + "id": 99, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -2936,7 +2937,7 @@ } }, { - "id": 102, + "id": 106, "name": "topic", "kind": 1024, "kindString": "Property", @@ -2958,7 +2959,7 @@ } }, { - "id": 127, + "id": 131, "name": "canPush", "kind": 2048, "kindString": "Method", @@ -2967,7 +2968,7 @@ }, "signatures": [ { - "id": 128, + "id": 132, "name": "canPush", "kind": 4096, "kindString": "Call signature", @@ -2989,7 +2990,7 @@ ] }, { - "id": 161, + "id": 165, "name": "isClosed", "kind": 2048, "kindString": "Method", @@ -2998,7 +2999,7 @@ }, "signatures": [ { - "id": 162, + "id": 166, "name": "isClosed", "kind": 4096, "kindString": "Call signature", @@ -3020,7 +3021,7 @@ ] }, { - "id": 163, + "id": 167, "name": "isErrored", "kind": 2048, "kindString": "Method", @@ -3029,7 +3030,7 @@ }, "signatures": [ { - "id": 164, + "id": 168, "name": "isErrored", "kind": 4096, "kindString": "Call signature", @@ -3051,7 +3052,7 @@ ] }, { - "id": 165, + "id": 169, "name": "isJoined", "kind": 2048, "kindString": "Method", @@ -3060,7 +3061,7 @@ }, "signatures": [ { - "id": 166, + "id": 170, "name": "isJoined", "kind": 4096, "kindString": "Call signature", @@ -3082,7 +3083,7 @@ ] }, { - "id": 167, + "id": 171, "name": "isJoining", "kind": 2048, "kindString": "Method", @@ -3091,7 +3092,7 @@ }, "signatures": [ { - "id": 168, + "id": 172, "name": "isJoining", "kind": 4096, "kindString": "Call signature", @@ -3113,7 +3114,7 @@ ] }, { - "id": 169, + "id": 173, "name": "isLeaving", "kind": 2048, "kindString": "Method", @@ -3122,7 +3123,7 @@ }, "signatures": [ { - "id": 170, + "id": 174, "name": "isLeaving", "kind": 4096, "kindString": "Call signature", @@ -3144,7 +3145,7 @@ ] }, { - "id": 142, + "id": 146, "name": "isMember", "kind": 2048, "kindString": "Method", @@ -3153,7 +3154,7 @@ }, "signatures": [ { - "id": 143, + "id": 147, "name": "isMember", "kind": 4096, "kindString": "Call signature", @@ -3162,7 +3163,7 @@ }, "parameters": [ { - "id": 144, + "id": 148, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -3190,7 +3191,7 @@ ] }, { - "id": 145, + "id": 149, "name": "joinRef", "kind": 2048, "kindString": "Method", @@ -3199,7 +3200,7 @@ }, "signatures": [ { - "id": 146, + "id": 150, "name": "joinRef", "kind": 4096, "kindString": "Call signature", @@ -3221,7 +3222,7 @@ ] }, { - "id": 124, + "id": 128, "name": "off", "kind": 2048, "kindString": "Method", @@ -3230,7 +3231,7 @@ }, "signatures": [ { - "id": 125, + "id": 129, "name": "off", "kind": 4096, "kindString": "Call signature", @@ -3239,7 +3240,7 @@ }, "parameters": [ { - "id": 126, + "id": 130, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3267,7 +3268,7 @@ ] }, { - "id": 120, + "id": 124, "name": "on", "kind": 2048, "kindString": "Method", @@ -3276,7 +3277,7 @@ }, "signatures": [ { - "id": 121, + "id": 125, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -3285,7 +3286,7 @@ }, "parameters": [ { - "id": 122, + "id": 126, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3298,7 +3299,7 @@ } }, { - "id": 123, + "id": 127, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3326,7 +3327,7 @@ ] }, { - "id": 114, + "id": 118, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -3335,7 +3336,7 @@ }, "signatures": [ { - "id": 115, + "id": 119, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -3344,7 +3345,7 @@ }, "parameters": [ { - "id": 116, + "id": 120, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3372,7 +3373,7 @@ ] }, { - "id": 117, + "id": 121, "name": "onError", "kind": 2048, "kindString": "Method", @@ -3381,7 +3382,7 @@ }, "signatures": [ { - "id": 118, + "id": 122, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -3390,7 +3391,7 @@ }, "parameters": [ { - "id": 119, + "id": 123, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3418,7 +3419,7 @@ ] }, { - "id": 137, + "id": 141, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -3427,7 +3428,7 @@ }, "signatures": [ { - "id": 138, + "id": 142, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -3440,7 +3441,7 @@ }, "parameters": [ { - "id": 139, + "id": 143, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3453,7 +3454,7 @@ } }, { - "id": 140, + "id": 144, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3466,7 +3467,7 @@ } }, { - "id": 141, + "id": 145, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3504,7 +3505,7 @@ ] }, { - "id": 129, + "id": 133, "name": "push", "kind": 2048, "kindString": "Method", @@ -3513,7 +3514,7 @@ }, "signatures": [ { - "id": 130, + "id": 134, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -3522,7 +3523,7 @@ }, "parameters": [ { - "id": 131, + "id": 135, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3531,12 +3532,12 @@ }, "type": { "type": "reference", - "id": 13, + "id": 15, "name": "CHANNEL_EVENTS" } }, { - "id": 132, + "id": 136, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3549,7 +3550,7 @@ } }, { - "id": 133, + "id": 137, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3565,7 +3566,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -3579,7 +3580,7 @@ ] }, { - "id": 150, + "id": 154, "name": "rejoin", "kind": 2048, "kindString": "Method", @@ -3588,7 +3589,7 @@ }, "signatures": [ { - "id": 151, + "id": 155, "name": "rejoin", "kind": 4096, "kindString": "Call signature", @@ -3597,7 +3598,7 @@ }, "parameters": [ { - "id": 152, + "id": 156, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3626,7 +3627,7 @@ ] }, { - "id": 109, + "id": 113, "name": "rejoinUntilConnected", "kind": 2048, "kindString": "Method", @@ -3635,7 +3636,7 @@ }, "signatures": [ { - "id": 110, + "id": 114, "name": "rejoinUntilConnected", "kind": 4096, "kindString": "Call signature", @@ -3657,7 +3658,7 @@ ] }, { - "id": 158, + "id": 162, "name": "replyEventName", "kind": 2048, "kindString": "Method", @@ -3666,7 +3667,7 @@ }, "signatures": [ { - "id": 159, + "id": 163, "name": "replyEventName", "kind": 4096, "kindString": "Call signature", @@ -3675,7 +3676,7 @@ }, "parameters": [ { - "id": 160, + "id": 164, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3703,7 +3704,7 @@ ] }, { - "id": 147, + "id": 151, "name": "sendJoin", "kind": 2048, "kindString": "Method", @@ -3712,7 +3713,7 @@ }, "signatures": [ { - "id": 148, + "id": 152, "name": "sendJoin", "kind": 4096, "kindString": "Call signature", @@ -3721,7 +3722,7 @@ }, "parameters": [ { - "id": 149, + "id": 153, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3749,7 +3750,7 @@ ] }, { - "id": 111, + "id": 115, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -3758,7 +3759,7 @@ }, "signatures": [ { - "id": 112, + "id": 116, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -3767,7 +3768,7 @@ }, "parameters": [ { - "id": 113, + "id": 117, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3783,7 +3784,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -3797,7 +3798,7 @@ ] }, { - "id": 153, + "id": 157, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -3806,7 +3807,7 @@ }, "signatures": [ { - "id": 154, + "id": 158, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -3815,7 +3816,7 @@ }, "parameters": [ { - "id": 155, + "id": 159, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3828,7 +3829,7 @@ } }, { - "id": 156, + "id": 160, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3842,7 +3843,7 @@ } }, { - "id": 157, + "id": 161, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3880,7 +3881,7 @@ ] }, { - "id": 134, + "id": 138, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -3889,7 +3890,7 @@ }, "signatures": [ { - "id": 135, + "id": 139, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -3902,7 +3903,7 @@ }, "parameters": [ { - "id": 136, + "id": 140, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3918,7 +3919,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -3937,50 +3938,50 @@ "title": "Constructors", "kind": 512, "children": [ - 101 + 105 ] }, { "title": "Properties", "kind": 1024, "children": [ - 94, 98, - 97, + 102, + 101, + 107, + 104, 103, + 108, 100, 99, - 104, - 96, - 95, - 102 + 106 ] }, { "title": "Methods", "kind": 2048, "children": [ - 127, - 161, - 163, + 131, 165, 167, 169, - 142, - 145, + 171, + 173, + 146, + 149, + 128, 124, - 120, - 114, - 117, - 137, - 129, - 150, - 109, - 158, - 147, - 111, - 153, - 134 + 118, + 121, + 141, + 133, + 154, + 113, + 162, + 151, + 115, + 157, + 138 ] } ], @@ -3998,7 +3999,7 @@ "title": "Classes", "kind": 128, "children": [ - 93 + 97 ] } ], @@ -4011,7 +4012,7 @@ ] }, { - "id": 415, + "id": 419, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -4028,7 +4029,7 @@ ] }, { - "id": 1, + "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -4038,7 +4039,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/constants.ts", "children": [ { - "id": 13, + "id": 15, "name": "CHANNEL_EVENTS", "kind": 4, "kindString": "Enumeration", @@ -4046,60 +4047,9 @@ "isExported": true }, "children": [ - { - "id": 14, - "name": "close", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 23, - "character": 7 - } - ], - "defaultValue": "\"phx_close\"" - }, - { - "id": 15, - "name": "error", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 24, - "character": 7 - } - ], - "defaultValue": "\"phx_error\"" - }, { "id": 16, - "name": "join", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 25, - "character": 6 - } - ], - "defaultValue": "\"phx_join\"" - }, - { - "id": 18, - "name": "leave", + "name": "close", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -4112,10 +4062,61 @@ "character": 7 } ], - "defaultValue": "\"phx_leave\"" + "defaultValue": "\"phx_close\"" }, { "id": 17, + "name": "error", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 28, + "character": 7 + } + ], + "defaultValue": "\"phx_error\"" + }, + { + "id": 18, + "name": "join", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 29, + "character": 6 + } + ], + "defaultValue": "\"phx_join\"" + }, + { + "id": 20, + "name": "leave", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 31, + "character": 7 + } + ], + "defaultValue": "\"phx_leave\"" + }, + { + "id": 19, "name": "reply", "kind": 16, "kindString": "Enumeration member", @@ -4125,7 +4126,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 26, + "line": 30, "character": 7 } ], @@ -4137,30 +4138,146 @@ "title": "Enumeration members", "kind": 16, "children": [ - 14, - 15, 16, + 17, 18, - 17 + 20, + 19 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 22, + "line": 26, "character": 26 } ] }, { - "id": 7, + "id": 9, "name": "CHANNEL_STATES", "kind": 4, "kindString": "Enumeration", "flags": { "isExported": true }, + "children": [ + { + "id": 10, + "name": "closed", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 19, + "character": 8 + } + ], + "defaultValue": "\"closed\"" + }, + { + "id": 11, + "name": "errored", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 20, + "character": 9 + } + ], + "defaultValue": "\"errored\"" + }, + { + "id": 12, + "name": "joined", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 21, + "character": 8 + } + ], + "defaultValue": "\"joined\"" + }, + { + "id": 13, + "name": "joining", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 22, + "character": 9 + } + ], + "defaultValue": "\"joining\"" + }, + { + "id": 14, + "name": "leaving", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 23, + "character": 9 + } + ], + "defaultValue": "\"leaving\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 10, + 11, + 12, + 13, + 14 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 18, + "character": 26 + } + ] + }, + { + "id": 4, + "name": "SOCKET_STATES", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, "children": [ { "id": 8, @@ -4177,126 +4294,10 @@ "character": 8 } ], - "defaultValue": "\"closed\"" - }, - { - "id": 9, - "name": "errored", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 16, - "character": 9 - } - ], - "defaultValue": "\"errored\"" - }, - { - "id": 10, - "name": "joined", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 17, - "character": 8 - } - ], - "defaultValue": "\"joined\"" - }, - { - "id": 11, - "name": "joining", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 18, - "character": 9 - } - ], - "defaultValue": "\"joining\"" - }, - { - "id": 12, - "name": "leaving", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 19, - "character": 9 - } - ], - "defaultValue": "\"leaving\"" - } - ], - "groups": [ - { - "title": "Enumeration members", - "kind": 16, - "children": [ - 8, - 9, - 10, - 11, - 12 - ] - } - ], - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 14, - "character": 26 - } - ] - }, - { - "id": 2, - "name": "SOCKET_STATES", - "kind": 4, - "kindString": "Enumeration", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 6, - "name": "closed", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 11, - "character": 8 - } - ], "defaultValue": "3" }, { - "id": 5, + "id": 7, "name": "closing", "kind": 16, "kindString": "Enumeration member", @@ -4306,14 +4307,14 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 10, + "line": 14, "character": 9 } ], "defaultValue": "2" }, { - "id": 3, + "id": 5, "name": "connecting", "kind": 16, "kindString": "Enumeration member", @@ -4323,14 +4324,14 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 8, + "line": 12, "character": 12 } ], "defaultValue": "0" }, { - "id": 4, + "id": 6, "name": "open", "kind": 16, "kindString": "Enumeration member", @@ -4340,7 +4341,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 9, + "line": 13, "character": 6 } ], @@ -4352,23 +4353,23 @@ "title": "Enumeration members", "kind": 16, "children": [ - 6, + 8, + 7, 5, - 3, - 4 + 6 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 7, + "line": 11, "character": 25 } ] }, { - "id": 19, + "id": 21, "name": "TRANSPORTS", "kind": 4, "kindString": "Enumeration", @@ -4377,7 +4378,7 @@ }, "children": [ { - "id": 20, + "id": 22, "name": "websocket", "kind": 16, "kindString": "Enumeration member", @@ -4387,7 +4388,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 31, + "line": 35, "character": 11 } ], @@ -4399,20 +4400,20 @@ "title": "Enumeration members", "kind": 16, "children": [ - 20 + 22 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 30, + "line": 34, "character": 22 } ] }, { - "id": 22, + "id": 26, "name": "DEFAULT_TIMEOUT", "kind": 32, "kindString": "Variable", @@ -4423,7 +4424,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 3, + "line": 7, "character": 28 } ], @@ -4434,7 +4435,7 @@ "defaultValue": "10000" }, { - "id": 21, + "id": 25, "name": "VSN", "kind": 32, "kindString": "Variable", @@ -4445,7 +4446,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 1, + "line": 5, "character": 16 } ], @@ -4456,7 +4457,7 @@ "defaultValue": "\"1.0.0\"" }, { - "id": 23, + "id": 27, "name": "WS_CLOSE_NORMAL", "kind": 32, "kindString": "Variable", @@ -4467,7 +4468,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 5, + "line": 9, "character": 28 } ], @@ -4476,6 +4477,59 @@ "name": "1000" }, "defaultValue": "1000" + }, + { + "id": 23, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 24, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`realtime-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 24 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } } ], "groups": [ @@ -4483,18 +4537,25 @@ "title": "Enumerations", "kind": 4, "children": [ - 13, - 7, - 2, - 19 + 15, + 9, + 4, + 21 ] }, { "title": "Variables", "kind": 32, "children": [ - 22, - 21, + 26, + 25, + 27 + ] + }, + { + "title": "Object literals", + "kind": 2097152, + "children": [ 23 ] } @@ -4508,7 +4569,7 @@ ] }, { - "id": 38, + "id": 42, "name": "\"lib/push\"", "kind": 1, "kindString": "Module", @@ -4518,7 +4579,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/push.ts", "children": [ { - "id": 39, + "id": 43, "name": "Push", "kind": 128, "kindString": "Class", @@ -4527,7 +4588,7 @@ }, "children": [ { - "id": 52, + "id": 56, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4539,7 +4600,7 @@ }, "signatures": [ { - "id": 57, + "id": 61, "name": "new Push", "kind": 16384, "kindString": "Constructor signature", @@ -4551,7 +4612,7 @@ }, "parameters": [ { - "id": 58, + "id": 62, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -4563,12 +4624,12 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, { - "id": 59, + "id": 63, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -4584,7 +4645,7 @@ } }, { - "id": 60, + "id": 64, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -4601,7 +4662,7 @@ "defaultValue": "{}" }, { - "id": 61, + "id": 65, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -4620,7 +4681,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -4634,7 +4695,7 @@ ] }, { - "id": 53, + "id": 57, "name": "channel", "kind": 1024, "kindString": "Property", @@ -4655,12 +4716,12 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, { - "id": 54, + "id": 58, "name": "event", "kind": 1024, "kindString": "Property", @@ -4685,7 +4746,7 @@ } }, { - "id": 55, + "id": 59, "name": "payload", "kind": 1024, "kindString": "Property", @@ -4710,7 +4771,7 @@ } }, { - "id": 47, + "id": 51, "name": "recHooks", "kind": 1024, "kindString": "Property", @@ -4729,7 +4790,7 @@ "elementType": { "type": "reflection", "declaration": { - "id": 48, + "id": 52, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4738,7 +4799,7 @@ }, "children": [ { - "id": 50, + "id": 54, "name": "callback", "kind": 32, "kindString": "Variable", @@ -4758,7 +4819,7 @@ } }, { - "id": 49, + "id": 53, "name": "status", "kind": 32, "kindString": "Variable", @@ -4783,8 +4844,8 @@ "title": "Variables", "kind": 32, "children": [ - 50, - 49 + 54, + 53 ] } ], @@ -4801,7 +4862,7 @@ "defaultValue": "[]" }, { - "id": 43, + "id": 47, "name": "receivedResp", "kind": 1024, "kindString": "Property", @@ -4821,7 +4882,7 @@ { "type": "reflection", "declaration": { - "id": 44, + "id": 48, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4830,7 +4891,7 @@ }, "children": [ { - "id": 46, + "id": 50, "name": "response", "kind": 32, "kindString": "Variable", @@ -4850,7 +4911,7 @@ } }, { - "id": 45, + "id": 49, "name": "status", "kind": 32, "kindString": "Variable", @@ -4875,8 +4936,8 @@ "title": "Variables", "kind": 32, "children": [ - 46, - 45 + 50, + 49 ] } ], @@ -4898,7 +4959,7 @@ "defaultValue": "null" }, { - "id": 42, + "id": 46, "name": "ref", "kind": 1024, "kindString": "Property", @@ -4919,7 +4980,7 @@ "defaultValue": "\"\"" }, { - "id": 51, + "id": 55, "name": "refEvent", "kind": 1024, "kindString": "Property", @@ -4949,7 +5010,7 @@ "defaultValue": "null" }, { - "id": 40, + "id": 44, "name": "sent", "kind": 1024, "kindString": "Property", @@ -4970,7 +5031,7 @@ "defaultValue": "false" }, { - "id": 56, + "id": 60, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -4995,7 +5056,7 @@ } }, { - "id": 41, + "id": 45, "name": "timeoutTimer", "kind": 1024, "kindString": "Property", @@ -5025,7 +5086,7 @@ "defaultValue": "undefined" }, { - "id": 79, + "id": 83, "name": "_cancelRefEvent", "kind": 2048, "kindString": "Method", @@ -5035,7 +5096,7 @@ }, "signatures": [ { - "id": 80, + "id": 84, "name": "_cancelRefEvent", "kind": 4096, "kindString": "Call signature", @@ -5057,7 +5118,7 @@ ] }, { - "id": 81, + "id": 85, "name": "_cancelTimeout", "kind": 2048, "kindString": "Method", @@ -5067,7 +5128,7 @@ }, "signatures": [ { - "id": 82, + "id": 86, "name": "_cancelTimeout", "kind": 4096, "kindString": "Call signature", @@ -5089,7 +5150,7 @@ ] }, { - "id": 89, + "id": 93, "name": "_hasReceived", "kind": 2048, "kindString": "Method", @@ -5099,7 +5160,7 @@ }, "signatures": [ { - "id": 90, + "id": 94, "name": "_hasReceived", "kind": 4096, "kindString": "Call signature", @@ -5108,7 +5169,7 @@ }, "parameters": [ { - "id": 91, + "id": 95, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5149,7 +5210,7 @@ ] }, { - "id": 83, + "id": 87, "name": "_matchReceive", "kind": 2048, "kindString": "Method", @@ -5159,7 +5220,7 @@ }, "signatures": [ { - "id": 84, + "id": 88, "name": "_matchReceive", "kind": 4096, "kindString": "Call signature", @@ -5168,7 +5229,7 @@ }, "parameters": [ { - "id": 85, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5179,7 +5240,7 @@ "type": { "type": "reflection", "declaration": { - "id": 86, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5188,7 +5249,7 @@ }, "children": [ { - "id": 88, + "id": 92, "name": "response", "kind": 32, "kindString": "Variable", @@ -5208,7 +5269,7 @@ } }, { - "id": 87, + "id": 91, "name": "status", "kind": 32, "kindString": "Variable", @@ -5233,8 +5294,8 @@ "title": "Variables", "kind": 32, "children": [ - 88, - 87 + 92, + 91 ] } ], @@ -5264,7 +5325,7 @@ ] }, { - "id": 77, + "id": 81, "name": "destroy", "kind": 2048, "kindString": "Method", @@ -5273,7 +5334,7 @@ }, "signatures": [ { - "id": 78, + "id": 82, "name": "destroy", "kind": 4096, "kindString": "Call signature", @@ -5295,7 +5356,7 @@ ] }, { - "id": 67, + "id": 71, "name": "receive", "kind": 2048, "kindString": "Method", @@ -5304,7 +5365,7 @@ }, "signatures": [ { - "id": 68, + "id": 72, "name": "receive", "kind": 4096, "kindString": "Call signature", @@ -5313,7 +5374,7 @@ }, "parameters": [ { - "id": 69, + "id": 73, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5326,7 +5387,7 @@ } }, { - "id": 70, + "id": 74, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5354,7 +5415,7 @@ ] }, { - "id": 62, + "id": 66, "name": "resend", "kind": 2048, "kindString": "Method", @@ -5363,7 +5424,7 @@ }, "signatures": [ { - "id": 63, + "id": 67, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -5372,7 +5433,7 @@ }, "parameters": [ { - "id": 64, + "id": 68, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -5400,7 +5461,7 @@ ] }, { - "id": 65, + "id": 69, "name": "send", "kind": 2048, "kindString": "Method", @@ -5409,7 +5470,7 @@ }, "signatures": [ { - "id": 66, + "id": 70, "name": "send", "kind": 4096, "kindString": "Call signature", @@ -5431,7 +5492,7 @@ ] }, { - "id": 71, + "id": 75, "name": "startTimeout", "kind": 2048, "kindString": "Method", @@ -5440,7 +5501,7 @@ }, "signatures": [ { - "id": 72, + "id": 76, "name": "startTimeout", "kind": 4096, "kindString": "Call signature", @@ -5462,7 +5523,7 @@ ] }, { - "id": 73, + "id": 77, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -5471,7 +5532,7 @@ }, "signatures": [ { - "id": 74, + "id": 78, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -5480,7 +5541,7 @@ }, "parameters": [ { - "id": 75, + "id": 79, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5493,7 +5554,7 @@ } }, { - "id": 76, + "id": 80, "name": "response", "kind": 32768, "kindString": "Parameter", @@ -5526,39 +5587,39 @@ "title": "Constructors", "kind": 512, "children": [ - 52 + 56 ] }, { "title": "Properties", "kind": 1024, "children": [ - 53, - 54, - 55, - 47, - 43, - 42, + 57, + 58, + 59, 51, - 40, - 56, - 41 + 47, + 46, + 55, + 44, + 60, + 45 ] }, { "title": "Methods", "kind": 2048, "children": [ - 79, - 81, - 89, 83, - 77, - 67, - 62, - 65, + 85, + 93, + 87, + 81, 71, - 73 + 66, + 69, + 75, + 77 ] } ], @@ -5576,7 +5637,7 @@ "title": "Classes", "kind": 128, "children": [ - 39 + 43 ] } ], @@ -5589,7 +5650,7 @@ ] }, { - "id": 171, + "id": 175, "name": "\"lib/serializer\"", "kind": 1, "kindString": "Module", @@ -5599,7 +5660,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts", "children": [ { - "id": 172, + "id": 176, "name": "Serializer", "kind": 128, "kindString": "Class", @@ -5608,7 +5669,7 @@ }, "children": [ { - "id": 173, + "id": 177, "name": "HEADER_LENGTH", "kind": 1024, "kindString": "Property", @@ -5629,7 +5690,7 @@ "defaultValue": "1" }, { - "id": 178, + "id": 182, "name": "_binaryDecode", "kind": 2048, "kindString": "Method", @@ -5639,7 +5700,7 @@ }, "signatures": [ { - "id": 179, + "id": 183, "name": "_binaryDecode", "kind": 4096, "kindString": "Call signature", @@ -5648,7 +5709,7 @@ }, "parameters": [ { - "id": 180, + "id": 184, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -5664,7 +5725,7 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5673,7 +5734,7 @@ }, "children": [ { - "id": 184, + "id": 188, "name": "event", "kind": 32, "kindString": "Variable", @@ -5693,7 +5754,7 @@ } }, { - "id": 185, + "id": 189, "name": "payload", "kind": 32, "kindString": "Variable", @@ -5713,7 +5774,7 @@ } }, { - "id": 182, + "id": 186, "name": "ref", "kind": 32, "kindString": "Variable", @@ -5733,7 +5794,7 @@ } }, { - "id": 183, + "id": 187, "name": "topic", "kind": 32, "kindString": "Variable", @@ -5758,10 +5819,10 @@ "title": "Variables", "kind": 32, "children": [ - 184, - 185, - 182, - 183 + 188, + 189, + 186, + 187 ] } ] @@ -5778,7 +5839,7 @@ ] }, { - "id": 186, + "id": 190, "name": "_decodeBroadcast", "kind": 2048, "kindString": "Method", @@ -5788,7 +5849,7 @@ }, "signatures": [ { - "id": 187, + "id": 191, "name": "_decodeBroadcast", "kind": 4096, "kindString": "Call signature", @@ -5797,7 +5858,7 @@ }, "parameters": [ { - "id": 188, + "id": 192, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -5810,7 +5871,7 @@ } }, { - "id": 189, + "id": 193, "name": "view", "kind": 32768, "kindString": "Parameter", @@ -5823,7 +5884,7 @@ } }, { - "id": 190, + "id": 194, "name": "decoder", "kind": 32768, "kindString": "Parameter", @@ -5839,7 +5900,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5848,7 +5909,7 @@ }, "children": [ { - "id": 194, + "id": 198, "name": "event", "kind": 32, "kindString": "Variable", @@ -5868,7 +5929,7 @@ } }, { - "id": 195, + "id": 199, "name": "payload", "kind": 32, "kindString": "Variable", @@ -5888,7 +5949,7 @@ } }, { - "id": 192, + "id": 196, "name": "ref", "kind": 32, "kindString": "Variable", @@ -5908,7 +5969,7 @@ } }, { - "id": 193, + "id": 197, "name": "topic", "kind": 32, "kindString": "Variable", @@ -5933,10 +5994,10 @@ "title": "Variables", "kind": 32, "children": [ - 194, - 195, - 192, - 193 + 198, + 199, + 196, + 197 ] } ], @@ -5960,7 +6021,7 @@ ] }, { - "id": 174, + "id": 178, "name": "decode", "kind": 2048, "kindString": "Method", @@ -5969,7 +6030,7 @@ }, "signatures": [ { - "id": 175, + "id": 179, "name": "decode", "kind": 4096, "kindString": "Call signature", @@ -5978,7 +6039,7 @@ }, "parameters": [ { - "id": 176, + "id": 180, "name": "rawPayload", "kind": 32768, "kindString": "Parameter", @@ -6000,7 +6061,7 @@ } }, { - "id": 177, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6033,16 +6094,16 @@ "title": "Properties", "kind": 1024, "children": [ - 173 + 177 ] }, { "title": "Methods", "kind": 2048, "children": [ - 178, - 186, - 174 + 182, + 190, + 178 ] } ], @@ -6060,7 +6121,7 @@ "title": "Classes", "kind": 128, "children": [ - 172 + 176 ] } ], @@ -6073,7 +6134,7 @@ ] }, { - "id": 24, + "id": 28, "name": "\"lib/timer\"", "kind": 1, "kindString": "Module", @@ -6083,7 +6144,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/timer.ts", "children": [ { - "id": 25, + "id": 29, "name": "Timer", "kind": 128, "kindString": "Class", @@ -6101,7 +6162,7 @@ }, "children": [ { - "id": 28, + "id": 32, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6110,7 +6171,7 @@ }, "signatures": [ { - "id": 31, + "id": 35, "name": "new Timer", "kind": 16384, "kindString": "Constructor signature", @@ -6119,7 +6180,7 @@ }, "parameters": [ { - "id": 32, + "id": 36, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6132,7 +6193,7 @@ } }, { - "id": 33, + "id": 37, "name": "timerCalc", "kind": 32768, "kindString": "Parameter", @@ -6147,7 +6208,7 @@ ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } } @@ -6161,7 +6222,7 @@ ] }, { - "id": 29, + "id": 33, "name": "callback", "kind": 1024, "kindString": "Property", @@ -6183,7 +6244,7 @@ } }, { - "id": 26, + "id": 30, "name": "timer", "kind": 1024, "kindString": "Property", @@ -6213,7 +6274,7 @@ "defaultValue": "undefined" }, { - "id": 30, + "id": 34, "name": "timerCalc", "kind": 1024, "kindString": "Property", @@ -6235,7 +6296,7 @@ } }, { - "id": 27, + "id": 31, "name": "tries", "kind": 1024, "kindString": "Property", @@ -6256,7 +6317,7 @@ "defaultValue": "0" }, { - "id": 34, + "id": 38, "name": "reset", "kind": 2048, "kindString": "Method", @@ -6265,7 +6326,7 @@ }, "signatures": [ { - "id": 35, + "id": 39, "name": "reset", "kind": 4096, "kindString": "Call signature", @@ -6287,7 +6348,7 @@ ] }, { - "id": 36, + "id": 40, "name": "scheduleTimeout", "kind": 2048, "kindString": "Method", @@ -6296,7 +6357,7 @@ }, "signatures": [ { - "id": 37, + "id": 41, "name": "scheduleTimeout", "kind": 4096, "kindString": "Call signature", @@ -6323,25 +6384,25 @@ "title": "Constructors", "kind": 512, "children": [ - 28 + 32 ] }, { "title": "Properties", "kind": 1024, "children": [ - 29, - 26, + 33, 30, - 27 + 34, + 31 ] }, { "title": "Methods", "kind": 2048, "children": [ - 34, - 36 + 38, + 40 ] } ], @@ -6359,7 +6420,7 @@ "title": "Classes", "kind": 128, "children": [ - 25 + 29 ] } ], @@ -6372,7 +6433,7 @@ ] }, { - "id": 329, + "id": 333, "name": "\"lib/transformers\"", "kind": 1, "kindString": "Module", @@ -6382,7 +6443,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts", "children": [ { - "id": 330, + "id": 334, "name": "PostgresTypes", "kind": 4, "kindString": "Enumeration", @@ -6394,7 +6455,7 @@ }, "children": [ { - "id": 331, + "id": 335, "name": "abstime", "kind": 16, "kindString": "Enumeration member", @@ -6411,7 +6472,7 @@ "defaultValue": "\"abstime\"" }, { - "id": 332, + "id": 336, "name": "bool", "kind": 16, "kindString": "Enumeration member", @@ -6428,7 +6489,7 @@ "defaultValue": "\"bool\"" }, { - "id": 333, + "id": 337, "name": "date", "kind": 16, "kindString": "Enumeration member", @@ -6445,7 +6506,7 @@ "defaultValue": "\"date\"" }, { - "id": 334, + "id": 338, "name": "daterange", "kind": 16, "kindString": "Enumeration member", @@ -6462,7 +6523,7 @@ "defaultValue": "\"daterange\"" }, { - "id": 335, + "id": 339, "name": "float4", "kind": 16, "kindString": "Enumeration member", @@ -6479,7 +6540,7 @@ "defaultValue": "\"float4\"" }, { - "id": 336, + "id": 340, "name": "float8", "kind": 16, "kindString": "Enumeration member", @@ -6496,7 +6557,7 @@ "defaultValue": "\"float8\"" }, { - "id": 337, + "id": 341, "name": "int2", "kind": 16, "kindString": "Enumeration member", @@ -6513,7 +6574,7 @@ "defaultValue": "\"int2\"" }, { - "id": 338, + "id": 342, "name": "int4", "kind": 16, "kindString": "Enumeration member", @@ -6530,7 +6591,7 @@ "defaultValue": "\"int4\"" }, { - "id": 339, + "id": 343, "name": "int4range", "kind": 16, "kindString": "Enumeration member", @@ -6547,7 +6608,7 @@ "defaultValue": "\"int4range\"" }, { - "id": 340, + "id": 344, "name": "int8", "kind": 16, "kindString": "Enumeration member", @@ -6564,7 +6625,7 @@ "defaultValue": "\"int8\"" }, { - "id": 341, + "id": 345, "name": "int8range", "kind": 16, "kindString": "Enumeration member", @@ -6581,7 +6642,7 @@ "defaultValue": "\"int8range\"" }, { - "id": 342, + "id": 346, "name": "json", "kind": 16, "kindString": "Enumeration member", @@ -6598,7 +6659,7 @@ "defaultValue": "\"json\"" }, { - "id": 343, + "id": 347, "name": "jsonb", "kind": 16, "kindString": "Enumeration member", @@ -6615,7 +6676,7 @@ "defaultValue": "\"jsonb\"" }, { - "id": 344, + "id": 348, "name": "money", "kind": 16, "kindString": "Enumeration member", @@ -6632,7 +6693,7 @@ "defaultValue": "\"money\"" }, { - "id": 345, + "id": 349, "name": "numeric", "kind": 16, "kindString": "Enumeration member", @@ -6649,7 +6710,7 @@ "defaultValue": "\"numeric\"" }, { - "id": 346, + "id": 350, "name": "oid", "kind": 16, "kindString": "Enumeration member", @@ -6666,7 +6727,7 @@ "defaultValue": "\"oid\"" }, { - "id": 347, + "id": 351, "name": "reltime", "kind": 16, "kindString": "Enumeration member", @@ -6683,7 +6744,7 @@ "defaultValue": "\"reltime\"" }, { - "id": 348, + "id": 352, "name": "time", "kind": 16, "kindString": "Enumeration member", @@ -6700,7 +6761,7 @@ "defaultValue": "\"time\"" }, { - "id": 349, + "id": 353, "name": "timestamp", "kind": 16, "kindString": "Enumeration member", @@ -6717,7 +6778,7 @@ "defaultValue": "\"timestamp\"" }, { - "id": 350, + "id": 354, "name": "timestamptz", "kind": 16, "kindString": "Enumeration member", @@ -6734,7 +6795,7 @@ "defaultValue": "\"timestamptz\"" }, { - "id": 351, + "id": 355, "name": "timetz", "kind": 16, "kindString": "Enumeration member", @@ -6751,7 +6812,7 @@ "defaultValue": "\"timetz\"" }, { - "id": 352, + "id": 356, "name": "tsrange", "kind": 16, "kindString": "Enumeration member", @@ -6768,7 +6829,7 @@ "defaultValue": "\"tsrange\"" }, { - "id": 353, + "id": 357, "name": "tstzrange", "kind": 16, "kindString": "Enumeration member", @@ -6790,10 +6851,6 @@ "title": "Enumeration members", "kind": 16, "children": [ - 331, - 332, - 333, - 334, 335, 336, 337, @@ -6812,7 +6869,11 @@ 350, 351, 352, - 353 + 353, + 354, + 355, + 356, + 357 ] } ], @@ -6825,7 +6886,7 @@ ] }, { - "id": 354, + "id": 358, "name": "Column", "kind": 4194304, "kindString": "Type alias", @@ -6840,14 +6901,14 @@ "type": { "type": "reflection", "declaration": { - "id": 355, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 356, + "id": 360, "name": "flags", "kind": 32, "kindString": "Variable", @@ -6868,7 +6929,7 @@ } }, { - "id": 357, + "id": 361, "name": "name", "kind": 32, "kindString": "Variable", @@ -6886,7 +6947,7 @@ } }, { - "id": 358, + "id": 362, "name": "type", "kind": 32, "kindString": "Variable", @@ -6904,7 +6965,7 @@ } }, { - "id": 359, + "id": 363, "name": "type_modifier", "kind": 32, "kindString": "Variable", @@ -6927,10 +6988,10 @@ "title": "Variables", "kind": 32, "children": [ - 356, - 357, - 358, - 359 + 360, + 361, + 362, + 363 ] } ], @@ -6945,7 +7006,7 @@ } }, { - "id": 360, + "id": 364, "name": "Records", "kind": 4194304, "kindString": "Type alias", @@ -6960,21 +7021,21 @@ "type": { "type": "reflection", "declaration": { - "id": 361, + "id": 365, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": [ { - "id": 362, + "id": 366, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 363, + "id": 367, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7002,7 +7063,7 @@ } }, { - "id": 380, + "id": 384, "name": "convertCell", "kind": 64, "kindString": "Function", @@ -7029,7 +7090,7 @@ }, "signatures": [ { - "id": 381, + "id": 385, "name": "convertCell", "kind": 4096, "kindString": "Call signature", @@ -7055,7 +7116,7 @@ }, "parameters": [ { - "id": 382, + "id": 386, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -7071,7 +7132,7 @@ } }, { - "id": 383, + "id": 387, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7102,7 +7163,7 @@ ] }, { - "id": 364, + "id": 368, "name": "convertChangeData", "kind": 64, "kindString": "Function", @@ -7121,7 +7182,7 @@ }, "signatures": [ { - "id": 365, + "id": 369, "name": "convertChangeData", "kind": 4096, "kindString": "Call signature", @@ -7139,7 +7200,7 @@ }, "parameters": [ { - "id": 366, + "id": 370, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -7150,13 +7211,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 367, + "id": 371, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -7166,12 +7227,12 @@ "comment": {}, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 368, + "id": 372, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7184,7 +7245,7 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 373, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7193,7 +7254,7 @@ }, "children": [ { - "id": 370, + "id": 374, "name": "skipTypes", "kind": 32, "kindString": "Variable", @@ -7222,7 +7283,7 @@ "title": "Variables", "kind": 32, "children": [ - 370 + 374 ] } ], @@ -7241,7 +7302,7 @@ "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7250,7 +7311,7 @@ }, "indexSignature": [ { - "id": 372, + "id": 376, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7259,7 +7320,7 @@ }, "parameters": [ { - "id": 373, + "id": 377, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7291,7 +7352,7 @@ ] }, { - "id": 374, + "id": 378, "name": "convertColumn", "kind": 64, "kindString": "Function", @@ -7315,7 +7376,7 @@ }, "signatures": [ { - "id": 375, + "id": 379, "name": "convertColumn", "kind": 4096, "kindString": "Call signature", @@ -7338,7 +7399,7 @@ }, "parameters": [ { - "id": 376, + "id": 380, "name": "columnName", "kind": 32768, "kindString": "Parameter", @@ -7354,7 +7415,7 @@ } }, { - "id": 377, + "id": 381, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -7365,13 +7426,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 378, + "id": 382, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -7383,12 +7444,12 @@ }, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 379, + "id": 383, "name": "skipTypes", "kind": 32768, "kindString": "Parameter", @@ -7422,7 +7483,7 @@ ] }, { - "id": 384, + "id": 388, "name": "noop", "kind": 64, "kindString": "Function", @@ -7431,14 +7492,14 @@ }, "signatures": [ { - "id": 385, + "id": 389, "name": "noop", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 386, + "id": 390, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7464,7 +7525,7 @@ ] }, { - "id": 408, + "id": 412, "name": "toArray", "kind": 64, "kindString": "Function", @@ -7487,7 +7548,7 @@ }, "signatures": [ { - "id": 409, + "id": 413, "name": "toArray", "kind": 4096, "kindString": "Call signature", @@ -7509,7 +7570,7 @@ }, "parameters": [ { - "id": 410, + "id": 414, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7522,7 +7583,7 @@ } }, { - "id": 411, + "id": 415, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -7553,7 +7614,7 @@ ] }, { - "id": 387, + "id": 391, "name": "toBoolean", "kind": 64, "kindString": "Function", @@ -7563,7 +7624,7 @@ }, "signatures": [ { - "id": 388, + "id": 392, "name": "toBoolean", "kind": 4096, "kindString": "Call signature", @@ -7572,7 +7633,7 @@ }, "parameters": [ { - "id": 389, + "id": 393, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7613,7 +7674,7 @@ ] }, { - "id": 390, + "id": 394, "name": "toDate", "kind": 64, "kindString": "Function", @@ -7623,7 +7684,7 @@ }, "signatures": [ { - "id": 391, + "id": 395, "name": "toDate", "kind": 4096, "kindString": "Call signature", @@ -7632,7 +7693,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7660,7 +7721,7 @@ ] }, { - "id": 393, + "id": 397, "name": "toDateRange", "kind": 64, "kindString": "Function", @@ -7670,7 +7731,7 @@ }, "signatures": [ { - "id": 394, + "id": 398, "name": "toDateRange", "kind": 4096, "kindString": "Call signature", @@ -7679,7 +7740,7 @@ }, "parameters": [ { - "id": 395, + "id": 399, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7710,7 +7771,7 @@ ] }, { - "id": 396, + "id": 400, "name": "toFloat", "kind": 64, "kindString": "Function", @@ -7720,7 +7781,7 @@ }, "signatures": [ { - "id": 397, + "id": 401, "name": "toFloat", "kind": 4096, "kindString": "Call signature", @@ -7729,7 +7790,7 @@ }, "parameters": [ { - "id": 398, + "id": 402, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7757,7 +7818,7 @@ ] }, { - "id": 399, + "id": 403, "name": "toInt", "kind": 64, "kindString": "Function", @@ -7767,7 +7828,7 @@ }, "signatures": [ { - "id": 400, + "id": 404, "name": "toInt", "kind": 4096, "kindString": "Call signature", @@ -7776,7 +7837,7 @@ }, "parameters": [ { - "id": 401, + "id": 405, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7804,7 +7865,7 @@ ] }, { - "id": 402, + "id": 406, "name": "toIntRange", "kind": 64, "kindString": "Function", @@ -7814,7 +7875,7 @@ }, "signatures": [ { - "id": 403, + "id": 407, "name": "toIntRange", "kind": 4096, "kindString": "Call signature", @@ -7823,7 +7884,7 @@ }, "parameters": [ { - "id": 404, + "id": 408, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7854,7 +7915,7 @@ ] }, { - "id": 405, + "id": 409, "name": "toJson", "kind": 64, "kindString": "Function", @@ -7864,7 +7925,7 @@ }, "signatures": [ { - "id": 406, + "id": 410, "name": "toJson", "kind": 4096, "kindString": "Call signature", @@ -7873,7 +7934,7 @@ }, "parameters": [ { - "id": 407, + "id": 411, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7901,7 +7962,7 @@ ] }, { - "id": 412, + "id": 416, "name": "toTimestampString", "kind": 64, "kindString": "Function", @@ -7920,7 +7981,7 @@ }, "signatures": [ { - "id": 413, + "id": 417, "name": "toTimestampString", "kind": 4096, "kindString": "Call signature", @@ -7938,7 +7999,7 @@ }, "parameters": [ { - "id": 414, + "id": 418, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7971,34 +8032,34 @@ "title": "Enumerations", "kind": 4, "children": [ - 330 + 334 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 354, - 360 + 358, + 364 ] }, { "title": "Functions", "kind": 64, "children": [ - 380, - 364, - 374, 384, - 408, - 387, - 390, - 393, - 396, - 399, - 402, - 405, - 412 + 368, + 378, + 388, + 412, + 391, + 394, + 397, + 400, + 403, + 406, + 409, + 416 ] } ], @@ -8009,6 +8070,56 @@ "character": 0 } ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -8016,14 +8127,15 @@ "title": "Modules", "kind": 1, "children": [ - 196, - 92, - 415, - 1, - 38, - 171, - 24, - 329 + 200, + 96, + 419, + 3, + 42, + 175, + 28, + 333, + 1 ] } ] diff --git a/web/spec/storage.json b/web/spec/storage.json index fc4d6858de6..4430e1f63f6 100644 --- a/web/spec/storage.json +++ b/web/spec/storage.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 270, + "id": 276, "name": "\"SupabaseStorageClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/SupabaseStorageClient.ts", "children": [ { - "id": 271, + "id": 277, "name": "SupabaseStorageClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 272, + "id": 278, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,7 +34,7 @@ }, "signatures": [ { - "id": 273, + "id": 279, "name": "new SupabaseStorageClient", "kind": 16384, "kindString": "Constructor signature", @@ -43,7 +43,7 @@ }, "parameters": [ { - "id": 274, + "id": 280, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -56,7 +56,7 @@ } }, { - "id": 275, + "id": 281, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -66,7 +66,7 @@ "type": { "type": "reflection", "declaration": { - "id": 276, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -75,7 +75,7 @@ }, "indexSignature": [ { - "id": 277, + "id": 283, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -84,7 +84,7 @@ }, "parameters": [ { - "id": 278, + "id": 284, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -117,12 +117,12 @@ ], "type": { "type": "reference", - "id": 271, + "id": 277, "name": "SupabaseStorageClient" }, "overwrites": { "type": "reference", - "id": 96, + "id": 101, "name": "StorageBucketApi.__constructor" } } @@ -136,12 +136,12 @@ ], "overwrites": { "type": "reference", - "id": 96, + "id": 101, "name": "StorageBucketApi.__constructor" } }, { - "id": 283, + "id": 289, "name": "headers", "kind": 1024, "kindString": "Property", @@ -152,14 +152,14 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 284, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -168,7 +168,7 @@ }, "indexSignature": [ { - "id": 285, + "id": 291, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -177,7 +177,7 @@ }, "parameters": [ { - "id": 286, + "id": 292, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -199,7 +199,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 20 } ] @@ -207,12 +207,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 92, + "id": 97, "name": "StorageBucketApi.headers" } }, { - "id": 282, + "id": 288, "name": "url", "kind": 1024, "kindString": "Property", @@ -223,7 +223,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 5, + "line": 6, "character": 15 } ], @@ -233,12 +233,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 91, + "id": 96, "name": "StorageBucketApi.url" } }, { - "id": 298, + "id": 304, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -247,7 +247,7 @@ }, "signatures": [ { - "id": 299, + "id": 305, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -260,7 +260,7 @@ }, "parameters": [ { - "id": 300, + "id": 306, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -276,7 +276,7 @@ } }, { - "id": 301, + "id": 307, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -286,7 +286,7 @@ "type": { "type": "reflection", "declaration": { - "id": 302, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -295,7 +295,7 @@ }, "children": [ { - "id": 303, + "id": 309, "name": "public", "kind": 32, "kindString": "Variable", @@ -305,7 +305,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 21 } ], @@ -320,14 +320,14 @@ "title": "Variables", "kind": 32, "children": [ - 303 + 309 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 12 } ] @@ -342,7 +342,7 @@ { "type": "reflection", "declaration": { - "id": 304, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -351,7 +351,7 @@ }, "children": [ { - "id": 305, + "id": 311, "name": "data", "kind": 32, "kindString": "Variable", @@ -361,7 +361,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 19 } ], @@ -380,7 +380,7 @@ } }, { - "id": 306, + "id": 312, "name": "error", "kind": 32, "kindString": "Variable", @@ -390,7 +390,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 41 } ], @@ -414,15 +414,15 @@ "title": "Variables", "kind": 32, "children": [ - 305, - 306 + 311, + 312 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 13 } ] @@ -433,7 +433,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 114, + "id": 119, "name": "StorageBucketApi.createBucket" } } @@ -441,18 +441,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 45, + "line": 46, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 114, + "id": 119, "name": "StorageBucketApi.createBucket" } }, { - "id": 326, + "id": 332, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -461,7 +461,7 @@ }, "signatures": [ { - "id": 327, + "id": 333, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -473,7 +473,7 @@ }, "parameters": [ { - "id": 328, + "id": 334, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -495,7 +495,7 @@ { "type": "reflection", "declaration": { - "id": 329, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -504,7 +504,7 @@ }, "children": [ { - "id": 330, + "id": 336, "name": "data", "kind": 32, "kindString": "Variable", @@ -514,7 +514,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 19 } ], @@ -524,7 +524,7 @@ { "type": "reflection", "declaration": { - "id": 331, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -533,7 +533,7 @@ }, "children": [ { - "id": 332, + "id": 338, "name": "message", "kind": 32, "kindString": "Variable", @@ -543,7 +543,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 30 } ], @@ -558,14 +558,14 @@ "title": "Variables", "kind": 32, "children": [ - 332 + 338 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 20 } ] @@ -579,7 +579,7 @@ } }, { - "id": 333, + "id": 339, "name": "error", "kind": 32, "kindString": "Variable", @@ -589,7 +589,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 54 } ], @@ -613,15 +613,15 @@ "title": "Variables", "kind": 32, "children": [ - 330, - 333 + 336, + 339 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 13 } ] @@ -632,7 +632,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 142, + "id": 147, "name": "StorageBucketApi.deleteBucket" } } @@ -640,18 +640,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 104, + "line": 105, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 142, + "id": 147, "name": "StorageBucketApi.deleteBucket" } }, { - "id": 318, + "id": 324, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -660,7 +660,7 @@ }, "signatures": [ { - "id": 319, + "id": 325, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -672,7 +672,7 @@ }, "parameters": [ { - "id": 320, + "id": 326, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -694,7 +694,7 @@ { "type": "reflection", "declaration": { - "id": 321, + "id": 327, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -703,7 +703,7 @@ }, "children": [ { - "id": 322, + "id": 328, "name": "data", "kind": 32, "kindString": "Variable", @@ -713,7 +713,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 19 } ], @@ -723,7 +723,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -732,7 +732,7 @@ }, "children": [ { - "id": 324, + "id": 330, "name": "message", "kind": 32, "kindString": "Variable", @@ -742,7 +742,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 30 } ], @@ -757,14 +757,14 @@ "title": "Variables", "kind": 32, "children": [ - 324 + 330 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 20 } ] @@ -778,7 +778,7 @@ } }, { - "id": 325, + "id": 331, "name": "error", "kind": 32, "kindString": "Variable", @@ -788,7 +788,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 54 } ], @@ -812,15 +812,15 @@ "title": "Variables", "kind": 32, "children": [ - 322, - 325 + 328, + 331 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 13 } ] @@ -831,7 +831,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 134, + "id": 139, "name": "StorageBucketApi.emptyBucket" } } @@ -839,18 +839,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 87, + "line": 88, "character": 19 } ], "inheritedFrom": { "type": "reference", - "id": 134, + "id": 139, "name": "StorageBucketApi.emptyBucket" } }, { - "id": 279, + "id": 285, "name": "from", "kind": 2048, "kindString": "Method", @@ -859,7 +859,7 @@ }, "signatures": [ { - "id": 280, + "id": 286, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -871,7 +871,7 @@ }, "parameters": [ { - "id": 281, + "id": 287, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -889,7 +889,7 @@ ], "type": { "type": "reference", - "id": 154, + "id": 159, "name": "StorageFileApi" } } @@ -903,7 +903,7 @@ ] }, { - "id": 292, + "id": 298, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -912,7 +912,7 @@ }, "signatures": [ { - "id": 293, + "id": 299, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -924,7 +924,7 @@ }, "parameters": [ { - "id": 294, + "id": 300, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -940,6 +940,142 @@ } } ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 301, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 302, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 45 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 58, + "name": "Bucket" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 303, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 67 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 302, + 303 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 39 + } + ] + } + } + ], + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 113, + "name": "StorageBucketApi.getBucket" + } + } + ], + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 17 + } + ], + "inheritedFrom": { + "type": "reference", + "id": 113, + "name": "StorageBucketApi.getBucket" + } + }, + { + "id": 293, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 294, + "name": "listBuckets", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Retrieves the details of all Storage buckets within an existing product." + }, "type": { "type": "reference", "typeArguments": [ @@ -965,17 +1101,20 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 45 + "line": 17, + "character": 37 } ], "type": { "type": "union", "types": [ { - "type": "reference", - "id": 58, - "name": "Bucket" + "type": "array", + "elementType": { + "type": "reference", + "id": 58, + "name": "Bucket" + } }, { "type": "intrinsic", @@ -995,8 +1134,8 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 67 + "line": 17, + "character": 61 } ], "type": { @@ -1027,146 +1166,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 39 - } - ] - } - } - ], - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 108, - "name": "StorageBucketApi.getBucket" - } - } - ], - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 17 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 108, - "name": "StorageBucketApi.getBucket" - } - }, - { - "id": 287, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 288, - "name": "listBuckets", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves the details of all Storage buckets within an existing product." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 290, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 58, - "name": "Bucket" - } - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 291, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, - "character": 61 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 290, - 291 - ] - } - ], - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 31 } ] @@ -1177,7 +1177,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 108, "name": "StorageBucketApi.listBuckets" } } @@ -1185,18 +1185,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 19 } ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 108, "name": "StorageBucketApi.listBuckets" } }, { - "id": 307, + "id": 313, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -1205,7 +1205,7 @@ }, "signatures": [ { - "id": 308, + "id": 314, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -1217,7 +1217,7 @@ }, "parameters": [ { - "id": 309, + "id": 315, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1233,7 +1233,7 @@ } }, { - "id": 310, + "id": 316, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1243,7 +1243,7 @@ "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1252,7 +1252,7 @@ }, "children": [ { - "id": 312, + "id": 318, "name": "public", "kind": 32, "kindString": "Variable", @@ -1262,7 +1262,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 21 } ], @@ -1277,14 +1277,14 @@ "title": "Variables", "kind": 32, "children": [ - 312 + 318 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 12 } ] @@ -1298,7 +1298,7 @@ { "type": "reflection", "declaration": { - "id": 313, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1307,7 +1307,7 @@ }, "children": [ { - "id": 314, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -1317,7 +1317,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 19 } ], @@ -1327,7 +1327,7 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1336,7 +1336,7 @@ }, "children": [ { - "id": 316, + "id": 322, "name": "message", "kind": 32, "kindString": "Variable", @@ -1346,7 +1346,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 30 } ], @@ -1361,14 +1361,14 @@ "title": "Variables", "kind": 32, "children": [ - 316 + 322 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 20 } ] @@ -1382,7 +1382,7 @@ } }, { - "id": 317, + "id": 323, "name": "error", "kind": 32, "kindString": "Variable", @@ -1392,7 +1392,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 54 } ], @@ -1416,15 +1416,15 @@ "title": "Variables", "kind": 32, "children": [ - 314, - 317 + 320, + 323 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 13 } ] @@ -1435,7 +1435,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 123, + "id": 128, "name": "StorageBucketApi.updateBucket" } } @@ -1443,13 +1443,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 66, + "line": 67, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 123, + "id": 128, "name": "StorageBucketApi.updateBucket" } } @@ -1459,28 +1459,28 @@ "title": "Constructors", "kind": 512, "children": [ - 272 + 278 ] }, { "title": "Properties", "kind": 1024, "children": [ - 283, - 282 + 289, + 288 ] }, { "title": "Methods", "kind": 2048, "children": [ + 304, + 332, + 324, + 285, 298, - 326, - 318, - 279, - 292, - 287, - 307 + 293, + 313 ] } ], @@ -1494,7 +1494,7 @@ "extendedTypes": [ { "type": "reference", - "id": 90, + "id": 95, "name": "StorageBucketApi" } ] @@ -1505,7 +1505,7 @@ "title": "Classes", "kind": 128, "children": [ - 271 + 277 ] } ], @@ -1518,7 +1518,7 @@ ] }, { - "id": 334, + "id": 340, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1528,7 +1528,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/index.ts", "children": [ { - "id": 335, + "id": 341, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -1538,7 +1538,7 @@ "target": 58 }, { - "id": 336, + "id": 342, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -1548,7 +1548,7 @@ "target": 65 }, { - "id": 338, + "id": 344, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -1558,7 +1558,7 @@ "target": 79 }, { - "id": 340, + "id": 346, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -1568,7 +1568,7 @@ "target": 87 }, { - "id": 339, + "id": 345, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -1578,7 +1578,7 @@ "target": 83 }, { - "id": 337, + "id": 343, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -1593,12 +1593,12 @@ "title": "References", "kind": 16777216, "children": [ - 335, - 336, - 338, - 340, - 339, - 337 + 341, + 342, + 344, + 346, + 345, + 343 ] } ], @@ -1611,7 +1611,7 @@ ] }, { - "id": 89, + "id": 94, "name": "\"lib/StorageBucketApi\"", "kind": 1, "kindString": "Module", @@ -1621,7 +1621,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageBucketApi.ts", "children": [ { - "id": 90, + "id": 95, "name": "StorageBucketApi", "kind": 128, "kindString": "Class", @@ -1630,7 +1630,7 @@ }, "children": [ { - "id": 96, + "id": 101, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1639,7 +1639,7 @@ }, "signatures": [ { - "id": 97, + "id": 102, "name": "new StorageBucketApi", "kind": 16384, "kindString": "Constructor signature", @@ -1648,7 +1648,7 @@ }, "parameters": [ { - "id": 98, + "id": 103, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -1661,7 +1661,7 @@ } }, { - "id": 99, + "id": 104, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -1671,7 +1671,7 @@ "type": { "type": "reflection", "declaration": { - "id": 100, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1680,7 +1680,7 @@ }, "indexSignature": [ { - "id": 101, + "id": 106, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -1689,7 +1689,7 @@ }, "parameters": [ { - "id": 102, + "id": 107, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -1711,7 +1711,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 8, + "line": 9, "character": 35 } ] @@ -1722,7 +1722,7 @@ ], "type": { "type": "reference", - "id": 90, + "id": 95, "name": "StorageBucketApi" } } @@ -1730,13 +1730,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 46 } ] }, { - "id": 92, + "id": 97, "name": "headers", "kind": 1024, "kindString": "Property", @@ -1747,14 +1747,14 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 93, + "id": 98, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1763,7 +1763,7 @@ }, "indexSignature": [ { - "id": 94, + "id": 99, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -1772,7 +1772,7 @@ }, "parameters": [ { - "id": 95, + "id": 100, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -1794,7 +1794,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 20 } ] @@ -1802,7 +1802,7 @@ } }, { - "id": 91, + "id": 96, "name": "url", "kind": 1024, "kindString": "Property", @@ -1813,7 +1813,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 5, + "line": 6, "character": 15 } ], @@ -1823,7 +1823,7 @@ } }, { - "id": 114, + "id": 119, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -1832,7 +1832,7 @@ }, "signatures": [ { - "id": 115, + "id": 120, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -1845,7 +1845,7 @@ }, "parameters": [ { - "id": 116, + "id": 121, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1861,7 +1861,7 @@ } }, { - "id": 117, + "id": 122, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1871,7 +1871,7 @@ "type": { "type": "reflection", "declaration": { - "id": 118, + "id": 123, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1880,7 +1880,7 @@ }, "children": [ { - "id": 119, + "id": 124, "name": "public", "kind": 32, "kindString": "Variable", @@ -1890,7 +1890,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 21 } ], @@ -1905,14 +1905,14 @@ "title": "Variables", "kind": 32, "children": [ - 119 + 124 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 12 } ] @@ -1927,7 +1927,7 @@ { "type": "reflection", "declaration": { - "id": 120, + "id": 125, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1936,7 +1936,7 @@ }, "children": [ { - "id": 121, + "id": 126, "name": "data", "kind": 32, "kindString": "Variable", @@ -1946,7 +1946,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 19 } ], @@ -1965,7 +1965,7 @@ } }, { - "id": 122, + "id": 127, "name": "error", "kind": 32, "kindString": "Variable", @@ -1975,7 +1975,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 41 } ], @@ -1999,15 +1999,15 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 122 + 126, + 127 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 13 } ] @@ -2021,13 +2021,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 45, + "line": 46, "character": 20 } ] }, { - "id": 142, + "id": 147, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -2036,7 +2036,7 @@ }, "signatures": [ { - "id": 143, + "id": 148, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -2048,7 +2048,7 @@ }, "parameters": [ { - "id": 144, + "id": 149, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2070,7 +2070,7 @@ { "type": "reflection", "declaration": { - "id": 145, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2079,7 +2079,7 @@ }, "children": [ { - "id": 146, + "id": 151, "name": "data", "kind": 32, "kindString": "Variable", @@ -2089,7 +2089,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 19 } ], @@ -2099,7 +2099,7 @@ { "type": "reflection", "declaration": { - "id": 147, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2108,7 +2108,7 @@ }, "children": [ { - "id": 148, + "id": 153, "name": "message", "kind": 32, "kindString": "Variable", @@ -2118,7 +2118,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 30 } ], @@ -2133,14 +2133,14 @@ "title": "Variables", "kind": 32, "children": [ - 148 + 153 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 20 } ] @@ -2154,7 +2154,7 @@ } }, { - "id": 149, + "id": 154, "name": "error", "kind": 32, "kindString": "Variable", @@ -2164,7 +2164,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 54 } ], @@ -2188,15 +2188,15 @@ "title": "Variables", "kind": 32, "children": [ - 146, - 149 + 151, + 154 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 13 } ] @@ -2210,13 +2210,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 104, + "line": 105, "character": 20 } ] }, { - "id": 134, + "id": 139, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -2225,7 +2225,7 @@ }, "signatures": [ { - "id": 135, + "id": 140, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -2237,7 +2237,7 @@ }, "parameters": [ { - "id": 136, + "id": 141, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2259,7 +2259,7 @@ { "type": "reflection", "declaration": { - "id": 137, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2268,7 +2268,7 @@ }, "children": [ { - "id": 138, + "id": 143, "name": "data", "kind": 32, "kindString": "Variable", @@ -2278,7 +2278,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 19 } ], @@ -2288,7 +2288,7 @@ { "type": "reflection", "declaration": { - "id": 139, + "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2297,7 +2297,7 @@ }, "children": [ { - "id": 140, + "id": 145, "name": "message", "kind": 32, "kindString": "Variable", @@ -2307,7 +2307,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 30 } ], @@ -2322,14 +2322,14 @@ "title": "Variables", "kind": 32, "children": [ - 140 + 145 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 20 } ] @@ -2343,7 +2343,7 @@ } }, { - "id": 141, + "id": 146, "name": "error", "kind": 32, "kindString": "Variable", @@ -2353,7 +2353,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 54 } ], @@ -2377,15 +2377,15 @@ "title": "Variables", "kind": 32, "children": [ - 138, - 141 + 143, + 146 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 13 } ] @@ -2399,13 +2399,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 87, + "line": 88, "character": 19 } ] }, { - "id": 108, + "id": 113, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -2414,7 +2414,7 @@ }, "signatures": [ { - "id": 109, + "id": 114, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -2426,7 +2426,7 @@ }, "parameters": [ { - "id": 110, + "id": 115, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2448,7 +2448,7 @@ { "type": "reflection", "declaration": { - "id": 111, + "id": 116, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2457,7 +2457,7 @@ }, "children": [ { - "id": 112, + "id": 117, "name": "data", "kind": 32, "kindString": "Variable", @@ -2467,7 +2467,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 45 } ], @@ -2487,7 +2487,7 @@ } }, { - "id": 113, + "id": 118, "name": "error", "kind": 32, "kindString": "Variable", @@ -2497,7 +2497,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 67 } ], @@ -2521,15 +2521,15 @@ "title": "Variables", "kind": 32, "children": [ - 112, - 113 + 117, + 118 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 39 } ] @@ -2543,13 +2543,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 17 } ] }, { - "id": 103, + "id": 108, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -2558,7 +2558,7 @@ }, "signatures": [ { - "id": 104, + "id": 109, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -2574,7 +2574,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2583,7 +2583,7 @@ }, "children": [ { - "id": 106, + "id": 111, "name": "data", "kind": 32, "kindString": "Variable", @@ -2593,7 +2593,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 37 } ], @@ -2616,7 +2616,7 @@ } }, { - "id": 107, + "id": 112, "name": "error", "kind": 32, "kindString": "Variable", @@ -2626,7 +2626,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 61 } ], @@ -2650,15 +2650,15 @@ "title": "Variables", "kind": 32, "children": [ - 106, - 107 + 111, + 112 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 31 } ] @@ -2672,13 +2672,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 19 } ] }, { - "id": 123, + "id": 128, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -2687,7 +2687,7 @@ }, "signatures": [ { - "id": 124, + "id": 129, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -2699,7 +2699,7 @@ }, "parameters": [ { - "id": 125, + "id": 130, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2715,7 +2715,7 @@ } }, { - "id": 126, + "id": 131, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2725,7 +2725,7 @@ "type": { "type": "reflection", "declaration": { - "id": 127, + "id": 132, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2734,7 +2734,7 @@ }, "children": [ { - "id": 128, + "id": 133, "name": "public", "kind": 32, "kindString": "Variable", @@ -2744,7 +2744,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 21 } ], @@ -2759,14 +2759,14 @@ "title": "Variables", "kind": 32, "children": [ - 128 + 133 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 12 } ] @@ -2780,7 +2780,7 @@ { "type": "reflection", "declaration": { - "id": 129, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2789,7 +2789,7 @@ }, "children": [ { - "id": 130, + "id": 135, "name": "data", "kind": 32, "kindString": "Variable", @@ -2799,7 +2799,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 19 } ], @@ -2809,7 +2809,7 @@ { "type": "reflection", "declaration": { - "id": 131, + "id": 136, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2818,7 +2818,7 @@ }, "children": [ { - "id": 132, + "id": 137, "name": "message", "kind": 32, "kindString": "Variable", @@ -2828,7 +2828,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 30 } ], @@ -2843,14 +2843,14 @@ "title": "Variables", "kind": 32, "children": [ - 132 + 137 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 20 } ] @@ -2864,7 +2864,7 @@ } }, { - "id": 133, + "id": 138, "name": "error", "kind": 32, "kindString": "Variable", @@ -2874,7 +2874,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 54 } ], @@ -2898,15 +2898,15 @@ "title": "Variables", "kind": 32, "children": [ - 130, - 133 + 135, + 138 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 13 } ] @@ -2920,7 +2920,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 66, + "line": 67, "character": 20 } ] @@ -2931,41 +2931,41 @@ "title": "Constructors", "kind": 512, "children": [ - 96 + 101 ] }, { "title": "Properties", "kind": 1024, "children": [ - 92, - 91 + 97, + 96 ] }, { "title": "Methods", "kind": 2048, "children": [ - 114, - 142, - 134, + 119, + 147, + 139, + 113, 108, - 103, - 123 + 128 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 4, + "line": 5, "character": 29 } ], "extendedBy": [ { "type": "reference", - "id": 271, + "id": 277, "name": "SupabaseStorageClient" } ] @@ -2976,7 +2976,7 @@ "title": "Classes", "kind": 128, "children": [ - 90 + 95 ] } ], @@ -2989,7 +2989,7 @@ ] }, { - "id": 153, + "id": 158, "name": "\"lib/StorageFileApi\"", "kind": 1, "kindString": "Module", @@ -2999,7 +2999,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageFileApi.ts", "children": [ { - "id": 154, + "id": 159, "name": "StorageFileApi", "kind": 128, "kindString": "Class", @@ -3008,7 +3008,7 @@ }, "children": [ { - "id": 161, + "id": 166, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3017,7 +3017,7 @@ }, "signatures": [ { - "id": 162, + "id": 167, "name": "new StorageFileApi", "kind": 16384, "kindString": "Constructor signature", @@ -3026,7 +3026,7 @@ }, "parameters": [ { - "id": 163, + "id": 168, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -3039,7 +3039,7 @@ } }, { - "id": 164, + "id": 169, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -3049,7 +3049,7 @@ "type": { "type": "reflection", "declaration": { - "id": 165, + "id": 170, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3058,7 +3058,7 @@ }, "indexSignature": [ { - "id": 166, + "id": 171, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -3067,7 +3067,7 @@ }, "parameters": [ { - "id": 167, + "id": 172, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -3098,7 +3098,7 @@ "defaultValue": "{}" }, { - "id": 168, + "id": 173, "name": "bucketId", "kind": 32768, "kindString": "Parameter", @@ -3123,7 +3123,7 @@ ], "type": { "type": "reference", - "id": 154, + "id": 159, "name": "StorageFileApi" } } @@ -3137,7 +3137,7 @@ ] }, { - "id": 160, + "id": 165, "name": "bucketId", "kind": 1024, "kindString": "Property", @@ -3168,7 +3168,7 @@ } }, { - "id": 156, + "id": 161, "name": "headers", "kind": 1024, "kindString": "Property", @@ -3186,7 +3186,7 @@ "type": { "type": "reflection", "declaration": { - "id": 157, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3195,7 +3195,7 @@ }, "indexSignature": [ { - "id": 158, + "id": 163, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -3204,7 +3204,7 @@ }, "parameters": [ { - "id": 159, + "id": 164, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -3234,7 +3234,7 @@ } }, { - "id": 155, + "id": 160, "name": "url", "kind": 1024, "kindString": "Property", @@ -3255,7 +3255,7 @@ } }, { - "id": 248, + "id": 253, "name": "_getFinalPath", "kind": 2048, "kindString": "Method", @@ -3264,7 +3264,7 @@ }, "signatures": [ { - "id": 249, + "id": 254, "name": "_getFinalPath", "kind": 4096, "kindString": "Call signature", @@ -3273,7 +3273,7 @@ }, "parameters": [ { - "id": 250, + "id": 255, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3301,7 +3301,7 @@ ] }, { - "id": 209, + "id": 214, "name": "createSignedUrl", "kind": 2048, "kindString": "Method", @@ -3310,7 +3310,7 @@ }, "signatures": [ { - "id": 210, + "id": 215, "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -3322,7 +3322,7 @@ }, "parameters": [ { - "id": 211, + "id": 216, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3338,7 +3338,7 @@ } }, { - "id": 212, + "id": 217, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -3360,7 +3360,7 @@ { "type": "reflection", "declaration": { - "id": 213, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3369,7 +3369,7 @@ }, "children": [ { - "id": 214, + "id": 219, "name": "data", "kind": 32, "kindString": "Variable", @@ -3389,7 +3389,7 @@ { "type": "reflection", "declaration": { - "id": 215, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3398,7 +3398,7 @@ }, "children": [ { - "id": 216, + "id": 221, "name": "signedURL", "kind": 32, "kindString": "Variable", @@ -3423,7 +3423,7 @@ "title": "Variables", "kind": 32, "children": [ - 216 + 221 ] } ], @@ -3444,7 +3444,7 @@ } }, { - "id": 217, + "id": 222, "name": "error", "kind": 32, "kindString": "Variable", @@ -3473,7 +3473,7 @@ } }, { - "id": 218, + "id": 223, "name": "signedURL", "kind": 32, "kindString": "Variable", @@ -3507,9 +3507,9 @@ "title": "Variables", "kind": 32, "children": [ - 214, - 217, - 218 + 219, + 222, + 223 ] } ], @@ -3536,7 +3536,7 @@ ] }, { - "id": 219, + "id": 224, "name": "download", "kind": 2048, "kindString": "Method", @@ -3545,7 +3545,7 @@ }, "signatures": [ { - "id": 220, + "id": 225, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -3557,7 +3557,7 @@ }, "parameters": [ { - "id": 221, + "id": 226, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3579,7 +3579,7 @@ { "type": "reflection", "declaration": { - "id": 222, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3588,7 +3588,7 @@ }, "children": [ { - "id": 223, + "id": 228, "name": "data", "kind": 32, "kindString": "Variable", @@ -3617,7 +3617,7 @@ } }, { - "id": 224, + "id": 229, "name": "error", "kind": 32, "kindString": "Variable", @@ -3651,8 +3651,8 @@ "title": "Variables", "kind": 32, "children": [ - 223, - 224 + 228, + 229 ] } ], @@ -3679,7 +3679,7 @@ ] }, { - "id": 225, + "id": 230, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -3688,7 +3688,7 @@ }, "signatures": [ { - "id": 226, + "id": 231, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -3700,7 +3700,7 @@ }, "parameters": [ { - "id": 227, + "id": 232, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3719,7 +3719,7 @@ "type": { "type": "reflection", "declaration": { - "id": 228, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3728,7 +3728,7 @@ }, "children": [ { - "id": 229, + "id": 234, "name": "data", "kind": 32, "kindString": "Variable", @@ -3748,7 +3748,7 @@ { "type": "reflection", "declaration": { - "id": 230, + "id": 235, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3757,7 +3757,7 @@ }, "children": [ { - "id": 231, + "id": 236, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -3782,7 +3782,7 @@ "title": "Variables", "kind": 32, "children": [ - 231 + 236 ] } ], @@ -3803,7 +3803,7 @@ } }, { - "id": 232, + "id": 237, "name": "error", "kind": 32, "kindString": "Variable", @@ -3832,7 +3832,7 @@ } }, { - "id": 233, + "id": 238, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -3866,9 +3866,9 @@ "title": "Variables", "kind": 32, "children": [ - 229, - 232, - 233 + 234, + 237, + 238 ] } ], @@ -3892,7 +3892,7 @@ ] }, { - "id": 240, + "id": 245, "name": "list", "kind": 2048, "kindString": "Method", @@ -3901,7 +3901,7 @@ }, "signatures": [ { - "id": 241, + "id": 246, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -3913,7 +3913,7 @@ }, "parameters": [ { - "id": 242, + "id": 247, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3939,7 +3939,7 @@ } }, { - "id": 243, + "id": 248, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3957,7 +3957,7 @@ } }, { - "id": 244, + "id": 249, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -3981,7 +3981,7 @@ { "type": "reflection", "declaration": { - "id": 245, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3990,7 +3990,7 @@ }, "children": [ { - "id": 246, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -4023,7 +4023,7 @@ } }, { - "id": 247, + "id": 252, "name": "error", "kind": 32, "kindString": "Variable", @@ -4057,8 +4057,8 @@ "title": "Variables", "kind": 32, "children": [ - 246, - 247 + 251, + 252 ] } ], @@ -4085,7 +4085,7 @@ ] }, { - "id": 200, + "id": 205, "name": "move", "kind": 2048, "kindString": "Method", @@ -4094,7 +4094,7 @@ }, "signatures": [ { - "id": 201, + "id": 206, "name": "move", "kind": 4096, "kindString": "Call signature", @@ -4106,7 +4106,7 @@ }, "parameters": [ { - "id": 202, + "id": 207, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -4122,7 +4122,7 @@ } }, { - "id": 203, + "id": 208, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -4144,7 +4144,7 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4153,7 +4153,7 @@ }, "children": [ { - "id": 205, + "id": 210, "name": "data", "kind": 32, "kindString": "Variable", @@ -4173,7 +4173,7 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4182,7 +4182,7 @@ }, "children": [ { - "id": 207, + "id": 212, "name": "message", "kind": 32, "kindString": "Variable", @@ -4207,7 +4207,7 @@ "title": "Variables", "kind": 32, "children": [ - 207 + 212 ] } ], @@ -4228,7 +4228,7 @@ } }, { - "id": 208, + "id": 213, "name": "error", "kind": 32, "kindString": "Variable", @@ -4262,8 +4262,8 @@ "title": "Variables", "kind": 32, "children": [ - 205, - 208 + 210, + 213 ] } ], @@ -4290,7 +4290,7 @@ ] }, { - "id": 234, + "id": 239, "name": "remove", "kind": 2048, "kindString": "Method", @@ -4299,7 +4299,7 @@ }, "signatures": [ { - "id": 235, + "id": 240, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -4311,7 +4311,7 @@ }, "parameters": [ { - "id": 236, + "id": 241, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -4336,7 +4336,7 @@ { "type": "reflection", "declaration": { - "id": 237, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4345,7 +4345,7 @@ }, "children": [ { - "id": 238, + "id": 243, "name": "data", "kind": 32, "kindString": "Variable", @@ -4378,7 +4378,7 @@ } }, { - "id": 239, + "id": 244, "name": "error", "kind": 32, "kindString": "Variable", @@ -4412,8 +4412,8 @@ "title": "Variables", "kind": 32, "children": [ - 238, - 239 + 243, + 244 ] } ], @@ -4440,7 +4440,7 @@ ] }, { - "id": 190, + "id": 195, "name": "update", "kind": 2048, "kindString": "Method", @@ -4449,7 +4449,7 @@ }, "signatures": [ { - "id": 191, + "id": 196, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4461,7 +4461,7 @@ }, "parameters": [ { - "id": 192, + "id": 197, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -4477,7 +4477,7 @@ } }, { - "id": 193, + "id": 198, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -4540,7 +4540,7 @@ } }, { - "id": 194, + "id": 199, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -4564,7 +4564,7 @@ { "type": "reflection", "declaration": { - "id": 195, + "id": 200, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4573,7 +4573,7 @@ }, "children": [ { - "id": 196, + "id": 201, "name": "data", "kind": 32, "kindString": "Variable", @@ -4593,7 +4593,7 @@ { "type": "reflection", "declaration": { - "id": 197, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4602,7 +4602,7 @@ }, "children": [ { - "id": 198, + "id": 203, "name": "Key", "kind": 32, "kindString": "Variable", @@ -4627,7 +4627,7 @@ "title": "Variables", "kind": 32, "children": [ - 198 + 203 ] } ], @@ -4648,7 +4648,7 @@ } }, { - "id": 199, + "id": 204, "name": "error", "kind": 32, "kindString": "Variable", @@ -4682,8 +4682,8 @@ "title": "Variables", "kind": 32, "children": [ - 196, - 199 + 201, + 204 ] } ], @@ -4710,7 +4710,7 @@ ] }, { - "id": 180, + "id": 185, "name": "upload", "kind": 2048, "kindString": "Method", @@ -4719,7 +4719,7 @@ }, "signatures": [ { - "id": 181, + "id": 186, "name": "upload", "kind": 4096, "kindString": "Call signature", @@ -4731,7 +4731,7 @@ }, "parameters": [ { - "id": 182, + "id": 187, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -4747,7 +4747,7 @@ } }, { - "id": 183, + "id": 188, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -4810,7 +4810,7 @@ } }, { - "id": 184, + "id": 189, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -4834,7 +4834,7 @@ { "type": "reflection", "declaration": { - "id": 185, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4843,7 +4843,7 @@ }, "children": [ { - "id": 186, + "id": 191, "name": "data", "kind": 32, "kindString": "Variable", @@ -4863,7 +4863,7 @@ { "type": "reflection", "declaration": { - "id": 187, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4872,7 +4872,7 @@ }, "children": [ { - "id": 188, + "id": 193, "name": "Key", "kind": 32, "kindString": "Variable", @@ -4897,7 +4897,7 @@ "title": "Variables", "kind": 32, "children": [ - 188 + 193 ] } ], @@ -4918,7 +4918,7 @@ } }, { - "id": 189, + "id": 194, "name": "error", "kind": 32, "kindString": "Variable", @@ -4952,8 +4952,8 @@ "title": "Variables", "kind": 32, "children": [ - 186, - 189 + 191, + 194 ] } ], @@ -4980,7 +4980,7 @@ ] }, { - "id": 169, + "id": 174, "name": "uploadOrUpdate", "kind": 2048, "kindString": "Method", @@ -4990,7 +4990,7 @@ }, "signatures": [ { - "id": 170, + "id": 175, "name": "uploadOrUpdate", "kind": 4096, "kindString": "Call signature", @@ -5002,7 +5002,7 @@ }, "parameters": [ { - "id": 171, + "id": 176, "name": "method", "kind": 32768, "kindString": "Parameter", @@ -5027,7 +5027,7 @@ } }, { - "id": 172, + "id": 177, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5043,7 +5043,7 @@ } }, { - "id": 173, + "id": 178, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -5106,7 +5106,7 @@ } }, { - "id": 174, + "id": 179, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -5130,7 +5130,7 @@ { "type": "reflection", "declaration": { - "id": 175, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5139,7 +5139,7 @@ }, "children": [ { - "id": 176, + "id": 181, "name": "data", "kind": 32, "kindString": "Variable", @@ -5159,7 +5159,7 @@ { "type": "reflection", "declaration": { - "id": 177, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5168,7 +5168,7 @@ }, "children": [ { - "id": 178, + "id": 183, "name": "Key", "kind": 32, "kindString": "Variable", @@ -5193,7 +5193,7 @@ "title": "Variables", "kind": 32, "children": [ - 178 + 183 ] } ], @@ -5214,7 +5214,7 @@ } }, { - "id": 179, + "id": 184, "name": "error", "kind": 32, "kindString": "Variable", @@ -5248,8 +5248,8 @@ "title": "Variables", "kind": 32, "children": [ - 176, - 179 + 181, + 184 ] } ], @@ -5281,32 +5281,32 @@ "title": "Constructors", "kind": 512, "children": [ - 161 + 166 ] }, { "title": "Properties", "kind": 1024, "children": [ - 160, - 156, - 155 + 165, + 161, + 160 ] }, { "title": "Methods", "kind": 2048, "children": [ - 248, - 209, - 219, - 225, - 240, - 200, - 234, - 190, - 180, - 169 + 253, + 214, + 224, + 230, + 245, + 205, + 239, + 195, + 185, + 174 ] } ], @@ -5319,7 +5319,7 @@ ] }, { - "id": 257, + "id": 262, "name": "DEFAULT_FILE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -5328,7 +5328,7 @@ }, "children": [ { - "id": 258, + "id": 263, "name": "cacheControl", "kind": 32, "kindString": "Variable", @@ -5347,7 +5347,7 @@ "defaultValue": "\"3600\"" }, { - "id": 259, + "id": 264, "name": "contentType", "kind": 32, "kindString": "Variable", @@ -5366,7 +5366,7 @@ "defaultValue": "\"text/plain;charset=UTF-8\"" }, { - "id": 260, + "id": 265, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5390,9 +5390,9 @@ "title": "Variables", "kind": 32, "children": [ - 258, - 259, - 260 + 263, + 264, + 265 ] } ], @@ -5409,7 +5409,7 @@ } }, { - "id": 251, + "id": 256, "name": "DEFAULT_SEARCH_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -5418,7 +5418,7 @@ }, "children": [ { - "id": 252, + "id": 257, "name": "limit", "kind": 32, "kindString": "Variable", @@ -5437,7 +5437,7 @@ "defaultValue": "100" }, { - "id": 253, + "id": 258, "name": "offset", "kind": 32, "kindString": "Variable", @@ -5456,14 +5456,14 @@ "defaultValue": "0" }, { - "id": 254, + "id": 259, "name": "sortBy", "kind": 2097152, "kindString": "Object literal", "flags": {}, "children": [ { - "id": 255, + "id": 260, "name": "column", "kind": 32, "kindString": "Variable", @@ -5482,7 +5482,7 @@ "defaultValue": "\"name\"" }, { - "id": 256, + "id": 261, "name": "order", "kind": 32, "kindString": "Variable", @@ -5506,8 +5506,8 @@ "title": "Variables", "kind": 32, "children": [ - 255, - 256 + 260, + 261 ] } ], @@ -5529,15 +5529,15 @@ "title": "Variables", "kind": 32, "children": [ - 252, - 253 + 257, + 258 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 254 + 259 ] } ], @@ -5559,15 +5559,15 @@ "title": "Classes", "kind": 128, "children": [ - 154 + 159 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 257, - 251 + 262, + 256 ] } ], @@ -5579,6 +5579,87 @@ } ] }, + { + "id": 91, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/storage-js/storage-js/src/lib/constants.ts", + "children": [ + { + "id": 92, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 93, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`storage-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 93 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 92 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, { "id": 1, "name": "\"lib/fetch\"", @@ -6540,7 +6621,7 @@ ] }, { - "id": 150, + "id": 155, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -6550,7 +6631,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/helpers.ts", "children": [ { - "id": 151, + "id": 156, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -6560,7 +6641,7 @@ }, "signatures": [ { - "id": 152, + "id": 157, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -6587,7 +6668,7 @@ "title": "Functions", "kind": 64, "children": [ - 151 + 156 ] } ], @@ -6600,7 +6681,7 @@ ] }, { - "id": 261, + "id": 266, "name": "\"lib/index\"", "kind": 1, "kindString": "Module", @@ -6610,7 +6691,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts", "children": [ { - "id": 264, + "id": 269, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -6620,7 +6701,17 @@ "target": 58 }, { - "id": 265, + "id": 275, + "name": "DEFAULT_HEADERS", + "kind": 16777216, + "kindString": "Reference", + "flags": { + "isExported": true + }, + "target": 92 + }, + { + "id": 270, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -6630,7 +6721,7 @@ "target": 65 }, { - "id": 267, + "id": 272, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -6640,7 +6731,7 @@ "target": 79 }, { - "id": 269, + "id": 274, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -6650,7 +6741,7 @@ "target": 87 }, { - "id": 268, + "id": 273, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -6660,7 +6751,7 @@ "target": 83 }, { - "id": 266, + "id": 271, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -6670,24 +6761,24 @@ "target": 76 }, { - "id": 262, + "id": 267, "name": "StorageBucketApi", "kind": 16777216, "kindString": "Reference", "flags": { "isExported": true }, - "target": 90 + "target": 95 }, { - "id": 263, + "id": 268, "name": "StorageFileApi", "kind": 16777216, "kindString": "Reference", "flags": { "isExported": true }, - "target": 154 + "target": 159 } ], "groups": [ @@ -6695,14 +6786,15 @@ "title": "References", "kind": 16777216, "children": [ - 264, - 265, - 267, 269, - 268, - 266, - 262, - 263 + 275, + 270, + 272, + 274, + 273, + 271, + 267, + 268 ] } ], @@ -7507,6 +7599,56 @@ "character": 0 } ] + }, + { + "id": 89, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/storage-js/storage-js/src/lib/version.ts", + "children": [ + { + "id": 90, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 90 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -7514,14 +7656,16 @@ "title": "Modules", "kind": 1, "children": [ - 270, - 334, - 89, - 153, + 276, + 340, + 94, + 158, + 91, 1, - 150, - 261, - 57 + 155, + 266, + 57, + 89 ] } ] diff --git a/web/spec/supabase.json b/web/spec/supabase.json index b432d5c2790..7c73d87c4cb 100644 --- a/web/spec/supabase.json +++ b/web/spec/supabase.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 264, + "id": 279, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 265, + "id": 280, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -29,7 +29,7 @@ }, "children": [ { - "id": 273, + "id": 288, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41,7 +41,7 @@ }, "signatures": [ { - "id": 276, + "id": 291, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -53,7 +53,7 @@ }, "parameters": [ { - "id": 277, + "id": 292, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -69,7 +69,7 @@ } }, { - "id": 278, + "id": 293, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -85,7 +85,7 @@ } }, { - "id": 279, + "id": 294, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -95,14 +95,14 @@ }, "type": { "type": "reference", - "id": 5, + "id": 30, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 280, "name": "SupabaseClient" } } @@ -110,13 +110,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 34, + "line": 33, "character": 36 } ] }, { - "id": 266, + "id": 281, "name": "auth", "kind": 1024, "kindString": "Property", @@ -129,18 +129,18 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 27, + "line": 26, "character": 6 } ], "type": { "type": "reference", - "id": 28, + "id": 53, "name": "SupabaseAuthClient" } }, { - "id": 270, + "id": 285, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -151,7 +151,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 32, + "line": 31, "character": 19 } ], @@ -161,7 +161,7 @@ } }, { - "id": 272, + "id": 287, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -172,7 +172,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 34, + "line": 33, "character": 20 } ], @@ -182,7 +182,7 @@ } }, { - "id": 269, + "id": 284, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -193,7 +193,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 31, + "line": 30, "character": 23 } ], @@ -203,7 +203,7 @@ } }, { - "id": 268, + "id": 283, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -214,7 +214,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 30, + "line": 29, "character": 19 } ], @@ -224,7 +224,7 @@ } }, { - "id": 267, + "id": 282, "name": "schema", "kind": 1024, "kindString": "Property", @@ -235,7 +235,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 29, + "line": 28, "character": 18 } ], @@ -245,7 +245,7 @@ } }, { - "id": 271, + "id": 286, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -256,7 +256,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 33, + "line": 32, "character": 22 } ], @@ -266,7 +266,7 @@ } }, { - "id": 275, + "id": 290, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -281,7 +281,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 49, + "line": 48, "character": 25 } ], @@ -291,7 +291,7 @@ } }, { - "id": 274, + "id": 289, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -306,7 +306,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 48, + "line": 47, "character": 25 } ], @@ -316,7 +316,7 @@ } }, { - "id": 280, + "id": 295, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -328,7 +328,7 @@ }, "getSignature": [ { - "id": 281, + "id": 296, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -347,13 +347,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 74, + "line": 73, "character": 13 } ] }, { - "id": 320, + "id": 339, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -363,7 +363,7 @@ }, "signatures": [ { - "id": 321, + "id": 340, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -372,7 +372,7 @@ }, "parameters": [ { - "id": 322, + "id": 341, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -400,13 +400,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 186, + "line": 187, "character": 23 } ] }, { - "id": 297, + "id": 312, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -416,7 +416,7 @@ }, "signatures": [ { - "id": 298, + "id": 313, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -425,7 +425,7 @@ }, "parameters": [ { - "id": 299, + "id": 314, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -453,13 +453,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 132, + "line": 131, "character": 34 } ] }, { - "id": 315, + "id": 334, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -469,7 +469,7 @@ }, "signatures": [ { - "id": 316, + "id": 335, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -479,7 +479,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 336, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -488,7 +488,7 @@ }, "indexSignature": [ { - "id": 318, + "id": 337, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -497,7 +497,7 @@ }, "parameters": [ { - "id": 319, + "id": 338, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -519,7 +519,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 179, "character": 28 } ] @@ -530,13 +530,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 179, "character": 25 } ] }, { - "id": 313, + "id": 332, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -546,7 +546,7 @@ }, "signatures": [ { - "id": 314, + "id": 333, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -562,13 +562,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 171, + "line": 172, "character": 30 } ] }, { - "id": 310, + "id": 329, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -578,7 +578,7 @@ }, "signatures": [ { - "id": 311, + "id": 330, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -587,7 +587,7 @@ }, "parameters": [ { - "id": 312, + "id": 331, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -610,13 +610,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 164, + "line": 165, "character": 29 } ] }, { - "id": 302, + "id": 317, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -626,7 +626,7 @@ }, "signatures": [ { - "id": 303, + "id": 318, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -635,7 +635,7 @@ }, "parameters": [ { - "id": 304, + "id": 319, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -646,7 +646,7 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 320, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -655,7 +655,7 @@ }, "children": [ { - "id": 306, + "id": 321, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -665,7 +665,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 146, + "line": 145, "character": 20 } ], @@ -688,7 +688,7 @@ } }, { - "id": 308, + "id": 323, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -698,7 +698,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 148, + "line": 147, "character": 22 } ], @@ -721,8 +721,8 @@ } }, { - "id": 309, - "name": "localStorage", + "id": 325, + "name": "headers", "kind": 32, "kindString": "Variable", "flags": { @@ -732,6 +732,73 @@ { "fileName": "src/SupabaseClient.ts", "line": 149, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 327, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 328, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 324, + "name": "localStorage", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 148, "character": 16 } ], @@ -744,13 +811,42 @@ }, { "type": "reference", - "name": "Storage" + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "getItem" + }, + { + "type": "stringLiteral", + "value": "setItem" + }, + { + "type": "stringLiteral", + "value": "removeItem" + } + ] + } + ], + "name": "Pick" + } + ], + "name": "PromisifyMethods" } ] } }, { - "id": 307, + "id": 322, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -760,7 +856,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 147, + "line": 146, "character": 18 } ], @@ -788,17 +884,18 @@ "title": "Variables", "kind": 32, "children": [ - 306, - 308, - 309, - 307 + 321, + 323, + 325, + 324, + 322 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 144, "character": 34 } ] @@ -808,7 +905,7 @@ ], "type": { "type": "reference", - "id": 28, + "id": 53, "name": "SupabaseAuthClient" } } @@ -816,13 +913,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 144, "character": 33 } ] }, { - "id": 282, + "id": 297, "name": "from", "kind": 2048, "kindString": "Method", @@ -831,7 +928,7 @@ }, "signatures": [ { - "id": 283, + "id": 298, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -843,7 +940,7 @@ }, "typeParameter": [ { - "id": 284, + "id": 299, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -854,7 +951,7 @@ ], "parameters": [ { - "id": 285, + "id": 300, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -872,7 +969,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 189, "typeArguments": [ { "type": "typeParameter", @@ -890,13 +987,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 83, + "line": 82, "character": 6 } ] }, { - "id": 300, + "id": 315, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -905,7 +1002,7 @@ }, "signatures": [ { - "id": 301, + "id": 316, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -927,13 +1024,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 141, + "line": 140, "character": 18 } ] }, { - "id": 294, + "id": 309, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -942,7 +1039,7 @@ }, "signatures": [ { - "id": 295, + "id": 310, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -954,7 +1051,7 @@ }, "parameters": [ { - "id": 296, + "id": 311, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -985,13 +1082,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 115, + "line": 114, "character": 20 } ] }, { - "id": 286, + "id": 301, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1000,7 +1097,7 @@ }, "signatures": [ { - "id": 287, + "id": 302, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1012,7 +1109,7 @@ }, "typeParameter": [ { - "id": 288, + "id": 303, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1023,7 +1120,7 @@ ], "parameters": [ { - "id": 289, + "id": 304, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1039,7 +1136,7 @@ } }, { - "id": 290, + "id": 305, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1065,7 +1162,7 @@ } }, { - "id": 291, + "id": 306, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1076,7 +1173,7 @@ "type": { "type": "reflection", "declaration": { - "id": 292, + "id": 307, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1085,7 +1182,7 @@ }, "children": [ { - "id": 293, + "id": 308, "name": "count", "kind": 32, "kindString": "Variable", @@ -1098,7 +1195,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 104, + "line": 103, "character": 11 } ], @@ -1131,14 +1228,14 @@ "title": "Variables", "kind": 32, "children": [ - 293 + 308 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 103, + "line": 102, "character": 20 } ] @@ -1162,7 +1259,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 101, + "line": 100, "character": 5 } ] @@ -1173,58 +1270,58 @@ "title": "Constructors", "kind": 512, "children": [ - 273 + 288 ] }, { "title": "Properties", "kind": 1024, "children": [ - 266, - 270, - 272, - 269, - 268, - 267, - 271, - 275, - 274 + 281, + 285, + 287, + 284, + 283, + 282, + 286, + 290, + 289 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 280 + 295 ] }, { "title": "Methods", "kind": 2048, "children": [ - 320, + 339, + 312, + 334, + 332, + 329, + 317, 297, 315, - 313, - 310, - 302, - 282, - 300, - 294, - 286 + 309, + 301 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 23, + "line": 22, "character": 35 } ] }, { - "id": 323, + "id": 342, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1233,7 +1330,7 @@ }, "children": [ { - "id": 325, + "id": 344, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1252,7 +1349,7 @@ "defaultValue": "true" }, { - "id": 327, + "id": 346, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1271,7 +1368,7 @@ "defaultValue": "true" }, { - "id": 329, + "id": 347, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1279,43 +1376,54 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 15, + "line": 14, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": {} + "flags": {}, + "children": [ + { + "id": 349, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`supabase-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 349 + ] + } + ] } }, "defaultValue": "DEFAULT_HEADERS" }, { - "id": 328, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 14, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - }, - "defaultValue": "globalThis.localStorage" - }, - { - "id": 326, + "id": 345, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1334,7 +1442,7 @@ "defaultValue": "true" }, { - "id": 324, + "id": 343, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1358,12 +1466,11 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 327, - 329, - 328, - 326, - 324 + 344, + 346, + 347, + 345, + 343 ] } ], @@ -1385,14 +1492,14 @@ "title": "Classes", "kind": 128, "children": [ - 265 + 280 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 323 + 342 ] } ], @@ -1405,7 +1512,7 @@ ] }, { - "id": 331, + "id": 350, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1415,7 +1522,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 332, + "id": 351, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1428,7 +1535,7 @@ }, "signatures": [ { - "id": 333, + "id": 352, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1440,7 +1547,7 @@ }, "parameters": [ { - "id": 334, + "id": 353, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1453,7 +1560,7 @@ } }, { - "id": 335, + "id": 354, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1466,7 +1573,7 @@ } }, { - "id": 336, + "id": 355, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1476,14 +1583,14 @@ }, "type": { "type": "reference", - "id": 5, + "id": 30, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 280, "name": "SupabaseClient" } } @@ -1502,7 +1609,7 @@ "title": "Functions", "kind": 64, "children": [ - 332 + 351 ] } ], @@ -1515,7 +1622,7 @@ ] }, { - "id": 27, + "id": 52, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", @@ -1525,7 +1632,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { - "id": 28, + "id": 53, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", @@ -1534,7 +1641,7 @@ }, "children": [ { - "id": 29, + "id": 54, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1543,7 +1650,7 @@ }, "signatures": [ { - "id": 30, + "id": 55, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", @@ -1552,7 +1659,7 @@ }, "parameters": [ { - "id": 31, + "id": 56, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1560,266 +1667,15 @@ "isExported": true }, "type": { - "type": "reflection", - "declaration": { - "id": 32, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 39, - "name": "autoRefreshToken", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 8, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 38, - "name": "detectSessionInUrl", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 7, - "character": 22 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 34, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 6, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 35, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 36, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 37, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 41, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 10, - "character": 16 - } - ], - "type": { - "type": "reference", - "name": "Storage" - } - }, - { - "id": 40, - "name": "persistSession", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 9, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 33, - "name": "url", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 5, - "character": 7 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 39, - 38, - 34, - 41, - 40, - 33 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 4, - "character": 22 - } - ] - } + "type": "reference", + "id": 7, + "name": "SupabaseAuthClientOptions" } } ], "type": { "type": "reference", - "id": 28, + "id": 53, "name": "SupabaseAuthClient" }, "overwrites": { @@ -1831,7 +1687,7 @@ "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 3, + "line": 4, "character": 54 } ], @@ -1841,7 +1697,7 @@ } }, { - "id": 42, + "id": 57, "name": "api", "kind": 1024, "kindString": "Property", @@ -1854,7 +1710,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 8, + "line": 14, "character": 7 } ], @@ -1864,12 +1720,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 42, + "id": 57, "name": "GoTrueClient.api" } }, { - "id": 45, + "id": 60, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -1880,7 +1736,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 17, + "line": 23, "character": 30 } ], @@ -1890,12 +1746,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 45, + "id": 60, "name": "GoTrueClient.autoRefreshToken" } }, { - "id": 44, + "id": 59, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -1909,7 +1765,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 16, + "line": 22, "character": 28 } ], @@ -1928,12 +1784,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 59, "name": "GoTrueClient.currentSession" } }, { - "id": 43, + "id": 58, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -1947,7 +1803,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 12, + "line": 18, "character": 25 } ], @@ -1966,12 +1822,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 58, "name": "GoTrueClient.currentUser" } }, { - "id": 47, + "id": 62, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -1982,22 +1838,22 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 19, + "line": 25, "character": 26 } ], "type": { "type": "reference", - "name": "Storage" + "name": "SupportedStorage" }, "inheritedFrom": { "type": "reference", - "id": 47, + "id": 62, "name": "GoTrueClient.localStorage" } }, { - "id": 46, + "id": 61, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -2008,7 +1864,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 18, + "line": 24, "character": 28 } ], @@ -2018,12 +1874,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 46, + "id": 61, "name": "GoTrueClient.persistSession" } }, { - "id": 49, + "id": 64, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -2035,7 +1891,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 21, + "line": 27, "character": 31 } ], @@ -2054,12 +1910,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 49, + "id": 64, "name": "GoTrueClient.refreshTokenTimer" } }, { - "id": 48, + "id": 63, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -2070,7 +1926,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 20, + "line": 26, "character": 33 } ], @@ -2090,12 +1946,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 48, + "id": 63, "name": "GoTrueClient.stateChangeEmitters" } }, { - "id": 125, + "id": 140, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -2104,7 +1960,7 @@ }, "signatures": [ { - "id": 126, + "id": 141, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -2116,7 +1972,7 @@ }, "parameters": [ { - "id": 127, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2134,7 +1990,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2143,7 +1999,7 @@ }, "children": [ { - "id": 129, + "id": 144, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2157,7 +2013,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 137, + "line": 143, "character": 20 } ], @@ -2185,7 +2041,7 @@ "title": "Variables", "kind": 32, "children": [ - 129 + 144 ] } ] @@ -2201,7 +2057,7 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 145, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2210,7 +2066,7 @@ }, "children": [ { - "id": 131, + "id": 146, "name": "data", "kind": 32, "kindString": "Variable", @@ -2220,7 +2076,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 139, + "line": 145, "character": 12 } ], @@ -2239,7 +2095,7 @@ } }, { - "id": 132, + "id": 147, "name": "error", "kind": 32, "kindString": "Variable", @@ -2249,7 +2105,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 140, + "line": 146, "character": 13 } ], @@ -2273,15 +2129,15 @@ "title": "Variables", "kind": 32, "children": [ - 131, - 132 + 146, + 147 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 138, + "line": 144, "character": 16 } ] @@ -2292,7 +2148,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 125, + "id": 140, "name": "GoTrueClient.getSessionFromUrl" } } @@ -2300,18 +2156,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 136, + "line": 142, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 125, + "id": 140, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 137, + "id": 152, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -2320,7 +2176,7 @@ }, "signatures": [ { - "id": 138, + "id": 153, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -2333,7 +2189,7 @@ }, "parameters": [ { - "id": 139, + "id": 154, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2343,7 +2199,7 @@ "type": { "type": "reflection", "declaration": { - "id": 140, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2352,7 +2208,7 @@ }, "signatures": [ { - "id": 141, + "id": 156, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2361,7 +2217,7 @@ }, "parameters": [ { - "id": 142, + "id": 157, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -2374,7 +2230,7 @@ } }, { - "id": 143, + "id": 158, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -2405,7 +2261,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 31 } ] @@ -2416,7 +2272,7 @@ "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 159, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2425,7 +2281,7 @@ }, "children": [ { - "id": 145, + "id": 160, "name": "data", "kind": 32, "kindString": "Variable", @@ -2435,7 +2291,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 156, + "line": 162, "character": 12 } ], @@ -2454,7 +2310,7 @@ } }, { - "id": 146, + "id": 161, "name": "error", "kind": 32, "kindString": "Variable", @@ -2464,7 +2320,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 157, + "line": 163, "character": 13 } ], @@ -2488,15 +2344,15 @@ "title": "Variables", "kind": 32, "children": [ - 145, - 146 + 160, + 161 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 91 } ] @@ -2504,7 +2360,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 137, + "id": 152, "name": "GoTrueClient.onAuthStateChange" } } @@ -2512,18 +2368,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 137, + "id": 152, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 103, + "id": 118, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -2532,7 +2388,7 @@ }, "signatures": [ { - "id": 104, + "id": 119, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -2548,7 +2404,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2557,7 +2413,7 @@ }, "children": [ { - "id": 106, + "id": 121, "name": "data", "kind": 32, "kindString": "Variable", @@ -2567,7 +2423,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 107, + "line": 113, "character": 12 } ], @@ -2586,7 +2442,7 @@ } }, { - "id": 108, + "id": 123, "name": "error", "kind": 32, "kindString": "Variable", @@ -2596,7 +2452,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 109, + "line": 115, "character": 13 } ], @@ -2615,7 +2471,7 @@ } }, { - "id": 107, + "id": 122, "name": "user", "kind": 32, "kindString": "Variable", @@ -2625,7 +2481,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 108, + "line": 114, "character": 12 } ], @@ -2649,16 +2505,16 @@ "title": "Variables", "kind": 32, "children": [ - 106, - 108, - 107 + 121, + 123, + 122 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 106, + "line": 112, "character": 30 } ] @@ -2669,7 +2525,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 118, "name": "GoTrueClient.refreshSession" } } @@ -2677,18 +2533,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 106, + "line": 112, "character": 18 } ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 118, "name": "GoTrueClient.refreshSession" } }, { - "id": 101, + "id": 116, "name": "session", "kind": 2048, "kindString": "Method", @@ -2697,7 +2553,7 @@ }, "signatures": [ { - "id": 102, + "id": 117, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -2722,7 +2578,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 101, + "id": 116, "name": "GoTrueClient.session" } } @@ -2730,18 +2586,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 102, + "line": 108, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 101, + "id": 116, "name": "GoTrueClient.session" } }, { - "id": 122, + "id": 137, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2750,7 +2606,7 @@ }, "signatures": [ { - "id": 123, + "id": 138, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2762,7 +2618,7 @@ }, "parameters": [ { - "id": 124, + "id": 139, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -2784,7 +2640,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 122, + "id": 137, "name": "GoTrueClient.setAuth" } } @@ -2792,18 +2648,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 131, + "line": 137, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 122, + "id": 137, "name": "GoTrueClient.setAuth" } }, { - "id": 116, + "id": 131, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -2812,7 +2668,7 @@ }, "signatures": [ { - "id": 117, + "id": 132, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -2824,7 +2680,7 @@ }, "parameters": [ { - "id": 118, + "id": 133, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -2846,7 +2702,7 @@ { "type": "reflection", "declaration": { - "id": 119, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2855,7 +2711,7 @@ }, "children": [ { - "id": 121, + "id": 136, "name": "error", "kind": 32, "kindString": "Variable", @@ -2865,7 +2721,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 125, + "line": 131, "character": 13 } ], @@ -2884,7 +2740,7 @@ } }, { - "id": 120, + "id": 135, "name": "session", "kind": 32, "kindString": "Variable", @@ -2894,7 +2750,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 124, + "line": 130, "character": 15 } ], @@ -2918,15 +2774,15 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 120 + 136, + 135 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 129, "character": 47 } ] @@ -2937,7 +2793,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 131, "name": "GoTrueClient.setSession" } } @@ -2945,18 +2801,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 129, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 116, + "id": 131, "name": "GoTrueClient.setSession" } }, { - "id": 65, + "id": 80, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -2965,7 +2821,7 @@ }, "signatures": [ { - "id": 66, + "id": 81, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -2977,7 +2833,7 @@ }, "parameters": [ { - "id": 67, + "id": 82, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -2988,7 +2844,7 @@ "type": { "type": "reflection", "declaration": { - "id": 68, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2997,7 +2853,7 @@ }, "children": [ { - "id": 69, + "id": 84, "name": "email", "kind": 32, "kindString": "Variable", @@ -3010,7 +2866,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 18 } ], @@ -3029,7 +2885,7 @@ } }, { - "id": 71, + "id": 86, "name": "password", "kind": 32, "kindString": "Variable", @@ -3042,7 +2898,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 35 } ], @@ -3061,7 +2917,7 @@ } }, { - "id": 70, + "id": 85, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3071,7 +2927,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 25 } ], @@ -3090,7 +2946,7 @@ } }, { - "id": 73, + "id": 88, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3103,7 +2959,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 59 } ], @@ -3158,7 +3014,7 @@ } }, { - "id": 72, + "id": 87, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -3171,7 +3027,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 49 } ], @@ -3195,18 +3051,18 @@ "title": "Variables", "kind": 32, "children": [ - 69, - 71, - 70, - 73, - 72 + 84, + 86, + 85, + 88, + 87 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 11 } ] @@ -3214,7 +3070,7 @@ } }, { - "id": 74, + "id": 89, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3232,7 +3088,7 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3241,7 +3097,7 @@ }, "children": [ { - "id": 76, + "id": 91, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3252,7 +3108,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 69, + "line": 75, "character": 18 } ], @@ -3271,7 +3127,7 @@ } }, { - "id": 77, + "id": 92, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -3282,7 +3138,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 70, + "line": 76, "character": 14 } ], @@ -3306,8 +3162,8 @@ "title": "Variables", "kind": 32, "children": [ - 76, - 77 + 91, + 92 ] } ] @@ -3323,7 +3179,7 @@ { "type": "reflection", "declaration": { - "id": 78, + "id": 93, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3332,7 +3188,7 @@ }, "children": [ { - "id": 84, + "id": 99, "name": "data", "kind": 32, "kindString": "Variable", @@ -3342,7 +3198,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 77, + "line": 83, "character": 12 } ], @@ -3361,7 +3217,7 @@ } }, { - "id": 83, + "id": 98, "name": "error", "kind": 32, "kindString": "Variable", @@ -3371,7 +3227,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 76, + "line": 82, "character": 13 } ], @@ -3390,7 +3246,7 @@ } }, { - "id": 81, + "id": 96, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3401,7 +3257,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 80, "character": 16 } ], @@ -3411,7 +3267,7 @@ } }, { - "id": 79, + "id": 94, "name": "session", "kind": 32, "kindString": "Variable", @@ -3421,7 +3277,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 72, + "line": 78, "character": 15 } ], @@ -3440,7 +3296,7 @@ } }, { - "id": 82, + "id": 97, "name": "url", "kind": 32, "kindString": "Variable", @@ -3451,7 +3307,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 75, + "line": 81, "character": 11 } ], @@ -3470,7 +3326,7 @@ } }, { - "id": 80, + "id": 95, "name": "user", "kind": 32, "kindString": "Variable", @@ -3480,7 +3336,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 73, + "line": 79, "character": 12 } ], @@ -3504,19 +3360,19 @@ "title": "Variables", "kind": 32, "children": [ - 84, - 83, - 81, - 79, - 82, - 80 + 99, + 98, + 96, + 94, + 97, + 95 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 71, + "line": 77, "character": 16 } ] @@ -3527,7 +3383,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 65, + "id": 80, "name": "GoTrueClient.signIn" } } @@ -3535,18 +3391,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 65, + "id": 80, "name": "GoTrueClient.signIn" } }, { - "id": 133, + "id": 148, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3555,7 +3411,7 @@ }, "signatures": [ { - "id": 134, + "id": 149, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3563,7 +3419,7 @@ "isExported": true }, "comment": { - "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", + "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n" }, "type": { @@ -3572,7 +3428,7 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3581,7 +3437,7 @@ }, "children": [ { - "id": 136, + "id": 151, "name": "error", "kind": 32, "kindString": "Variable", @@ -3591,7 +3447,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 149, + "line": 155, "character": 13 } ], @@ -3615,14 +3471,14 @@ "title": "Variables", "kind": 32, "children": [ - 136 + 151 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 148, + "line": 154, "character": 23 } ] @@ -3633,7 +3489,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 133, + "id": 148, "name": "GoTrueClient.signOut" } } @@ -3641,18 +3497,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 148, + "line": 154, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 133, + "id": 148, "name": "GoTrueClient.signOut" } }, { - "id": 50, + "id": 65, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -3661,7 +3517,7 @@ }, "signatures": [ { - "id": 51, + "id": 66, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -3673,7 +3529,7 @@ }, "parameters": [ { - "id": 52, + "id": 67, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3684,7 +3540,7 @@ "type": { "type": "reflection", "declaration": { - "id": 53, + "id": 68, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3693,7 +3549,7 @@ }, "children": [ { - "id": 54, + "id": 69, "name": "email", "kind": 32, "kindString": "Variable", @@ -3706,7 +3562,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 18 } ], @@ -3725,7 +3581,7 @@ } }, { - "id": 55, + "id": 70, "name": "password", "kind": 32, "kindString": "Variable", @@ -3738,7 +3594,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 28 } ], @@ -3757,7 +3613,7 @@ } }, { - "id": 56, + "id": 71, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3770,7 +3626,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 35 } ], @@ -3794,16 +3650,16 @@ "title": "Variables", "kind": 32, "children": [ - 54, - 55, - 56 + 69, + 70, + 71 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 11 } ] @@ -3811,7 +3667,7 @@ } }, { - "id": 57, + "id": 72, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3829,7 +3685,7 @@ { "type": "reflection", "declaration": { - "id": 58, + "id": 73, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3838,7 +3694,7 @@ }, "children": [ { - "id": 59, + "id": 74, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3849,7 +3705,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 51, + "line": 57, "character": 18 } ], @@ -3873,7 +3729,7 @@ "title": "Variables", "kind": 32, "children": [ - 59 + 74 ] } ] @@ -3889,7 +3745,7 @@ { "type": "reflection", "declaration": { - "id": 60, + "id": 75, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3898,7 +3754,7 @@ }, "children": [ { - "id": 64, + "id": 79, "name": "data", "kind": 32, "kindString": "Variable", @@ -3908,7 +3764,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 62, "character": 12 } ], @@ -3931,7 +3787,7 @@ } }, { - "id": 63, + "id": 78, "name": "error", "kind": 32, "kindString": "Variable", @@ -3941,7 +3797,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 55, + "line": 61, "character": 13 } ], @@ -3960,7 +3816,7 @@ } }, { - "id": 62, + "id": 77, "name": "session", "kind": 32, "kindString": "Variable", @@ -3970,7 +3826,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 54, + "line": 60, "character": 15 } ], @@ -3989,7 +3845,7 @@ } }, { - "id": 61, + "id": 76, "name": "user", "kind": 32, "kindString": "Variable", @@ -3999,7 +3855,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 53, + "line": 59, "character": 12 } ], @@ -4023,17 +3879,17 @@ "title": "Variables", "kind": 32, "children": [ - 64, - 63, - 62, - 61 + 79, + 78, + 77, + 76 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 52, + "line": 58, "character": 16 } ] @@ -4044,7 +3900,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 50, + "id": 65, "name": "GoTrueClient.signUp" } } @@ -4052,18 +3908,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 50, + "id": 65, "name": "GoTrueClient.signUp" } }, { - "id": 109, + "id": 124, "name": "update", "kind": 2048, "kindString": "Method", @@ -4072,7 +3928,7 @@ }, "signatures": [ { - "id": 110, + "id": 125, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4084,7 +3940,7 @@ }, "parameters": [ { - "id": 111, + "id": 126, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4103,7 +3959,7 @@ { "type": "reflection", "declaration": { - "id": 112, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4112,7 +3968,7 @@ }, "children": [ { - "id": 113, + "id": 128, "name": "data", "kind": 32, "kindString": "Variable", @@ -4122,7 +3978,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 115, + "line": 121, "character": 12 } ], @@ -4141,7 +3997,7 @@ } }, { - "id": 115, + "id": 130, "name": "error", "kind": 32, "kindString": "Variable", @@ -4151,7 +4007,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 117, + "line": 123, "character": 13 } ], @@ -4170,7 +4026,7 @@ } }, { - "id": 114, + "id": 129, "name": "user", "kind": 32, "kindString": "Variable", @@ -4180,7 +4036,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 116, + "line": 122, "character": 12 } ], @@ -4204,16 +4060,16 @@ "title": "Variables", "kind": 32, "children": [ - 113, - 115, - 114 + 128, + 130, + 129 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 120, "character": 48 } ] @@ -4224,7 +4080,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 109, + "id": 124, "name": "GoTrueClient.update" } } @@ -4232,18 +4088,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 120, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 109, + "id": 124, "name": "GoTrueClient.update" } }, { - "id": 99, + "id": 114, "name": "user", "kind": 2048, "kindString": "Method", @@ -4252,7 +4108,7 @@ }, "signatures": [ { - "id": 100, + "id": 115, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -4278,7 +4134,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 99, + "id": 114, "name": "GoTrueClient.user" } } @@ -4286,18 +4142,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 98, + "line": 104, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 99, + "id": 114, "name": "GoTrueClient.user" } }, { - "id": 85, + "id": 100, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -4306,7 +4162,7 @@ }, "signatures": [ { - "id": 86, + "id": 101, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -4318,7 +4174,7 @@ }, "parameters": [ { - "id": 87, + "id": 102, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4329,7 +4185,7 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 103, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4338,7 +4194,7 @@ }, "children": [ { - "id": 89, + "id": 104, "name": "phone", "kind": 32, "kindString": "Variable", @@ -4351,7 +4207,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 21 } ], @@ -4361,7 +4217,7 @@ } }, { - "id": 90, + "id": 105, "name": "token", "kind": 32, "kindString": "Variable", @@ -4374,7 +4230,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 28 } ], @@ -4389,15 +4245,15 @@ "title": "Variables", "kind": 32, "children": [ - 89, - 90 + 104, + 105 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 14 } ] @@ -4405,7 +4261,7 @@ } }, { - "id": 91, + "id": 106, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4423,7 +4279,7 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 107, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4432,7 +4288,7 @@ }, "children": [ { - "id": 93, + "id": 108, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4443,7 +4299,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 86, + "line": 92, "character": 18 } ], @@ -4467,7 +4323,7 @@ "title": "Variables", "kind": 32, "children": [ - 93 + 108 ] } ] @@ -4483,7 +4339,7 @@ { "type": "reflection", "declaration": { - "id": 94, + "id": 109, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4492,7 +4348,7 @@ }, "children": [ { - "id": 98, + "id": 113, "name": "data", "kind": 32, "kindString": "Variable", @@ -4502,7 +4358,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 97, "character": 12 } ], @@ -4525,7 +4381,7 @@ } }, { - "id": 97, + "id": 112, "name": "error", "kind": 32, "kindString": "Variable", @@ -4535,7 +4391,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 90, + "line": 96, "character": 13 } ], @@ -4554,7 +4410,7 @@ } }, { - "id": 96, + "id": 111, "name": "session", "kind": 32, "kindString": "Variable", @@ -4564,7 +4420,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 89, + "line": 95, "character": 15 } ], @@ -4583,7 +4439,7 @@ } }, { - "id": 95, + "id": 110, "name": "user", "kind": 32, "kindString": "Variable", @@ -4593,7 +4449,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 88, + "line": 94, "character": 12 } ], @@ -4617,17 +4473,17 @@ "title": "Variables", "kind": 32, "children": [ - 98, - 97, - 96, - 95 + 113, + 112, + 111, + 110 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 87, + "line": 93, "character": 16 } ] @@ -4638,7 +4494,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 100, "name": "GoTrueClient.verifyOTP" } } @@ -4646,13 +4502,13 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 13 } ], "inheritedFrom": { "type": "reference", - "id": 85, + "id": 100, "name": "GoTrueClient.verifyOTP" } } @@ -4662,46 +4518,46 @@ "title": "Constructors", "kind": 512, "children": [ - 29 + 54 ] }, { "title": "Properties", "kind": 1024, "children": [ - 42, - 45, - 44, - 43, - 47, - 46, - 49, - 48 + 57, + 60, + 59, + 58, + 62, + 61, + 64, + 63 ] }, { "title": "Methods", "kind": 2048, "children": [ - 125, - 137, - 103, - 101, - 122, + 140, + 152, + 118, 116, + 137, + 131, + 80, + 148, 65, - 133, - 50, - 109, - 99, - 85 + 124, + 114, + 100 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 3, + "line": 4, "character": 31 } ], @@ -4718,7 +4574,7 @@ "title": "Classes", "kind": 128, "children": [ - 28 + 53 ] } ], @@ -4731,7 +4587,7 @@ ] }, { - "id": 173, + "id": 188, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -4741,7 +4597,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 174, + "id": 189, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -4750,7 +4606,7 @@ }, "typeParameter": [ { - "id": 175, + "id": 190, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4761,7 +4617,7 @@ ], "children": [ { - "id": 178, + "id": 193, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4770,7 +4626,7 @@ }, "signatures": [ { - "id": 179, + "id": 194, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -4779,7 +4635,7 @@ }, "parameters": [ { - "id": 180, + "id": 195, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -4792,7 +4648,7 @@ } }, { - "id": 181, + "id": 196, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4803,7 +4659,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4812,7 +4668,7 @@ }, "children": [ { - "id": 183, + "id": 198, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4829,7 +4685,7 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4838,7 +4694,7 @@ }, "indexSignature": [ { - "id": 185, + "id": 200, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4847,7 +4703,7 @@ }, "parameters": [ { - "id": 186, + "id": 201, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4870,7 +4726,7 @@ } }, { - "id": 188, + "id": 203, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -4890,7 +4746,7 @@ } }, { - "id": 187, + "id": 202, "name": "schema", "kind": 32, "kindString": "Variable", @@ -4910,7 +4766,7 @@ } }, { - "id": 189, + "id": 204, "name": "table", "kind": 32, "kindString": "Variable", @@ -4935,10 +4791,10 @@ "title": "Variables", "kind": 32, "children": [ - 183, - 188, - 187, - 189 + 198, + 203, + 202, + 204 ] } ], @@ -4955,7 +4811,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 189, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -4977,7 +4833,7 @@ } }, { - "id": 177, + "id": 192, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -4998,7 +4854,7 @@ } }, { - "id": 176, + "id": 191, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -5015,12 +4871,12 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } }, { - "id": 248, + "id": 263, "name": "body", "kind": 1024, "kindString": "Property", @@ -5066,12 +4922,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 248, + "id": 263, "name": "PostgrestBuilder.body" } }, { - "id": 243, + "id": 258, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5089,7 +4945,7 @@ "type": { "type": "reflection", "declaration": { - "id": 244, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5098,7 +4954,7 @@ }, "indexSignature": [ { - "id": 245, + "id": 260, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5107,7 +4963,7 @@ }, "parameters": [ { - "id": 246, + "id": 261, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5137,12 +4993,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 243, + "id": 258, "name": "PostgrestBuilder.headers" } }, { - "id": 241, + "id": 256, "name": "method", "kind": 1024, "kindString": "Property", @@ -5184,12 +5040,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 241, + "id": 256, "name": "PostgrestBuilder.method" } }, { - "id": 247, + "id": 262, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5220,12 +5076,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 247, + "id": 262, "name": "PostgrestBuilder.schema" } }, { - "id": 249, + "id": 264, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -5260,12 +5116,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 249, + "id": 264, "name": "PostgrestBuilder.shouldThrowOnError" } }, { - "id": 242, + "id": 257, "name": "url", "kind": 1024, "kindString": "Property", @@ -5286,12 +5142,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 242, + "id": 257, "name": "PostgrestBuilder.url" } }, { - "id": 235, + "id": 250, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5300,7 +5156,7 @@ }, "signatures": [ { - "id": 236, + "id": 251, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5312,7 +5168,7 @@ }, "parameters": [ { - "id": 237, + "id": 252, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5324,7 +5180,7 @@ "type": { "type": "reflection", "declaration": { - "id": 238, + "id": 253, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5333,7 +5189,7 @@ }, "children": [ { - "id": 240, + "id": 255, "name": "count", "kind": 32, "kindString": "Variable", @@ -5377,7 +5233,7 @@ } }, { - "id": 239, + "id": 254, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5418,8 +5274,8 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 255, + 254 ] } ], @@ -5446,7 +5302,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 235, + "id": 250, "name": "PostgrestQueryBuilder.delete" } } @@ -5460,12 +5316,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 235, + "id": 250, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 204, + "id": 219, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5474,7 +5330,7 @@ }, "signatures": [ { - "id": 205, + "id": 220, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5486,7 +5342,7 @@ }, "parameters": [ { - "id": 206, + "id": 221, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5526,7 +5382,7 @@ } }, { - "id": 207, + "id": 222, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5544,7 +5400,7 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5553,7 +5409,7 @@ }, "children": [ { - "id": 210, + "id": 225, "name": "count", "kind": 32, "kindString": "Variable", @@ -5591,7 +5447,7 @@ } }, { - "id": 209, + "id": 224, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5626,8 +5482,8 @@ "title": "Variables", "kind": 32, "children": [ - 210, - 209 + 225, + 224 ] } ] @@ -5649,12 +5505,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 211, + "id": 226, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5671,7 +5527,7 @@ }, "parameters": [ { - "id": 212, + "id": 227, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5708,7 +5564,7 @@ } }, { - "id": 213, + "id": 228, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5726,7 +5582,7 @@ { "type": "reflection", "declaration": { - "id": 214, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5735,7 +5591,7 @@ }, "children": [ { - "id": 218, + "id": 233, "name": "count", "kind": 32, "kindString": "Variable", @@ -5773,7 +5629,7 @@ } }, { - "id": 216, + "id": 231, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -5803,7 +5659,7 @@ } }, { - "id": 217, + "id": 232, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5833,7 +5689,7 @@ } }, { - "id": 215, + "id": 230, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5872,10 +5728,10 @@ "title": "Variables", "kind": 32, "children": [ - 218, - 216, - 217, - 215 + 233, + 231, + 232, + 230 ] } ] @@ -5897,7 +5753,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } } @@ -5916,12 +5772,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 190, + "id": 205, "name": "on", "kind": 2048, "kindString": "Method", @@ -5930,7 +5786,7 @@ }, "signatures": [ { - "id": 191, + "id": 206, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -5942,7 +5798,7 @@ }, "parameters": [ { - "id": 192, + "id": 207, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5954,12 +5810,12 @@ }, "type": { "type": "reference", - "id": 26, + "id": 51, "name": "SupabaseEventTypes" } }, { - "id": 193, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5972,7 +5828,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5981,7 +5837,7 @@ }, "signatures": [ { - "id": 195, + "id": 210, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5990,7 +5846,7 @@ }, "parameters": [ { - "id": 196, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -5999,7 +5855,7 @@ }, "type": { "type": "reference", - "id": 17, + "id": 42, "typeArguments": [ { "type": "typeParameter", @@ -6029,7 +5885,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } } @@ -6043,7 +5899,7 @@ ] }, { - "id": 197, + "id": 212, "name": "select", "kind": 2048, "kindString": "Method", @@ -6052,7 +5908,7 @@ }, "signatures": [ { - "id": 198, + "id": 213, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6064,7 +5920,7 @@ }, "parameters": [ { - "id": 199, + "id": 214, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6090,7 +5946,7 @@ } }, { - "id": 200, + "id": 215, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6102,7 +5958,7 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 216, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6111,7 +5967,7 @@ }, "children": [ { - "id": 203, + "id": 218, "name": "count", "kind": 32, "kindString": "Variable", @@ -6155,7 +6011,7 @@ } }, { - "id": 202, + "id": 217, "name": "head", "kind": 32, "kindString": "Variable", @@ -6196,8 +6052,8 @@ "title": "Variables", "kind": 32, "children": [ - 203, - 202 + 218, + 217 ] } ], @@ -6224,7 +6080,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 197, + "id": 212, "name": "PostgrestQueryBuilder.select" } } @@ -6238,12 +6094,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 197, + "id": 212, "name": "PostgrestQueryBuilder.select" } }, { - "id": 252, + "id": 267, "name": "then", "kind": 2048, "kindString": "Method", @@ -6252,7 +6108,7 @@ }, "signatures": [ { - "id": 253, + "id": 268, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6261,7 +6117,7 @@ }, "typeParameter": [ { - "id": 254, + "id": 269, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6270,7 +6126,7 @@ } }, { - "id": 255, + "id": 270, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6281,7 +6137,7 @@ ], "parameters": [ { - "id": 256, + "id": 271, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6295,7 +6151,7 @@ { "type": "reflection", "declaration": { - "id": 257, + "id": 272, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6304,7 +6160,7 @@ }, "signatures": [ { - "id": 258, + "id": 273, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6313,7 +6169,7 @@ }, "parameters": [ { - "id": 259, + "id": 274, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6394,7 +6250,7 @@ } }, { - "id": 260, + "id": 275, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6408,7 +6264,7 @@ { "type": "reflection", "declaration": { - "id": 261, + "id": 276, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6417,7 +6273,7 @@ }, "signatures": [ { - "id": 262, + "id": 277, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6426,7 +6282,7 @@ }, "parameters": [ { - "id": 263, + "id": 278, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6524,7 +6380,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 252, + "id": 267, "name": "PostgrestBuilder.then" } } @@ -6538,12 +6394,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 252, + "id": 267, "name": "PostgrestBuilder.then" } }, { - "id": 250, + "id": 265, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6552,7 +6408,7 @@ }, "signatures": [ { - "id": 251, + "id": 266, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6575,7 +6431,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 250, + "id": 265, "name": "PostgrestBuilder.throwOnError" } } @@ -6589,12 +6445,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 250, + "id": 265, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 228, + "id": 243, "name": "update", "kind": 2048, "kindString": "Method", @@ -6603,7 +6459,7 @@ }, "signatures": [ { - "id": 229, + "id": 244, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6615,7 +6471,7 @@ }, "parameters": [ { - "id": 230, + "id": 245, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6637,7 +6493,7 @@ } }, { - "id": 231, + "id": 246, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6649,7 +6505,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 247, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6658,7 +6514,7 @@ }, "children": [ { - "id": 234, + "id": 249, "name": "count", "kind": 32, "kindString": "Variable", @@ -6702,7 +6558,7 @@ } }, { - "id": 233, + "id": 248, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6743,8 +6599,8 @@ "title": "Variables", "kind": 32, "children": [ - 234, - 233 + 249, + 248 ] } ], @@ -6771,7 +6627,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 228, + "id": 243, "name": "PostgrestQueryBuilder.update" } } @@ -6785,12 +6641,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 228, + "id": 243, "name": "PostgrestQueryBuilder.update" } }, { - "id": 219, + "id": 234, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -6799,7 +6655,7 @@ }, "signatures": [ { - "id": 220, + "id": 235, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -6811,7 +6667,7 @@ }, "parameters": [ { - "id": 221, + "id": 236, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6851,7 +6707,7 @@ } }, { - "id": 222, + "id": 237, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6863,7 +6719,7 @@ "type": { "type": "reflection", "declaration": { - "id": 223, + "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6872,7 +6728,7 @@ }, "children": [ { - "id": 226, + "id": 241, "name": "count", "kind": 32, "kindString": "Variable", @@ -6916,7 +6772,7 @@ } }, { - "id": 227, + "id": 242, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -6952,7 +6808,7 @@ } }, { - "id": 224, + "id": 239, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6984,7 +6840,7 @@ } }, { - "id": 225, + "id": 240, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7025,10 +6881,10 @@ "title": "Variables", "kind": 32, "children": [ - 226, - 227, - 224, - 225 + 241, + 242, + 239, + 240 ] } ], @@ -7055,7 +6911,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 234, "name": "PostgrestQueryBuilder.upsert" } } @@ -7069,7 +6925,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 219, + "id": 234, "name": "PostgrestQueryBuilder.upsert" } } @@ -7079,35 +6935,35 @@ "title": "Constructors", "kind": 512, "children": [ - 178 + 193 ] }, { "title": "Properties", "kind": 1024, "children": [ - 177, - 176, - 248, - 243, - 241, - 247, - 249, - 242 + 192, + 191, + 263, + 258, + 256, + 262, + 264, + 257 ] }, { "title": "Methods", "kind": 2048, "children": [ - 235, - 204, - 190, - 197, - 252, 250, - 228, - 219 + 219, + 205, + 212, + 267, + 265, + 243, + 234 ] } ], @@ -7155,7 +7011,7 @@ "title": "Classes", "kind": 128, "children": [ - 174 + 189 ] } ], @@ -7168,7 +7024,7 @@ ] }, { - "id": 147, + "id": 162, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -7178,7 +7034,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -7187,7 +7043,7 @@ }, "children": [ { - "id": 150, + "id": 165, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7196,7 +7052,7 @@ }, "signatures": [ { - "id": 151, + "id": 166, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -7205,7 +7061,7 @@ }, "parameters": [ { - "id": 152, + "id": 167, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -7218,7 +7074,7 @@ } }, { - "id": 153, + "id": 168, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -7231,7 +7087,7 @@ } }, { - "id": 154, + "id": 169, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -7246,7 +7102,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } } @@ -7260,7 +7116,7 @@ ] }, { - "id": 149, + "id": 164, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -7280,7 +7136,7 @@ } }, { - "id": 155, + "id": 170, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -7290,7 +7146,7 @@ }, "signatures": [ { - "id": 156, + "id": 171, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -7299,7 +7155,7 @@ }, "parameters": [ { - "id": 157, + "id": 172, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7315,7 +7171,7 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 173, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7324,7 +7180,7 @@ }, "children": [ { - "id": 159, + "id": 174, "name": "new", "kind": 32, "kindString": "Variable", @@ -7341,7 +7197,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 175, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7352,7 +7208,7 @@ } }, { - "id": 161, + "id": 176, "name": "old", "kind": 32, "kindString": "Variable", @@ -7369,7 +7225,7 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7385,8 +7241,8 @@ "title": "Variables", "kind": 32, "children": [ - 159, - 161 + 174, + 176 ] } ] @@ -7403,7 +7259,7 @@ ] }, { - "id": 163, + "id": 178, "name": "on", "kind": 2048, "kindString": "Method", @@ -7412,7 +7268,7 @@ }, "signatures": [ { - "id": 164, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7424,7 +7280,7 @@ }, "parameters": [ { - "id": 165, + "id": 180, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -7436,12 +7292,12 @@ }, "type": { "type": "reference", - "id": 26, + "id": 51, "name": "SupabaseEventTypes" } }, { - "id": 166, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7454,7 +7310,7 @@ "type": { "type": "reflection", "declaration": { - "id": 167, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7463,7 +7319,7 @@ }, "signatures": [ { - "id": 168, + "id": 183, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7472,7 +7328,7 @@ }, "parameters": [ { - "id": 169, + "id": 184, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7481,7 +7337,7 @@ }, "type": { "type": "reference", - "id": 17, + "id": 42, "typeArguments": [ { "type": "intrinsic", @@ -7524,7 +7380,7 @@ ] }, { - "id": 170, + "id": 185, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7533,7 +7389,7 @@ }, "signatures": [ { - "id": 171, + "id": 186, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7545,7 +7401,7 @@ }, "parameters": [ { - "id": 172, + "id": 187, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7579,23 +7435,23 @@ "title": "Constructors", "kind": 512, "children": [ - 150 + 165 ] }, { "title": "Properties", "kind": 1024, "children": [ - 149 + 164 ] }, { "title": "Methods", "kind": 2048, "children": [ - 155, - 163, - 170 + 170, + 178, + 185 ] } ], @@ -7613,7 +7469,7 @@ "title": "Classes", "kind": 128, "children": [ - 148 + 163 ] } ], @@ -7626,7 +7482,7 @@ ] }, { - "id": 1, + "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -7636,14 +7492,46 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/constants.ts", "children": [ { - "id": 2, + "id": 4, "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", + "kind": 2097152, + "kindString": "Object literal", "flags": { "isExported": true, "isConst": true }, + "children": [ + { + "id": 5, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`supabase-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 5 + ] + } + ], "sources": [ { "fileName": "src/lib/constants.ts", @@ -7652,25 +7540,17 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 3, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - } - } + "type": "intrinsic", + "name": "object" } } ], "groups": [ { - "title": "Variables", - "kind": 32, + "title": "Object literals", + "kind": 2097152, "children": [ - 2 + 4 ] } ], @@ -7683,7 +7563,7 @@ ] }, { - "id": 337, + "id": 356, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7693,7 +7573,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 338, + "id": 357, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7702,7 +7582,7 @@ }, "signatures": [ { - "id": 339, + "id": 358, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7729,7 +7609,7 @@ "title": "Functions", "kind": 64, "children": [ - 338 + 357 ] } ], @@ -7742,7 +7622,7 @@ ] }, { - "id": 4, + "id": 6, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", @@ -7752,7 +7632,631 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts", "children": [ { - "id": 5, + "id": 7, + "name": "SupabaseAuthClientOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 25, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 15, + "name": "__type.autoRefreshToken" + } + }, + { + "id": 28, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 46, + "character": 21 + } + ], + "type": { + "type": "reference", + "name": "CookieOptions" + }, + "inheritedFrom": { + "type": "reference", + "id": 18, + "name": "__type.cookieOptions" + } + }, + { + "id": 24, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 42, + "character": 26 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 14, + "name": "__type.detectSessionInUrl" + } + }, + { + "id": 20, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 22, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 23, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 10, + "name": "__type.headers" + } + }, + { + "id": 27, + "name": "localStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 45, + "character": 20 + } + ], + "type": { + "type": "reference", + "name": "SupportedStorage" + }, + "inheritedFrom": { + "type": "reference", + "id": 17, + "name": "__type.localStorage" + } + }, + { + "id": 26, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 44, + "character": 22 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 16, + "name": "__type.persistSession" + } + }, + { + "id": 19, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 38, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 9, + "name": "__type.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 25, + 28, + 24, + 20, + 27, + 26, + 19 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 42 + } + ], + "extendedTypes": [ + { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 15, + "name": "autoRefreshToken", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 18, + "name": "cookieOptions", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 46, + "character": 21 + } + ], + "type": { + "type": "reference", + "name": "CookieOptions" + } + }, + { + "id": 14, + "name": "detectSessionInUrl", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 42, + "character": 26 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 10, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 11, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 12, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 13, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 17, + "name": "localStorage", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 45, + "character": 20 + } + ], + "type": { + "type": "reference", + "name": "SupportedStorage" + } + }, + { + "id": 16, + "name": "persistSession", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 44, + "character": 22 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 9, + "name": "url", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 38, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 15, + 18, + 14, + 10, + 17, + 16, + 9 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 50 + } + ] + } + } + ] + }, + { + "id": 29, + "name": "GoTrueClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 4, + "character": 24 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "unknown", + "name": "0" + }, + "objectType": { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "GoTrueClient" + } + } + ], + "name": "ConstructorParameters" + } + } + }, + { + "id": 30, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -7762,14 +8266,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 3, + "line": 8, "character": 33 } ], "type": { "type": "reflection", "declaration": { - "id": 6, + "id": 31, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7778,7 +8282,7 @@ }, "children": [ { - "id": 12, + "id": 37, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -7792,7 +8296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 20, "character": 18 } ], @@ -7815,7 +8319,7 @@ } }, { - "id": 14, + "id": 39, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -7829,7 +8333,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 23, + "line": 28, "character": 20 } ], @@ -7852,7 +8356,7 @@ } }, { - "id": 8, + "id": 33, "name": "headers", "kind": 32, "kindString": "Variable", @@ -7866,7 +8370,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 11, + "line": 16, "character": 9 } ], @@ -7880,7 +8384,7 @@ { "type": "reflection", "declaration": { - "id": 9, + "id": 34, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7889,7 +8393,7 @@ }, "indexSignature": [ { - "id": 10, + "id": 35, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7898,7 +8402,7 @@ }, "parameters": [ { - "id": 11, + "id": 36, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7923,7 +8427,7 @@ } }, { - "id": 15, + "id": 40, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -7937,17 +8441,24 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 27, + "line": 32, "character": 14 } ], "type": { - "type": "reference", - "name": "Storage" + "type": "indexedAccess", + "indexType": { + "type": "stringLiteral", + "value": "localStorage" + }, + "objectType": { + "type": "reference", + "name": "SupabaseAuthClientOptions" + } } }, { - "id": 13, + "id": 38, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -7961,7 +8472,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 19, + "line": 24, "character": 16 } ], @@ -7984,7 +8495,7 @@ } }, { - "id": 16, + "id": 41, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -7998,7 +8509,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 37, "character": 10 } ], @@ -8008,7 +8519,7 @@ } }, { - "id": 7, + "id": 32, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8022,7 +8533,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 12, "character": 8 } ], @@ -8046,20 +8557,20 @@ "title": "Variables", "kind": 32, "children": [ - 12, - 14, - 8, - 15, - 13, - 16, - 7 + 37, + 39, + 33, + 40, + 38, + 41, + 32 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 3, + "line": 8, "character": 35 } ] @@ -8067,7 +8578,7 @@ } }, { - "id": 26, + "id": 51, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", @@ -8077,7 +8588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 51, "character": 30 } ], @@ -8104,7 +8615,7 @@ } }, { - "id": 17, + "id": 42, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", @@ -8113,7 +8624,7 @@ }, "typeParameter": [ { - "id": 18, + "id": 43, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8125,14 +8636,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 35, + "line": 40, "character": 35 } ], "type": { "type": "reflection", "declaration": { - "id": 19, + "id": 44, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8141,7 +8652,7 @@ }, "children": [ { - "id": 20, + "id": 45, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", @@ -8151,7 +8662,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 41, "character": 18 } ], @@ -8161,7 +8672,7 @@ } }, { - "id": 21, + "id": 46, "name": "eventType", "kind": 32, "kindString": "Variable", @@ -8171,7 +8682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 37, + "line": 42, "character": 11 } ], @@ -8194,7 +8705,7 @@ } }, { - "id": 24, + "id": 49, "name": "new", "kind": 32, "kindString": "Variable", @@ -8207,7 +8718,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 46, "character": 5 } ], @@ -8217,7 +8728,7 @@ } }, { - "id": 25, + "id": 50, "name": "old", "kind": 32, "kindString": "Variable", @@ -8230,7 +8741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 43, + "line": 48, "character": 5 } ], @@ -8240,7 +8751,7 @@ } }, { - "id": 22, + "id": 47, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8250,7 +8761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 43, "character": 8 } ], @@ -8260,7 +8771,7 @@ } }, { - "id": 23, + "id": 48, "name": "table", "kind": 32, "kindString": "Variable", @@ -8270,7 +8781,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 39, + "line": 44, "character": 7 } ], @@ -8285,19 +8796,19 @@ "title": "Variables", "kind": 32, "children": [ - 20, - 21, - 24, - 25, - 22, - 23 + 45, + 46, + 49, + 50, + 47, + 48 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 35, + "line": 40, "character": 40 } ] @@ -8306,13 +8817,21 @@ } ], "groups": [ + { + "title": "Interfaces", + "kind": 256, + "children": [ + 7 + ] + }, { "title": "Type aliases", "kind": 4194304, "children": [ - 5, - 26, - 17 + 29, + 30, + 51, + 42 ] } ], @@ -8323,6 +8842,56 @@ "character": 0 } ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -8330,14 +8899,15 @@ "title": "Modules", "kind": 1, "children": [ - 264, - 331, - 27, - 173, - 147, - 1, - 337, - 4 + 279, + 350, + 52, + 188, + 162, + 3, + 356, + 6, + 1 ] } ] diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml index 13cc952a018..58fed6b5e8c 100644 --- a/web/spec/supabase.yml +++ b/web/spec/supabase.yml @@ -23,7 +23,7 @@ info: docs: path: reference/javascript/ sidebar: - - name: 'About' + - name: 'Getting Started' items: - index - Installing @@ -40,7 +40,7 @@ info: - auth.onAuthStateChange() - Reset Password (Email) - Delete User - - name: 'Data' + - name: 'Database' items: - select() - insert()