Skip to content

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

docs: update specs

Beng Eue17550f2ee61
diff --git a/web/spec/combined.json b/web/spec/combined.json
index 1951e2dc901..ec9182c2533 100644
--- a/web/spec/combined.json
+++ b/web/spec/combined.json
@@ -9,7 +9,7 @@
"originalName": "",
"children": [
{
- "id": 247,
+ "id": 248,
"name": "\"SupabaseClient\"",
"kind": 1,
"kindString": "Module",
@@ -19,7 +19,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts",
"children": [
{
- "id": 248,
+ "id": 249,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -32,7 +32,7 @@
},
"children": [
{
- "id": 256,
+ "id": 257,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -44,7 +44,7 @@
},
"signatures": [
{
- "id": 259,
+ "id": 260,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -56,7 +56,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 261,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -72,7 +72,7 @@
}
},
{
- "id": 261,
+ "id": 262,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -88,7 +88,7 @@
}
},
{
- "id": 262,
+ "id": 263,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -105,7 +105,7 @@
],
"type": {
"type": "reference",
- "id": 248,
+ "id": 249,
"name": "SupabaseClient"
}
}
@@ -119,7 +119,7 @@
]
},
{
- "id": 249,
+ "id": 250,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -138,12 +138,12 @@
],
"type": {
"type": "reference",
- "id": 27,
+ "id": 28,
"name": "SupabaseAuthClient"
}
},
{
- "id": 253,
+ "id": 254,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -164,7 +164,7 @@
}
},
{
- "id": 255,
+ "id": 256,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -185,7 +185,7 @@
}
},
{
- "id": 252,
+ "id": 253,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
@@ -206,7 +206,7 @@
}
},
{
- "id": 251,
+ "id": 252,
"name": "restUrl",
"kind": 1024,
"kindString": "Property",
@@ -227,7 +227,7 @@
}
},
{
- "id": 250,
+ "id": 251,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -248,7 +248,7 @@
}
},
{
- "id": 254,
+ "id": 255,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -269,7 +269,7 @@
}
},
{
- "id": 258,
+ "id": 259,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -284,7 +284,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 48,
+ "line": 49,
"character": 25
}
],
@@ -294,7 +294,7 @@
}
},
{
- "id": 257,
+ "id": 258,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -309,7 +309,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 47,
+ "line": 48,
"character": 25
}
],
@@ -319,7 +319,7 @@
}
},
{
- "id": 263,
+ "id": 264,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -331,7 +331,7 @@
},
"getSignature": [
{
- "id": 264,
+ "id": 265,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
@@ -350,13 +350,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 73,
+ "line": 74,
"character": 13
}
]
},
{
- "id": 299,
+ "id": 301,
"name": "_closeChannel",
"kind": 2048,
"kindString": "Method",
@@ -366,7 +366,7 @@
},
"signatures": [
{
- "id": 300,
+ "id": 302,
"name": "_closeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -375,7 +375,7 @@
},
"parameters": [
{
- "id": 301,
+ "id": 303,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -403,13 +403,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 178,
+ "line": 180,
"character": 23
}
]
},
{
- "id": 277,
+ "id": 278,
"name": "_closeSubscription",
"kind": 2048,
"kindString": "Method",
@@ -419,7 +419,7 @@
},
"signatures": [
{
- "id": 278,
+ "id": 279,
"name": "_closeSubscription",
"kind": 4096,
"kindString": "Call signature",
@@ -428,7 +428,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 280,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -456,13 +456,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 125,
+ "line": 126,
"character": 34
}
]
},
{
- "id": 294,
+ "id": 296,
"name": "_getAuthHeaders",
"kind": 2048,
"kindString": "Method",
@@ -472,7 +472,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 297,
"name": "_getAuthHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -482,7 +482,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -491,7 +491,7 @@
},
"indexSignature": [
{
- "id": 297,
+ "id": 299,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -500,7 +500,7 @@
},
"parameters": [
{
- "id": 298,
+ "id": 300,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -522,7 +522,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 170,
+ "line": 172,
"character": 28
}
]
@@ -533,13 +533,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 170,
+ "line": 172,
"character": 25
}
]
},
{
- "id": 292,
+ "id": 294,
"name": "_initPostgRESTClient",
"kind": 2048,
"kindString": "Method",
@@ -549,7 +549,7 @@
},
"signatures": [
{
- "id": 293,
+ "id": 295,
"name": "_initPostgRESTClient",
"kind": 4096,
"kindString": "Call signature",
@@ -565,13 +565,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 163,
+ "line": 165,
"character": 30
}
]
},
{
- "id": 290,
+ "id": 291,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -581,13 +581,29 @@
},
"signatures": [
{
- "id": 291,
+ "id": 292,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
+ "parameters": [
+ {
+ "id": 293,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClientOptions"
+ }
+ }
+ ],
"type": {
"type": "reference",
"name": "RealtimeClient"
@@ -597,13 +613,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 157,
+ "line": 158,
"character": 29
}
]
},
{
- "id": 282,
+ "id": 283,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -613,7 +629,7 @@
},
"signatures": [
{
- "id": 283,
+ "id": 284,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
@@ -622,7 +638,7 @@
},
"parameters": [
{
- "id": 284,
+ "id": 285,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -633,7 +649,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 285,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -642,7 +658,7 @@
},
"children": [
{
- "id": 286,
+ "id": 287,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -652,7 +668,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 139,
+ "line": 140,
"character": 20
}
],
@@ -675,7 +691,7 @@
}
},
{
- "id": 288,
+ "id": 289,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -685,7 +701,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 141,
+ "line": 142,
"character": 22
}
],
@@ -708,7 +724,7 @@
}
},
{
- "id": 289,
+ "id": 290,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -718,7 +734,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 142,
+ "line": 143,
"character": 16
}
],
@@ -737,7 +753,7 @@
}
},
{
- "id": 287,
+ "id": 288,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -747,7 +763,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 140,
+ "line": 141,
"character": 18
}
],
@@ -775,17 +791,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 286,
- 288,
+ 287,
289,
- 287
+ 290,
+ 288
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 138,
+ "line": 139,
"character": 34
}
]
@@ -795,7 +811,7 @@
],
"type": {
"type": "reference",
- "id": 27,
+ "id": 28,
"name": "SupabaseAuthClient"
}
}
@@ -803,13 +819,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 138,
+ "line": 139,
"character": 33
}
]
},
{
- "id": 265,
+ "id": 266,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -818,7 +834,7 @@
},
"signatures": [
{
- "id": 266,
+ "id": 267,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -830,7 +846,7 @@
},
"typeParameter": [
{
- "id": 267,
+ "id": 268,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -841,7 +857,7 @@
],
"parameters": [
{
- "id": 268,
+ "id": 269,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -859,7 +875,7 @@
],
"type": {
"type": "reference",
- "id": 157,
+ "id": 158,
"typeArguments": [
{
"type": "typeParameter",
@@ -877,13 +893,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 82,
+ "line": 83,
"character": 6
}
]
},
{
- "id": 280,
+ "id": 281,
"name": "getSubscriptions",
"kind": 2048,
"kindString": "Method",
@@ -892,7 +908,7 @@
},
"signatures": [
{
- "id": 281,
+ "id": 282,
"name": "getSubscriptions",
"kind": 4096,
"kindString": "Call signature",
@@ -914,13 +930,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 134,
+ "line": 135,
"character": 18
}
]
},
{
- "id": 274,
+ "id": 275,
"name": "removeSubscription",
"kind": 2048,
"kindString": "Method",
@@ -929,7 +945,7 @@
},
"signatures": [
{
- "id": 275,
+ "id": 276,
"name": "removeSubscription",
"kind": 4096,
"kindString": "Call signature",
@@ -941,7 +957,7 @@
},
"parameters": [
{
- "id": 276,
+ "id": 277,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -972,13 +988,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 108,
+ "line": 109,
"character": 20
}
]
},
{
- "id": 269,
+ "id": 270,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -987,7 +1003,7 @@
},
"signatures": [
{
- "id": 270,
+ "id": 271,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -999,7 +1015,7 @@
},
"typeParameter": [
{
- "id": 271,
+ "id": 272,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -1010,7 +1026,7 @@
],
"parameters": [
{
- "id": 272,
+ "id": 273,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -1026,7 +1042,7 @@
}
},
{
- "id": 273,
+ "id": 274,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -1067,7 +1083,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 98,
+ "line": 99,
"character": 5
}
]
@@ -1078,45 +1094,45 @@
"title": "Constructors",
"kind": 512,
"children": [
- 256
+ 257
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 249,
+ 250,
+ 254,
+ 256,
253,
- 255,
252,
251,
- 250,
- 254,
- 258,
- 257
+ 255,
+ 259,
+ 258
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
- 263
+ 264
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 299,
- 277,
+ 301,
+ 278,
+ 296,
294,
- 292,
- 290,
- 282,
- 265,
- 280,
- 274,
- 269
+ 291,
+ 283,
+ 266,
+ 281,
+ 275,
+ 270
]
}
],
@@ -1129,7 +1145,7 @@
]
},
{
- "id": 302,
+ "id": 304,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -1138,7 +1154,7 @@
},
"children": [
{
- "id": 304,
+ "id": 306,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -1157,7 +1173,7 @@
"defaultValue": "true"
},
{
- "id": 306,
+ "id": 308,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -1176,7 +1192,7 @@
"defaultValue": "true"
},
{
- "id": 308,
+ "id": 310,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -1191,7 +1207,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 309,
+ "id": 311,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1201,7 +1217,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 307,
+ "id": 309,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -1220,7 +1236,7 @@
"defaultValue": "globalThis.localStorage"
},
{
- "id": 305,
+ "id": 307,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -1239,7 +1255,7 @@
"defaultValue": "true"
},
{
- "id": 303,
+ "id": 305,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -1263,12 +1279,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 304,
306,
308,
+ 310,
+ 309,
307,
- 305,
- 303
+ 305
]
}
],
@@ -1290,14 +1306,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 248
+ 249
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 302
+ 304
]
}
],
@@ -1310,7 +1326,7 @@
]
},
{
- "id": 310,
+ "id": 312,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -1320,7 +1336,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts",
"children": [
{
- "id": 311,
+ "id": 313,
"name": "createClient",
"kind": 64,
"kindString": "Function",
@@ -1333,7 +1349,7 @@
},
"signatures": [
{
- "id": 312,
+ "id": 314,
"name": "createClient",
"kind": 4096,
"kindString": "Call signature",
@@ -1345,7 +1361,7 @@
},
"parameters": [
{
- "id": 313,
+ "id": 315,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -1358,7 +1374,7 @@
}
},
{
- "id": 314,
+ "id": 316,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -1371,7 +1387,7 @@
}
},
{
- "id": 315,
+ "id": 317,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1388,7 +1404,7 @@
],
"type": {
"type": "reference",
- "id": 248,
+ "id": 249,
"name": "SupabaseClient"
}
}
@@ -1407,7 +1423,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 311
+ 313
]
}
],
@@ -1420,7 +1436,7 @@
]
},
{
- "id": 26,
+ "id": 27,
"name": "\"lib/SupabaseAuthClient\"",
"kind": 1,
"kindString": "Module",
@@ -1430,7 +1446,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts",
"children": [
{
- "id": 27,
+ "id": 28,
"name": "SupabaseAuthClient",
"kind": 128,
"kindString": "Class",
@@ -1439,7 +1455,7 @@
},
"children": [
{
- "id": 28,
+ "id": 29,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1448,7 +1464,7 @@
},
"signatures": [
{
- "id": 29,
+ "id": 30,
"name": "new SupabaseAuthClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -1457,7 +1473,7 @@
},
"parameters": [
{
- "id": 30,
+ "id": 31,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1467,7 +1483,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 31,
+ "id": 32,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1476,7 +1492,7 @@
},
"children": [
{
- "id": 38,
+ "id": 39,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -1510,7 +1526,7 @@
}
},
{
- "id": 37,
+ "id": 38,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -1544,7 +1560,7 @@
}
},
{
- "id": 33,
+ "id": 34,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -1569,7 +1585,7 @@
{
"type": "reflection",
"declaration": {
- "id": 34,
+ "id": 35,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1578,7 +1594,7 @@
},
"indexSignature": [
{
- "id": 35,
+ "id": 36,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -1587,7 +1603,7 @@
},
"parameters": [
{
- "id": 36,
+ "id": 37,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -1612,7 +1628,7 @@
}
},
{
- "id": 40,
+ "id": 41,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -1633,7 +1649,7 @@
}
},
{
- "id": 39,
+ "id": 40,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -1667,7 +1683,7 @@
}
},
{
- "id": 32,
+ "id": 33,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -1702,12 +1718,12 @@
"title": "Variables",
"kind": 32,
"children": [
+ 39,
38,
- 37,
- 33,
+ 34,
+ 41,
40,
- 39,
- 32
+ 33
]
}
],
@@ -1724,7 +1740,7 @@
],
"type": {
"type": "reference",
- "id": 27,
+ "id": 28,
"name": "SupabaseAuthClient"
},
"overwrites": {
@@ -1746,7 +1762,7 @@
}
},
{
- "id": 41,
+ "id": 42,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -1769,12 +1785,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 42,
"name": "GoTrueClient.api"
}
},
{
- "id": 44,
+ "id": 45,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -1795,12 +1811,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 44,
+ "id": 45,
"name": "GoTrueClient.autoRefreshToken"
}
},
{
- "id": 43,
+ "id": 44,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -1833,12 +1849,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 43,
+ "id": 44,
"name": "GoTrueClient.currentSession"
}
},
{
- "id": 42,
+ "id": 43,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -1871,12 +1887,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 42,
+ "id": 43,
"name": "GoTrueClient.currentUser"
}
},
{
- "id": 46,
+ "id": 47,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -1897,12 +1913,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 46,
+ "id": 47,
"name": "GoTrueClient.localStorage"
}
},
{
- "id": 45,
+ "id": 46,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -1923,12 +1939,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 46,
"name": "GoTrueClient.persistSession"
}
},
{
- "id": 48,
+ "id": 49,
"name": "refreshTokenTimer",
"kind": 1024,
"kindString": "Property",
@@ -1959,12 +1975,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 48,
+ "id": 49,
"name": "GoTrueClient.refreshTokenTimer"
}
},
{
- "id": 47,
+ "id": 48,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -1995,12 +2011,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 47,
+ "id": 48,
"name": "GoTrueClient.stateChangeEmitters"
}
},
{
- "id": 108,
+ "id": 109,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -2009,7 +2025,7 @@
},
"signatures": [
{
- "id": 109,
+ "id": 110,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -2021,7 +2037,7 @@
},
"parameters": [
{
- "id": 110,
+ "id": 111,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2039,7 +2055,7 @@
{
"type": "reflection",
"declaration": {
- "id": 111,
+ "id": 112,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2048,7 +2064,7 @@
},
"children": [
{
- "id": 112,
+ "id": 113,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -2090,7 +2106,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 112
+ 113
]
}
]
@@ -2106,7 +2122,7 @@
{
"type": "reflection",
"declaration": {
- "id": 113,
+ "id": 114,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2115,7 +2131,7 @@
},
"children": [
{
- "id": 114,
+ "id": 115,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2144,7 +2160,7 @@
}
},
{
- "id": 115,
+ "id": 116,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2178,8 +2194,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 114,
- 115
+ 115,
+ 116
]
}
],
@@ -2197,7 +2213,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "GoTrueClient.getSessionFromUrl"
}
}
@@ -2211,12 +2227,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "GoTrueClient.getSessionFromUrl"
}
},
{
- "id": 120,
+ "id": 121,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -2225,7 +2241,7 @@
},
"signatures": [
{
- "id": 121,
+ "id": 122,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -2238,7 +2254,7 @@
},
"parameters": [
{
- "id": 122,
+ "id": 123,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -2248,7 +2264,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 123,
+ "id": 124,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2257,7 +2273,7 @@
},
"signatures": [
{
- "id": 124,
+ "id": 125,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -2266,7 +2282,7 @@
},
"parameters": [
{
- "id": 125,
+ "id": 126,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -2279,7 +2295,7 @@
}
},
{
- "id": 126,
+ "id": 127,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -2321,7 +2337,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 127,
+ "id": 128,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2330,7 +2346,7 @@
},
"children": [
{
- "id": 128,
+ "id": 129,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2359,7 +2375,7 @@
}
},
{
- "id": 129,
+ "id": 130,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2393,8 +2409,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 128,
- 129
+ 129,
+ 130
]
}
],
@@ -2409,7 +2425,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 120,
+ "id": 121,
"name": "GoTrueClient.onAuthStateChange"
}
}
@@ -2423,12 +2439,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 120,
+ "id": 121,
"name": "GoTrueClient.onAuthStateChange"
}
},
{
- "id": 86,
+ "id": 87,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -2437,7 +2453,7 @@
},
"signatures": [
{
- "id": 87,
+ "id": 88,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2453,7 +2469,7 @@
{
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 89,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2462,7 +2478,7 @@
},
"children": [
{
- "id": 89,
+ "id": 90,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2491,7 +2507,7 @@
}
},
{
- "id": 91,
+ "id": 92,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2520,7 +2536,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2554,9 +2570,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 89,
- 91,
- 90
+ 90,
+ 92,
+ 91
]
}
],
@@ -2574,7 +2590,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "GoTrueClient.refreshSession"
}
}
@@ -2588,12 +2604,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "GoTrueClient.refreshSession"
}
},
{
- "id": 84,
+ "id": 85,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -2602,7 +2618,7 @@
},
"signatures": [
{
- "id": 85,
+ "id": 86,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -2627,7 +2643,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 84,
+ "id": 85,
"name": "GoTrueClient.session"
}
}
@@ -2641,12 +2657,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 84,
+ "id": 85,
"name": "GoTrueClient.session"
}
},
{
- "id": 105,
+ "id": 106,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -2655,7 +2671,7 @@
},
"signatures": [
{
- "id": 106,
+ "id": 107,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -2667,7 +2683,7 @@
},
"parameters": [
{
- "id": 107,
+ "id": 108,
"name": "access_token",
"kind": 32768,
"kindString": "Parameter",
@@ -2689,7 +2705,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 105,
+ "id": 106,
"name": "GoTrueClient.setAuth"
}
}
@@ -2703,12 +2719,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 105,
+ "id": 106,
"name": "GoTrueClient.setAuth"
}
},
{
- "id": 99,
+ "id": 100,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -2717,7 +2733,7 @@
},
"signatures": [
{
- "id": 100,
+ "id": 101,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2729,7 +2745,7 @@
},
"parameters": [
{
- "id": 101,
+ "id": 102,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -2751,7 +2767,7 @@
{
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2760,7 +2776,7 @@
},
"children": [
{
- "id": 104,
+ "id": 105,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2789,7 +2805,7 @@
}
},
{
- "id": 103,
+ "id": 104,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -2823,8 +2839,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 104,
- 103
+ 105,
+ 104
]
}
],
@@ -2842,7 +2858,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 99,
+ "id": 100,
"name": "GoTrueClient.setSession"
}
}
@@ -2856,12 +2872,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 99,
+ "id": 100,
"name": "GoTrueClient.setSession"
}
},
{
- "id": 63,
+ "id": 64,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -2870,7 +2886,7 @@
},
"signatures": [
{
- "id": 64,
+ "id": 65,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -2882,7 +2898,7 @@
},
"parameters": [
{
- "id": 65,
+ "id": 66,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -2893,7 +2909,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 66,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2902,7 +2918,7 @@
},
"children": [
{
- "id": 67,
+ "id": 68,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -2934,7 +2950,7 @@
}
},
{
- "id": 68,
+ "id": 69,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -2966,7 +2982,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3030,7 +3046,7 @@
}
},
{
- "id": 69,
+ "id": 70,
"name": "refreshToken",
"kind": 32,
"kindString": "Variable",
@@ -3067,10 +3083,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 67,
68,
- 70,
- 69
+ 69,
+ 71,
+ 70
]
}
],
@@ -3085,7 +3101,7 @@
}
},
{
- "id": 71,
+ "id": 72,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3103,7 +3119,7 @@
{
"type": "reflection",
"declaration": {
- "id": 72,
+ "id": 73,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3112,7 +3128,7 @@
},
"children": [
{
- "id": 73,
+ "id": 74,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3142,7 +3158,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -3177,8 +3193,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 73,
- 74
+ 74,
+ 75
]
}
]
@@ -3194,7 +3210,7 @@
{
"type": "reflection",
"declaration": {
- "id": 75,
+ "id": 76,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3203,7 +3219,7 @@
},
"children": [
{
- "id": 81,
+ "id": 82,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3232,7 +3248,7 @@
}
},
{
- "id": 80,
+ "id": 81,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3261,7 +3277,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3282,7 +3298,7 @@
}
},
{
- "id": 76,
+ "id": 77,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3311,7 +3327,7 @@
}
},
{
- "id": 79,
+ "id": 80,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -3341,7 +3357,7 @@
}
},
{
- "id": 77,
+ "id": 78,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3375,12 +3391,12 @@
"title": "Variables",
"kind": 32,
"children": [
+ 82,
81,
- 80,
- 78,
- 76,
79,
- 77
+ 77,
+ 80,
+ 78
]
}
],
@@ -3398,7 +3414,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 63,
+ "id": 64,
"name": "GoTrueClient.signIn"
}
}
@@ -3412,12 +3428,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 63,
+ "id": 64,
"name": "GoTrueClient.signIn"
}
},
{
- "id": 116,
+ "id": 117,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -3426,7 +3442,7 @@
},
"signatures": [
{
- "id": 117,
+ "id": 118,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -3443,7 +3459,7 @@
{
"type": "reflection",
"declaration": {
- "id": 118,
+ "id": 119,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3452,7 +3468,7 @@
},
"children": [
{
- "id": 119,
+ "id": 120,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3486,7 +3502,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 119
+ 120
]
}
],
@@ -3504,7 +3520,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 116,
+ "id": 117,
"name": "GoTrueClient.signOut"
}
}
@@ -3518,12 +3534,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 116,
+ "id": 117,
"name": "GoTrueClient.signOut"
}
},
{
- "id": 49,
+ "id": 50,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -3532,7 +3548,7 @@
},
"signatures": [
{
- "id": 50,
+ "id": 51,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -3544,7 +3560,7 @@
},
"parameters": [
{
- "id": 51,
+ "id": 52,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3555,7 +3571,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 52,
+ "id": 53,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3564,7 +3580,7 @@
},
"children": [
{
- "id": 53,
+ "id": 54,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -3596,7 +3612,7 @@
}
},
{
- "id": 54,
+ "id": 55,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -3633,8 +3649,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 53,
- 54
+ 54,
+ 55
]
}
],
@@ -3649,7 +3665,7 @@
}
},
{
- "id": 55,
+ "id": 56,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3667,7 +3683,7 @@
{
"type": "reflection",
"declaration": {
- "id": 56,
+ "id": 57,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3676,7 +3692,7 @@
},
"children": [
{
- "id": 57,
+ "id": 58,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3711,7 +3727,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 57
+ 58
]
}
]
@@ -3727,7 +3743,7 @@
{
"type": "reflection",
"declaration": {
- "id": 58,
+ "id": 59,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3736,7 +3752,7 @@
},
"children": [
{
- "id": 62,
+ "id": 63,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3769,7 +3785,7 @@
}
},
{
- "id": 61,
+ "id": 62,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3798,7 +3814,7 @@
}
},
{
- "id": 60,
+ "id": 61,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3827,7 +3843,7 @@
}
},
{
- "id": 59,
+ "id": 60,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3861,10 +3877,10 @@
"title": "Variables",
"kind": 32,
"children": [
+ 63,
62,
61,
- 60,
- 59
+ 60
]
}
],
@@ -3882,7 +3898,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 50,
"name": "GoTrueClient.signUp"
}
}
@@ -3896,12 +3912,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 50,
"name": "GoTrueClient.signUp"
}
},
{
- "id": 92,
+ "id": 93,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -3910,7 +3926,7 @@
},
"signatures": [
{
- "id": 93,
+ "id": 94,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -3922,7 +3938,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 95,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -3941,7 +3957,7 @@
{
"type": "reflection",
"declaration": {
- "id": 95,
+ "id": 96,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3950,7 +3966,7 @@
},
"children": [
{
- "id": 96,
+ "id": 97,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3979,7 +3995,7 @@
}
},
{
- "id": 98,
+ "id": 99,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4008,7 +4024,7 @@
}
},
{
- "id": 97,
+ "id": 98,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4042,9 +4058,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 96,
- 98,
- 97
+ 97,
+ 99,
+ 98
]
}
],
@@ -4062,7 +4078,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 92,
+ "id": 93,
"name": "GoTrueClient.update"
}
}
@@ -4076,12 +4092,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 92,
+ "id": 93,
"name": "GoTrueClient.update"
}
},
{
- "id": 82,
+ "id": 83,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -4090,7 +4106,7 @@
},
"signatures": [
{
- "id": 83,
+ "id": 84,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -4116,7 +4132,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 82,
+ "id": 83,
"name": "GoTrueClient.user"
}
}
@@ -4130,7 +4146,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 82,
+ "id": 83,
"name": "GoTrueClient.user"
}
}
@@ -4140,38 +4156,38 @@
"title": "Constructors",
"kind": 512,
"children": [
- 28
+ 29
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 41,
+ 42,
+ 45,
44,
43,
- 42,
+ 47,
46,
- 45,
- 48,
- 47
+ 49,
+ 48
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 108,
- 120,
- 86,
- 84,
- 105,
- 99,
- 63,
- 116,
- 49,
- 92,
- 82
+ 109,
+ 121,
+ 87,
+ 85,
+ 106,
+ 100,
+ 64,
+ 117,
+ 50,
+ 93,
+ 83
]
}
],
@@ -4195,7 +4211,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 27
+ 28
]
}
],
@@ -4208,7 +4224,7 @@
]
},
{
- "id": 156,
+ "id": 157,
"name": "\"lib/SupabaseQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -4218,7 +4234,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts",
"children": [
{
- "id": 157,
+ "id": 158,
"name": "SupabaseQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -4227,7 +4243,7 @@
},
"typeParameter": [
{
- "id": 158,
+ "id": 159,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4238,7 +4254,7 @@
],
"children": [
{
- "id": 161,
+ "id": 162,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4247,7 +4263,7 @@
},
"signatures": [
{
- "id": 162,
+ "id": 163,
"name": "new SupabaseQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4256,7 +4272,7 @@
},
"parameters": [
{
- "id": 163,
+ "id": 164,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4269,7 +4285,7 @@
}
},
{
- "id": 164,
+ "id": 165,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4280,7 +4296,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 166,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4289,7 +4305,7 @@
},
"children": [
{
- "id": 166,
+ "id": 167,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -4306,7 +4322,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 167,
+ "id": 168,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4315,7 +4331,7 @@
},
"indexSignature": [
{
- "id": 168,
+ "id": 169,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4324,7 +4340,7 @@
},
"parameters": [
{
- "id": 169,
+ "id": 170,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4347,7 +4363,7 @@
}
},
{
- "id": 171,
+ "id": 172,
"name": "realtime",
"kind": 32,
"kindString": "Variable",
@@ -4367,7 +4383,7 @@
}
},
{
- "id": 170,
+ "id": 171,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -4387,7 +4403,7 @@
}
},
{
- "id": 172,
+ "id": 173,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -4412,10 +4428,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 166,
+ 167,
+ 172,
171,
- 170,
- 172
+ 173
]
}
],
@@ -4432,7 +4448,7 @@
],
"type": {
"type": "reference",
- "id": 157,
+ "id": 158,
"name": "SupabaseQueryBuilder"
},
"overwrites": {
@@ -4454,7 +4470,7 @@
}
},
{
- "id": 160,
+ "id": 161,
"name": "_realtime",
"kind": 1024,
"kindString": "Property",
@@ -4475,7 +4491,7 @@
}
},
{
- "id": 159,
+ "id": 160,
"name": "_subscription",
"kind": 1024,
"kindString": "Property",
@@ -4492,12 +4508,12 @@
],
"type": {
"type": "reference",
- "id": 131,
+ "id": 132,
"name": "SupabaseRealtimeClient"
}
},
{
- "id": 231,
+ "id": 232,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -4543,12 +4559,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 231,
+ "id": 232,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 226,
+ "id": 227,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4566,7 +4582,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 227,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4575,7 +4591,7 @@
},
"indexSignature": [
{
- "id": 228,
+ "id": 229,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4584,7 +4600,7 @@
},
"parameters": [
{
- "id": 229,
+ "id": 230,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4614,12 +4630,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 226,
+ "id": 227,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 224,
+ "id": 225,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -4661,12 +4677,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 224,
+ "id": 225,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 230,
+ "id": 231,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -4697,12 +4713,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 230,
+ "id": 231,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 232,
+ "id": 233,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -4737,12 +4753,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 232,
+ "id": 233,
"name": "PostgrestBuilder.shouldThrowOnError"
}
},
{
- "id": 225,
+ "id": 226,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -4763,12 +4779,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 225,
+ "id": 226,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 218,
+ "id": 219,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -4777,7 +4793,7 @@
},
"signatures": [
{
- "id": 219,
+ "id": 220,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -4789,7 +4805,7 @@
},
"parameters": [
{
- "id": 220,
+ "id": 221,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4801,7 +4817,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 222,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4810,7 +4826,7 @@
},
"children": [
{
- "id": 223,
+ "id": 224,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -4854,7 +4870,7 @@
}
},
{
- "id": 222,
+ "id": 223,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -4895,8 +4911,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 223,
- 222
+ 224,
+ 223
]
}
],
@@ -4923,7 +4939,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 218,
+ "id": 219,
"name": "PostgrestQueryBuilder.delete"
}
}
@@ -4937,12 +4953,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 218,
+ "id": 219,
"name": "PostgrestQueryBuilder.delete"
}
},
{
- "id": 187,
+ "id": 188,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -4951,7 +4967,7 @@
},
"signatures": [
{
- "id": 188,
+ "id": 189,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -4963,7 +4979,7 @@
},
"parameters": [
{
- "id": 189,
+ "id": 190,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5003,7 +5019,7 @@
}
},
{
- "id": 190,
+ "id": 191,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5021,7 +5037,7 @@
{
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 192,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5030,7 +5046,7 @@
},
"children": [
{
- "id": 193,
+ "id": 194,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5068,7 +5084,7 @@
}
},
{
- "id": 192,
+ "id": 193,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5103,8 +5119,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 193,
- 192
+ 194,
+ 193
]
}
]
@@ -5126,12 +5142,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 187,
+ "id": 188,
"name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 194,
+ "id": 195,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -5148,7 +5164,7 @@
},
"parameters": [
{
- "id": 195,
+ "id": 196,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5185,7 +5201,7 @@
}
},
{
- "id": 196,
+ "id": 197,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5203,7 +5219,7 @@
{
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 198,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5212,7 +5228,7 @@
},
"children": [
{
- "id": 201,
+ "id": 202,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5250,7 +5266,7 @@
}
},
{
- "id": 199,
+ "id": 200,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -5280,7 +5296,7 @@
}
},
{
- "id": 200,
+ "id": 201,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5310,7 +5326,7 @@
}
},
{
- "id": 198,
+ "id": 199,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -5349,10 +5365,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 201,
- 199,
+ 202,
200,
- 198
+ 201,
+ 199
]
}
]
@@ -5374,7 +5390,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 187,
+ "id": 188,
"name": "PostgrestQueryBuilder.insert"
}
}
@@ -5393,12 +5409,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 187,
+ "id": 188,
"name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 173,
+ "id": 174,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -5407,7 +5423,7 @@
},
"signatures": [
{
- "id": 174,
+ "id": 175,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -5419,7 +5435,7 @@
},
"parameters": [
{
- "id": 175,
+ "id": 176,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -5431,12 +5447,12 @@
},
"type": {
"type": "reference",
- "id": 25,
+ "id": 26,
"name": "SupabaseEventTypes"
}
},
{
- "id": 176,
+ "id": 177,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -5449,7 +5465,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 177,
+ "id": 178,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5458,7 +5474,7 @@
},
"signatures": [
{
- "id": 178,
+ "id": 179,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5467,7 +5483,7 @@
},
"parameters": [
{
- "id": 179,
+ "id": 180,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -5476,7 +5492,7 @@
},
"type": {
"type": "reference",
- "id": 16,
+ "id": 17,
"typeArguments": [
{
"type": "typeParameter",
@@ -5506,7 +5522,7 @@
],
"type": {
"type": "reference",
- "id": 131,
+ "id": 132,
"name": "SupabaseRealtimeClient"
}
}
@@ -5520,7 +5536,7 @@
]
},
{
- "id": 180,
+ "id": 181,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -5529,7 +5545,7 @@
},
"signatures": [
{
- "id": 181,
+ "id": 182,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -5541,7 +5557,7 @@
},
"parameters": [
{
- "id": 182,
+ "id": 183,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -5567,7 +5583,7 @@
}
},
{
- "id": 183,
+ "id": 184,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5579,7 +5595,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 184,
+ "id": 185,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5588,7 +5604,7 @@
},
"children": [
{
- "id": 186,
+ "id": 187,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5632,7 +5648,7 @@
}
},
{
- "id": 185,
+ "id": 186,
"name": "head",
"kind": 32,
"kindString": "Variable",
@@ -5673,8 +5689,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 186,
- 185
+ 187,
+ 186
]
}
],
@@ -5701,7 +5717,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 180,
+ "id": 181,
"name": "PostgrestQueryBuilder.select"
}
}
@@ -5715,12 +5731,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 180,
+ "id": 181,
"name": "PostgrestQueryBuilder.select"
}
},
{
- "id": 235,
+ "id": 236,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -5729,7 +5745,7 @@
},
"signatures": [
{
- "id": 236,
+ "id": 237,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -5738,7 +5754,7 @@
},
"typeParameter": [
{
- "id": 237,
+ "id": 238,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -5747,7 +5763,7 @@
}
},
{
- "id": 238,
+ "id": 239,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -5758,7 +5774,7 @@
],
"parameters": [
{
- "id": 239,
+ "id": 240,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -5772,7 +5788,7 @@
{
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5781,7 +5797,7 @@
},
"signatures": [
{
- "id": 241,
+ "id": 242,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5790,7 +5806,7 @@
},
"parameters": [
{
- "id": 242,
+ "id": 243,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5871,7 +5887,7 @@
}
},
{
- "id": 243,
+ "id": 244,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -5885,7 +5901,7 @@
{
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5894,7 +5910,7 @@
},
"signatures": [
{
- "id": 245,
+ "id": 246,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5903,7 +5919,7 @@
},
"parameters": [
{
- "id": 246,
+ "id": 247,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -6001,7 +6017,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 235,
+ "id": 236,
"name": "PostgrestBuilder.then"
}
}
@@ -6015,12 +6031,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 235,
+ "id": 236,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 233,
+ "id": 234,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -6029,7 +6045,7 @@
},
"signatures": [
{
- "id": 234,
+ "id": 235,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -6052,7 +6068,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 233,
+ "id": 234,
"name": "PostgrestBuilder.throwOnError"
}
}
@@ -6066,12 +6082,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 233,
+ "id": 234,
"name": "PostgrestBuilder.throwOnError"
}
},
{
- "id": 211,
+ "id": 212,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -6080,7 +6096,7 @@
},
"signatures": [
{
- "id": 212,
+ "id": 213,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -6092,7 +6108,7 @@
},
"parameters": [
{
- "id": 213,
+ "id": 214,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6114,7 +6130,7 @@
}
},
{
- "id": 214,
+ "id": 215,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6126,7 +6142,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 215,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6135,7 +6151,7 @@
},
"children": [
{
- "id": 217,
+ "id": 218,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6179,7 +6195,7 @@
}
},
{
- "id": 216,
+ "id": 217,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -6220,8 +6236,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 217,
- 216
+ 218,
+ 217
]
}
],
@@ -6248,7 +6264,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 211,
+ "id": 212,
"name": "PostgrestQueryBuilder.update"
}
}
@@ -6262,12 +6278,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 211,
+ "id": 212,
"name": "PostgrestQueryBuilder.update"
}
},
{
- "id": 202,
+ "id": 203,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -6276,7 +6292,7 @@
},
"signatures": [
{
- "id": 203,
+ "id": 204,
"name": "upsert",
"kind": 4096,
"kindString": "Call signature",
@@ -6288,7 +6304,7 @@
},
"parameters": [
{
- "id": 204,
+ "id": 205,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6328,7 +6344,7 @@
}
},
{
- "id": 205,
+ "id": 206,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6340,7 +6356,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6349,7 +6365,7 @@
},
"children": [
{
- "id": 209,
+ "id": 210,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6393,7 +6409,7 @@
}
},
{
- "id": 210,
+ "id": 211,
"name": "ignoreDuplicates",
"kind": 32,
"kindString": "Variable",
@@ -6429,7 +6445,7 @@
}
},
{
- "id": 207,
+ "id": 208,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -6461,7 +6477,7 @@
}
},
{
- "id": 208,
+ "id": 209,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -6502,10 +6518,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 209,
210,
- 207,
- 208
+ 211,
+ 208,
+ 209
]
}
],
@@ -6532,7 +6548,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 202,
+ "id": 203,
"name": "PostgrestQueryBuilder.upsert"
}
}
@@ -6546,7 +6562,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 202,
+ "id": 203,
"name": "PostgrestQueryBuilder.upsert"
}
}
@@ -6556,35 +6572,35 @@
"title": "Constructors",
"kind": 512,
"children": [
- 161
+ 162
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
+ 161,
160,
- 159,
- 231,
- 226,
- 224,
- 230,
232,
- 225
+ 227,
+ 225,
+ 231,
+ 233,
+ 226
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 218,
- 187,
- 173,
- 180,
- 235,
- 233,
- 211,
- 202
+ 219,
+ 188,
+ 174,
+ 181,
+ 236,
+ 234,
+ 212,
+ 203
]
}
],
@@ -6632,7 +6648,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 157
+ 158
]
}
],
@@ -6645,7 +6661,7 @@
]
},
{
- "id": 130,
+ "id": 131,
"name": "\"lib/SupabaseRealtimeClient\"",
"kind": 1,
"kindString": "Module",
@@ -6655,7 +6671,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts",
"children": [
{
- "id": 131,
+ "id": 132,
"name": "SupabaseRealtimeClient",
"kind": 128,
"kindString": "Class",
@@ -6664,7 +6680,7 @@
},
"children": [
{
- "id": 133,
+ "id": 134,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6673,7 +6689,7 @@
},
"signatures": [
{
- "id": 134,
+ "id": 135,
"name": "new SupabaseRealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -6682,7 +6698,7 @@
},
"parameters": [
{
- "id": 135,
+ "id": 136,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
@@ -6695,7 +6711,7 @@
}
},
{
- "id": 136,
+ "id": 137,
"name": "schema",
"kind": 32768,
"kindString": "Parameter",
@@ -6708,7 +6724,7 @@
}
},
{
- "id": 137,
+ "id": 138,
"name": "tableName",
"kind": 32768,
"kindString": "Parameter",
@@ -6723,7 +6739,7 @@
],
"type": {
"type": "reference",
- "id": 131,
+ "id": 132,
"name": "SupabaseRealtimeClient"
}
}
@@ -6737,7 +6753,7 @@
]
},
{
- "id": 132,
+ "id": 133,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -6757,7 +6773,7 @@
}
},
{
- "id": 138,
+ "id": 139,
"name": "getPayloadRecords",
"kind": 2048,
"kindString": "Method",
@@ -6767,7 +6783,7 @@
},
"signatures": [
{
- "id": 139,
+ "id": 140,
"name": "getPayloadRecords",
"kind": 4096,
"kindString": "Call signature",
@@ -6776,7 +6792,7 @@
},
"parameters": [
{
- "id": 140,
+ "id": 141,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -6792,7 +6808,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 141,
+ "id": 142,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6801,7 +6817,7 @@
},
"children": [
{
- "id": 142,
+ "id": 143,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -6818,7 +6834,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 143,
+ "id": 144,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6829,7 +6845,7 @@
}
},
{
- "id": 144,
+ "id": 145,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -6846,7 +6862,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 145,
+ "id": 146,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6862,8 +6878,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 142,
- 144
+ 143,
+ 145
]
}
]
@@ -6880,7 +6896,7 @@
]
},
{
- "id": 146,
+ "id": 147,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -6889,7 +6905,7 @@
},
"signatures": [
{
- "id": 147,
+ "id": 148,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -6901,7 +6917,7 @@
},
"parameters": [
{
- "id": 148,
+ "id": 149,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -6913,12 +6929,12 @@
},
"type": {
"type": "reference",
- "id": 25,
+ "id": 26,
"name": "SupabaseEventTypes"
}
},
{
- "id": 149,
+ "id": 150,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -6931,7 +6947,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 150,
+ "id": 151,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6940,7 +6956,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 152,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6949,7 +6965,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 153,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -6958,7 +6974,7 @@
},
"type": {
"type": "reference",
- "id": 16,
+ "id": 17,
"typeArguments": [
{
"type": "intrinsic",
@@ -7001,7 +7017,7 @@
]
},
{
- "id": 153,
+ "id": 154,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -7010,7 +7026,7 @@
},
"signatures": [
{
- "id": 154,
+ "id": 155,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -7022,7 +7038,7 @@
},
"parameters": [
{
- "id": 155,
+ "id": 156,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -7056,23 +7072,23 @@
"title": "Constructors",
"kind": 512,
"children": [
- 133
+ 134
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 132
+ 133
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 138,
- 146,
- 153
+ 139,
+ 147,
+ 154
]
}
],
@@ -7090,7 +7106,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 131
+ 132
]
}
],
@@ -7160,7 +7176,7 @@
]
},
{
- "id": 316,
+ "id": 318,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -7170,7 +7186,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts",
"children": [
{
- "id": 317,
+ "id": 319,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -7179,7 +7195,7 @@
},
"signatures": [
{
- "id": 318,
+ "id": 320,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -7206,7 +7222,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 317
+ 319
]
}
],
@@ -7239,7 +7255,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 1,
+ "line": 3,
"character": 33
}
],
@@ -7269,7 +7285,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 13,
+ "line": 15,
"character": 18
}
],
@@ -7306,7 +7322,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 21,
+ "line": 23,
"character": 20
}
],
@@ -7343,7 +7359,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 9,
+ "line": 11,
"character": 9
}
],
@@ -7414,7 +7430,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 25,
+ "line": 27,
"character": 14
}
],
@@ -7438,7 +7454,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 17,
+ "line": 19,
"character": 16
}
],
@@ -7460,6 +7476,30 @@
]
}
},
+ {
+ "id": 16,
+ "name": "realtime",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Options passed to the realtime-js instance"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClientOptions"
+ }
+ },
{
"id": 7,
"name": "schema",
@@ -7475,7 +7515,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 5,
+ "line": 7,
"character": 8
}
],
@@ -7504,6 +7544,7 @@
8,
15,
13,
+ 16,
7
]
}
@@ -7511,7 +7552,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 1,
+ "line": 3,
"character": 35
}
]
@@ -7519,7 +7560,7 @@
}
},
{
- "id": 25,
+ "id": 26,
"name": "SupabaseEventTypes",
"kind": 4194304,
"kindString": "Type alias",
@@ -7529,7 +7570,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 46,
"character": 30
}
],
@@ -7556,7 +7597,7 @@
}
},
{
- "id": 16,
+ "id": 17,
"name": "SupabaseRealtimePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -7565,7 +7606,7 @@
},
"typeParameter": [
{
- "id": 17,
+ "id": 18,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -7577,14 +7618,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 35,
"character": 35
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 18,
+ "id": 19,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7593,7 +7634,7 @@
},
"children": [
{
- "id": 19,
+ "id": 20,
"name": "commit_timestamp",
"kind": 32,
"kindString": "Variable",
@@ -7603,7 +7644,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 36,
"character": 18
}
],
@@ -7613,7 +7654,7 @@
}
},
{
- "id": 20,
+ "id": 21,
"name": "eventType",
"kind": 32,
"kindString": "Variable",
@@ -7623,7 +7664,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 37,
"character": 11
}
],
@@ -7646,7 +7687,7 @@
}
},
{
- "id": 23,
+ "id": 24,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -7659,7 +7700,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 34,
+ "line": 41,
"character": 5
}
],
@@ -7669,7 +7710,7 @@
}
},
{
- "id": 24,
+ "id": 25,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -7682,7 +7723,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 36,
+ "line": 43,
"character": 5
}
],
@@ -7692,7 +7733,7 @@
}
},
{
- "id": 21,
+ "id": 22,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -7702,7 +7743,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 38,
"character": 8
}
],
@@ -7712,7 +7753,7 @@
}
},
{
- "id": 22,
+ "id": 23,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -7722,7 +7763,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 32,
+ "line": 39,
"character": 7
}
],
@@ -7737,19 +7778,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 19,
20,
- 23,
- 24,
21,
- 22
+ 24,
+ 25,
+ 22,
+ 23
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 35,
"character": 40
}
]
@@ -7763,8 +7804,8 @@
"kind": 4194304,
"children": [
5,
- 25,
- 16
+ 26,
+ 17
]
}
],
@@ -7782,13 +7823,13 @@
"title": "Modules",
"kind": 1,
"children": [
- 247,
- 310,
- 26,
- 156,
- 130,
+ 248,
+ 312,
+ 27,
+ 157,
+ 131,
1,
- 316,
+ 318,
4
]
}
@@ -32737,12 +32778,14 @@
"name": "Options",
"kind": 4194304,
"kindString": "Type alias",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"sources": [
{
"fileName": "RealtimeClient.ts",
"line": 14,
- "character": 12
+ "character": 19
}
],
"type": {
@@ -32752,7 +32795,9 @@
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"children": [
{
"id": 309,
@@ -32760,6 +32805,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -32780,6 +32826,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -32800,6 +32847,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -32823,21 +32871,27 @@
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"indexSignature": [
{
"id": 313,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"parameters": [
{
"id": 314,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -32861,6 +32915,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -32890,6 +32945,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -32910,6 +32966,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -32939,6 +32996,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -32962,21 +33020,27 @@
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"indexSignature": [
{
"id": 317,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"parameters": [
{
"id": 318,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -33000,6 +33064,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -33020,6 +33085,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -33049,6 +33115,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -33086,7 +33153,7 @@
{
"fileName": "RealtimeClient.ts",
"line": 14,
- "character": 14
+ "character": 21
}
]
}
@@ -38516,7 +38583,7 @@
"originalName": "",
"children": [
{
- "id": 257,
+ "id": 270,
"name": "\"SupabaseStorageClient\"",
"kind": 1,
"kindString": "Module",
@@ -38526,7 +38593,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/SupabaseStorageClient.ts",
"children": [
{
- "id": 258,
+ "id": 271,
"name": "SupabaseStorageClient",
"kind": 128,
"kindString": "Class",
@@ -38535,7 +38602,7 @@
},
"children": [
{
- "id": 259,
+ "id": 272,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -38544,7 +38611,7 @@
},
"signatures": [
{
- "id": 260,
+ "id": 273,
"name": "new SupabaseStorageClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -38553,7 +38620,7 @@
},
"parameters": [
{
- "id": 261,
+ "id": 274,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -38566,7 +38633,7 @@
}
},
{
- "id": 262,
+ "id": 275,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -38576,7 +38643,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 263,
+ "id": 276,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -38585,7 +38652,7 @@
},
"indexSignature": [
{
- "id": 264,
+ "id": 277,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -38594,7 +38661,7 @@
},
"parameters": [
{
- "id": 265,
+ "id": 278,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -38627,12 +38694,12 @@
],
"type": {
"type": "reference",
- "id": 258,
+ "id": 271,
"name": "SupabaseStorageClient"
},
"overwrites": {
"type": "reference",
- "id": 95,
+ "id": 96,
"name": "StorageBucketApi.__constructor"
}
}
@@ -38646,12 +38713,12 @@
],
"overwrites": {
"type": "reference",
- "id": 95,
+ "id": 96,
"name": "StorageBucketApi.__constructor"
}
},
{
- "id": 270,
+ "id": 283,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -38669,7 +38736,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 271,
+ "id": 284,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -38678,7 +38745,7 @@
},
"indexSignature": [
{
- "id": 272,
+ "id": 285,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -38687,7 +38754,7 @@
},
"parameters": [
{
- "id": 273,
+ "id": 286,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -38717,12 +38784,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 91,
+ "id": 92,
"name": "StorageBucketApi.headers"
}
},
{
- "id": 269,
+ "id": 282,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -38743,12 +38810,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 90,
+ "id": 91,
"name": "StorageBucketApi.url"
}
},
{
- "id": 285,
+ "id": 298,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -38757,7 +38824,7 @@
},
"signatures": [
{
- "id": 286,
+ "id": 299,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -38770,7 +38837,7 @@
},
"parameters": [
{
- "id": 287,
+ "id": 300,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -38786,7 +38853,7 @@
}
},
{
- "id": 288,
+ "id": 301,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -38796,7 +38863,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 289,
+ "id": 302,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -38805,7 +38872,7 @@
},
"children": [
{
- "id": 290,
+ "id": 303,
"name": "public",
"kind": 32,
"kindString": "Variable",
@@ -38830,7 +38897,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 290
+ 303
]
}
],
@@ -38852,7 +38919,7 @@
{
"type": "reflection",
"declaration": {
- "id": 291,
+ "id": 304,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -38861,7 +38928,7 @@
},
"children": [
{
- "id": 292,
+ "id": 305,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -38890,7 +38957,7 @@
}
},
{
- "id": 293,
+ "id": 306,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -38924,8 +38991,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 292,
- 293
+ 305,
+ 306
]
}
],
@@ -38943,7 +39010,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 113,
+ "id": 114,
"name": "StorageBucketApi.createBucket"
}
}
@@ -38957,12 +39024,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 113,
+ "id": 114,
"name": "StorageBucketApi.createBucket"
}
},
{
- "id": 313,
+ "id": 326,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -38971,7 +39038,7 @@
},
"signatures": [
{
- "id": 314,
+ "id": 327,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -38983,7 +39050,7 @@
},
"parameters": [
{
- "id": 315,
+ "id": 328,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -39005,7 +39072,7 @@
{
"type": "reflection",
"declaration": {
- "id": 316,
+ "id": 329,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39014,7 +39081,7 @@
},
"children": [
{
- "id": 317,
+ "id": 330,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -39034,7 +39101,7 @@
{
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39043,7 +39110,7 @@
},
"children": [
{
- "id": 319,
+ "id": 332,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -39068,7 +39135,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 319
+ 332
]
}
],
@@ -39089,7 +39156,7 @@
}
},
{
- "id": 320,
+ "id": 333,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -39123,8 +39190,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 317,
- 320
+ 330,
+ 333
]
}
],
@@ -39142,7 +39209,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 141,
+ "id": 142,
"name": "StorageBucketApi.deleteBucket"
}
}
@@ -39156,12 +39223,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 141,
+ "id": 142,
"name": "StorageBucketApi.deleteBucket"
}
},
{
- "id": 305,
+ "id": 318,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -39170,7 +39237,7 @@
},
"signatures": [
{
- "id": 306,
+ "id": 319,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -39182,7 +39249,7 @@
},
"parameters": [
{
- "id": 307,
+ "id": 320,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -39204,7 +39271,7 @@
{
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39213,7 +39280,7 @@
},
"children": [
{
- "id": 309,
+ "id": 322,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -39233,7 +39300,7 @@
{
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 323,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39242,7 +39309,7 @@
},
"children": [
{
- "id": 311,
+ "id": 324,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -39267,7 +39334,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 311
+ 324
]
}
],
@@ -39288,7 +39355,7 @@
}
},
{
- "id": 312,
+ "id": 325,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -39322,8 +39389,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 309,
- 312
+ 322,
+ 325
]
}
],
@@ -39341,7 +39408,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 133,
+ "id": 134,
"name": "StorageBucketApi.emptyBucket"
}
}
@@ -39355,12 +39422,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 133,
+ "id": 134,
"name": "StorageBucketApi.emptyBucket"
}
},
{
- "id": 266,
+ "id": 279,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -39369,7 +39436,7 @@
},
"signatures": [
{
- "id": 267,
+ "id": 280,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -39381,7 +39448,7 @@
},
"parameters": [
{
- "id": 268,
+ "id": 281,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -39399,7 +39466,7 @@
],
"type": {
"type": "reference",
- "id": 153,
+ "id": 154,
"name": "StorageFileApi"
}
}
@@ -39413,7 +39480,7 @@
]
},
{
- "id": 279,
+ "id": 292,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -39422,7 +39489,7 @@
},
"signatures": [
{
- "id": 280,
+ "id": 293,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -39434,7 +39501,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -39456,7 +39523,7 @@
{
"type": "reflection",
"declaration": {
- "id": 282,
+ "id": 295,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39465,7 +39532,7 @@
},
"children": [
{
- "id": 283,
+ "id": 296,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -39495,7 +39562,7 @@
}
},
{
- "id": 284,
+ "id": 297,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -39529,8 +39596,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 283,
- 284
+ 296,
+ 297
]
}
],
@@ -39548,7 +39615,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 107,
+ "id": 108,
"name": "StorageBucketApi.getBucket"
}
}
@@ -39562,12 +39629,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 107,
+ "id": 108,
"name": "StorageBucketApi.getBucket"
}
},
{
- "id": 274,
+ "id": 287,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -39576,7 +39643,7 @@
},
"signatures": [
{
- "id": 275,
+ "id": 288,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -39592,7 +39659,7 @@
{
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39601,7 +39668,7 @@
},
"children": [
{
- "id": 277,
+ "id": 290,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -39634,7 +39701,7 @@
}
},
{
- "id": 278,
+ "id": 291,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -39668,8 +39735,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 277,
- 278
+ 290,
+ 291
]
}
],
@@ -39687,7 +39754,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 102,
+ "id": 103,
"name": "StorageBucketApi.listBuckets"
}
}
@@ -39701,12 +39768,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 102,
+ "id": 103,
"name": "StorageBucketApi.listBuckets"
}
},
{
- "id": 294,
+ "id": 307,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -39715,7 +39782,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 308,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -39727,7 +39794,7 @@
},
"parameters": [
{
- "id": 296,
+ "id": 309,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -39743,7 +39810,7 @@
}
},
{
- "id": 297,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -39753,7 +39820,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 298,
+ "id": 311,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39762,7 +39829,7 @@
},
"children": [
{
- "id": 299,
+ "id": 312,
"name": "public",
"kind": 32,
"kindString": "Variable",
@@ -39787,7 +39854,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 299
+ 312
]
}
],
@@ -39808,7 +39875,7 @@
{
"type": "reflection",
"declaration": {
- "id": 300,
+ "id": 313,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39817,7 +39884,7 @@
},
"children": [
{
- "id": 301,
+ "id": 314,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -39837,7 +39904,7 @@
{
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39846,7 +39913,7 @@
},
"children": [
{
- "id": 303,
+ "id": 316,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -39871,7 +39938,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 303
+ 316
]
}
],
@@ -39892,7 +39959,7 @@
}
},
{
- "id": 304,
+ "id": 317,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -39926,8 +39993,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 301,
- 304
+ 314,
+ 317
]
}
],
@@ -39945,7 +40012,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 122,
+ "id": 123,
"name": "StorageBucketApi.updateBucket"
}
}
@@ -39959,7 +40026,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 122,
+ "id": 123,
"name": "StorageBucketApi.updateBucket"
}
}
@@ -39969,28 +40036,28 @@
"title": "Constructors",
"kind": 512,
"children": [
- 259
+ 272
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 270,
- 269
+ 283,
+ 282
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 285,
- 313,
- 305,
- 266,
+ 298,
+ 326,
+ 318,
279,
- 274,
- 294
+ 292,
+ 287,
+ 307
]
}
],
@@ -40004,7 +40071,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 89,
+ "id": 90,
"name": "StorageBucketApi"
}
]
@@ -40015,7 +40082,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 258
+ 271
]
}
],
@@ -40028,7 +40095,7 @@
]
},
{
- "id": 321,
+ "id": 334,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -40038,7 +40105,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/index.ts",
"children": [
{
- "id": 322,
+ "id": 335,
"name": "Bucket",
"kind": 16777216,
"kindString": "Reference",
@@ -40048,7 +40115,7 @@
"target": 58
},
{
- "id": 323,
+ "id": 336,
"name": "FileObject",
"kind": 16777216,
"kindString": "Reference",
@@ -40058,7 +40125,7 @@
"target": 65
},
{
- "id": 325,
+ "id": 338,
"name": "FileOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -40068,27 +40135,27 @@
"target": 79
},
{
- "id": 327,
+ "id": 340,
"name": "Metadata",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 86
+ "target": 87
},
{
- "id": 326,
+ "id": 339,
"name": "SearchOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 82
+ "target": 83
},
{
- "id": 324,
+ "id": 337,
"name": "SortBy",
"kind": 16777216,
"kindString": "Reference",
@@ -40103,12 +40170,12 @@
"title": "References",
"kind": 16777216,
"children": [
- 322,
- 323,
- 325,
- 327,
- 326,
- 324
+ 335,
+ 336,
+ 338,
+ 340,
+ 339,
+ 337
]
}
],
@@ -40121,7 +40188,7 @@
]
},
{
- "id": 88,
+ "id": 89,
"name": "\"lib/StorageBucketApi\"",
"kind": 1,
"kindString": "Module",
@@ -40131,7 +40198,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageBucketApi.ts",
"children": [
{
- "id": 89,
+ "id": 90,
"name": "StorageBucketApi",
"kind": 128,
"kindString": "Class",
@@ -40140,7 +40207,7 @@
},
"children": [
{
- "id": 95,
+ "id": 96,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -40149,7 +40216,7 @@
},
"signatures": [
{
- "id": 96,
+ "id": 97,
"name": "new StorageBucketApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -40158,7 +40225,7 @@
},
"parameters": [
{
- "id": 97,
+ "id": 98,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -40171,7 +40238,7 @@
}
},
{
- "id": 98,
+ "id": 99,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -40181,7 +40248,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 99,
+ "id": 100,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40190,7 +40257,7 @@
},
"indexSignature": [
{
- "id": 100,
+ "id": 101,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -40199,7 +40266,7 @@
},
"parameters": [
{
- "id": 101,
+ "id": 102,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -40232,7 +40299,7 @@
],
"type": {
"type": "reference",
- "id": 89,
+ "id": 90,
"name": "StorageBucketApi"
}
}
@@ -40246,7 +40313,7 @@
]
},
{
- "id": 91,
+ "id": 92,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -40264,7 +40331,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 92,
+ "id": 93,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40273,7 +40340,7 @@
},
"indexSignature": [
{
- "id": 93,
+ "id": 94,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -40282,7 +40349,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 95,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -40312,7 +40379,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -40333,7 +40400,7 @@
}
},
{
- "id": 113,
+ "id": 114,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -40342,7 +40409,7 @@
},
"signatures": [
{
- "id": 114,
+ "id": 115,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -40355,7 +40422,7 @@
},
"parameters": [
{
- "id": 115,
+ "id": 116,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -40371,7 +40438,7 @@
}
},
{
- "id": 116,
+ "id": 117,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -40381,7 +40448,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 117,
+ "id": 118,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40390,7 +40457,7 @@
},
"children": [
{
- "id": 118,
+ "id": 119,
"name": "public",
"kind": 32,
"kindString": "Variable",
@@ -40415,7 +40482,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 118
+ 119
]
}
],
@@ -40437,7 +40504,7 @@
{
"type": "reflection",
"declaration": {
- "id": 119,
+ "id": 120,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40446,7 +40513,7 @@
},
"children": [
{
- "id": 120,
+ "id": 121,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -40475,7 +40542,7 @@
}
},
{
- "id": 121,
+ "id": 122,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -40509,8 +40576,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 120,
- 121
+ 121,
+ 122
]
}
],
@@ -40537,7 +40604,7 @@
]
},
{
- "id": 141,
+ "id": 142,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -40546,7 +40613,7 @@
},
"signatures": [
{
- "id": 142,
+ "id": 143,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -40558,7 +40625,7 @@
},
"parameters": [
{
- "id": 143,
+ "id": 144,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -40580,7 +40647,7 @@
{
"type": "reflection",
"declaration": {
- "id": 144,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40589,7 +40656,7 @@
},
"children": [
{
- "id": 145,
+ "id": 146,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -40609,7 +40676,7 @@
{
"type": "reflection",
"declaration": {
- "id": 146,
+ "id": 147,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40618,7 +40685,7 @@
},
"children": [
{
- "id": 147,
+ "id": 148,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -40643,7 +40710,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 147
+ 148
]
}
],
@@ -40664,7 +40731,7 @@
}
},
{
- "id": 148,
+ "id": 149,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -40698,8 +40765,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 145,
- 148
+ 146,
+ 149
]
}
],
@@ -40726,7 +40793,7 @@
]
},
{
- "id": 133,
+ "id": 134,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -40735,7 +40802,7 @@
},
"signatures": [
{
- "id": 134,
+ "id": 135,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -40747,7 +40814,7 @@
},
"parameters": [
{
- "id": 135,
+ "id": 136,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -40769,7 +40836,7 @@
{
"type": "reflection",
"declaration": {
- "id": 136,
+ "id": 137,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40778,7 +40845,7 @@
},
"children": [
{
- "id": 137,
+ "id": 138,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -40798,7 +40865,7 @@
{
"type": "reflection",
"declaration": {
- "id": 138,
+ "id": 139,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40807,7 +40874,7 @@
},
"children": [
{
- "id": 139,
+ "id": 140,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -40832,7 +40899,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 139
+ 140
]
}
],
@@ -40853,7 +40920,7 @@
}
},
{
- "id": 140,
+ "id": 141,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -40887,8 +40954,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 137,
- 140
+ 138,
+ 141
]
}
],
@@ -40915,7 +40982,7 @@
]
},
{
- "id": 107,
+ "id": 108,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -40924,7 +40991,7 @@
},
"signatures": [
{
- "id": 108,
+ "id": 109,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -40936,7 +41003,7 @@
},
"parameters": [
{
- "id": 109,
+ "id": 110,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -40958,7 +41025,7 @@
{
"type": "reflection",
"declaration": {
- "id": 110,
+ "id": 111,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40967,7 +41034,7 @@
},
"children": [
{
- "id": 111,
+ "id": 112,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -40997,7 +41064,7 @@
}
},
{
- "id": 112,
+ "id": 113,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -41031,8 +41098,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 111,
- 112
+ 112,
+ 113
]
}
],
@@ -41059,7 +41126,7 @@
]
},
{
- "id": 102,
+ "id": 103,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -41068,7 +41135,7 @@
},
"signatures": [
{
- "id": 103,
+ "id": 104,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -41084,7 +41151,7 @@
{
"type": "reflection",
"declaration": {
- "id": 104,
+ "id": 105,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41093,7 +41160,7 @@
},
"children": [
{
- "id": 105,
+ "id": 106,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -41126,7 +41193,7 @@
}
},
{
- "id": 106,
+ "id": 107,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -41160,8 +41227,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 105,
- 106
+ 106,
+ 107
]
}
],
@@ -41188,7 +41255,7 @@
]
},
{
- "id": 122,
+ "id": 123,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -41197,7 +41264,7 @@
},
"signatures": [
{
- "id": 123,
+ "id": 124,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -41209,7 +41276,7 @@
},
"parameters": [
{
- "id": 124,
+ "id": 125,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -41225,7 +41292,7 @@
}
},
{
- "id": 125,
+ "id": 126,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -41235,7 +41302,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 127,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41244,7 +41311,7 @@
},
"children": [
{
- "id": 127,
+ "id": 128,
"name": "public",
"kind": 32,
"kindString": "Variable",
@@ -41269,7 +41336,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 127
+ 128
]
}
],
@@ -41290,7 +41357,7 @@
{
"type": "reflection",
"declaration": {
- "id": 128,
+ "id": 129,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41299,7 +41366,7 @@
},
"children": [
{
- "id": 129,
+ "id": 130,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -41319,7 +41386,7 @@
{
"type": "reflection",
"declaration": {
- "id": 130,
+ "id": 131,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41328,7 +41395,7 @@
},
"children": [
{
- "id": 131,
+ "id": 132,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -41353,7 +41420,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 131
+ 132
]
}
],
@@ -41374,7 +41441,7 @@
}
},
{
- "id": 132,
+ "id": 133,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -41408,8 +41475,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 129,
- 132
+ 130,
+ 133
]
}
],
@@ -41441,27 +41508,27 @@
"title": "Constructors",
"kind": 512,
"children": [
- 95
+ 96
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 91,
- 90
+ 92,
+ 91
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 113,
- 141,
- 133,
- 107,
- 102,
- 122
+ 114,
+ 142,
+ 134,
+ 108,
+ 103,
+ 123
]
}
],
@@ -41475,7 +41542,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 258,
+ "id": 271,
"name": "SupabaseStorageClient"
}
]
@@ -41486,7 +41553,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 89
+ 90
]
}
],
@@ -41499,7 +41566,7 @@
]
},
{
- "id": 152,
+ "id": 153,
"name": "\"lib/StorageFileApi\"",
"kind": 1,
"kindString": "Module",
@@ -41509,7 +41576,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageFileApi.ts",
"children": [
{
- "id": 153,
+ "id": 154,
"name": "StorageFileApi",
"kind": 128,
"kindString": "Class",
@@ -41518,7 +41585,7 @@
},
"children": [
{
- "id": 160,
+ "id": 161,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -41527,7 +41594,7 @@
},
"signatures": [
{
- "id": 161,
+ "id": 162,
"name": "new StorageFileApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -41536,7 +41603,7 @@
},
"parameters": [
{
- "id": 162,
+ "id": 163,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -41549,7 +41616,7 @@
}
},
{
- "id": 163,
+ "id": 164,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -41559,7 +41626,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 164,
+ "id": 165,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41568,7 +41635,7 @@
},
"indexSignature": [
{
- "id": 165,
+ "id": 166,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -41577,7 +41644,7 @@
},
"parameters": [
{
- "id": 166,
+ "id": 167,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -41599,7 +41666,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 24,
+ "line": 26,
"character": 35
}
]
@@ -41608,7 +41675,7 @@
"defaultValue": "{}"
},
{
- "id": 167,
+ "id": 168,
"name": "bucketId",
"kind": 32768,
"kindString": "Parameter",
@@ -41633,7 +41700,7 @@
],
"type": {
"type": "reference",
- "id": 153,
+ "id": 154,
"name": "StorageFileApi"
}
}
@@ -41641,13 +41708,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 22,
+ "line": 24,
"character": 29
}
]
},
{
- "id": 159,
+ "id": 160,
"name": "bucketId",
"kind": 1024,
"kindString": "Property",
@@ -41659,7 +41726,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 22,
+ "line": 24,
"character": 20
}
],
@@ -41678,7 +41745,7 @@
}
},
{
- "id": 155,
+ "id": 156,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -41689,14 +41756,14 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 21,
+ "line": 23,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 156,
+ "id": 157,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41705,7 +41772,7 @@
},
"indexSignature": [
{
- "id": 157,
+ "id": 158,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -41714,7 +41781,7 @@
},
"parameters": [
{
- "id": 158,
+ "id": 159,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -41736,7 +41803,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 21,
+ "line": 23,
"character": 20
}
]
@@ -41744,7 +41811,7 @@
}
},
{
- "id": 154,
+ "id": 155,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -41755,7 +41822,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 20,
+ "line": 22,
"character": 15
}
],
@@ -41765,7 +41832,7 @@
}
},
{
- "id": 236,
+ "id": 248,
"name": "_getFinalPath",
"kind": 2048,
"kindString": "Method",
@@ -41774,7 +41841,7 @@
},
"signatures": [
{
- "id": 237,
+ "id": 249,
"name": "_getFinalPath",
"kind": 4096,
"kindString": "Call signature",
@@ -41783,7 +41850,7 @@
},
"parameters": [
{
- "id": 238,
+ "id": 250,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -41805,13 +41872,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 280,
+ "line": 321,
"character": 15
}
]
},
{
- "id": 197,
+ "id": 209,
"name": "createSignedUrl",
"kind": 2048,
"kindString": "Method",
@@ -41820,7 +41887,7 @@
},
"signatures": [
{
- "id": 198,
+ "id": 210,
"name": "createSignedUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -41832,7 +41899,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 211,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -41848,7 +41915,7 @@
}
},
{
- "id": 200,
+ "id": 212,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -41870,7 +41937,7 @@
{
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 213,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41879,7 +41946,7 @@
},
"children": [
{
- "id": 202,
+ "id": 214,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -41889,7 +41956,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 147,
+ "line": 188,
"character": 8
}
],
@@ -41899,7 +41966,7 @@
{
"type": "reflection",
"declaration": {
- "id": 203,
+ "id": 215,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41908,7 +41975,7 @@
},
"children": [
{
- "id": 204,
+ "id": 216,
"name": "signedURL",
"kind": 32,
"kindString": "Variable",
@@ -41918,7 +41985,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 147,
+ "line": 188,
"character": 21
}
],
@@ -41933,14 +42000,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 204
+ 216
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 147,
+ "line": 188,
"character": 9
}
]
@@ -41954,7 +42021,7 @@
}
},
{
- "id": 205,
+ "id": 217,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -41964,7 +42031,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 148,
+ "line": 189,
"character": 9
}
],
@@ -41983,7 +42050,7 @@
}
},
{
- "id": 206,
+ "id": 218,
"name": "signedURL",
"kind": 32,
"kindString": "Variable",
@@ -41993,7 +42060,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 149,
+ "line": 190,
"character": 13
}
],
@@ -42017,16 +42084,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 202,
- 205,
- 206
+ 214,
+ 217,
+ 218
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 146,
+ "line": 187,
"character": 13
}
]
@@ -42040,13 +42107,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 143,
+ "line": 184,
"character": 23
}
]
},
{
- "id": 207,
+ "id": 219,
"name": "download",
"kind": 2048,
"kindString": "Method",
@@ -42055,7 +42122,7 @@
},
"signatures": [
{
- "id": 208,
+ "id": 220,
"name": "download",
"kind": 4096,
"kindString": "Call signature",
@@ -42067,7 +42134,7 @@
},
"parameters": [
{
- "id": 209,
+ "id": 221,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -42089,7 +42156,7 @@
{
"type": "reflection",
"declaration": {
- "id": 210,
+ "id": 222,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -42098,7 +42165,7 @@
},
"children": [
{
- "id": 211,
+ "id": 223,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -42108,7 +42175,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 171,
+ "line": 212,
"character": 46
}
],
@@ -42127,7 +42194,7 @@
}
},
{
- "id": 212,
+ "id": 224,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -42137,7 +42204,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 171,
+ "line": 212,
"character": 66
}
],
@@ -42161,15 +42228,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 211,
- 212
+ 223,
+ 224
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 171,
+ "line": 212,
"character": 40
}
]
@@ -42183,13 +42250,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 171,
+ "line": 212,
"character": 16
}
]
},
{
- "id": 213,
+ "id": 225,
"name": "getPublicUrl",
"kind": 2048,
"kindString": "Method",
@@ -42198,7 +42265,7 @@
},
"signatures": [
{
- "id": 214,
+ "id": 226,
"name": "getPublicUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -42210,7 +42277,7 @@
},
"parameters": [
{
- "id": 215,
+ "id": 227,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -42229,7 +42296,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 216,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -42238,7 +42305,7 @@
},
"children": [
{
- "id": 217,
+ "id": 229,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -42248,7 +42315,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 193,
+ "line": 234,
"character": 8
}
],
@@ -42258,7 +42325,7 @@
{
"type": "reflection",
"declaration": {
- "id": 218,
+ "id": 230,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -42267,7 +42334,7 @@
},
"children": [
{
- "id": 219,
+ "id": 231,
"name": "publicURL",
"kind": 32,
"kindString": "Variable",
@@ -42277,7 +42344,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 193,
+ "line": 234,
"character": 21
}
],
@@ -42292,14 +42359,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 219
+ 231
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 193,
+ "line": 234,
"character": 9
}
]
@@ -42313,7 +42380,7 @@
}
},
{
- "id": 220,
+ "id": 232,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -42323,7 +42390,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 194,
+ "line": 235,
"character": 9
}
],
@@ -42342,7 +42409,7 @@
}
},
{
- "id": 221,
+ "id": 233,
"name": "publicURL",
"kind": 32,
"kindString": "Variable",
@@ -42352,7 +42419,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 195,
+ "line": 236,
"character": 13
}
],
@@ -42376,16 +42443,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 217,
- 220,
- 221
+ 229,
+ 232,
+ 233
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 192,
+ "line": 233,
"character": 4
}
]
@@ -42396,13 +42463,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 190,
+ "line": 231,
"character": 14
}
]
},
{
- "id": 228,
+ "id": 240,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -42411,7 +42478,7 @@
},
"signatures": [
{
- "id": 229,
+ "id": 241,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -42423,7 +42490,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 242,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -42449,7 +42516,7 @@
}
},
{
- "id": 231,
+ "id": 243,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -42462,12 +42529,12 @@
},
"type": {
"type": "reference",
- "id": 82,
+ "id": 83,
"name": "SearchOptions"
}
},
{
- "id": 232,
+ "id": 244,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -42491,7 +42558,7 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -42500,7 +42567,7 @@
},
"children": [
{
- "id": 234,
+ "id": 246,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -42510,7 +42577,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 265,
+ "line": 306,
"character": 19
}
],
@@ -42533,7 +42600,7 @@
}
},
{
- "id": 235,
+ "id": 247,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -42543,7 +42610,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 265,
+ "line": 306,
"character": 47
}
],
@@ -42567,15 +42634,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 234,
- 235
+ 246,
+ 247
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 265,
+ "line": 306,
"character": 13
}
]
@@ -42589,13 +42656,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 261,
+ "line": 302,
"character": 12
}
]
},
{
- "id": 188,
+ "id": 200,
"name": "move",
"kind": 2048,
"kindString": "Method",
@@ -42604,7 +42671,7 @@
},
"signatures": [
{
- "id": 189,
+ "id": 201,
"name": "move",
"kind": 4096,
"kindString": "Call signature",
@@ -42616,7 +42683,7 @@
},
"parameters": [
{
- "id": 190,
+ "id": 202,
"name": "fromPath",
"kind": 32768,
"kindString": "Parameter",
@@ -42632,7 +42699,7 @@
}
},
{
- "id": 191,
+ "id": 203,
"name": "toPath",
"kind": 32768,
"kindString": "Parameter",
@@ -42654,7 +42721,7 @@
{
"type": "reflection",
"declaration": {
- "id": 192,
+ "id": 204,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -42663,7 +42730,7 @@
},
"children": [
{
- "id": 193,
+ "id": 205,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -42673,7 +42740,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 19
}
],
@@ -42683,7 +42750,7 @@
{
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 206,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -42692,7 +42759,7 @@
},
"children": [
{
- "id": 195,
+ "id": 207,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -42702,7 +42769,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 30
}
],
@@ -42717,14 +42784,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 195
+ 207
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 20
}
]
@@ -42738,7 +42805,7 @@
}
},
{
- "id": 196,
+ "id": 208,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -42748,7 +42815,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 54
}
],
@@ -42772,15 +42839,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 193,
- 196
+ 205,
+ 208
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 13
}
]
@@ -42794,13 +42861,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 121,
+ "line": 162,
"character": 12
}
]
},
{
- "id": 222,
+ "id": 234,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -42809,7 +42876,7 @@
},
"signatures": [
{
- "id": 223,
+ "id": 235,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -42821,7 +42888,7 @@
},
"parameters": [
{
- "id": 224,
+ "id": 236,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -42846,7 +42913,7 @@
{
"type": "reflection",
"declaration": {
- "id": 225,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -42855,7 +42922,7 @@
},
"children": [
{
- "id": 226,
+ "id": 238,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -42865,7 +42932,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 212,
+ "line": 253,
"character": 47
}
],
@@ -42888,7 +42955,7 @@
}
},
{
- "id": 227,
+ "id": 239,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -42898,7 +42965,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 212,
+ "line": 253,
"character": 75
}
],
@@ -42922,238 +42989,285 @@
"title": "Variables",
"kind": 32,
"children": [
- 226,
- 227
- ]
- }
- ],
- "sources": [
- {
- "fileName": "lib/StorageFileApi.ts",
- "line": 212,
- "character": 41
- }
- ]
- }
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/StorageFileApi.ts",
- "line": 212,
- "character": 14
- }
- ]
- },
- {
- "id": 178,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 179,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Replaces an existing file at the specified path with a new one."
- },
- "parameters": [
- {
- "id": 180,
- "name": "path",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The relative file path. Should be of the format `folder/subfolder`. The bucket already exist before attempting to upload."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 181,
- "name": "file",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The file object to be stored in the bucket."
- },
- "type": {
- "type": "reference",
- "name": "File"
- }
- },
- {
- "id": 182,
- "name": "fileOptions",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "HTTP headers. For example `cacheControl`\n"
- },
- "type": {
- "type": "reference",
- "id": 79,
- "name": "FileOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 183,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 184,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/StorageFileApi.ts",
- "line": 85,
- "character": 19
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 185,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 186,
- "name": "Key",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/StorageFileApi.ts",
- "line": 85,
- "character": 26
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 186
- ]
- }
- ],
- "sources": [
- {
- "fileName": "lib/StorageFileApi.ts",
- "line": 85,
- "character": 20
- }
- ]
- }
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 187,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/StorageFileApi.ts",
- "line": 85,
- "character": 50
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Error"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 184,
- 187
+ 238,
+ 239
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 253,
+ "character": 41
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 253,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 190,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 191,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Replaces an existing file at the specified path with a new one."
+ },
+ "parameters": [
+ {
+ "id": 192,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 193,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 194,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 79,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 195,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 196,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 152,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 197,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 198,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 152,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 198
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 152,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 199,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 152,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 196,
+ 199
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 85,
+ "line": 152,
"character": 13
}
]
@@ -43167,13 +43281,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 81,
+ "line": 138,
"character": 14
}
]
},
{
- "id": 168,
+ "id": 180,
"name": "upload",
"kind": 2048,
"kindString": "Method",
@@ -43182,7 +43296,7 @@
},
"signatures": [
{
- "id": 169,
+ "id": 181,
"name": "upload",
"kind": 4096,
"kindString": "Call signature",
@@ -43194,7 +43308,7 @@
},
"parameters": [
{
- "id": 170,
+ "id": 182,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -43210,23 +43324,366 @@
}
},
{
- "id": 171,
- "name": "file",
+ "id": 183,
+ "name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The File object to be stored in the bucket."
+ "text": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 184,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
},
"type": {
"type": "reference",
- "name": "File"
+ "id": 79,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 185,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 186,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 187,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 188,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 188
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 189,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 186,
+ 189
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 110,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 169,
+ "name": "uploadOrUpdate",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 170,
+ "name": "uploadOrUpdate",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Uploads a file to an existing bucket or replaces an existing file at the specified path with a new one."
+ },
+ "parameters": [
+ {
+ "id": 171,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "HTTP method."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ }
+ ]
}
},
{
"id": 172,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 173,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 174,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -43235,7 +43692,7 @@
"isOptional": true
},
"comment": {
- "text": "HTTP headers. For example `cacheControl`\n"
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
},
"type": {
"type": "reference",
@@ -43250,7 +43707,7 @@
{
"type": "reflection",
"declaration": {
- "id": 173,
+ "id": 175,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -43259,7 +43716,7 @@
},
"children": [
{
- "id": 174,
+ "id": 176,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -43269,7 +43726,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 19
}
],
@@ -43279,7 +43736,7 @@
{
"type": "reflection",
"declaration": {
- "id": 175,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -43288,7 +43745,7 @@
},
"children": [
{
- "id": 176,
+ "id": 178,
"name": "Key",
"kind": 32,
"kindString": "Variable",
@@ -43298,7 +43755,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 26
}
],
@@ -43313,14 +43770,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 176
+ 178
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 20
}
]
@@ -43334,7 +43791,7 @@
}
},
{
- "id": 177,
+ "id": 179,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -43344,7 +43801,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 50
}
],
@@ -43368,15 +43825,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 174,
- 177
+ 176,
+ 179
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 13
}
]
@@ -43390,8 +43847,8 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 37,
- "character": 14
+ "line": 43,
+ "character": 30
}
]
}
@@ -43401,44 +43858,45 @@
"title": "Constructors",
"kind": 512,
"children": [
- 160
+ 161
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 159,
- 155,
- 154
+ 160,
+ 156,
+ 155
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 236,
- 197,
- 207,
- 213,
- 228,
- 188,
- 222,
- 178,
- 168
+ 248,
+ 209,
+ 219,
+ 225,
+ 240,
+ 200,
+ 234,
+ 190,
+ 180,
+ 169
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 19,
+ "line": 21,
"character": 27
}
]
},
{
- "id": 245,
+ "id": 257,
"name": "DEFAULT_FILE_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -43447,7 +43905,7 @@
},
"children": [
{
- "id": 246,
+ "id": 258,
"name": "cacheControl",
"kind": 32,
"kindString": "Variable",
@@ -43455,7 +43913,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 15,
+ "line": 16,
"character": 14
}
],
@@ -43466,7 +43924,26 @@
"defaultValue": "\"3600\""
},
{
- "id": 247,
+ "id": 259,
+ "name": "contentType",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"text/plain;charset=UTF-8\""
+ },
+ {
+ "id": 260,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -43474,7 +43951,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 16,
+ "line": 18,
"character": 8
}
],
@@ -43490,15 +43967,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 246,
- 247
+ 258,
+ 259,
+ 260
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 14,
+ "line": 15,
"character": 26
}
],
@@ -43508,7 +43986,7 @@
}
},
{
- "id": 239,
+ "id": 251,
"name": "DEFAULT_SEARCH_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -43517,7 +43995,7 @@
},
"children": [
{
- "id": 240,
+ "id": 252,
"name": "limit",
"kind": 32,
"kindString": "Variable",
@@ -43525,7 +44003,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 6,
+ "line": 7,
"character": 7
}
],
@@ -43536,7 +44014,7 @@
"defaultValue": "100"
},
{
- "id": 241,
+ "id": 253,
"name": "offset",
"kind": 32,
"kindString": "Variable",
@@ -43544,7 +44022,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 7,
+ "line": 8,
"character": 8
}
],
@@ -43555,14 +44033,14 @@
"defaultValue": "0"
},
{
- "id": 242,
+ "id": 254,
"name": "sortBy",
"kind": 2097152,
"kindString": "Object literal",
"flags": {},
"children": [
{
- "id": 243,
+ "id": 255,
"name": "column",
"kind": 32,
"kindString": "Variable",
@@ -43570,7 +44048,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 9,
+ "line": 10,
"character": 10
}
],
@@ -43581,7 +44059,7 @@
"defaultValue": "\"name\""
},
{
- "id": 244,
+ "id": 256,
"name": "order",
"kind": 32,
"kindString": "Variable",
@@ -43589,7 +44067,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 10,
+ "line": 11,
"character": 9
}
],
@@ -43605,15 +44083,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 243,
- 244
+ 255,
+ 256
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 8,
+ "line": 9,
"character": 8
}
],
@@ -43628,22 +44106,22 @@
"title": "Variables",
"kind": 32,
"children": [
- 240,
- 241
+ 252,
+ 253
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 242
+ 254
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 5,
+ "line": 6,
"character": 28
}
],
@@ -43658,15 +44136,15 @@
"title": "Classes",
"kind": 128,
"children": [
- 153
+ 154
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 245,
- 239
+ 257,
+ 251
]
}
],
@@ -44639,7 +45117,7 @@
]
},
{
- "id": 149,
+ "id": 150,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -44649,7 +45127,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/lib/helpers.ts",
"children": [
{
- "id": 150,
+ "id": 151,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -44659,7 +45137,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 152,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -44686,7 +45164,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 150
+ 151
]
}
],
@@ -44699,7 +45177,7 @@
]
},
{
- "id": 248,
+ "id": 261,
"name": "\"lib/index\"",
"kind": 1,
"kindString": "Module",
@@ -44709,7 +45187,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts",
"children": [
{
- "id": 251,
+ "id": 264,
"name": "Bucket",
"kind": 16777216,
"kindString": "Reference",
@@ -44719,7 +45197,7 @@
"target": 58
},
{
- "id": 252,
+ "id": 265,
"name": "FileObject",
"kind": 16777216,
"kindString": "Reference",
@@ -44729,7 +45207,7 @@
"target": 65
},
{
- "id": 254,
+ "id": 267,
"name": "FileOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -44739,27 +45217,27 @@
"target": 79
},
{
- "id": 256,
+ "id": 269,
"name": "Metadata",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 86
+ "target": 87
},
{
- "id": 255,
+ "id": 268,
"name": "SearchOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 82
+ "target": 83
},
{
- "id": 253,
+ "id": 266,
"name": "SortBy",
"kind": 16777216,
"kindString": "Reference",
@@ -44769,24 +45247,24 @@
"target": 76
},
{
- "id": 249,
+ "id": 262,
"name": "StorageBucketApi",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 89
+ "target": 90
},
{
- "id": 250,
+ "id": 263,
"name": "StorageFileApi",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 153
+ "target": 154
}
],
"groups": [
@@ -44794,14 +45272,14 @@
"title": "References",
"kind": 16777216,
"children": [
- 251,
- 252,
- 254,
- 256,
- 255,
- 253,
- 249,
- 250
+ 264,
+ 265,
+ 267,
+ 269,
+ 268,
+ 266,
+ 262,
+ 263
]
}
],
@@ -45221,7 +45699,8 @@
"kind": 1024,
"kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
"sources": [
{
@@ -45231,13 +45710,22 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
},
{
"id": 81,
- "name": "upsert",
+ "name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -45248,6 +45736,36 @@
{
"fileName": "lib/types.ts",
"line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 82,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
"character": 8
}
],
@@ -45276,7 +45794,8 @@
"kind": 1024,
"children": [
80,
- 81
+ 81,
+ 82
]
}
],
@@ -45289,7 +45808,7 @@
]
},
{
- "id": 86,
+ "id": 87,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
@@ -45298,7 +45817,7 @@
},
"children": [
{
- "id": 87,
+ "id": 88,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -45308,7 +45827,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 45,
+ "line": 46,
"character": 6
}
],
@@ -45323,20 +45842,20 @@
"title": "Properties",
"kind": 1024,
"children": [
- 87
+ 88
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 44,
+ "line": 45,
"character": 25
}
]
},
{
- "id": 82,
+ "id": 83,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
@@ -45345,7 +45864,7 @@
},
"children": [
{
- "id": 83,
+ "id": 84,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -45359,7 +45878,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 34,
+ "line": 35,
"character": 7
}
],
@@ -45378,7 +45897,7 @@
}
},
{
- "id": 84,
+ "id": 85,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -45392,7 +45911,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 37,
+ "line": 38,
"character": 8
}
],
@@ -45411,7 +45930,7 @@
}
},
{
- "id": 85,
+ "id": 86,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -45425,7 +45944,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 41,
"character": 8
}
],
@@ -45441,16 +45960,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 83,
84,
- 85
+ 85,
+ 86
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 32,
+ "line": 33,
"character": 30
}
]
@@ -45552,8 +46071,8 @@
58,
65,
79,
- 86,
- 82,
+ 87,
+ 83,
76
]
}
@@ -45572,13 +46091,13 @@
"title": "Modules",
"kind": 1,
"children": [
- 257,
- 321,
- 88,
- 152,
+ 270,
+ 334,
+ 89,
+ 153,
1,
- 149,
- 248,
+ 150,
+ 261,
57
]
}
diff --git a/web/spec/realtime.json b/web/spec/realtime.json
index b1ba76707aa..51a0bb36f6b 100644
--- a/web/spec/realtime.json
+++ b/web/spec/realtime.json
@@ -2199,12 +2199,14 @@
"name": "Options",
"kind": 4194304,
"kindString": "Type alias",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"sources": [
{
"fileName": "RealtimeClient.ts",
"line": 14,
- "character": 12
+ "character": 19
}
],
"type": {
@@ -2214,7 +2216,9 @@
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"children": [
{
"id": 309,
@@ -2222,6 +2226,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2242,6 +2247,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2262,6 +2268,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2285,21 +2292,27 @@
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"indexSignature": [
{
"id": 313,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"parameters": [
{
"id": 314,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -2323,6 +2336,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2352,6 +2366,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2372,6 +2387,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2401,6 +2417,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2424,21 +2441,27 @@
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"indexSignature": [
{
"id": 317,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"parameters": [
{
"id": 318,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
- "flags": {},
+ "flags": {
+ "isExported": true
+ },
"type": {
"type": "intrinsic",
"name": "string"
@@ -2462,6 +2485,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2482,6 +2506,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2511,6 +2536,7 @@
"kind": 32,
"kindString": "Variable",
"flags": {
+ "isExported": true,
"isOptional": true
},
"sources": [
@@ -2548,7 +2574,7 @@
{
"fileName": "RealtimeClient.ts",
"line": 14,
- "character": 14
+ "character": 21
}
]
}
diff --git a/web/spec/storage.json b/web/spec/storage.json
index 2534dbafbb3..fc4d6858de6 100644
--- a/web/spec/storage.json
+++ b/web/spec/storage.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 257,
+ "id": 270,
"name": "\"SupabaseStorageClient\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/SupabaseStorageClient.ts",
"children": [
{
- "id": 258,
+ "id": 271,
"name": "SupabaseStorageClient",
"kind": 128,
"kindString": "Class",
@@ -25,7 +25,7 @@
},
"children": [
{
- "id": 259,
+ "id": 272,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,7 +34,7 @@
},
"signatures": [
{
- "id": 260,
+ "id": 273,
"name": "new SupabaseStorageClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -43,7 +43,7 @@
},
"parameters": [
{
- "id": 261,
+ "id": 274,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -56,7 +56,7 @@
}
},
{
- "id": 262,
+ "id": 275,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -66,7 +66,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 263,
+ "id": 276,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -75,7 +75,7 @@
},
"indexSignature": [
{
- "id": 264,
+ "id": 277,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -84,7 +84,7 @@
},
"parameters": [
{
- "id": 265,
+ "id": 278,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -117,12 +117,12 @@
],
"type": {
"type": "reference",
- "id": 258,
+ "id": 271,
"name": "SupabaseStorageClient"
},
"overwrites": {
"type": "reference",
- "id": 95,
+ "id": 96,
"name": "StorageBucketApi.__constructor"
}
}
@@ -136,12 +136,12 @@
],
"overwrites": {
"type": "reference",
- "id": 95,
+ "id": 96,
"name": "StorageBucketApi.__constructor"
}
},
{
- "id": 270,
+ "id": 283,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -159,7 +159,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 271,
+ "id": 284,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -168,7 +168,7 @@
},
"indexSignature": [
{
- "id": 272,
+ "id": 285,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -177,7 +177,7 @@
},
"parameters": [
{
- "id": 273,
+ "id": 286,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -207,12 +207,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 91,
+ "id": 92,
"name": "StorageBucketApi.headers"
}
},
{
- "id": 269,
+ "id": 282,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -233,12 +233,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 90,
+ "id": 91,
"name": "StorageBucketApi.url"
}
},
{
- "id": 285,
+ "id": 298,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -247,7 +247,7 @@
},
"signatures": [
{
- "id": 286,
+ "id": 299,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -260,7 +260,7 @@
},
"parameters": [
{
- "id": 287,
+ "id": 300,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -276,7 +276,7 @@
}
},
{
- "id": 288,
+ "id": 301,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -286,7 +286,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 289,
+ "id": 302,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -295,7 +295,7 @@
},
"children": [
{
- "id": 290,
+ "id": 303,
"name": "public",
"kind": 32,
"kindString": "Variable",
@@ -320,7 +320,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 290
+ 303
]
}
],
@@ -342,7 +342,7 @@
{
"type": "reflection",
"declaration": {
- "id": 291,
+ "id": 304,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -351,7 +351,7 @@
},
"children": [
{
- "id": 292,
+ "id": 305,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -380,7 +380,7 @@
}
},
{
- "id": 293,
+ "id": 306,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -414,8 +414,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 292,
- 293
+ 305,
+ 306
]
}
],
@@ -433,7 +433,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 113,
+ "id": 114,
"name": "StorageBucketApi.createBucket"
}
}
@@ -447,12 +447,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 113,
+ "id": 114,
"name": "StorageBucketApi.createBucket"
}
},
{
- "id": 313,
+ "id": 326,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -461,7 +461,7 @@
},
"signatures": [
{
- "id": 314,
+ "id": 327,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -473,7 +473,7 @@
},
"parameters": [
{
- "id": 315,
+ "id": 328,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -495,7 +495,7 @@
{
"type": "reflection",
"declaration": {
- "id": 316,
+ "id": 329,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -504,7 +504,7 @@
},
"children": [
{
- "id": 317,
+ "id": 330,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -524,7 +524,7 @@
{
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 331,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -533,7 +533,7 @@
},
"children": [
{
- "id": 319,
+ "id": 332,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -558,7 +558,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 319
+ 332
]
}
],
@@ -579,7 +579,7 @@
}
},
{
- "id": 320,
+ "id": 333,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -613,8 +613,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 317,
- 320
+ 330,
+ 333
]
}
],
@@ -632,7 +632,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 141,
+ "id": 142,
"name": "StorageBucketApi.deleteBucket"
}
}
@@ -646,12 +646,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 141,
+ "id": 142,
"name": "StorageBucketApi.deleteBucket"
}
},
{
- "id": 305,
+ "id": 318,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -660,7 +660,7 @@
},
"signatures": [
{
- "id": 306,
+ "id": 319,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -672,7 +672,7 @@
},
"parameters": [
{
- "id": 307,
+ "id": 320,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -694,7 +694,7 @@
{
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -703,7 +703,7 @@
},
"children": [
{
- "id": 309,
+ "id": 322,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -723,7 +723,7 @@
{
"type": "reflection",
"declaration": {
- "id": 310,
+ "id": 323,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -732,7 +732,7 @@
},
"children": [
{
- "id": 311,
+ "id": 324,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -757,7 +757,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 311
+ 324
]
}
],
@@ -778,7 +778,7 @@
}
},
{
- "id": 312,
+ "id": 325,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -812,8 +812,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 309,
- 312
+ 322,
+ 325
]
}
],
@@ -831,7 +831,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 133,
+ "id": 134,
"name": "StorageBucketApi.emptyBucket"
}
}
@@ -845,12 +845,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 133,
+ "id": 134,
"name": "StorageBucketApi.emptyBucket"
}
},
{
- "id": 266,
+ "id": 279,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -859,7 +859,7 @@
},
"signatures": [
{
- "id": 267,
+ "id": 280,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -871,7 +871,7 @@
},
"parameters": [
{
- "id": 268,
+ "id": 281,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -889,7 +889,7 @@
],
"type": {
"type": "reference",
- "id": 153,
+ "id": 154,
"name": "StorageFileApi"
}
}
@@ -903,7 +903,7 @@
]
},
{
- "id": 279,
+ "id": 292,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -912,7 +912,7 @@
},
"signatures": [
{
- "id": 280,
+ "id": 293,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -924,7 +924,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -946,7 +946,7 @@
{
"type": "reflection",
"declaration": {
- "id": 282,
+ "id": 295,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -955,7 +955,7 @@
},
"children": [
{
- "id": 283,
+ "id": 296,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -985,7 +985,7 @@
}
},
{
- "id": 284,
+ "id": 297,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1019,8 +1019,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 283,
- 284
+ 296,
+ 297
]
}
],
@@ -1038,7 +1038,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 107,
+ "id": 108,
"name": "StorageBucketApi.getBucket"
}
}
@@ -1052,12 +1052,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 107,
+ "id": 108,
"name": "StorageBucketApi.getBucket"
}
},
{
- "id": 274,
+ "id": 287,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -1066,7 +1066,7 @@
},
"signatures": [
{
- "id": 275,
+ "id": 288,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -1082,7 +1082,7 @@
{
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1091,7 +1091,7 @@
},
"children": [
{
- "id": 277,
+ "id": 290,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1124,7 +1124,7 @@
}
},
{
- "id": 278,
+ "id": 291,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1158,8 +1158,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 277,
- 278
+ 290,
+ 291
]
}
],
@@ -1177,7 +1177,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 102,
+ "id": 103,
"name": "StorageBucketApi.listBuckets"
}
}
@@ -1191,12 +1191,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 102,
+ "id": 103,
"name": "StorageBucketApi.listBuckets"
}
},
{
- "id": 294,
+ "id": 307,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -1205,7 +1205,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 308,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1217,7 +1217,7 @@
},
"parameters": [
{
- "id": 296,
+ "id": 309,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1233,7 +1233,7 @@
}
},
{
- "id": 297,
+ "id": 310,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1243,7 +1243,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 298,
+ "id": 311,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1252,7 +1252,7 @@
},
"children": [
{
- "id": 299,
+ "id": 312,
"name": "public",
"kind": 32,
"kindString": "Variable",
@@ -1277,7 +1277,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 299
+ 312
]
}
],
@@ -1298,7 +1298,7 @@
{
"type": "reflection",
"declaration": {
- "id": 300,
+ "id": 313,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1307,7 +1307,7 @@
},
"children": [
{
- "id": 301,
+ "id": 314,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1327,7 +1327,7 @@
{
"type": "reflection",
"declaration": {
- "id": 302,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1336,7 +1336,7 @@
},
"children": [
{
- "id": 303,
+ "id": 316,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -1361,7 +1361,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 303
+ 316
]
}
],
@@ -1382,7 +1382,7 @@
}
},
{
- "id": 304,
+ "id": 317,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1416,8 +1416,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 301,
- 304
+ 314,
+ 317
]
}
],
@@ -1435,7 +1435,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 122,
+ "id": 123,
"name": "StorageBucketApi.updateBucket"
}
}
@@ -1449,7 +1449,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 122,
+ "id": 123,
"name": "StorageBucketApi.updateBucket"
}
}
@@ -1459,28 +1459,28 @@
"title": "Constructors",
"kind": 512,
"children": [
- 259
+ 272
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 270,
- 269
+ 283,
+ 282
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 285,
- 313,
- 305,
- 266,
+ 298,
+ 326,
+ 318,
279,
- 274,
- 294
+ 292,
+ 287,
+ 307
]
}
],
@@ -1494,7 +1494,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 89,
+ "id": 90,
"name": "StorageBucketApi"
}
]
@@ -1505,7 +1505,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 258
+ 271
]
}
],
@@ -1518,7 +1518,7 @@
]
},
{
- "id": 321,
+ "id": 334,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -1528,7 +1528,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/index.ts",
"children": [
{
- "id": 322,
+ "id": 335,
"name": "Bucket",
"kind": 16777216,
"kindString": "Reference",
@@ -1538,7 +1538,7 @@
"target": 58
},
{
- "id": 323,
+ "id": 336,
"name": "FileObject",
"kind": 16777216,
"kindString": "Reference",
@@ -1548,7 +1548,7 @@
"target": 65
},
{
- "id": 325,
+ "id": 338,
"name": "FileOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -1558,27 +1558,27 @@
"target": 79
},
{
- "id": 327,
+ "id": 340,
"name": "Metadata",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 86
+ "target": 87
},
{
- "id": 326,
+ "id": 339,
"name": "SearchOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 82
+ "target": 83
},
{
- "id": 324,
+ "id": 337,
"name": "SortBy",
"kind": 16777216,
"kindString": "Reference",
@@ -1593,12 +1593,12 @@
"title": "References",
"kind": 16777216,
"children": [
- 322,
- 323,
- 325,
- 327,
- 326,
- 324
+ 335,
+ 336,
+ 338,
+ 340,
+ 339,
+ 337
]
}
],
@@ -1611,7 +1611,7 @@
]
},
{
- "id": 88,
+ "id": 89,
"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": 89,
+ "id": 90,
"name": "StorageBucketApi",
"kind": 128,
"kindString": "Class",
@@ -1630,7 +1630,7 @@
},
"children": [
{
- "id": 95,
+ "id": 96,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1639,7 +1639,7 @@
},
"signatures": [
{
- "id": 96,
+ "id": 97,
"name": "new StorageBucketApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -1648,7 +1648,7 @@
},
"parameters": [
{
- "id": 97,
+ "id": 98,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -1661,7 +1661,7 @@
}
},
{
- "id": 98,
+ "id": 99,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -1671,7 +1671,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 99,
+ "id": 100,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1680,7 +1680,7 @@
},
"indexSignature": [
{
- "id": 100,
+ "id": 101,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -1689,7 +1689,7 @@
},
"parameters": [
{
- "id": 101,
+ "id": 102,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -1722,7 +1722,7 @@
],
"type": {
"type": "reference",
- "id": 89,
+ "id": 90,
"name": "StorageBucketApi"
}
}
@@ -1736,7 +1736,7 @@
]
},
{
- "id": 91,
+ "id": 92,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -1754,7 +1754,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 92,
+ "id": 93,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1763,7 +1763,7 @@
},
"indexSignature": [
{
- "id": 93,
+ "id": 94,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -1772,7 +1772,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 95,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -1802,7 +1802,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -1823,7 +1823,7 @@
}
},
{
- "id": 113,
+ "id": 114,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -1832,7 +1832,7 @@
},
"signatures": [
{
- "id": 114,
+ "id": 115,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1845,7 +1845,7 @@
},
"parameters": [
{
- "id": 115,
+ "id": 116,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1861,7 +1861,7 @@
}
},
{
- "id": 116,
+ "id": 117,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1871,7 +1871,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 117,
+ "id": 118,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1880,7 +1880,7 @@
},
"children": [
{
- "id": 118,
+ "id": 119,
"name": "public",
"kind": 32,
"kindString": "Variable",
@@ -1905,7 +1905,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 118
+ 119
]
}
],
@@ -1927,7 +1927,7 @@
{
"type": "reflection",
"declaration": {
- "id": 119,
+ "id": 120,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1936,7 +1936,7 @@
},
"children": [
{
- "id": 120,
+ "id": 121,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1965,7 +1965,7 @@
}
},
{
- "id": 121,
+ "id": 122,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1999,8 +1999,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 120,
- 121
+ 121,
+ 122
]
}
],
@@ -2027,7 +2027,7 @@
]
},
{
- "id": 141,
+ "id": 142,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -2036,7 +2036,7 @@
},
"signatures": [
{
- "id": 142,
+ "id": 143,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -2048,7 +2048,7 @@
},
"parameters": [
{
- "id": 143,
+ "id": 144,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -2070,7 +2070,7 @@
{
"type": "reflection",
"declaration": {
- "id": 144,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2079,7 +2079,7 @@
},
"children": [
{
- "id": 145,
+ "id": 146,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2099,7 +2099,7 @@
{
"type": "reflection",
"declaration": {
- "id": 146,
+ "id": 147,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2108,7 +2108,7 @@
},
"children": [
{
- "id": 147,
+ "id": 148,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -2133,7 +2133,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 147
+ 148
]
}
],
@@ -2154,7 +2154,7 @@
}
},
{
- "id": 148,
+ "id": 149,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2188,8 +2188,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 145,
- 148
+ 146,
+ 149
]
}
],
@@ -2216,7 +2216,7 @@
]
},
{
- "id": 133,
+ "id": 134,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -2225,7 +2225,7 @@
},
"signatures": [
{
- "id": 134,
+ "id": 135,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -2237,7 +2237,7 @@
},
"parameters": [
{
- "id": 135,
+ "id": 136,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -2259,7 +2259,7 @@
{
"type": "reflection",
"declaration": {
- "id": 136,
+ "id": 137,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2268,7 +2268,7 @@
},
"children": [
{
- "id": 137,
+ "id": 138,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2288,7 +2288,7 @@
{
"type": "reflection",
"declaration": {
- "id": 138,
+ "id": 139,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2297,7 +2297,7 @@
},
"children": [
{
- "id": 139,
+ "id": 140,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -2322,7 +2322,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 139
+ 140
]
}
],
@@ -2343,7 +2343,7 @@
}
},
{
- "id": 140,
+ "id": 141,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2377,8 +2377,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 137,
- 140
+ 138,
+ 141
]
}
],
@@ -2405,7 +2405,7 @@
]
},
{
- "id": 107,
+ "id": 108,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -2414,7 +2414,7 @@
},
"signatures": [
{
- "id": 108,
+ "id": 109,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -2426,7 +2426,7 @@
},
"parameters": [
{
- "id": 109,
+ "id": 110,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -2448,7 +2448,7 @@
{
"type": "reflection",
"declaration": {
- "id": 110,
+ "id": 111,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2457,7 +2457,7 @@
},
"children": [
{
- "id": 111,
+ "id": 112,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2487,7 +2487,7 @@
}
},
{
- "id": 112,
+ "id": 113,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2521,8 +2521,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 111,
- 112
+ 112,
+ 113
]
}
],
@@ -2549,7 +2549,7 @@
]
},
{
- "id": 102,
+ "id": 103,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -2558,7 +2558,7 @@
},
"signatures": [
{
- "id": 103,
+ "id": 104,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -2574,7 +2574,7 @@
{
"type": "reflection",
"declaration": {
- "id": 104,
+ "id": 105,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2583,7 +2583,7 @@
},
"children": [
{
- "id": 105,
+ "id": 106,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2616,7 +2616,7 @@
}
},
{
- "id": 106,
+ "id": 107,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2650,8 +2650,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 105,
- 106
+ 106,
+ 107
]
}
],
@@ -2678,7 +2678,7 @@
]
},
{
- "id": 122,
+ "id": 123,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -2687,7 +2687,7 @@
},
"signatures": [
{
- "id": 123,
+ "id": 124,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -2699,7 +2699,7 @@
},
"parameters": [
{
- "id": 124,
+ "id": 125,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -2715,7 +2715,7 @@
}
},
{
- "id": 125,
+ "id": 126,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2725,7 +2725,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 126,
+ "id": 127,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2734,7 +2734,7 @@
},
"children": [
{
- "id": 127,
+ "id": 128,
"name": "public",
"kind": 32,
"kindString": "Variable",
@@ -2759,7 +2759,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 127
+ 128
]
}
],
@@ -2780,7 +2780,7 @@
{
"type": "reflection",
"declaration": {
- "id": 128,
+ "id": 129,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2789,7 +2789,7 @@
},
"children": [
{
- "id": 129,
+ "id": 130,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2809,7 +2809,7 @@
{
"type": "reflection",
"declaration": {
- "id": 130,
+ "id": 131,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2818,7 +2818,7 @@
},
"children": [
{
- "id": 131,
+ "id": 132,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -2843,7 +2843,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 131
+ 132
]
}
],
@@ -2864,7 +2864,7 @@
}
},
{
- "id": 132,
+ "id": 133,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2898,8 +2898,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 129,
- 132
+ 130,
+ 133
]
}
],
@@ -2931,27 +2931,27 @@
"title": "Constructors",
"kind": 512,
"children": [
- 95
+ 96
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 91,
- 90
+ 92,
+ 91
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 113,
- 141,
- 133,
- 107,
- 102,
- 122
+ 114,
+ 142,
+ 134,
+ 108,
+ 103,
+ 123
]
}
],
@@ -2965,7 +2965,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 258,
+ "id": 271,
"name": "SupabaseStorageClient"
}
]
@@ -2976,7 +2976,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 89
+ 90
]
}
],
@@ -2989,7 +2989,7 @@
]
},
{
- "id": 152,
+ "id": 153,
"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": 153,
+ "id": 154,
"name": "StorageFileApi",
"kind": 128,
"kindString": "Class",
@@ -3008,7 +3008,7 @@
},
"children": [
{
- "id": 160,
+ "id": 161,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -3017,7 +3017,7 @@
},
"signatures": [
{
- "id": 161,
+ "id": 162,
"name": "new StorageFileApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -3026,7 +3026,7 @@
},
"parameters": [
{
- "id": 162,
+ "id": 163,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -3039,7 +3039,7 @@
}
},
{
- "id": 163,
+ "id": 164,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -3049,7 +3049,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 164,
+ "id": 165,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3058,7 +3058,7 @@
},
"indexSignature": [
{
- "id": 165,
+ "id": 166,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -3067,7 +3067,7 @@
},
"parameters": [
{
- "id": 166,
+ "id": 167,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -3089,7 +3089,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 24,
+ "line": 26,
"character": 35
}
]
@@ -3098,7 +3098,7 @@
"defaultValue": "{}"
},
{
- "id": 167,
+ "id": 168,
"name": "bucketId",
"kind": 32768,
"kindString": "Parameter",
@@ -3123,7 +3123,7 @@
],
"type": {
"type": "reference",
- "id": 153,
+ "id": 154,
"name": "StorageFileApi"
}
}
@@ -3131,13 +3131,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 22,
+ "line": 24,
"character": 29
}
]
},
{
- "id": 159,
+ "id": 160,
"name": "bucketId",
"kind": 1024,
"kindString": "Property",
@@ -3149,7 +3149,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 22,
+ "line": 24,
"character": 20
}
],
@@ -3168,7 +3168,7 @@
}
},
{
- "id": 155,
+ "id": 156,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -3179,14 +3179,14 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 21,
+ "line": 23,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 156,
+ "id": 157,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3195,7 +3195,7 @@
},
"indexSignature": [
{
- "id": 157,
+ "id": 158,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -3204,7 +3204,7 @@
},
"parameters": [
{
- "id": 158,
+ "id": 159,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -3226,7 +3226,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 21,
+ "line": 23,
"character": 20
}
]
@@ -3234,7 +3234,7 @@
}
},
{
- "id": 154,
+ "id": 155,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -3245,7 +3245,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 20,
+ "line": 22,
"character": 15
}
],
@@ -3255,7 +3255,7 @@
}
},
{
- "id": 236,
+ "id": 248,
"name": "_getFinalPath",
"kind": 2048,
"kindString": "Method",
@@ -3264,7 +3264,7 @@
},
"signatures": [
{
- "id": 237,
+ "id": 249,
"name": "_getFinalPath",
"kind": 4096,
"kindString": "Call signature",
@@ -3273,7 +3273,7 @@
},
"parameters": [
{
- "id": 238,
+ "id": 250,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -3295,13 +3295,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 280,
+ "line": 321,
"character": 15
}
]
},
{
- "id": 197,
+ "id": 209,
"name": "createSignedUrl",
"kind": 2048,
"kindString": "Method",
@@ -3310,7 +3310,7 @@
},
"signatures": [
{
- "id": 198,
+ "id": 210,
"name": "createSignedUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -3322,7 +3322,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 211,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -3338,7 +3338,7 @@
}
},
{
- "id": 200,
+ "id": 212,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -3360,7 +3360,7 @@
{
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 213,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3369,7 +3369,7 @@
},
"children": [
{
- "id": 202,
+ "id": 214,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3379,7 +3379,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 147,
+ "line": 188,
"character": 8
}
],
@@ -3389,7 +3389,7 @@
{
"type": "reflection",
"declaration": {
- "id": 203,
+ "id": 215,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3398,7 +3398,7 @@
},
"children": [
{
- "id": 204,
+ "id": 216,
"name": "signedURL",
"kind": 32,
"kindString": "Variable",
@@ -3408,7 +3408,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 147,
+ "line": 188,
"character": 21
}
],
@@ -3423,14 +3423,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 204
+ 216
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 147,
+ "line": 188,
"character": 9
}
]
@@ -3444,7 +3444,7 @@
}
},
{
- "id": 205,
+ "id": 217,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3454,7 +3454,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 148,
+ "line": 189,
"character": 9
}
],
@@ -3473,7 +3473,7 @@
}
},
{
- "id": 206,
+ "id": 218,
"name": "signedURL",
"kind": 32,
"kindString": "Variable",
@@ -3483,7 +3483,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 149,
+ "line": 190,
"character": 13
}
],
@@ -3507,16 +3507,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 202,
- 205,
- 206
+ 214,
+ 217,
+ 218
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 146,
+ "line": 187,
"character": 13
}
]
@@ -3530,13 +3530,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 143,
+ "line": 184,
"character": 23
}
]
},
{
- "id": 207,
+ "id": 219,
"name": "download",
"kind": 2048,
"kindString": "Method",
@@ -3545,7 +3545,7 @@
},
"signatures": [
{
- "id": 208,
+ "id": 220,
"name": "download",
"kind": 4096,
"kindString": "Call signature",
@@ -3557,7 +3557,7 @@
},
"parameters": [
{
- "id": 209,
+ "id": 221,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -3579,7 +3579,7 @@
{
"type": "reflection",
"declaration": {
- "id": 210,
+ "id": 222,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3588,7 +3588,7 @@
},
"children": [
{
- "id": 211,
+ "id": 223,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3598,7 +3598,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 171,
+ "line": 212,
"character": 46
}
],
@@ -3617,7 +3617,7 @@
}
},
{
- "id": 212,
+ "id": 224,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3627,7 +3627,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 171,
+ "line": 212,
"character": 66
}
],
@@ -3651,15 +3651,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 211,
- 212
+ 223,
+ 224
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 171,
+ "line": 212,
"character": 40
}
]
@@ -3673,13 +3673,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 171,
+ "line": 212,
"character": 16
}
]
},
{
- "id": 213,
+ "id": 225,
"name": "getPublicUrl",
"kind": 2048,
"kindString": "Method",
@@ -3688,7 +3688,7 @@
},
"signatures": [
{
- "id": 214,
+ "id": 226,
"name": "getPublicUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -3700,7 +3700,7 @@
},
"parameters": [
{
- "id": 215,
+ "id": 227,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -3719,7 +3719,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 216,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3728,7 +3728,7 @@
},
"children": [
{
- "id": 217,
+ "id": 229,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3738,7 +3738,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 193,
+ "line": 234,
"character": 8
}
],
@@ -3748,7 +3748,7 @@
{
"type": "reflection",
"declaration": {
- "id": 218,
+ "id": 230,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3757,7 +3757,7 @@
},
"children": [
{
- "id": 219,
+ "id": 231,
"name": "publicURL",
"kind": 32,
"kindString": "Variable",
@@ -3767,7 +3767,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 193,
+ "line": 234,
"character": 21
}
],
@@ -3782,14 +3782,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 219
+ 231
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 193,
+ "line": 234,
"character": 9
}
]
@@ -3803,7 +3803,7 @@
}
},
{
- "id": 220,
+ "id": 232,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3813,7 +3813,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 194,
+ "line": 235,
"character": 9
}
],
@@ -3832,7 +3832,7 @@
}
},
{
- "id": 221,
+ "id": 233,
"name": "publicURL",
"kind": 32,
"kindString": "Variable",
@@ -3842,7 +3842,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 195,
+ "line": 236,
"character": 13
}
],
@@ -3866,16 +3866,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 217,
- 220,
- 221
+ 229,
+ 232,
+ 233
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 192,
+ "line": 233,
"character": 4
}
]
@@ -3886,13 +3886,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 190,
+ "line": 231,
"character": 14
}
]
},
{
- "id": 228,
+ "id": 240,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -3901,7 +3901,7 @@
},
"signatures": [
{
- "id": 229,
+ "id": 241,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -3913,7 +3913,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 242,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -3939,7 +3939,7 @@
}
},
{
- "id": 231,
+ "id": 243,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3952,12 +3952,12 @@
},
"type": {
"type": "reference",
- "id": 82,
+ "id": 83,
"name": "SearchOptions"
}
},
{
- "id": 232,
+ "id": 244,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3981,7 +3981,7 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3990,7 +3990,7 @@
},
"children": [
{
- "id": 234,
+ "id": 246,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4000,7 +4000,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 265,
+ "line": 306,
"character": 19
}
],
@@ -4023,7 +4023,7 @@
}
},
{
- "id": 235,
+ "id": 247,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4033,7 +4033,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 265,
+ "line": 306,
"character": 47
}
],
@@ -4057,15 +4057,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 234,
- 235
+ 246,
+ 247
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 265,
+ "line": 306,
"character": 13
}
]
@@ -4079,13 +4079,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 261,
+ "line": 302,
"character": 12
}
]
},
{
- "id": 188,
+ "id": 200,
"name": "move",
"kind": 2048,
"kindString": "Method",
@@ -4094,7 +4094,7 @@
},
"signatures": [
{
- "id": 189,
+ "id": 201,
"name": "move",
"kind": 4096,
"kindString": "Call signature",
@@ -4106,7 +4106,7 @@
},
"parameters": [
{
- "id": 190,
+ "id": 202,
"name": "fromPath",
"kind": 32768,
"kindString": "Parameter",
@@ -4122,7 +4122,7 @@
}
},
{
- "id": 191,
+ "id": 203,
"name": "toPath",
"kind": 32768,
"kindString": "Parameter",
@@ -4144,7 +4144,7 @@
{
"type": "reflection",
"declaration": {
- "id": 192,
+ "id": 204,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4153,7 +4153,7 @@
},
"children": [
{
- "id": 193,
+ "id": 205,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4163,7 +4163,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 19
}
],
@@ -4173,7 +4173,7 @@
{
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 206,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4182,7 +4182,7 @@
},
"children": [
{
- "id": 195,
+ "id": 207,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -4192,7 +4192,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 30
}
],
@@ -4207,14 +4207,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 195
+ 207
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 20
}
]
@@ -4228,7 +4228,7 @@
}
},
{
- "id": 196,
+ "id": 208,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4238,7 +4238,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 54
}
],
@@ -4262,15 +4262,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 193,
- 196
+ 205,
+ 208
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 124,
+ "line": 165,
"character": 13
}
]
@@ -4284,13 +4284,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 121,
+ "line": 162,
"character": 12
}
]
},
{
- "id": 222,
+ "id": 234,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -4299,7 +4299,7 @@
},
"signatures": [
{
- "id": 223,
+ "id": 235,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -4311,7 +4311,7 @@
},
"parameters": [
{
- "id": 224,
+ "id": 236,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -4336,7 +4336,7 @@
{
"type": "reflection",
"declaration": {
- "id": 225,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4345,7 +4345,7 @@
},
"children": [
{
- "id": 226,
+ "id": 238,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4355,7 +4355,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 212,
+ "line": 253,
"character": 47
}
],
@@ -4378,7 +4378,7 @@
}
},
{
- "id": 227,
+ "id": 239,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4388,7 +4388,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 212,
+ "line": 253,
"character": 75
}
],
@@ -4412,15 +4412,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 226,
- 227
+ 238,
+ 239
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 212,
+ "line": 253,
"character": 41
}
]
@@ -4434,13 +4434,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 212,
+ "line": 253,
"character": 14
}
]
},
{
- "id": 178,
+ "id": 190,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -4449,7 +4449,7 @@
},
"signatures": [
{
- "id": 179,
+ "id": 191,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -4461,7 +4461,7 @@
},
"parameters": [
{
- "id": 180,
+ "id": 192,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -4469,7 +4469,7 @@
"isExported": true
},
"comment": {
- "text": "The relative file path. Should be of the format `folder/subfolder`. The bucket already exist before attempting to upload."
+ "text": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
},
"type": {
"type": "intrinsic",
@@ -4477,23 +4477,70 @@
}
},
{
- "id": 181,
- "name": "file",
+ "id": 193,
+ "name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The file object to be stored in the bucket."
+ "text": "The body of the file to be stored in the bucket."
},
"type": {
- "type": "reference",
- "name": "File"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
},
{
- "id": 182,
+ "id": 194,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -4502,7 +4549,7 @@
"isOptional": true
},
"comment": {
- "text": "HTTP headers. For example `cacheControl`\n"
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
},
"type": {
"type": "reference",
@@ -4517,7 +4564,7 @@
{
"type": "reflection",
"declaration": {
- "id": 183,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4526,7 +4573,7 @@
},
"children": [
{
- "id": 184,
+ "id": 196,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4536,7 +4583,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 85,
+ "line": 152,
"character": 19
}
],
@@ -4546,7 +4593,7 @@
{
"type": "reflection",
"declaration": {
- "id": 185,
+ "id": 197,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4555,7 +4602,7 @@
},
"children": [
{
- "id": 186,
+ "id": 198,
"name": "Key",
"kind": 32,
"kindString": "Variable",
@@ -4565,7 +4612,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 85,
+ "line": 152,
"character": 26
}
],
@@ -4580,14 +4627,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 186
+ 198
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 85,
+ "line": 152,
"character": 20
}
]
@@ -4601,7 +4648,7 @@
}
},
{
- "id": 187,
+ "id": 199,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4611,7 +4658,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 85,
+ "line": 152,
"character": 50
}
],
@@ -4635,15 +4682,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 184,
- 187
+ 196,
+ 199
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 85,
+ "line": 152,
"character": 13
}
]
@@ -4657,13 +4704,13 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 81,
+ "line": 138,
"character": 14
}
]
},
{
- "id": 168,
+ "id": 180,
"name": "upload",
"kind": 2048,
"kindString": "Method",
@@ -4672,7 +4719,7 @@
},
"signatures": [
{
- "id": 169,
+ "id": 181,
"name": "upload",
"kind": 4096,
"kindString": "Call signature",
@@ -4684,7 +4731,7 @@
},
"parameters": [
{
- "id": 170,
+ "id": 182,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -4700,23 +4747,366 @@
}
},
{
- "id": 171,
- "name": "file",
+ "id": 183,
+ "name": "fileBody",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The File object to be stored in the bucket."
+ "text": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 184,
+ "name": "fileOptions",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
},
"type": {
"type": "reference",
- "name": "File"
+ "id": 79,
+ "name": "FileOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 185,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 186,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 187,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 188,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 188
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 189,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 186,
+ 189
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 124,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 110,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 169,
+ "name": "uploadOrUpdate",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 170,
+ "name": "uploadOrUpdate",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Uploads a file to an existing bucket or replaces an existing file at the specified path with a new one."
+ },
+ "parameters": [
+ {
+ "id": 171,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "HTTP method."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ }
+ ]
}
},
{
"id": 172,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 173,
+ "name": "fileBody",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The body of the file to be stored in the bucket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "ArrayBuffer"
+ },
+ {
+ "type": "reference",
+ "name": "ArrayBufferView"
+ },
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "reference",
+ "name": "Buffer"
+ },
+ {
+ "type": "reference",
+ "name": "File"
+ },
+ {
+ "type": "reference",
+ "name": "FormData"
+ },
+ {
+ "type": "reference",
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Uint8Array"
+ }
+ ],
+ "name": "ReadableStream"
+ },
+ {
+ "type": "reference",
+ "name": "URLSearchParams"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 174,
"name": "fileOptions",
"kind": 32768,
"kindString": "Parameter",
@@ -4725,7 +5115,7 @@
"isOptional": true
},
"comment": {
- "text": "HTTP headers. For example `cacheControl`\n"
+ "text": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
},
"type": {
"type": "reference",
@@ -4740,7 +5130,7 @@
{
"type": "reflection",
"declaration": {
- "id": 173,
+ "id": 175,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4749,7 +5139,7 @@
},
"children": [
{
- "id": 174,
+ "id": 176,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4759,7 +5149,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 19
}
],
@@ -4769,7 +5159,7 @@
{
"type": "reflection",
"declaration": {
- "id": 175,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4778,7 +5168,7 @@
},
"children": [
{
- "id": 176,
+ "id": 178,
"name": "Key",
"kind": 32,
"kindString": "Variable",
@@ -4788,7 +5178,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 26
}
],
@@ -4803,14 +5193,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 176
+ 178
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 20
}
]
@@ -4824,7 +5214,7 @@
}
},
{
- "id": 177,
+ "id": 179,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4834,7 +5224,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 50
}
],
@@ -4858,15 +5248,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 174,
- 177
+ 176,
+ 179
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 41,
+ "line": 58,
"character": 13
}
]
@@ -4880,8 +5270,8 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 37,
- "character": 14
+ "line": 43,
+ "character": 30
}
]
}
@@ -4891,44 +5281,45 @@
"title": "Constructors",
"kind": 512,
"children": [
- 160
+ 161
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 159,
- 155,
- 154
+ 160,
+ 156,
+ 155
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 236,
- 197,
- 207,
- 213,
- 228,
- 188,
- 222,
- 178,
- 168
+ 248,
+ 209,
+ 219,
+ 225,
+ 240,
+ 200,
+ 234,
+ 190,
+ 180,
+ 169
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 19,
+ "line": 21,
"character": 27
}
]
},
{
- "id": 245,
+ "id": 257,
"name": "DEFAULT_FILE_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -4937,7 +5328,7 @@
},
"children": [
{
- "id": 246,
+ "id": 258,
"name": "cacheControl",
"kind": 32,
"kindString": "Variable",
@@ -4945,7 +5336,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 15,
+ "line": 16,
"character": 14
}
],
@@ -4956,7 +5347,26 @@
"defaultValue": "\"3600\""
},
{
- "id": 247,
+ "id": 259,
+ "name": "contentType",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/StorageFileApi.ts",
+ "line": 17,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"text/plain;charset=UTF-8\""
+ },
+ {
+ "id": 260,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -4964,7 +5374,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 16,
+ "line": 18,
"character": 8
}
],
@@ -4980,15 +5390,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 246,
- 247
+ 258,
+ 259,
+ 260
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 14,
+ "line": 15,
"character": 26
}
],
@@ -4998,7 +5409,7 @@
}
},
{
- "id": 239,
+ "id": 251,
"name": "DEFAULT_SEARCH_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -5007,7 +5418,7 @@
},
"children": [
{
- "id": 240,
+ "id": 252,
"name": "limit",
"kind": 32,
"kindString": "Variable",
@@ -5015,7 +5426,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 6,
+ "line": 7,
"character": 7
}
],
@@ -5026,7 +5437,7 @@
"defaultValue": "100"
},
{
- "id": 241,
+ "id": 253,
"name": "offset",
"kind": 32,
"kindString": "Variable",
@@ -5034,7 +5445,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 7,
+ "line": 8,
"character": 8
}
],
@@ -5045,14 +5456,14 @@
"defaultValue": "0"
},
{
- "id": 242,
+ "id": 254,
"name": "sortBy",
"kind": 2097152,
"kindString": "Object literal",
"flags": {},
"children": [
{
- "id": 243,
+ "id": 255,
"name": "column",
"kind": 32,
"kindString": "Variable",
@@ -5060,7 +5471,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 9,
+ "line": 10,
"character": 10
}
],
@@ -5071,7 +5482,7 @@
"defaultValue": "\"name\""
},
{
- "id": 244,
+ "id": 256,
"name": "order",
"kind": 32,
"kindString": "Variable",
@@ -5079,7 +5490,7 @@
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 10,
+ "line": 11,
"character": 9
}
],
@@ -5095,15 +5506,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 243,
- 244
+ 255,
+ 256
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 8,
+ "line": 9,
"character": 8
}
],
@@ -5118,22 +5529,22 @@
"title": "Variables",
"kind": 32,
"children": [
- 240,
- 241
+ 252,
+ 253
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 242
+ 254
]
}
],
"sources": [
{
"fileName": "lib/StorageFileApi.ts",
- "line": 5,
+ "line": 6,
"character": 28
}
],
@@ -5148,15 +5559,15 @@
"title": "Classes",
"kind": 128,
"children": [
- 153
+ 154
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 245,
- 239
+ 257,
+ 251
]
}
],
@@ -6129,7 +6540,7 @@
]
},
{
- "id": 149,
+ "id": 150,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -6139,7 +6550,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/lib/helpers.ts",
"children": [
{
- "id": 150,
+ "id": 151,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -6149,7 +6560,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 152,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -6176,7 +6587,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 150
+ 151
]
}
],
@@ -6189,7 +6600,7 @@
]
},
{
- "id": 248,
+ "id": 261,
"name": "\"lib/index\"",
"kind": 1,
"kindString": "Module",
@@ -6199,7 +6610,7 @@
"originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts",
"children": [
{
- "id": 251,
+ "id": 264,
"name": "Bucket",
"kind": 16777216,
"kindString": "Reference",
@@ -6209,7 +6620,7 @@
"target": 58
},
{
- "id": 252,
+ "id": 265,
"name": "FileObject",
"kind": 16777216,
"kindString": "Reference",
@@ -6219,7 +6630,7 @@
"target": 65
},
{
- "id": 254,
+ "id": 267,
"name": "FileOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -6229,27 +6640,27 @@
"target": 79
},
{
- "id": 256,
+ "id": 269,
"name": "Metadata",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 86
+ "target": 87
},
{
- "id": 255,
+ "id": 268,
"name": "SearchOptions",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 82
+ "target": 83
},
{
- "id": 253,
+ "id": 266,
"name": "SortBy",
"kind": 16777216,
"kindString": "Reference",
@@ -6259,24 +6670,24 @@
"target": 76
},
{
- "id": 249,
+ "id": 262,
"name": "StorageBucketApi",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 89
+ "target": 90
},
{
- "id": 250,
+ "id": 263,
"name": "StorageFileApi",
"kind": 16777216,
"kindString": "Reference",
"flags": {
"isExported": true
},
- "target": 153
+ "target": 154
}
],
"groups": [
@@ -6284,14 +6695,14 @@
"title": "References",
"kind": 16777216,
"children": [
- 251,
- 252,
- 254,
- 256,
- 255,
- 253,
- 249,
- 250
+ 264,
+ 265,
+ 267,
+ 269,
+ 268,
+ 266,
+ 262,
+ 263
]
}
],
@@ -6711,7 +7122,8 @@
"kind": 1024,
"kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
"sources": [
{
@@ -6721,13 +7133,22 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
},
{
"id": 81,
- "name": "upsert",
+ "name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -6738,6 +7159,36 @@
{
"fileName": "lib/types.ts",
"line": 29,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 82,
+ "name": "upsert",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
"character": 8
}
],
@@ -6766,7 +7217,8 @@
"kind": 1024,
"children": [
80,
- 81
+ 81,
+ 82
]
}
],
@@ -6779,7 +7231,7 @@
]
},
{
- "id": 86,
+ "id": 87,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
@@ -6788,7 +7240,7 @@
},
"children": [
{
- "id": 87,
+ "id": 88,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -6798,7 +7250,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 45,
+ "line": 46,
"character": 6
}
],
@@ -6813,20 +7265,20 @@
"title": "Properties",
"kind": 1024,
"children": [
- 87
+ 88
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 44,
+ "line": 45,
"character": 25
}
]
},
{
- "id": 82,
+ "id": 83,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
@@ -6835,7 +7287,7 @@
},
"children": [
{
- "id": 83,
+ "id": 84,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -6849,7 +7301,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 34,
+ "line": 35,
"character": 7
}
],
@@ -6868,7 +7320,7 @@
}
},
{
- "id": 84,
+ "id": 85,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -6882,7 +7334,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 37,
+ "line": 38,
"character": 8
}
],
@@ -6901,7 +7353,7 @@
}
},
{
- "id": 85,
+ "id": 86,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -6915,7 +7367,7 @@
"sources": [
{
"fileName": "lib/types.ts",
- "line": 40,
+ "line": 41,
"character": 8
}
],
@@ -6931,16 +7383,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 83,
84,
- 85
+ 85,
+ 86
]
}
],
"sources": [
{
"fileName": "lib/types.ts",
- "line": 32,
+ "line": 33,
"character": 30
}
]
@@ -7042,8 +7494,8 @@
58,
65,
79,
- 86,
- 82,
+ 87,
+ 83,
76
]
}
@@ -7062,13 +7514,13 @@
"title": "Modules",
"kind": 1,
"children": [
- 257,
- 321,
- 88,
- 152,
+ 270,
+ 334,
+ 89,
+ 153,
1,
- 149,
- 248,
+ 150,
+ 261,
57
]
}
diff --git a/web/spec/supabase.json b/web/spec/supabase.json
index 3228e17d04d..13acb57dfd6 100644
--- a/web/spec/supabase.json
+++ b/web/spec/supabase.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 247,
+ "id": 248,
"name": "\"SupabaseClient\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts",
"children": [
{
- "id": 248,
+ "id": 249,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -29,7 +29,7 @@
},
"children": [
{
- "id": 256,
+ "id": 257,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -41,7 +41,7 @@
},
"signatures": [
{
- "id": 259,
+ "id": 260,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -53,7 +53,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 261,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -69,7 +69,7 @@
}
},
{
- "id": 261,
+ "id": 262,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -85,7 +85,7 @@
}
},
{
- "id": 262,
+ "id": 263,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -102,7 +102,7 @@
],
"type": {
"type": "reference",
- "id": 248,
+ "id": 249,
"name": "SupabaseClient"
}
}
@@ -116,7 +116,7 @@
]
},
{
- "id": 249,
+ "id": 250,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -135,12 +135,12 @@
],
"type": {
"type": "reference",
- "id": 27,
+ "id": 28,
"name": "SupabaseAuthClient"
}
},
{
- "id": 253,
+ "id": 254,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -161,7 +161,7 @@
}
},
{
- "id": 255,
+ "id": 256,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -182,7 +182,7 @@
}
},
{
- "id": 252,
+ "id": 253,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
@@ -203,7 +203,7 @@
}
},
{
- "id": 251,
+ "id": 252,
"name": "restUrl",
"kind": 1024,
"kindString": "Property",
@@ -224,7 +224,7 @@
}
},
{
- "id": 250,
+ "id": 251,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -245,7 +245,7 @@
}
},
{
- "id": 254,
+ "id": 255,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -266,7 +266,7 @@
}
},
{
- "id": 258,
+ "id": 259,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -281,7 +281,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 48,
+ "line": 49,
"character": 25
}
],
@@ -291,7 +291,7 @@
}
},
{
- "id": 257,
+ "id": 258,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -306,7 +306,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 47,
+ "line": 48,
"character": 25
}
],
@@ -316,7 +316,7 @@
}
},
{
- "id": 263,
+ "id": 264,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -328,7 +328,7 @@
},
"getSignature": [
{
- "id": 264,
+ "id": 265,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
@@ -347,13 +347,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 73,
+ "line": 74,
"character": 13
}
]
},
{
- "id": 299,
+ "id": 301,
"name": "_closeChannel",
"kind": 2048,
"kindString": "Method",
@@ -363,7 +363,7 @@
},
"signatures": [
{
- "id": 300,
+ "id": 302,
"name": "_closeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -372,7 +372,7 @@
},
"parameters": [
{
- "id": 301,
+ "id": 303,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -400,13 +400,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 178,
+ "line": 180,
"character": 23
}
]
},
{
- "id": 277,
+ "id": 278,
"name": "_closeSubscription",
"kind": 2048,
"kindString": "Method",
@@ -416,7 +416,7 @@
},
"signatures": [
{
- "id": 278,
+ "id": 279,
"name": "_closeSubscription",
"kind": 4096,
"kindString": "Call signature",
@@ -425,7 +425,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 280,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -453,13 +453,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 125,
+ "line": 126,
"character": 34
}
]
},
{
- "id": 294,
+ "id": 296,
"name": "_getAuthHeaders",
"kind": 2048,
"kindString": "Method",
@@ -469,7 +469,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 297,
"name": "_getAuthHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -479,7 +479,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 296,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -488,7 +488,7 @@
},
"indexSignature": [
{
- "id": 297,
+ "id": 299,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -497,7 +497,7 @@
},
"parameters": [
{
- "id": 298,
+ "id": 300,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -519,7 +519,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 170,
+ "line": 172,
"character": 28
}
]
@@ -530,13 +530,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 170,
+ "line": 172,
"character": 25
}
]
},
{
- "id": 292,
+ "id": 294,
"name": "_initPostgRESTClient",
"kind": 2048,
"kindString": "Method",
@@ -546,7 +546,7 @@
},
"signatures": [
{
- "id": 293,
+ "id": 295,
"name": "_initPostgRESTClient",
"kind": 4096,
"kindString": "Call signature",
@@ -562,13 +562,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 163,
+ "line": 165,
"character": 30
}
]
},
{
- "id": 290,
+ "id": 291,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -578,13 +578,29 @@
},
"signatures": [
{
- "id": 291,
+ "id": 292,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
+ "parameters": [
+ {
+ "id": 293,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClientOptions"
+ }
+ }
+ ],
"type": {
"type": "reference",
"name": "RealtimeClient"
@@ -594,13 +610,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 157,
+ "line": 158,
"character": 29
}
]
},
{
- "id": 282,
+ "id": 283,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -610,7 +626,7 @@
},
"signatures": [
{
- "id": 283,
+ "id": 284,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
@@ -619,7 +635,7 @@
},
"parameters": [
{
- "id": 284,
+ "id": 285,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -630,7 +646,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 285,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -639,7 +655,7 @@
},
"children": [
{
- "id": 286,
+ "id": 287,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -649,7 +665,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 139,
+ "line": 140,
"character": 20
}
],
@@ -672,7 +688,7 @@
}
},
{
- "id": 288,
+ "id": 289,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -682,7 +698,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 141,
+ "line": 142,
"character": 22
}
],
@@ -705,7 +721,7 @@
}
},
{
- "id": 289,
+ "id": 290,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -715,7 +731,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 142,
+ "line": 143,
"character": 16
}
],
@@ -734,7 +750,7 @@
}
},
{
- "id": 287,
+ "id": 288,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -744,7 +760,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 140,
+ "line": 141,
"character": 18
}
],
@@ -772,17 +788,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 286,
- 288,
+ 287,
289,
- 287
+ 290,
+ 288
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 138,
+ "line": 139,
"character": 34
}
]
@@ -792,7 +808,7 @@
],
"type": {
"type": "reference",
- "id": 27,
+ "id": 28,
"name": "SupabaseAuthClient"
}
}
@@ -800,13 +816,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 138,
+ "line": 139,
"character": 33
}
]
},
{
- "id": 265,
+ "id": 266,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -815,7 +831,7 @@
},
"signatures": [
{
- "id": 266,
+ "id": 267,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -827,7 +843,7 @@
},
"typeParameter": [
{
- "id": 267,
+ "id": 268,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -838,7 +854,7 @@
],
"parameters": [
{
- "id": 268,
+ "id": 269,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -856,7 +872,7 @@
],
"type": {
"type": "reference",
- "id": 157,
+ "id": 158,
"typeArguments": [
{
"type": "typeParameter",
@@ -874,13 +890,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 82,
+ "line": 83,
"character": 6
}
]
},
{
- "id": 280,
+ "id": 281,
"name": "getSubscriptions",
"kind": 2048,
"kindString": "Method",
@@ -889,7 +905,7 @@
},
"signatures": [
{
- "id": 281,
+ "id": 282,
"name": "getSubscriptions",
"kind": 4096,
"kindString": "Call signature",
@@ -911,13 +927,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 134,
+ "line": 135,
"character": 18
}
]
},
{
- "id": 274,
+ "id": 275,
"name": "removeSubscription",
"kind": 2048,
"kindString": "Method",
@@ -926,7 +942,7 @@
},
"signatures": [
{
- "id": 275,
+ "id": 276,
"name": "removeSubscription",
"kind": 4096,
"kindString": "Call signature",
@@ -938,7 +954,7 @@
},
"parameters": [
{
- "id": 276,
+ "id": 277,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -969,13 +985,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 108,
+ "line": 109,
"character": 20
}
]
},
{
- "id": 269,
+ "id": 270,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -984,7 +1000,7 @@
},
"signatures": [
{
- "id": 270,
+ "id": 271,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -996,7 +1012,7 @@
},
"typeParameter": [
{
- "id": 271,
+ "id": 272,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -1007,7 +1023,7 @@
],
"parameters": [
{
- "id": 272,
+ "id": 273,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -1023,7 +1039,7 @@
}
},
{
- "id": 273,
+ "id": 274,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -1064,7 +1080,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 98,
+ "line": 99,
"character": 5
}
]
@@ -1075,45 +1091,45 @@
"title": "Constructors",
"kind": 512,
"children": [
- 256
+ 257
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 249,
+ 250,
+ 254,
+ 256,
253,
- 255,
252,
251,
- 250,
- 254,
- 258,
- 257
+ 255,
+ 259,
+ 258
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
- 263
+ 264
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 299,
- 277,
+ 301,
+ 278,
+ 296,
294,
- 292,
- 290,
- 282,
- 265,
- 280,
- 274,
- 269
+ 291,
+ 283,
+ 266,
+ 281,
+ 275,
+ 270
]
}
],
@@ -1126,7 +1142,7 @@
]
},
{
- "id": 302,
+ "id": 304,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -1135,7 +1151,7 @@
},
"children": [
{
- "id": 304,
+ "id": 306,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -1154,7 +1170,7 @@
"defaultValue": "true"
},
{
- "id": 306,
+ "id": 308,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -1173,7 +1189,7 @@
"defaultValue": "true"
},
{
- "id": 308,
+ "id": 310,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -1188,7 +1204,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 309,
+ "id": 311,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1198,7 +1214,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 307,
+ "id": 309,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -1217,7 +1233,7 @@
"defaultValue": "globalThis.localStorage"
},
{
- "id": 305,
+ "id": 307,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -1236,7 +1252,7 @@
"defaultValue": "true"
},
{
- "id": 303,
+ "id": 305,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -1260,12 +1276,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 304,
306,
308,
+ 310,
+ 309,
307,
- 305,
- 303
+ 305
]
}
],
@@ -1287,14 +1303,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 248
+ 249
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 302
+ 304
]
}
],
@@ -1307,7 +1323,7 @@
]
},
{
- "id": 310,
+ "id": 312,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -1317,7 +1333,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts",
"children": [
{
- "id": 311,
+ "id": 313,
"name": "createClient",
"kind": 64,
"kindString": "Function",
@@ -1330,7 +1346,7 @@
},
"signatures": [
{
- "id": 312,
+ "id": 314,
"name": "createClient",
"kind": 4096,
"kindString": "Call signature",
@@ -1342,7 +1358,7 @@
},
"parameters": [
{
- "id": 313,
+ "id": 315,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -1355,7 +1371,7 @@
}
},
{
- "id": 314,
+ "id": 316,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -1368,7 +1384,7 @@
}
},
{
- "id": 315,
+ "id": 317,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1385,7 +1401,7 @@
],
"type": {
"type": "reference",
- "id": 248,
+ "id": 249,
"name": "SupabaseClient"
}
}
@@ -1404,7 +1420,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 311
+ 313
]
}
],
@@ -1417,7 +1433,7 @@
]
},
{
- "id": 26,
+ "id": 27,
"name": "\"lib/SupabaseAuthClient\"",
"kind": 1,
"kindString": "Module",
@@ -1427,7 +1443,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts",
"children": [
{
- "id": 27,
+ "id": 28,
"name": "SupabaseAuthClient",
"kind": 128,
"kindString": "Class",
@@ -1436,7 +1452,7 @@
},
"children": [
{
- "id": 28,
+ "id": 29,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1445,7 +1461,7 @@
},
"signatures": [
{
- "id": 29,
+ "id": 30,
"name": "new SupabaseAuthClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -1454,7 +1470,7 @@
},
"parameters": [
{
- "id": 30,
+ "id": 31,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1464,7 +1480,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 31,
+ "id": 32,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1473,7 +1489,7 @@
},
"children": [
{
- "id": 38,
+ "id": 39,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -1507,7 +1523,7 @@
}
},
{
- "id": 37,
+ "id": 38,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -1541,7 +1557,7 @@
}
},
{
- "id": 33,
+ "id": 34,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -1566,7 +1582,7 @@
{
"type": "reflection",
"declaration": {
- "id": 34,
+ "id": 35,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1575,7 +1591,7 @@
},
"indexSignature": [
{
- "id": 35,
+ "id": 36,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -1584,7 +1600,7 @@
},
"parameters": [
{
- "id": 36,
+ "id": 37,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -1609,7 +1625,7 @@
}
},
{
- "id": 40,
+ "id": 41,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -1630,7 +1646,7 @@
}
},
{
- "id": 39,
+ "id": 40,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -1664,7 +1680,7 @@
}
},
{
- "id": 32,
+ "id": 33,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -1699,12 +1715,12 @@
"title": "Variables",
"kind": 32,
"children": [
+ 39,
38,
- 37,
- 33,
+ 34,
+ 41,
40,
- 39,
- 32
+ 33
]
}
],
@@ -1721,7 +1737,7 @@
],
"type": {
"type": "reference",
- "id": 27,
+ "id": 28,
"name": "SupabaseAuthClient"
},
"overwrites": {
@@ -1743,7 +1759,7 @@
}
},
{
- "id": 41,
+ "id": 42,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -1766,12 +1782,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 42,
"name": "GoTrueClient.api"
}
},
{
- "id": 44,
+ "id": 45,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -1792,12 +1808,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 44,
+ "id": 45,
"name": "GoTrueClient.autoRefreshToken"
}
},
{
- "id": 43,
+ "id": 44,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -1830,12 +1846,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 43,
+ "id": 44,
"name": "GoTrueClient.currentSession"
}
},
{
- "id": 42,
+ "id": 43,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -1868,12 +1884,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 42,
+ "id": 43,
"name": "GoTrueClient.currentUser"
}
},
{
- "id": 46,
+ "id": 47,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -1894,12 +1910,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 46,
+ "id": 47,
"name": "GoTrueClient.localStorage"
}
},
{
- "id": 45,
+ "id": 46,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -1920,12 +1936,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 46,
"name": "GoTrueClient.persistSession"
}
},
{
- "id": 48,
+ "id": 49,
"name": "refreshTokenTimer",
"kind": 1024,
"kindString": "Property",
@@ -1956,12 +1972,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 48,
+ "id": 49,
"name": "GoTrueClient.refreshTokenTimer"
}
},
{
- "id": 47,
+ "id": 48,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -1992,12 +2008,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 47,
+ "id": 48,
"name": "GoTrueClient.stateChangeEmitters"
}
},
{
- "id": 108,
+ "id": 109,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -2006,7 +2022,7 @@
},
"signatures": [
{
- "id": 109,
+ "id": 110,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -2018,7 +2034,7 @@
},
"parameters": [
{
- "id": 110,
+ "id": 111,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2036,7 +2052,7 @@
{
"type": "reflection",
"declaration": {
- "id": 111,
+ "id": 112,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2045,7 +2061,7 @@
},
"children": [
{
- "id": 112,
+ "id": 113,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -2087,7 +2103,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 112
+ 113
]
}
]
@@ -2103,7 +2119,7 @@
{
"type": "reflection",
"declaration": {
- "id": 113,
+ "id": 114,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2112,7 +2128,7 @@
},
"children": [
{
- "id": 114,
+ "id": 115,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2141,7 +2157,7 @@
}
},
{
- "id": 115,
+ "id": 116,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2175,8 +2191,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 114,
- 115
+ 115,
+ 116
]
}
],
@@ -2194,7 +2210,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "GoTrueClient.getSessionFromUrl"
}
}
@@ -2208,12 +2224,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 108,
+ "id": 109,
"name": "GoTrueClient.getSessionFromUrl"
}
},
{
- "id": 120,
+ "id": 121,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -2222,7 +2238,7 @@
},
"signatures": [
{
- "id": 121,
+ "id": 122,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -2235,7 +2251,7 @@
},
"parameters": [
{
- "id": 122,
+ "id": 123,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -2245,7 +2261,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 123,
+ "id": 124,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2254,7 +2270,7 @@
},
"signatures": [
{
- "id": 124,
+ "id": 125,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -2263,7 +2279,7 @@
},
"parameters": [
{
- "id": 125,
+ "id": 126,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -2276,7 +2292,7 @@
}
},
{
- "id": 126,
+ "id": 127,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -2318,7 +2334,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 127,
+ "id": 128,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2327,7 +2343,7 @@
},
"children": [
{
- "id": 128,
+ "id": 129,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2356,7 +2372,7 @@
}
},
{
- "id": 129,
+ "id": 130,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2390,8 +2406,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 128,
- 129
+ 129,
+ 130
]
}
],
@@ -2406,7 +2422,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 120,
+ "id": 121,
"name": "GoTrueClient.onAuthStateChange"
}
}
@@ -2420,12 +2436,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 120,
+ "id": 121,
"name": "GoTrueClient.onAuthStateChange"
}
},
{
- "id": 86,
+ "id": 87,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -2434,7 +2450,7 @@
},
"signatures": [
{
- "id": 87,
+ "id": 88,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2450,7 +2466,7 @@
{
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 89,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2459,7 +2475,7 @@
},
"children": [
{
- "id": 89,
+ "id": 90,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2488,7 +2504,7 @@
}
},
{
- "id": 91,
+ "id": 92,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2517,7 +2533,7 @@
}
},
{
- "id": 90,
+ "id": 91,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2551,9 +2567,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 89,
- 91,
- 90
+ 90,
+ 92,
+ 91
]
}
],
@@ -2571,7 +2587,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "GoTrueClient.refreshSession"
}
}
@@ -2585,12 +2601,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 86,
+ "id": 87,
"name": "GoTrueClient.refreshSession"
}
},
{
- "id": 84,
+ "id": 85,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -2599,7 +2615,7 @@
},
"signatures": [
{
- "id": 85,
+ "id": 86,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -2624,7 +2640,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 84,
+ "id": 85,
"name": "GoTrueClient.session"
}
}
@@ -2638,12 +2654,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 84,
+ "id": 85,
"name": "GoTrueClient.session"
}
},
{
- "id": 105,
+ "id": 106,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -2652,7 +2668,7 @@
},
"signatures": [
{
- "id": 106,
+ "id": 107,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -2664,7 +2680,7 @@
},
"parameters": [
{
- "id": 107,
+ "id": 108,
"name": "access_token",
"kind": 32768,
"kindString": "Parameter",
@@ -2686,7 +2702,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 105,
+ "id": 106,
"name": "GoTrueClient.setAuth"
}
}
@@ -2700,12 +2716,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 105,
+ "id": 106,
"name": "GoTrueClient.setAuth"
}
},
{
- "id": 99,
+ "id": 100,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -2714,7 +2730,7 @@
},
"signatures": [
{
- "id": 100,
+ "id": 101,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2726,7 +2742,7 @@
},
"parameters": [
{
- "id": 101,
+ "id": 102,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -2748,7 +2764,7 @@
{
"type": "reflection",
"declaration": {
- "id": 102,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2757,7 +2773,7 @@
},
"children": [
{
- "id": 104,
+ "id": 105,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2786,7 +2802,7 @@
}
},
{
- "id": 103,
+ "id": 104,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -2820,8 +2836,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 104,
- 103
+ 105,
+ 104
]
}
],
@@ -2839,7 +2855,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 99,
+ "id": 100,
"name": "GoTrueClient.setSession"
}
}
@@ -2853,12 +2869,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 99,
+ "id": 100,
"name": "GoTrueClient.setSession"
}
},
{
- "id": 63,
+ "id": 64,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -2867,7 +2883,7 @@
},
"signatures": [
{
- "id": 64,
+ "id": 65,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -2879,7 +2895,7 @@
},
"parameters": [
{
- "id": 65,
+ "id": 66,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -2890,7 +2906,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 66,
+ "id": 67,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2899,7 +2915,7 @@
},
"children": [
{
- "id": 67,
+ "id": 68,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -2931,7 +2947,7 @@
}
},
{
- "id": 68,
+ "id": 69,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -2963,7 +2979,7 @@
}
},
{
- "id": 70,
+ "id": 71,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3027,7 +3043,7 @@
}
},
{
- "id": 69,
+ "id": 70,
"name": "refreshToken",
"kind": 32,
"kindString": "Variable",
@@ -3064,10 +3080,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 67,
68,
- 70,
- 69
+ 69,
+ 71,
+ 70
]
}
],
@@ -3082,7 +3098,7 @@
}
},
{
- "id": 71,
+ "id": 72,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3100,7 +3116,7 @@
{
"type": "reflection",
"declaration": {
- "id": 72,
+ "id": 73,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3109,7 +3125,7 @@
},
"children": [
{
- "id": 73,
+ "id": 74,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3139,7 +3155,7 @@
}
},
{
- "id": 74,
+ "id": 75,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -3174,8 +3190,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 73,
- 74
+ 74,
+ 75
]
}
]
@@ -3191,7 +3207,7 @@
{
"type": "reflection",
"declaration": {
- "id": 75,
+ "id": 76,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3200,7 +3216,7 @@
},
"children": [
{
- "id": 81,
+ "id": 82,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3229,7 +3245,7 @@
}
},
{
- "id": 80,
+ "id": 81,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3258,7 +3274,7 @@
}
},
{
- "id": 78,
+ "id": 79,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3279,7 +3295,7 @@
}
},
{
- "id": 76,
+ "id": 77,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3308,7 +3324,7 @@
}
},
{
- "id": 79,
+ "id": 80,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -3338,7 +3354,7 @@
}
},
{
- "id": 77,
+ "id": 78,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3372,12 +3388,12 @@
"title": "Variables",
"kind": 32,
"children": [
+ 82,
81,
- 80,
- 78,
- 76,
79,
- 77
+ 77,
+ 80,
+ 78
]
}
],
@@ -3395,7 +3411,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 63,
+ "id": 64,
"name": "GoTrueClient.signIn"
}
}
@@ -3409,12 +3425,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 63,
+ "id": 64,
"name": "GoTrueClient.signIn"
}
},
{
- "id": 116,
+ "id": 117,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -3423,7 +3439,7 @@
},
"signatures": [
{
- "id": 117,
+ "id": 118,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -3440,7 +3456,7 @@
{
"type": "reflection",
"declaration": {
- "id": 118,
+ "id": 119,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3449,7 +3465,7 @@
},
"children": [
{
- "id": 119,
+ "id": 120,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3483,7 +3499,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 119
+ 120
]
}
],
@@ -3501,7 +3517,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 116,
+ "id": 117,
"name": "GoTrueClient.signOut"
}
}
@@ -3515,12 +3531,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 116,
+ "id": 117,
"name": "GoTrueClient.signOut"
}
},
{
- "id": 49,
+ "id": 50,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -3529,7 +3545,7 @@
},
"signatures": [
{
- "id": 50,
+ "id": 51,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -3541,7 +3557,7 @@
},
"parameters": [
{
- "id": 51,
+ "id": 52,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3552,7 +3568,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 52,
+ "id": 53,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3561,7 +3577,7 @@
},
"children": [
{
- "id": 53,
+ "id": 54,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -3593,7 +3609,7 @@
}
},
{
- "id": 54,
+ "id": 55,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -3630,8 +3646,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 53,
- 54
+ 54,
+ 55
]
}
],
@@ -3646,7 +3662,7 @@
}
},
{
- "id": 55,
+ "id": 56,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3664,7 +3680,7 @@
{
"type": "reflection",
"declaration": {
- "id": 56,
+ "id": 57,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3673,7 +3689,7 @@
},
"children": [
{
- "id": 57,
+ "id": 58,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3708,7 +3724,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 57
+ 58
]
}
]
@@ -3724,7 +3740,7 @@
{
"type": "reflection",
"declaration": {
- "id": 58,
+ "id": 59,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3733,7 +3749,7 @@
},
"children": [
{
- "id": 62,
+ "id": 63,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3766,7 +3782,7 @@
}
},
{
- "id": 61,
+ "id": 62,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3795,7 +3811,7 @@
}
},
{
- "id": 60,
+ "id": 61,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3824,7 +3840,7 @@
}
},
{
- "id": 59,
+ "id": 60,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3858,10 +3874,10 @@
"title": "Variables",
"kind": 32,
"children": [
+ 63,
62,
61,
- 60,
- 59
+ 60
]
}
],
@@ -3879,7 +3895,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 50,
"name": "GoTrueClient.signUp"
}
}
@@ -3893,12 +3909,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 50,
"name": "GoTrueClient.signUp"
}
},
{
- "id": 92,
+ "id": 93,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -3907,7 +3923,7 @@
},
"signatures": [
{
- "id": 93,
+ "id": 94,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -3919,7 +3935,7 @@
},
"parameters": [
{
- "id": 94,
+ "id": 95,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -3938,7 +3954,7 @@
{
"type": "reflection",
"declaration": {
- "id": 95,
+ "id": 96,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3947,7 +3963,7 @@
},
"children": [
{
- "id": 96,
+ "id": 97,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3976,7 +3992,7 @@
}
},
{
- "id": 98,
+ "id": 99,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4005,7 +4021,7 @@
}
},
{
- "id": 97,
+ "id": 98,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4039,9 +4055,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 96,
- 98,
- 97
+ 97,
+ 99,
+ 98
]
}
],
@@ -4059,7 +4075,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 92,
+ "id": 93,
"name": "GoTrueClient.update"
}
}
@@ -4073,12 +4089,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 92,
+ "id": 93,
"name": "GoTrueClient.update"
}
},
{
- "id": 82,
+ "id": 83,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -4087,7 +4103,7 @@
},
"signatures": [
{
- "id": 83,
+ "id": 84,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -4113,7 +4129,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 82,
+ "id": 83,
"name": "GoTrueClient.user"
}
}
@@ -4127,7 +4143,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 82,
+ "id": 83,
"name": "GoTrueClient.user"
}
}
@@ -4137,38 +4153,38 @@
"title": "Constructors",
"kind": 512,
"children": [
- 28
+ 29
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 41,
+ 42,
+ 45,
44,
43,
- 42,
+ 47,
46,
- 45,
- 48,
- 47
+ 49,
+ 48
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 108,
- 120,
- 86,
- 84,
- 105,
- 99,
- 63,
- 116,
- 49,
- 92,
- 82
+ 109,
+ 121,
+ 87,
+ 85,
+ 106,
+ 100,
+ 64,
+ 117,
+ 50,
+ 93,
+ 83
]
}
],
@@ -4192,7 +4208,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 27
+ 28
]
}
],
@@ -4205,7 +4221,7 @@
]
},
{
- "id": 156,
+ "id": 157,
"name": "\"lib/SupabaseQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -4215,7 +4231,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts",
"children": [
{
- "id": 157,
+ "id": 158,
"name": "SupabaseQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -4224,7 +4240,7 @@
},
"typeParameter": [
{
- "id": 158,
+ "id": 159,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4235,7 +4251,7 @@
],
"children": [
{
- "id": 161,
+ "id": 162,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4244,7 +4260,7 @@
},
"signatures": [
{
- "id": 162,
+ "id": 163,
"name": "new SupabaseQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4253,7 +4269,7 @@
},
"parameters": [
{
- "id": 163,
+ "id": 164,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4266,7 +4282,7 @@
}
},
{
- "id": 164,
+ "id": 165,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4277,7 +4293,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 165,
+ "id": 166,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4286,7 +4302,7 @@
},
"children": [
{
- "id": 166,
+ "id": 167,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -4303,7 +4319,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 167,
+ "id": 168,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4312,7 +4328,7 @@
},
"indexSignature": [
{
- "id": 168,
+ "id": 169,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4321,7 +4337,7 @@
},
"parameters": [
{
- "id": 169,
+ "id": 170,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4344,7 +4360,7 @@
}
},
{
- "id": 171,
+ "id": 172,
"name": "realtime",
"kind": 32,
"kindString": "Variable",
@@ -4364,7 +4380,7 @@
}
},
{
- "id": 170,
+ "id": 171,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -4384,7 +4400,7 @@
}
},
{
- "id": 172,
+ "id": 173,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -4409,10 +4425,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 166,
+ 167,
+ 172,
171,
- 170,
- 172
+ 173
]
}
],
@@ -4429,7 +4445,7 @@
],
"type": {
"type": "reference",
- "id": 157,
+ "id": 158,
"name": "SupabaseQueryBuilder"
},
"overwrites": {
@@ -4451,7 +4467,7 @@
}
},
{
- "id": 160,
+ "id": 161,
"name": "_realtime",
"kind": 1024,
"kindString": "Property",
@@ -4472,7 +4488,7 @@
}
},
{
- "id": 159,
+ "id": 160,
"name": "_subscription",
"kind": 1024,
"kindString": "Property",
@@ -4489,12 +4505,12 @@
],
"type": {
"type": "reference",
- "id": 131,
+ "id": 132,
"name": "SupabaseRealtimeClient"
}
},
{
- "id": 231,
+ "id": 232,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -4540,12 +4556,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 231,
+ "id": 232,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 226,
+ "id": 227,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -4563,7 +4579,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 227,
+ "id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4572,7 +4588,7 @@
},
"indexSignature": [
{
- "id": 228,
+ "id": 229,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4581,7 +4597,7 @@
},
"parameters": [
{
- "id": 229,
+ "id": 230,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4611,12 +4627,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 226,
+ "id": 227,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 224,
+ "id": 225,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -4658,12 +4674,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 224,
+ "id": 225,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 230,
+ "id": 231,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -4694,12 +4710,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 230,
+ "id": 231,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 232,
+ "id": 233,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -4734,12 +4750,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 232,
+ "id": 233,
"name": "PostgrestBuilder.shouldThrowOnError"
}
},
{
- "id": 225,
+ "id": 226,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -4760,12 +4776,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 225,
+ "id": 226,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 218,
+ "id": 219,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -4774,7 +4790,7 @@
},
"signatures": [
{
- "id": 219,
+ "id": 220,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -4786,7 +4802,7 @@
},
"parameters": [
{
- "id": 220,
+ "id": 221,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4798,7 +4814,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 222,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4807,7 +4823,7 @@
},
"children": [
{
- "id": 223,
+ "id": 224,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -4851,7 +4867,7 @@
}
},
{
- "id": 222,
+ "id": 223,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -4892,8 +4908,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 223,
- 222
+ 224,
+ 223
]
}
],
@@ -4920,7 +4936,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 218,
+ "id": 219,
"name": "PostgrestQueryBuilder.delete"
}
}
@@ -4934,12 +4950,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 218,
+ "id": 219,
"name": "PostgrestQueryBuilder.delete"
}
},
{
- "id": 187,
+ "id": 188,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -4948,7 +4964,7 @@
},
"signatures": [
{
- "id": 188,
+ "id": 189,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -4960,7 +4976,7 @@
},
"parameters": [
{
- "id": 189,
+ "id": 190,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5000,7 +5016,7 @@
}
},
{
- "id": 190,
+ "id": 191,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5018,7 +5034,7 @@
{
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 192,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5027,7 +5043,7 @@
},
"children": [
{
- "id": 193,
+ "id": 194,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5065,7 +5081,7 @@
}
},
{
- "id": 192,
+ "id": 193,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5100,8 +5116,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 193,
- 192
+ 194,
+ 193
]
}
]
@@ -5123,12 +5139,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 187,
+ "id": 188,
"name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 194,
+ "id": 195,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -5145,7 +5161,7 @@
},
"parameters": [
{
- "id": 195,
+ "id": 196,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5182,7 +5198,7 @@
}
},
{
- "id": 196,
+ "id": 197,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5200,7 +5216,7 @@
{
"type": "reflection",
"declaration": {
- "id": 197,
+ "id": 198,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5209,7 +5225,7 @@
},
"children": [
{
- "id": 201,
+ "id": 202,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5247,7 +5263,7 @@
}
},
{
- "id": 199,
+ "id": 200,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -5277,7 +5293,7 @@
}
},
{
- "id": 200,
+ "id": 201,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5307,7 +5323,7 @@
}
},
{
- "id": 198,
+ "id": 199,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -5346,10 +5362,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 201,
- 199,
+ 202,
200,
- 198
+ 201,
+ 199
]
}
]
@@ -5371,7 +5387,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 187,
+ "id": 188,
"name": "PostgrestQueryBuilder.insert"
}
}
@@ -5390,12 +5406,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 187,
+ "id": 188,
"name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 173,
+ "id": 174,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -5404,7 +5420,7 @@
},
"signatures": [
{
- "id": 174,
+ "id": 175,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -5416,7 +5432,7 @@
},
"parameters": [
{
- "id": 175,
+ "id": 176,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -5428,12 +5444,12 @@
},
"type": {
"type": "reference",
- "id": 25,
+ "id": 26,
"name": "SupabaseEventTypes"
}
},
{
- "id": 176,
+ "id": 177,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -5446,7 +5462,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 177,
+ "id": 178,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5455,7 +5471,7 @@
},
"signatures": [
{
- "id": 178,
+ "id": 179,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5464,7 +5480,7 @@
},
"parameters": [
{
- "id": 179,
+ "id": 180,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -5473,7 +5489,7 @@
},
"type": {
"type": "reference",
- "id": 16,
+ "id": 17,
"typeArguments": [
{
"type": "typeParameter",
@@ -5503,7 +5519,7 @@
],
"type": {
"type": "reference",
- "id": 131,
+ "id": 132,
"name": "SupabaseRealtimeClient"
}
}
@@ -5517,7 +5533,7 @@
]
},
{
- "id": 180,
+ "id": 181,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -5526,7 +5542,7 @@
},
"signatures": [
{
- "id": 181,
+ "id": 182,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -5538,7 +5554,7 @@
},
"parameters": [
{
- "id": 182,
+ "id": 183,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -5564,7 +5580,7 @@
}
},
{
- "id": 183,
+ "id": 184,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5576,7 +5592,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 184,
+ "id": 185,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5585,7 +5601,7 @@
},
"children": [
{
- "id": 186,
+ "id": 187,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5629,7 +5645,7 @@
}
},
{
- "id": 185,
+ "id": 186,
"name": "head",
"kind": 32,
"kindString": "Variable",
@@ -5670,8 +5686,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 186,
- 185
+ 187,
+ 186
]
}
],
@@ -5698,7 +5714,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 180,
+ "id": 181,
"name": "PostgrestQueryBuilder.select"
}
}
@@ -5712,12 +5728,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 180,
+ "id": 181,
"name": "PostgrestQueryBuilder.select"
}
},
{
- "id": 235,
+ "id": 236,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -5726,7 +5742,7 @@
},
"signatures": [
{
- "id": 236,
+ "id": 237,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -5735,7 +5751,7 @@
},
"typeParameter": [
{
- "id": 237,
+ "id": 238,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -5744,7 +5760,7 @@
}
},
{
- "id": 238,
+ "id": 239,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -5755,7 +5771,7 @@
],
"parameters": [
{
- "id": 239,
+ "id": 240,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -5769,7 +5785,7 @@
{
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5778,7 +5794,7 @@
},
"signatures": [
{
- "id": 241,
+ "id": 242,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5787,7 +5803,7 @@
},
"parameters": [
{
- "id": 242,
+ "id": 243,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5868,7 +5884,7 @@
}
},
{
- "id": 243,
+ "id": 244,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -5882,7 +5898,7 @@
{
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5891,7 +5907,7 @@
},
"signatures": [
{
- "id": 245,
+ "id": 246,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -5900,7 +5916,7 @@
},
"parameters": [
{
- "id": 246,
+ "id": 247,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -5998,7 +6014,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 235,
+ "id": 236,
"name": "PostgrestBuilder.then"
}
}
@@ -6012,12 +6028,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 235,
+ "id": 236,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 233,
+ "id": 234,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -6026,7 +6042,7 @@
},
"signatures": [
{
- "id": 234,
+ "id": 235,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -6049,7 +6065,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 233,
+ "id": 234,
"name": "PostgrestBuilder.throwOnError"
}
}
@@ -6063,12 +6079,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 233,
+ "id": 234,
"name": "PostgrestBuilder.throwOnError"
}
},
{
- "id": 211,
+ "id": 212,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -6077,7 +6093,7 @@
},
"signatures": [
{
- "id": 212,
+ "id": 213,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -6089,7 +6105,7 @@
},
"parameters": [
{
- "id": 213,
+ "id": 214,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6111,7 +6127,7 @@
}
},
{
- "id": 214,
+ "id": 215,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6123,7 +6139,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 215,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6132,7 +6148,7 @@
},
"children": [
{
- "id": 217,
+ "id": 218,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6176,7 +6192,7 @@
}
},
{
- "id": 216,
+ "id": 217,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -6217,8 +6233,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 217,
- 216
+ 218,
+ 217
]
}
],
@@ -6245,7 +6261,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 211,
+ "id": 212,
"name": "PostgrestQueryBuilder.update"
}
}
@@ -6259,12 +6275,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 211,
+ "id": 212,
"name": "PostgrestQueryBuilder.update"
}
},
{
- "id": 202,
+ "id": 203,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -6273,7 +6289,7 @@
},
"signatures": [
{
- "id": 203,
+ "id": 204,
"name": "upsert",
"kind": 4096,
"kindString": "Call signature",
@@ -6285,7 +6301,7 @@
},
"parameters": [
{
- "id": 204,
+ "id": 205,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6325,7 +6341,7 @@
}
},
{
- "id": 205,
+ "id": 206,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6337,7 +6353,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 206,
+ "id": 207,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6346,7 +6362,7 @@
},
"children": [
{
- "id": 209,
+ "id": 210,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6390,7 +6406,7 @@
}
},
{
- "id": 210,
+ "id": 211,
"name": "ignoreDuplicates",
"kind": 32,
"kindString": "Variable",
@@ -6426,7 +6442,7 @@
}
},
{
- "id": 207,
+ "id": 208,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -6458,7 +6474,7 @@
}
},
{
- "id": 208,
+ "id": 209,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -6499,10 +6515,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 209,
210,
- 207,
- 208
+ 211,
+ 208,
+ 209
]
}
],
@@ -6529,7 +6545,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 202,
+ "id": 203,
"name": "PostgrestQueryBuilder.upsert"
}
}
@@ -6543,7 +6559,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 202,
+ "id": 203,
"name": "PostgrestQueryBuilder.upsert"
}
}
@@ -6553,35 +6569,35 @@
"title": "Constructors",
"kind": 512,
"children": [
- 161
+ 162
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
+ 161,
160,
- 159,
- 231,
- 226,
- 224,
- 230,
232,
- 225
+ 227,
+ 225,
+ 231,
+ 233,
+ 226
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 218,
- 187,
- 173,
- 180,
- 235,
- 233,
- 211,
- 202
+ 219,
+ 188,
+ 174,
+ 181,
+ 236,
+ 234,
+ 212,
+ 203
]
}
],
@@ -6629,7 +6645,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 157
+ 158
]
}
],
@@ -6642,7 +6658,7 @@
]
},
{
- "id": 130,
+ "id": 131,
"name": "\"lib/SupabaseRealtimeClient\"",
"kind": 1,
"kindString": "Module",
@@ -6652,7 +6668,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts",
"children": [
{
- "id": 131,
+ "id": 132,
"name": "SupabaseRealtimeClient",
"kind": 128,
"kindString": "Class",
@@ -6661,7 +6677,7 @@
},
"children": [
{
- "id": 133,
+ "id": 134,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6670,7 +6686,7 @@
},
"signatures": [
{
- "id": 134,
+ "id": 135,
"name": "new SupabaseRealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -6679,7 +6695,7 @@
},
"parameters": [
{
- "id": 135,
+ "id": 136,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
@@ -6692,7 +6708,7 @@
}
},
{
- "id": 136,
+ "id": 137,
"name": "schema",
"kind": 32768,
"kindString": "Parameter",
@@ -6705,7 +6721,7 @@
}
},
{
- "id": 137,
+ "id": 138,
"name": "tableName",
"kind": 32768,
"kindString": "Parameter",
@@ -6720,7 +6736,7 @@
],
"type": {
"type": "reference",
- "id": 131,
+ "id": 132,
"name": "SupabaseRealtimeClient"
}
}
@@ -6734,7 +6750,7 @@
]
},
{
- "id": 132,
+ "id": 133,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -6754,7 +6770,7 @@
}
},
{
- "id": 138,
+ "id": 139,
"name": "getPayloadRecords",
"kind": 2048,
"kindString": "Method",
@@ -6764,7 +6780,7 @@
},
"signatures": [
{
- "id": 139,
+ "id": 140,
"name": "getPayloadRecords",
"kind": 4096,
"kindString": "Call signature",
@@ -6773,7 +6789,7 @@
},
"parameters": [
{
- "id": 140,
+ "id": 141,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -6789,7 +6805,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 141,
+ "id": 142,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6798,7 +6814,7 @@
},
"children": [
{
- "id": 142,
+ "id": 143,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -6815,7 +6831,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 143,
+ "id": 144,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6826,7 +6842,7 @@
}
},
{
- "id": 144,
+ "id": 145,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -6843,7 +6859,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 145,
+ "id": 146,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6859,8 +6875,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 142,
- 144
+ 143,
+ 145
]
}
]
@@ -6877,7 +6893,7 @@
]
},
{
- "id": 146,
+ "id": 147,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -6886,7 +6902,7 @@
},
"signatures": [
{
- "id": 147,
+ "id": 148,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -6898,7 +6914,7 @@
},
"parameters": [
{
- "id": 148,
+ "id": 149,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -6910,12 +6926,12 @@
},
"type": {
"type": "reference",
- "id": 25,
+ "id": 26,
"name": "SupabaseEventTypes"
}
},
{
- "id": 149,
+ "id": 150,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -6928,7 +6944,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 150,
+ "id": 151,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6937,7 +6953,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 152,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6946,7 +6962,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 153,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -6955,7 +6971,7 @@
},
"type": {
"type": "reference",
- "id": 16,
+ "id": 17,
"typeArguments": [
{
"type": "intrinsic",
@@ -6998,7 +7014,7 @@
]
},
{
- "id": 153,
+ "id": 154,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -7007,7 +7023,7 @@
},
"signatures": [
{
- "id": 154,
+ "id": 155,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -7019,7 +7035,7 @@
},
"parameters": [
{
- "id": 155,
+ "id": 156,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -7053,23 +7069,23 @@
"title": "Constructors",
"kind": 512,
"children": [
- 133
+ 134
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 132
+ 133
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 138,
- 146,
- 153
+ 139,
+ 147,
+ 154
]
}
],
@@ -7087,7 +7103,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 131
+ 132
]
}
],
@@ -7157,7 +7173,7 @@
]
},
{
- "id": 316,
+ "id": 318,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -7167,7 +7183,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts",
"children": [
{
- "id": 317,
+ "id": 319,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -7176,7 +7192,7 @@
},
"signatures": [
{
- "id": 318,
+ "id": 320,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -7203,7 +7219,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 317
+ 319
]
}
],
@@ -7236,7 +7252,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 1,
+ "line": 3,
"character": 33
}
],
@@ -7266,7 +7282,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 13,
+ "line": 15,
"character": 18
}
],
@@ -7303,7 +7319,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 21,
+ "line": 23,
"character": 20
}
],
@@ -7340,7 +7356,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 9,
+ "line": 11,
"character": 9
}
],
@@ -7411,7 +7427,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 25,
+ "line": 27,
"character": 14
}
],
@@ -7435,7 +7451,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 17,
+ "line": 19,
"character": 16
}
],
@@ -7457,6 +7473,30 @@
]
}
},
+ {
+ "id": 16,
+ "name": "realtime",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Options passed to the realtime-js instance"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClientOptions"
+ }
+ },
{
"id": 7,
"name": "schema",
@@ -7472,7 +7512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 5,
+ "line": 7,
"character": 8
}
],
@@ -7501,6 +7541,7 @@
8,
15,
13,
+ 16,
7
]
}
@@ -7508,7 +7549,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 1,
+ "line": 3,
"character": 35
}
]
@@ -7516,7 +7557,7 @@
}
},
{
- "id": 25,
+ "id": 26,
"name": "SupabaseEventTypes",
"kind": 4194304,
"kindString": "Type alias",
@@ -7526,7 +7567,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 46,
"character": 30
}
],
@@ -7553,7 +7594,7 @@
}
},
{
- "id": 16,
+ "id": 17,
"name": "SupabaseRealtimePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -7562,7 +7603,7 @@
},
"typeParameter": [
{
- "id": 17,
+ "id": 18,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -7574,14 +7615,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 35,
"character": 35
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 18,
+ "id": 19,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7590,7 +7631,7 @@
},
"children": [
{
- "id": 19,
+ "id": 20,
"name": "commit_timestamp",
"kind": 32,
"kindString": "Variable",
@@ -7600,7 +7641,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 36,
"character": 18
}
],
@@ -7610,7 +7651,7 @@
}
},
{
- "id": 20,
+ "id": 21,
"name": "eventType",
"kind": 32,
"kindString": "Variable",
@@ -7620,7 +7661,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 37,
"character": 11
}
],
@@ -7643,7 +7684,7 @@
}
},
{
- "id": 23,
+ "id": 24,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -7656,7 +7697,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 34,
+ "line": 41,
"character": 5
}
],
@@ -7666,7 +7707,7 @@
}
},
{
- "id": 24,
+ "id": 25,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -7679,7 +7720,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 36,
+ "line": 43,
"character": 5
}
],
@@ -7689,7 +7730,7 @@
}
},
{
- "id": 21,
+ "id": 22,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -7699,7 +7740,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 31,
+ "line": 38,
"character": 8
}
],
@@ -7709,7 +7750,7 @@
}
},
{
- "id": 22,
+ "id": 23,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -7719,7 +7760,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 32,
+ "line": 39,
"character": 7
}
],
@@ -7734,19 +7775,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 19,
20,
- 23,
- 24,
21,
- 22
+ 24,
+ 25,
+ 22,
+ 23
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 35,
"character": 40
}
]
@@ -7760,8 +7801,8 @@
"kind": 4194304,
"children": [
5,
- 25,
- 16
+ 26,
+ 17
]
}
],
@@ -7779,13 +7820,13 @@
"title": "Modules",
"kind": 1,
"children": [
- 247,
- 310,
- 26,
- 156,
- 130,
+ 248,
+ 312,
+ 27,
+ 157,
+ 131,
1,
- 316,
+ 318,
4
]
}