Skip to content

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

Points to the correct supabase-js spec

Paul Copplestone09d7971583c1
diff --git a/web/spec/Makefile b/web/spec/Makefile
index 2b50286ff4e..6b8aa104d81 100644
--- a/web/spec/Makefile
+++ b/web/spec/Makefile
@@ -5,7 +5,7 @@ run: download combine
download: supabase gotrue postgrest realtime
supabase:
- curl -sS https://raw.githubusercontent.com/kiwicopple/supabase-js/feature/migrate_to_typescript/docs/spec.json \
+ curl -sS https://supabase.github.io/supabase-js/spec.json \
> $(REPO_DIR)/supabase.json
gotrue:
diff --git a/web/spec/combined.json b/web/spec/combined.json
index 8f6310cd2e1..c97b7cb24ee 100644
--- a/web/spec/combined.json
+++ b/web/spec/combined.json
@@ -9,17 +9,17 @@
"originalName": "",
"children": [
{
- "id": 189,
+ "id": 546,
"name": "\"SupabaseClient\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/SupabaseClient.ts",
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts",
"children": [
{
- "id": 190,
+ "id": 547,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -32,7 +32,7 @@
},
"children": [
{
- "id": 197,
+ "id": 556,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -44,7 +44,7 @@
},
"signatures": [
{
- "id": 200,
+ "id": 559,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -56,7 +56,7 @@
},
"parameters": [
{
- "id": 201,
+ "id": 560,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -72,7 +72,7 @@
}
},
{
- "id": 202,
+ "id": 561,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -88,7 +88,7 @@
}
},
{
- "id": 203,
+ "id": 562,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -105,7 +105,7 @@
],
"type": {
"type": "reference",
- "id": 190,
+ "id": 547,
"name": "SupabaseClient"
}
}
@@ -113,13 +113,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 30,
+ "line": 37,
"character": 36
}
]
},
{
- "id": 191,
+ "id": 548,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -132,18 +132,18 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 25,
+ "line": 27,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 25,
+ "id": 27,
"name": "SupabaseAuthClient"
}
},
{
- "id": 195,
+ "id": 553,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -154,7 +154,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 29,
+ "line": 35,
"character": 19
}
],
@@ -164,7 +164,7 @@
}
},
{
- "id": 196,
+ "id": 555,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -175,7 +175,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 30,
+ "line": 37,
"character": 20
}
],
@@ -185,7 +185,7 @@
}
},
{
- "id": 194,
+ "id": 552,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
@@ -196,7 +196,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 28,
+ "line": 34,
"character": 23
}
],
@@ -206,7 +206,7 @@
}
},
{
- "id": 193,
+ "id": 551,
"name": "restUrl",
"kind": 1024,
"kindString": "Property",
@@ -217,7 +217,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 27,
+ "line": 33,
"character": 19
}
],
@@ -227,7 +227,7 @@
}
},
{
- "id": 192,
+ "id": 550,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -238,7 +238,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 26,
+ "line": 32,
"character": 18
}
],
@@ -248,7 +248,52 @@
}
},
{
- "id": 199,
+ "id": 549,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 434,
+ "name": "SupabaseStorageClient"
+ }
+ },
+ {
+ "id": 554,
+ "name": "storageUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 36,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 558,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -263,7 +308,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 44,
+ "line": 51,
"character": 25
}
],
@@ -273,7 +318,7 @@
}
},
{
- "id": 198,
+ "id": 557,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -288,7 +333,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 43,
+ "line": 50,
"character": 25
}
],
@@ -298,7 +343,7 @@
}
},
{
- "id": 230,
+ "id": 599,
"name": "_closeChannel",
"kind": 2048,
"kindString": "Method",
@@ -308,7 +353,7 @@
},
"signatures": [
{
- "id": 231,
+ "id": 600,
"name": "_closeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -317,7 +362,7 @@
},
"parameters": [
{
- "id": 232,
+ "id": 601,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -345,13 +390,66 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 155,
+ "line": 179,
"character": 23
}
]
},
{
- "id": 225,
+ "id": 575,
+ "name": "_closeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 576,
+ "name": "_closeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 577,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 122,
+ "character": 34
+ }
+ ]
+ },
+ {
+ "id": 594,
"name": "_getAuthHeaders",
"kind": 2048,
"kindString": "Method",
@@ -361,7 +459,7 @@
},
"signatures": [
{
- "id": 226,
+ "id": 595,
"name": "_getAuthHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -371,7 +469,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 227,
+ "id": 596,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -380,7 +478,7 @@
},
"indexSignature": [
{
- "id": 228,
+ "id": 597,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -389,7 +487,7 @@
},
"parameters": [
{
- "id": 229,
+ "id": 598,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -411,7 +509,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 147,
+ "line": 171,
"character": 28
}
]
@@ -422,13 +520,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 147,
+ "line": 171,
"character": 25
}
]
},
{
- "id": 223,
+ "id": 590,
"name": "_initPostgRESTClient",
"kind": 2048,
"kindString": "Method",
@@ -438,7 +536,7 @@
},
"signatures": [
{
- "id": 224,
+ "id": 591,
"name": "_initPostgRESTClient",
"kind": 4096,
"kindString": "Call signature",
@@ -454,13 +552,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 140,
+ "line": 160,
"character": 30
}
]
},
{
- "id": 221,
+ "id": 588,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -470,7 +568,7 @@
},
"signatures": [
{
- "id": 222,
+ "id": 589,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
@@ -486,14 +584,14 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 134,
+ "line": 154,
"character": 29
}
]
},
{
- "id": 218,
- "name": "_initSupabaseAuthClient",
+ "id": 592,
+ "name": "_initStorageClient",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -502,216 +600,237 @@
},
"signatures": [
{
- "id": 219,
- "name": "_initSupabaseAuthClient",
+ "id": 593,
+ "name": "_initStorageClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
- "parameters": [
- {
- "id": 220,
- "name": "settings",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 5,
- "name": "SupabaseClientOptions"
- }
- }
- ],
"type": {
"type": "reference",
- "id": 25,
- "name": "SupabaseAuthClient"
+ "id": 434,
+ "name": "SupabaseStorageClient"
}
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 121,
- "character": 33
+ "line": 167,
+ "character": 28
}
]
},
{
- "id": 204,
- "name": "from",
+ "id": 580,
+ "name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
"flags": {
+ "isPrivate": true,
"isExported": true
},
"signatures": [
{
- "id": 205,
- "name": "from",
+ "id": 581,
+ "name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
- "comment": {
- "shortText": "Perform a table operation."
- },
- "typeParameter": [
- {
- "id": 206,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
"parameters": [
{
- "id": 207,
- "name": "table",
+ "id": 582,
+ "name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
- "comment": {
- "text": "The table name to operate on.\n"
- },
+ "originalName": "__0",
"type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 131,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T",
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "name": "SupabaseQueryBuilder"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 70,
- "character": 6
- }
- ]
- },
- {
- "id": 216,
- "name": "getSubscriptions",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 217,
- "name": "getSubscriptions",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Returns an array of all your subscriptions."
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "RealtimeSubscription"
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 117,
- "character": 18
- }
- ]
- },
- {
- "id": 213,
- "name": "removeSubscription",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 214,
- "name": "removeSubscription",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Removes an active subscription and returns the number of open connections."
- },
- "parameters": [
- {
- "id": 215,
- "name": "subscription",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The subscription you want to remove.\n"
- },
- "type": {
- "type": "reference",
- "name": "RealtimeSubscription"
+ "type": "reflection",
+ "declaration": {
+ "id": 583,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 584,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 136,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 586,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 138,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 587,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 139,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "name": "Storage"
+ }
+ ]
+ }
+ },
+ {
+ "id": 585,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 137,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 584,
+ 586,
+ 587,
+ 585
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 135,
+ "character": 34
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "name": "Promise"
+ "id": 27,
+ "name": "SupabaseAuthClient"
}
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 96,
- "character": 20
+ "line": 135,
+ "character": 33
}
]
},
{
- "id": 208,
- "name": "rpc",
+ "id": 563,
+ "name": "from",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -719,19 +838,19 @@
},
"signatures": [
{
- "id": 209,
- "name": "rpc",
+ "id": 564,
+ "name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Perform a stored procedure call."
+ "shortText": "Perform a table operation."
},
"typeParameter": [
{
- "id": 210,
+ "id": 565,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -742,117 +861,290 @@
],
"parameters": [
{
- "id": 211,
- "name": "fn",
+ "id": 566,
+ "name": "table",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The function name to call."
+ "text": "The table name to operate on.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 212,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "The parameters to pass to the function call.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "object"
- }
- ]
- }
}
],
"type": {
"type": "reference",
+ "id": 143,
"typeArguments": [
{
- "type": "unknown",
- "name": "T"
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
}
],
- "name": "PostgrestBuilder"
+ "name": "SupabaseQueryBuilder"
}
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 86,
- "character": 5
+ "line": 79,
+ "character": 6
}
]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 197
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 191,
- 195,
- 196,
- 194,
- 193,
- 192,
- 199,
- 198
- ]
},
{
- "title": "Methods",
+ "id": 578,
+ "name": "getSubscriptions",
"kind": 2048,
- "children": [
- 230,
- 225,
- 223,
- 221,
- 218,
- 204,
- 216,
- 213,
- 208
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 579,
+ "name": "getSubscriptions",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns an array of all your subscriptions."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 131,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 572,
+ "name": "removeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 573,
+ "name": "removeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes an active subscription and returns the number of open connections."
+ },
+ "parameters": [
+ {
+ "id": 574,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The subscription you want to remove.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 105,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 567,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 568,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a stored procedure call."
+ },
+ "typeParameter": [
+ {
+ "id": 569,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 570,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 571,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "unknown",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 95,
+ "character": 5
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 556
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 548,
+ 553,
+ 555,
+ 552,
+ 551,
+ 550,
+ 549,
+ 554,
+ 558,
+ 557
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 599,
+ 575,
+ 594,
+ 590,
+ 588,
+ 592,
+ 580,
+ 563,
+ 578,
+ 572,
+ 567
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 21,
+ "line": 23,
"character": 35
}
]
},
{
- "id": 233,
+ "id": 602,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -861,7 +1153,7 @@
},
"children": [
{
- "id": 235,
+ "id": 604,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -869,7 +1161,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 10,
+ "line": 11,
"character": 18
}
],
@@ -880,7 +1172,7 @@
"defaultValue": "true"
},
{
- "id": 237,
+ "id": 606,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -888,7 +1180,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 12,
+ "line": 13,
"character": 20
}
],
@@ -899,7 +1191,7 @@
"defaultValue": "true"
},
{
- "id": 238,
+ "id": 608,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -907,14 +1199,14 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 13,
+ "line": 15,
"character": 9
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 239,
+ "id": 609,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -924,7 +1216,26 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 236,
+ "id": 607,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 14,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ },
+ "defaultValue": "globalThis.localStorage"
+ },
+ {
+ "id": 605,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -932,7 +1243,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 11,
+ "line": 12,
"character": 16
}
],
@@ -943,7 +1254,7 @@
"defaultValue": "true"
},
{
- "id": 234,
+ "id": 603,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -951,7 +1262,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 9,
+ "line": 10,
"character": 8
}
],
@@ -967,18 +1278,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 235,
- 237,
- 238,
- 236,
- 234
+ 604,
+ 606,
+ 608,
+ 607,
+ 605,
+ 603
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 8,
+ "line": 9,
"character": 21
}
],
@@ -993,14 +1305,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 190
+ 547
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 233
+ 602
]
}
],
@@ -1013,17 +1325,17 @@
]
},
{
- "id": 240,
+ "id": 610,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/index.ts",
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts",
"children": [
{
- "id": 241,
+ "id": 611,
"name": "createClient",
"kind": 64,
"kindString": "Function",
@@ -1036,7 +1348,7 @@
},
"signatures": [
{
- "id": 242,
+ "id": 612,
"name": "createClient",
"kind": 4096,
"kindString": "Call signature",
@@ -1048,7 +1360,7 @@
},
"parameters": [
{
- "id": 243,
+ "id": 613,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -1061,7 +1373,7 @@
}
},
{
- "id": 244,
+ "id": 614,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -1074,7 +1386,7 @@
}
},
{
- "id": 245,
+ "id": 615,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1091,7 +1403,7 @@
],
"type": {
"type": "reference",
- "id": 190,
+ "id": 547,
"name": "SupabaseClient"
}
}
@@ -1099,7 +1411,7 @@
"sources": [
{
"fileName": "src/index.ts",
- "line": 7,
+ "line": 10,
"character": 18
}
]
@@ -1110,7 +1422,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 241
+ 611
]
}
],
@@ -1123,17 +1435,17 @@
]
},
{
- "id": 24,
+ "id": 26,
"name": "\"lib/SupabaseAuthClient\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseAuthClient.ts",
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts",
"children": [
{
- "id": 25,
+ "id": 27,
"name": "SupabaseAuthClient",
"kind": 128,
"kindString": "Class",
@@ -1142,7 +1454,7 @@
},
"children": [
{
- "id": 26,
+ "id": 28,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1151,7 +1463,7 @@
},
"signatures": [
{
- "id": 27,
+ "id": 29,
"name": "new SupabaseAuthClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -1160,7 +1472,7 @@
},
"parameters": [
{
- "id": 28,
+ "id": 30,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1170,7 +1482,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 29,
+ "id": 31,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1179,7 +1491,7 @@
},
"children": [
{
- "id": 36,
+ "id": 38,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -1213,7 +1525,7 @@
}
},
{
- "id": 35,
+ "id": 37,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -1247,7 +1559,7 @@
}
},
{
- "id": 31,
+ "id": 33,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -1272,7 +1584,7 @@
{
"type": "reflection",
"declaration": {
- "id": 32,
+ "id": 34,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1281,7 +1593,7 @@
},
"indexSignature": [
{
- "id": 33,
+ "id": 35,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -1290,7 +1602,7 @@
},
"parameters": [
{
- "id": 34,
+ "id": 36,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -1315,7 +1627,7 @@
}
},
{
- "id": 38,
+ "id": 40,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -1336,7 +1648,7 @@
}
},
{
- "id": 37,
+ "id": 39,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -1370,7 +1682,7 @@
}
},
{
- "id": 30,
+ "id": 32,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -1405,12 +1717,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 36,
- 35,
- 31,
38,
37,
- 30
+ 33,
+ 40,
+ 39,
+ 32
]
}
],
@@ -1427,7 +1739,7 @@
],
"type": {
"type": "reference",
- "id": 25,
+ "id": 27,
"name": "SupabaseAuthClient"
},
"overwrites": {
@@ -1454,14 +1766,16 @@
"kind": 1024,
"kindString": "Property",
"flags": {
- "isProtected": true,
"isExported": true
},
+ "comment": {
+ "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
+ },
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 12,
- "character": 17
+ "line": 8,
+ "character": 7
}
],
"type": {
@@ -1475,7 +1789,7 @@
}
},
{
- "id": 42,
+ "id": 44,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -1486,7 +1800,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 13,
+ "line": 17,
"character": 30
}
],
@@ -1496,12 +1810,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 42,
+ "id": 44,
"name": "GoTrueClient.autoRefreshToken"
}
},
{
- "id": 40,
+ "id": 43,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -1515,7 +1829,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 11,
+ "line": 16,
"character": 28
}
],
@@ -1534,12 +1848,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 40,
+ "id": 43,
"name": "GoTrueClient.currentSession"
}
},
{
- "id": 39,
+ "id": 42,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -1553,7 +1867,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 7,
+ "line": 12,
"character": 25
}
],
@@ -1572,12 +1886,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 39,
+ "id": 42,
"name": "GoTrueClient.currentUser"
}
},
{
- "id": 44,
+ "id": 46,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -1588,7 +1902,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 15,
+ "line": 19,
"character": 26
}
],
@@ -1598,12 +1912,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 44,
+ "id": 46,
"name": "GoTrueClient.localStorage"
}
},
{
- "id": 43,
+ "id": 45,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -1614,7 +1928,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 14,
+ "line": 18,
"character": 28
}
],
@@ -1624,13 +1938,13 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 43,
+ "id": 45,
"name": "GoTrueClient.persistSession"
}
},
{
- "id": 45,
- "name": "stateChangeEmmitters",
+ "id": 47,
+ "name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -1640,8 +1954,8 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 16,
- "character": 34
+ "line": 20,
+ "character": 33
}
],
"type": {
@@ -1660,12 +1974,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
- "name": "GoTrueClient.stateChangeEmmitters"
+ "id": 47,
+ "name": "GoTrueClient.stateChangeEmitters"
}
},
{
- "id": 93,
+ "id": 97,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -1674,7 +1988,7 @@
},
"signatures": [
{
- "id": 94,
+ "id": 98,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -1686,7 +2000,7 @@
},
"parameters": [
{
- "id": 95,
+ "id": 99,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1704,7 +2018,7 @@
{
"type": "reflection",
"declaration": {
- "id": 96,
+ "id": 100,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1713,7 +2027,7 @@
},
"children": [
{
- "id": 97,
+ "id": 101,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -1727,7 +2041,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 104,
+ "line": 107,
"character": 20
}
],
@@ -1755,7 +2069,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 97
+ 101
]
}
]
@@ -1771,7 +2085,7 @@
{
"type": "reflection",
"declaration": {
- "id": 98,
+ "id": 102,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1780,7 +2094,7 @@
},
"children": [
{
- "id": 99,
+ "id": 103,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1790,7 +2104,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 106,
+ "line": 109,
"character": 12
}
],
@@ -1809,7 +2123,7 @@
}
},
{
- "id": 100,
+ "id": 104,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1819,13 +2133,22 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 107,
+ "line": 110,
"character": 13
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
}
}
],
@@ -1834,15 +2157,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 99,
- 100
+ 103,
+ 104
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 105,
+ "line": 108,
"character": 16
}
]
@@ -1853,7 +2176,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "GoTrueClient.getSessionFromUrl"
}
}
@@ -1861,18 +2184,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 103,
+ "line": 106,
"character": 21
}
],
"inheritedFrom": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "GoTrueClient.getSessionFromUrl"
}
},
{
- "id": 105,
+ "id": 109,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -1881,7 +2204,7 @@
},
"signatures": [
{
- "id": 106,
+ "id": 110,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -1890,11 +2213,11 @@
},
"comment": {
"shortText": "Receive a notification every time an auth event happens.",
- "returns": "A subscription object which can be used to unsubcribe itself.\n"
+ "returns": "A subscription object which can be used to unsubscribe itself.\n"
},
"parameters": [
{
- "id": 107,
+ "id": 111,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -1904,7 +2227,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 108,
+ "id": 112,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1913,7 +2236,7 @@
},
"signatures": [
{
- "id": 109,
+ "id": 113,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -1922,7 +2245,7 @@
},
"parameters": [
{
- "id": 110,
+ "id": 114,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -1935,7 +2258,7 @@
}
},
{
- "id": 111,
+ "id": 115,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -1966,7 +2289,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 119,
+ "line": 125,
"character": 31
}
]
@@ -1977,7 +2300,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 112,
+ "id": 116,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1986,7 +2309,7 @@
},
"children": [
{
- "id": 113,
+ "id": 117,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1996,7 +2319,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 120,
+ "line": 126,
"character": 12
}
],
@@ -2015,7 +2338,7 @@
}
},
{
- "id": 114,
+ "id": 118,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2025,13 +2348,22 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 121,
+ "line": 127,
"character": 13
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
}
}
],
@@ -2040,15 +2372,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 113,
- 114
+ 117,
+ 118
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 119,
+ "line": 125,
"character": 91
}
]
@@ -2056,7 +2388,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 105,
+ "id": 109,
"name": "GoTrueClient.onAuthStateChange"
}
}
@@ -2064,18 +2396,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 119,
+ "line": 125,
"character": 21
}
],
"inheritedFrom": {
"type": "reference",
- "id": 105,
+ "id": 109,
"name": "GoTrueClient.onAuthStateChange"
}
},
{
- "id": 80,
+ "id": 84,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -2084,7 +2416,7 @@
},
"signatures": [
{
- "id": 81,
+ "id": 85,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2100,7 +2432,7 @@
{
"type": "reflection",
"declaration": {
- "id": 82,
+ "id": 86,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2109,7 +2441,7 @@
},
"children": [
{
- "id": 83,
+ "id": 87,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2119,7 +2451,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 87,
+ "line": 90,
"character": 12
}
],
@@ -2138,7 +2470,7 @@
}
},
{
- "id": 85,
+ "id": 89,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2148,17 +2480,26 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 89,
+ "line": 92,
"character": 13
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
}
},
{
- "id": 84,
+ "id": 88,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2168,7 +2509,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 88,
+ "line": 91,
"character": 12
}
],
@@ -2192,16 +2533,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 83,
- 85,
- 84
+ 87,
+ 89,
+ 88
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 86,
+ "line": 89,
"character": 30
}
]
@@ -2212,7 +2553,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 80,
+ "id": 84,
"name": "GoTrueClient.refreshSession"
}
}
@@ -2220,18 +2561,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 86,
+ "line": 89,
"character": 18
}
],
"inheritedFrom": {
"type": "reference",
- "id": 80,
+ "id": 84,
"name": "GoTrueClient.refreshSession"
}
},
{
- "id": 75,
+ "id": 82,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -2240,7 +2581,7 @@
},
"signatures": [
{
- "id": 76,
+ "id": 83,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -2251,88 +2592,21 @@
"shortText": "Returns the session data, if there is an active session."
},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 77,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
},
- "children": [
- {
- "id": 78,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 80,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 79,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 81,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 78,
- 79
- ]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 79,
- "character": 14
- }
- ]
- }
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
},
"inheritedFrom": {
"type": "reference",
- "id": 75,
+ "id": 82,
"name": "GoTrueClient.session"
}
}
@@ -2340,18 +2614,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 79,
+ "line": 85,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
- "id": 75,
+ "id": 82,
"name": "GoTrueClient.session"
}
},
{
- "id": 56,
+ "id": 62,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -2360,7 +2634,7 @@
},
"signatures": [
{
- "id": 57,
+ "id": 63,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -2372,20 +2646,18 @@
},
"parameters": [
{
- "id": 58,
- "name": "credentials",
+ "id": 64,
+ "name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
- "comment": {
- "text": "The user login details."
- },
+ "originalName": "__0",
"type": {
"type": "reflection",
"declaration": {
- "id": 59,
+ "id": 65,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2394,13 +2666,12 @@
},
"children": [
{
- "id": 60,
+ "id": 66,
"name": "email",
"kind": 32,
"kindString": "Variable",
"flags": {
- "isExported": true,
- "isOptional": true
+ "isExported": true
},
"comment": {
"text": "The user's email address."
@@ -2408,8 +2679,8 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 58,
- "character": 13
+ "line": 65,
+ "character": 18
}
],
"type": {
@@ -2427,13 +2698,12 @@
}
},
{
- "id": 61,
+ "id": 67,
"name": "password",
"kind": 32,
"kindString": "Variable",
"flags": {
- "isExported": true,
- "isOptional": true
+ "isExported": true
},
"comment": {
"text": "The user's password."
@@ -2441,8 +2711,8 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 59,
- "character": 16
+ "line": 65,
+ "character": 28
}
],
"type": {
@@ -2460,59 +2730,190 @@
}
},
{
- "id": 62,
+ "id": 68,
"name": "provider",
"kind": 32,
"kindString": "Variable",
"flags": {
- "isExported": true,
- "isOptional": true
+ "isExported": true
},
"comment": {
- "text": "One of the providers supported by GoTrue.\n"
+ "text": "One of the providers supported by GoTrue."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 60,
- "character": 16
+ "line": 65,
+ "character": 38
}
],
"type": {
- "type": "reference",
- "name": "Provider"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 60,
- 61,
- 62
- ]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 57,
- "character": 23
- }
- ]
- }
- }
- }
- ],
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "azure"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "bitbucket"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "facebook"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "github"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "gitlab"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "google"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 66,
+ 67,
+ 68
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 69,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 70,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 71,
+ "name": "redirectTo",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 66,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 72,
+ "name": "scopes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 67,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 71,
+ 72
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reflection",
"declaration": {
- "id": 63,
+ "id": 73,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2521,7 +2922,7 @@
},
"children": [
{
- "id": 64,
+ "id": 79,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2531,7 +2932,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 62,
+ "line": 74,
"character": 12
}
],
@@ -2550,7 +2951,7 @@
}
},
{
- "id": 68,
+ "id": 78,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2560,17 +2961,26 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 66,
+ "line": 73,
"character": 13
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
}
},
{
- "id": 66,
+ "id": 76,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -2581,7 +2991,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 64,
+ "line": 71,
"character": 16
}
],
@@ -2591,7 +3001,36 @@
}
},
{
- "id": 67,
+ "id": 74,
+ "name": "session",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 69,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 77,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -2602,7 +3041,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 65,
+ "line": 72,
"character": 11
}
],
@@ -2621,7 +3060,7 @@
}
},
{
- "id": 65,
+ "id": 75,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2631,7 +3070,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 63,
+ "line": 70,
"character": 12
}
],
@@ -2655,18 +3094,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 64,
- 68,
- 66,
- 67,
- 65
+ 79,
+ 78,
+ 76,
+ 74,
+ 77,
+ 75
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 61,
+ "line": 68,
"character": 16
}
]
@@ -2677,7 +3117,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 56,
+ "id": 62,
"name": "GoTrueClient.signIn"
}
}
@@ -2685,18 +3125,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 57,
+ "line": 65,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 56,
+ "id": 62,
"name": "GoTrueClient.signIn"
}
},
{
- "id": 101,
+ "id": 105,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -2705,7 +3145,7 @@
},
"signatures": [
{
- "id": 102,
+ "id": 106,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -2713,7 +3153,8 @@
"isExported": true
},
"comment": {
- "shortText": "Signs out the current user, if there is a logged in user."
+ "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
+ "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n"
},
"type": {
"type": "reference",
@@ -2721,7 +3162,7 @@
{
"type": "reflection",
"declaration": {
- "id": 103,
+ "id": 107,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2730,7 +3171,7 @@
},
"children": [
{
- "id": 104,
+ "id": 108,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2740,13 +3181,22 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 113,
+ "line": 119,
"character": 13
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
}
}
],
@@ -2755,14 +3205,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 104
+ 108
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 112,
+ "line": 118,
"character": 23
}
]
@@ -2773,7 +3223,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 101,
+ "id": 105,
"name": "GoTrueClient.signOut"
}
}
@@ -2781,18 +3231,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 112,
+ "line": 118,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
- "id": 101,
+ "id": 105,
"name": "GoTrueClient.signOut"
}
},
{
- "id": 46,
+ "id": 48,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -2801,7 +3251,7 @@
},
"signatures": [
{
- "id": 47,
+ "id": 49,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -2813,20 +3263,18 @@
},
"parameters": [
{
- "id": 48,
- "name": "credentials",
+ "id": 50,
+ "name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
- "comment": {
- "text": "The user login details."
- },
+ "originalName": "__0",
"type": {
"type": "reflection",
"declaration": {
- "id": 49,
+ "id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2835,7 +3283,7 @@
},
"children": [
{
- "id": 50,
+ "id": 52,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -2848,17 +3296,26 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 43,
- "character": 13
+ "line": 48,
+ "character": 18
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
},
{
- "id": 51,
+ "id": 53,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -2866,18 +3323,27 @@
"isExported": true
},
"comment": {
- "text": "The user's password.\n"
+ "text": "The user's password."
},
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 44,
- "character": 16
+ "line": 48,
+ "character": 28
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
}
],
@@ -2886,20 +3352,92 @@
"title": "Variables",
"kind": 32,
"children": [
- 50,
- 51
+ 52,
+ 53
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 42,
- "character": 23
+ "line": 48,
+ "character": 11
}
]
}
}
+ },
+ {
+ "id": 54,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 55,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 56,
+ "name": "redirectTo",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 49,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 56
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
}
],
"type": {
@@ -2908,7 +3446,7 @@
{
"type": "reflection",
"declaration": {
- "id": 52,
+ "id": 57,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2917,7 +3455,7 @@
},
"children": [
{
- "id": 53,
+ "id": 61,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2927,7 +3465,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 46,
+ "line": 54,
"character": 12
}
],
@@ -2938,6 +3476,10 @@
"type": "reference",
"name": "Session"
},
+ {
+ "type": "reference",
+ "name": "User"
+ },
{
"type": "intrinsic",
"name": "null"
@@ -2946,7 +3488,7 @@
}
},
{
- "id": 55,
+ "id": 60,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2956,17 +3498,55 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 48,
+ "line": 53,
"character": 13
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 59,
+ "name": "session",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 52,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
}
},
{
- "id": 54,
+ "id": 58,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2976,7 +3556,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 47,
+ "line": 51,
"character": 12
}
],
@@ -3000,16 +3580,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 53,
- 55,
- 54
+ 61,
+ 60,
+ 59,
+ 58
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 45,
+ "line": 50,
"character": 16
}
]
@@ -3020,7 +3601,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 46,
+ "id": 48,
"name": "GoTrueClient.signUp"
}
}
@@ -3028,18 +3609,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 42,
+ "line": 48,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 46,
+ "id": 48,
"name": "GoTrueClient.signUp"
}
},
{
- "id": 86,
+ "id": 90,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -3048,7 +3629,7 @@
},
"signatures": [
{
- "id": 87,
+ "id": 91,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -3060,7 +3641,7 @@
},
"parameters": [
{
- "id": 88,
+ "id": 92,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -3079,7 +3660,7 @@
{
"type": "reflection",
"declaration": {
- "id": 89,
+ "id": 93,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3088,7 +3669,7 @@
},
"children": [
{
- "id": 90,
+ "id": 94,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3098,7 +3679,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 95,
+ "line": 98,
"character": 12
}
],
@@ -3117,7 +3698,7 @@
}
},
{
- "id": 92,
+ "id": 96,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3127,17 +3708,26 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 97,
+ "line": 100,
"character": 13
}
],
"type": {
- "type": "intrinsic",
- "name": "any"
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
}
},
{
- "id": 91,
+ "id": 95,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3147,7 +3737,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 96,
+ "line": 99,
"character": 12
}
],
@@ -3171,16 +3761,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 90,
- 92,
- 91
+ 94,
+ 96,
+ 95
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 94,
+ "line": 97,
"character": 48
}
]
@@ -3191,7 +3781,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 86,
+ "id": 90,
"name": "GoTrueClient.update"
}
}
@@ -3199,18 +3789,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 94,
+ "line": 97,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 86,
+ "id": 90,
"name": "GoTrueClient.update"
}
},
{
- "id": 69,
+ "id": 80,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -3219,7 +3809,7 @@
},
"signatures": [
{
- "id": 70,
+ "id": 81,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -3227,121 +3817,25 @@
"isExported": true
},
"comment": {
- "shortText": "Returns the user data, if there is a logged in user."
+ "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.",
+ "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n"
},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 71,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
},
- "children": [
- {
- "id": 72,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 74,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 74,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 73,
- "name": "user",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 73,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 72,
- 74,
- 73
- ]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 71,
- "character": 11
- }
- ]
- }
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
},
"inheritedFrom": {
"type": "reference",
- "id": 69,
+ "id": 80,
"name": "GoTrueClient.user"
}
}
@@ -3349,13 +3843,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 71,
+ "line": 81,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
- "id": 69,
+ "id": 80,
"name": "GoTrueClient.user"
}
}
@@ -3365,7 +3859,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 26
+ 28
]
},
{
@@ -3373,27 +3867,27 @@
"kind": 1024,
"children": [
41,
- 42,
- 40,
- 39,
44,
43,
- 45
+ 42,
+ 46,
+ 45,
+ 47
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 93,
+ 97,
+ 109,
+ 84,
+ 82,
+ 62,
105,
- 80,
- 75,
- 56,
- 101,
- 46,
- 86,
- 69
+ 48,
+ 90,
+ 80
]
}
],
@@ -3417,7 +3911,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 25
+ 27
]
}
],
@@ -3430,17 +3924,17 @@
]
},
{
- "id": 130,
+ "id": 142,
"name": "\"lib/SupabaseQueryBuilder\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseQueryBuilder.ts",
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts",
"children": [
{
- "id": 131,
+ "id": 143,
"name": "SupabaseQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -3449,7 +3943,7 @@
},
"typeParameter": [
{
- "id": 132,
+ "id": 144,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -3460,7 +3954,7 @@
],
"children": [
{
- "id": 135,
+ "id": 147,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -3469,7 +3963,7 @@
},
"signatures": [
{
- "id": 136,
+ "id": 148,
"name": "new SupabaseQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -3478,7 +3972,7 @@
},
"parameters": [
{
- "id": 137,
+ "id": 149,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -3491,7 +3985,7 @@
}
},
{
- "id": 138,
+ "id": 150,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3502,7 +3996,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 139,
+ "id": 151,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3511,7 +4005,7 @@
},
"children": [
{
- "id": 140,
+ "id": 152,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -3528,7 +4022,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 141,
+ "id": 153,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3537,7 +4031,7 @@
},
"indexSignature": [
{
- "id": 142,
+ "id": 154,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -3546,7 +4040,7 @@
},
"parameters": [
{
- "id": 143,
+ "id": 155,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -3569,7 +4063,7 @@
}
},
{
- "id": 145,
+ "id": 157,
"name": "realtime",
"kind": 32,
"kindString": "Variable",
@@ -3589,7 +4083,7 @@
}
},
{
- "id": 144,
+ "id": 156,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -3609,7 +4103,7 @@
}
},
{
- "id": 146,
+ "id": 158,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -3634,10 +4128,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 140,
- 145,
- 144,
- 146
+ 152,
+ 157,
+ 156,
+ 158
]
}
],
@@ -3654,7 +4148,7 @@
],
"type": {
"type": "reference",
- "id": 131,
+ "id": 143,
"name": "SupabaseQueryBuilder"
},
"overwrites": {
@@ -3676,7 +4170,7 @@
}
},
{
- "id": 134,
+ "id": 146,
"name": "_realtime",
"kind": 1024,
"kindString": "Property",
@@ -3697,7 +4191,7 @@
}
},
{
- "id": 133,
+ "id": 145,
"name": "_subscription",
"kind": 1024,
"kindString": "Property",
@@ -3714,12 +4208,12 @@
],
"type": {
"type": "reference",
- "id": 116,
+ "id": 120,
"name": "SupabaseRealtimeClient"
}
},
{
- "id": 176,
+ "id": 216,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -3731,7 +4225,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 38,
+ "line": 47,
"character": 18
}
],
@@ -3765,12 +4259,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 176,
+ "id": 216,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 171,
+ "id": 211,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -3781,14 +4275,14 @@
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 34,
+ "line": 43,
"character": 21
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 172,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3797,7 +4291,7 @@
},
"indexSignature": [
{
- "id": 173,
+ "id": 213,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -3806,7 +4300,7 @@
},
"parameters": [
{
- "id": 174,
+ "id": 214,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -3828,7 +4322,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 34,
+ "line": 43,
"character": 22
}
]
@@ -3836,12 +4330,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 171,
+ "id": 211,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 169,
+ "id": 209,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -3852,7 +4346,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 32,
+ "line": 41,
"character": 20
}
],
@@ -3883,12 +4377,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 169,
+ "id": 209,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 175,
+ "id": 215,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -3900,7 +4394,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 37,
+ "line": 46,
"character": 20
}
],
@@ -3919,12 +4413,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 175,
+ "id": 215,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 170,
+ "id": 210,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -3935,7 +4429,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 33,
+ "line": 42,
"character": 17
}
],
@@ -3945,12 +4439,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 170,
+ "id": 210,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 167,
+ "id": 203,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -3959,7 +4453,7 @@
},
"signatures": [
{
- "id": 168,
+ "id": 204,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -3969,99 +4463,9 @@
"comment": {
"shortText": "Performs a DELETE on the table."
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestFilterBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 167,
- "name": "PostgrestQueryBuilder.delete"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 39,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 167,
- "name": "PostgrestQueryBuilder.delete"
- }
- },
- {
- "id": 157,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 158,
- "name": "insert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Performs an INSERT into the table."
- },
"parameters": [
{
- "id": 159,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The values to insert."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "Partial"
- }
- }
- ]
- }
- },
- {
- "id": 160,
+ "id": 205,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4069,11 +4473,11 @@
"isExported": true,
"isOptional": true
},
- "originalName": "__1",
+ "originalName": "__0",
"type": {
"type": "reflection",
"declaration": {
- "id": 161,
+ "id": 206,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4082,21 +4486,21 @@
},
"children": [
{
- "id": 163,
- "name": "onConflict",
+ "id": 208,
+ "name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
- "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n"
+ "text": "Count algorithm to use to count rows in a table.\n"
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 26,
- "character": 66
+ "line": 71,
+ "character": 29
}
],
"type": {
@@ -4108,27 +4512,39 @@
},
{
"type": "intrinsic",
- "name": "string"
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
}
]
}
},
{
- "id": 162,
- "name": "upsert",
+ "id": 207,
+ "name": "returning",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
- "text": "If `true`, performs an UPSERT."
+ "text": "If `true`, return the deleted row(s) in the response."
},
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 26,
- "character": 54
+ "line": 71,
+ "character": 22
}
],
"type": {
@@ -4139,12 +4555,12 @@
"name": "undefined"
},
{
- "type": "intrinsic",
- "name": "false"
+ "type": "stringLiteral",
+ "value": "minimal"
},
{
- "type": "intrinsic",
- "name": "true"
+ "type": "stringLiteral",
+ "value": "representation"
}
]
}
@@ -4155,16 +4571,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 163,
- 162
+ 208,
+ 207
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 26,
- "character": 45
+ "line": 71,
+ "character": 11
}
]
}
@@ -4183,27 +4599,27 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 157,
- "name": "PostgrestQueryBuilder.insert"
+ "id": 203,
+ "name": "PostgrestQueryBuilder.delete"
}
}
],
"sources": [
{
"fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 26,
+ "line": 71,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 157,
- "name": "PostgrestQueryBuilder.insert"
+ "id": 203,
+ "name": "PostgrestQueryBuilder.delete"
}
},
{
- "id": 147,
- "name": "on",
+ "id": 173,
+ "name": "insert",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -4211,253 +4627,242 @@
},
"signatures": [
{
- "id": 148,
- "name": "on",
+ "id": 174,
+ "name": "insert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Subscribe to realtime changes in your databse."
+ "shortText": "Performs an INSERT into the table."
},
"parameters": [
{
- "id": 149,
- "name": "event",
+ "id": 175,
+ "name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes."
+ "text": "The values to insert."
},
"type": {
"type": "union",
"types": [
{
- "type": "stringLiteral",
- "value": "INSERT"
- },
- {
- "type": "stringLiteral",
- "value": "UPDATE"
- },
- {
- "type": "stringLiteral",
- "value": "DELETE"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
},
{
- "type": "stringLiteral",
- "value": "*"
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
}
]
}
},
{
- "id": 150,
- "name": "callback",
+ "id": 176,
+ "name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true
- },
- "comment": {
- "text": "A callback that will handle the payload that is sent whenever your database changes.\n"
+ "isExported": true,
+ "isOptional": true
},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 151,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "signatures": [
- {
- "id": 152,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 177,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {
"isExported": true
},
- "parameters": [
+ "children": [
{
- "id": 153,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
+ "id": 179,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 30,
+ "character": 13
+ }
+ ],
"type": {
- "type": "reference",
- "id": 15,
- "typeArguments": [
+ "type": "union",
+ "types": [
{
- "type": "typeParameter",
- "name": "T"
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
}
- ],
- "name": "SupabaseRealtimePayload"
+ ]
+ }
+ },
+ {
+ "id": 178,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 29,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
}
}
],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 37,
- "character": 13
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 179,
+ 178
+ ]
+ }
+ ]
}
- ]
- }
+ }
+ ]
}
}
],
"type": {
"type": "reference",
- "id": 116,
- "name": "SupabaseRealtimeClient"
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 173,
+ "name": "PostgrestQueryBuilder.insert"
}
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 35,
- "character": 4
- }
- ]
- },
- {
- "id": 154,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
+ },
{
- "id": 155,
- "name": "select",
+ "id": 180,
+ "name": "insert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Performs horizontal filtering with SELECT."
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `upsert()` instead.\n"
+ }
+ ]
},
"parameters": [
{
- "id": 156,
- "name": "columns",
+ "id": 181,
+ "name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "The columns to retrieve, separated by commas.\n"
+ "isExported": true
},
"type": {
"type": "union",
"types": [
{
- "type": "intrinsic",
- "name": "undefined"
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
},
{
- "type": "intrinsic",
- "name": "string"
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
}
]
}
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestFilterBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 154,
- "name": "PostgrestQueryBuilder.select"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 18,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 154,
- "name": "PostgrestQueryBuilder.select"
- }
- },
- {
- "id": 177,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 178,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "typeParameter": [
- {
- "id": 179,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
},
{
- "id": 180,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "parameters": [
- {
- "id": 181,
- "name": "onfulfilled",
+ "id": 182,
+ "name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
@@ -4467,198 +4872,167 @@
"type": {
"type": "union",
"types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
{
"type": "reflection",
"declaration": {
- "id": 182,
+ "id": 183,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
- "signatures": [
+ "children": [
{
- "id": 183,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 187,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
- "parameters": [
+ "sources": [
{
- "id": 184,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 39,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
},
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
}
+ ]
+ }
+ },
+ {
+ "id": 185,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 37,
+ "character": 18
}
],
"type": {
"type": "union",
"types": [
{
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
+ "type": "intrinsic",
+ "name": "undefined"
},
{
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "name": "PromiseLike"
+ "type": "intrinsic",
+ "name": "string"
}
]
}
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 40,
- "character": 75
- }
- ]
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 185,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 186,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
+ },
{
- "id": 187,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 186,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
- "parameters": [
+ "sources": [
{
- "id": 188,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 38,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
},
- "type": {
- "type": "intrinsic",
- "name": "any"
+ {
+ "type": "stringLiteral",
+ "value": "representation"
}
+ ]
+ }
+ },
+ {
+ "id": 184,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 36,
+ "character": 14
}
],
"type": {
"type": "union",
"types": [
{
- "type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
+ "type": "intrinsic",
+ "name": "undefined"
},
{
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "name": "PromiseLike"
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
}
]
}
}
],
- "sources": [
+ "groups": [
{
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 40,
- "character": 176
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 187,
+ 185,
+ 186,
+ 184
+ ]
}
]
}
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "null"
}
]
}
@@ -4668,58 +5042,40 @@
"type": "reference",
"typeArguments": [
{
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ]
+ "type": "typeParameter",
+ "name": "T"
}
],
- "name": "PromiseLike"
+ "name": "PostgrestFilterBuilder"
},
"inheritedFrom": {
"type": "reference",
- "id": 177,
- "name": "PostgrestBuilder.then"
+ "id": 173,
+ "name": "PostgrestQueryBuilder.insert"
}
}
],
"sources": [
{
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 40,
- "character": 8
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 28,
+ "character": 10
+ },
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 35,
+ "character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 177,
- "name": "PostgrestBuilder.then"
+ "id": 173,
+ "name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 164,
- "name": "update",
+ "id": 159,
+ "name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -4727,276 +5083,321 @@
},
"signatures": [
{
- "id": 165,
- "name": "update",
+ "id": 160,
+ "name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Performs an UPDATE on the table."
+ "shortText": "Subscribe to realtime changes in your databse."
},
"parameters": [
{
- "id": 166,
- "name": "values",
+ "id": 161,
+ "name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The values to update.\n"
+ "text": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes."
},
"type": {
"type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "Partial"
+ "id": 25,
+ "name": "SupabaseEventTypes"
+ }
+ },
+ {
+ "id": 162,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A callback that will handle the payload that is sent whenever your database changes.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 163,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 164,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 165,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 16,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "SupabaseRealtimePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 37,
+ "character": 13
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestFilterBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 164,
- "name": "PostgrestQueryBuilder.update"
+ "id": 120,
+ "name": "SupabaseRealtimeClient"
}
}
],
"sources": [
{
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
"line": 35,
- "character": 10
+ "character": 4
}
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 164,
- "name": "PostgrestQueryBuilder.update"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 135
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 134,
- 133,
- 176,
- 171,
- 169,
- 175,
- 170
]
},
{
- "title": "Methods",
+ "id": 166,
+ "name": "select",
"kind": 2048,
- "children": [
- 167,
- 157,
- 147,
- 154,
- 177,
- 164
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 6,
- "character": 33
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestQueryBuilder"
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- ],
- "name": "PromiseLike"
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 131
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 115,
- "name": "\"lib/SupabaseRealtimeClient\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseRealtimeClient.ts",
- "children": [
- {
- "id": 116,
- "name": "SupabaseRealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 118,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
+ "kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
- "id": 119,
- "name": "new SupabaseRealtimeClient",
- "kind": 16384,
- "kindString": "Constructor signature",
+ "id": 167,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {
"isExported": true
},
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
"parameters": [
{
- "id": 120,
- "name": "socket",
+ "id": 168,
+ "name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The columns to retrieve, separated by commas."
},
"type": {
- "type": "reference",
- "name": "RealtimeClient"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
},
{
- "id": 121,
- "name": "schema",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 122,
- "name": "tableName",
+ "id": 169,
+ "name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
+ "originalName": "__1",
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reflection",
+ "declaration": {
+ "id": 170,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 172,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 17,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 171,
+ "name": "head",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "When set to true, select will void data."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 17,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 172,
+ 171
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 17,
+ "character": 28
+ }
+ ]
+ }
}
}
],
"type": {
"type": "reference",
- "id": 116,
- "name": "SupabaseRealtimeClient"
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 166,
+ "name": "PostgrestQueryBuilder.select"
}
}
],
"sources": [
{
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 5,
- "character": 36
- }
- ]
- },
- {
- "id": 117,
- "name": "subscription",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 5,
- "character": 14
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 17,
+ "character": 10
}
],
- "type": {
+ "inheritedFrom": {
"type": "reference",
- "name": "RealtimeSubscription"
+ "id": 166,
+ "name": "PostgrestQueryBuilder.select"
}
},
{
- "id": 123,
- "name": "on",
+ "id": 217,
+ "name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -5004,293 +5405,8454 @@
},
"signatures": [
{
- "id": 124,
- "name": "on",
+ "id": 218,
+ "name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
- "comment": {
- "shortText": "The event you want to listen to."
- },
- "parameters": [
+ "typeParameter": [
{
- "id": 125,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
+ "id": 219,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
"flags": {
"isExported": true
- },
- "comment": {
- "text": "The event"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "stringLiteral",
- "value": "INSERT"
- },
- {
- "type": "stringLiteral",
- "value": "UPDATE"
- },
- {
- "type": "stringLiteral",
- "value": "DELETE"
- },
- {
- "type": "stringLiteral",
- "value": "*"
- }
- ]
}
},
{
- "id": 126,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
+ "id": 220,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
"flags": {
"isExported": true
- },
- "comment": {
- "text": "A callback function that is called whenever the event occurs.\n"
- },
- "type": {
- "type": "reference",
- "name": "Function"
}
}
],
- "type": {
- "type": "unknown",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 18,
- "character": 4
- }
- ]
- },
- {
- "id": 127,
- "name": "subscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 128,
- "name": "subscribe",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Enables the subscription."
- },
"parameters": [
{
- "id": 129,
- "name": "callback",
+ "id": 221,
+ "name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
"type": {
- "type": "reference",
- "name": "Function"
- },
- "defaultValue": "() => {}"
- }
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 222,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 223,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 224,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 49,
+ "character": 75
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 225,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 226,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 227,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 228,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 49,
+ "character": 176
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
],
"type": {
"type": "reference",
- "name": "RealtimeSubscription"
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 217,
+ "name": "PostgrestBuilder.then"
}
}
],
"sources": [
{
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 55,
- "character": 11
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 217,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 196,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 197,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 198,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to update."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ },
+ {
+ "id": 199,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 200,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 202,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 61,
+ "character": 49
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 201,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 61,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 202,
+ 201
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 61,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 196,
+ "name": "PostgrestQueryBuilder.update"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 61,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 196,
+ "name": "PostgrestQueryBuilder.update"
+ }
+ },
+ {
+ "id": 188,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 189,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 190,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 191,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 192,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 195,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 76
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 193,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 58
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 194,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 69
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 195,
+ 193,
+ 194
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 45
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 188,
+ "name": "PostgrestQueryBuilder.upsert"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 188,
+ "name": "PostgrestQueryBuilder.upsert"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 147
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 146,
+ 145,
+ 216,
+ 211,
+ 209,
+ 215,
+ 210
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 203,
+ 173,
+ 159,
+ 166,
+ 217,
+ 196,
+ 188
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 6,
+ "character": 33
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestQueryBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 143
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 119,
+ "name": "\"lib/SupabaseRealtimeClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts",
+ "children": [
+ {
+ "id": 120,
+ "name": "SupabaseRealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 122,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "new SupabaseRealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 125,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 126,
+ "name": "tableName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 120,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 121,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 127,
+ "name": "getPayloadRecords",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 128,
+ "name": "getPayloadRecords",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 129,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 131,
+ "name": "new",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 14,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 132,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ },
+ {
+ "id": 133,
+ "name": "old",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 15,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 134,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 131,
+ 133
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 12,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 135,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 136,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The event you want to listen to."
+ },
+ "parameters": [
+ {
+ "id": 137,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The event"
+ },
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseEventTypes"
+ }
+ },
+ {
+ "id": 138,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A callback function that is called whenever the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 35,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 139,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 140,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Enables the subscription."
+ },
+ "parameters": [
+ {
+ "id": 141,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "() => {}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 56,
+ "character": 11
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 122
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 121
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 127,
+ 135,
+ 139
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 4,
+ "character": 35
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 120
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 433,
+ "name": "\"lib/SupabaseStorageClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseStorageClient.ts",
+ "children": [
+ {
+ "id": 434,
+ "name": "SupabaseStorageClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 435,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 436,
+ "name": "new SupabaseStorageClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 437,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 438,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 439,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 440,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 441,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseStorageClient.ts",
+ "line": 4,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 434,
+ "name": "SupabaseStorageClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 314,
+ "name": "StorageApi.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseStorageClient.ts",
+ "line": 3,
+ "character": 55
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 314,
+ "name": "StorageApi.__constructor"
+ }
+ },
+ {
+ "id": 443,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 444,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 445,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 446,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 310,
+ "name": "StorageApi.headers"
+ }
+ },
+ {
+ "id": 442,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 15,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 309,
+ "name": "StorageApi.url"
+ }
+ },
+ {
+ "id": 458,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 459,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a bucket"
+ },
+ "parameters": [
+ {
+ "id": 460,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the new bucket name\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 461,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 462,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 463,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 72
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 462,
+ 463
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 332,
+ "name": "StorageApi.createBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 332,
+ "name": "StorageApi.createBucket"
+ }
+ },
+ {
+ "id": 508,
+ "name": "createSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 509,
+ "name": "createSignedUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create signed url to download file"
+ },
+ "parameters": [
+ {
+ "id": 510,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be downloaded"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 511,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "seconds until the signed URL expires\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 512,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 513,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 514,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 515,
+ "name": "signedURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 515
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 516,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 56
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 513,
+ 516
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 382,
+ "name": "StorageApi.createSignedUrl"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 187,
+ "character": 23
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 382,
+ "name": "StorageApi.createSignedUrl"
+ }
+ },
+ {
+ "id": 472,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 473,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete a bucket"
+ },
+ "parameters": [
+ {
+ "id": 474,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to be deleted\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 475,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 476,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 478,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 478
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 479,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 476,
+ 479
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 346,
+ "name": "StorageApi.deleteBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 80,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 346,
+ "name": "StorageApi.deleteBucket"
+ }
+ },
+ {
+ "id": 523,
+ "name": "deleteFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 524,
+ "name": "deleteFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete a file"
+ },
+ "parameters": [
+ {
+ "id": 525,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be deleted\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 526,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 527,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 528,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 529,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 529
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 530,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 527,
+ 530
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 397,
+ "name": "StorageApi.deleteFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 224,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 397,
+ "name": "StorageApi.deleteFile"
+ }
+ },
+ {
+ "id": 531,
+ "name": "deleteFiles",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 532,
+ "name": "deleteFiles",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete multiple files on the same bucket"
+ },
+ "parameters": [
+ {
+ "id": 533,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 534,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file paths to be deleted excluded the bucket name\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 535,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 536,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 287,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 537,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 536,
+ 537
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 405,
+ "name": "StorageApi.deleteFiles"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 240,
+ "character": 19
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 405,
+ "name": "StorageApi.deleteFiles"
+ }
+ },
+ {
+ "id": 517,
+ "name": "downloadFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 518,
+ "name": "downloadFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Download a file"
+ },
+ "parameters": [
+ {
+ "id": 519,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be downloaded\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 520,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 521,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 522,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 70
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 521,
+ 522
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 391,
+ "name": "StorageApi.downloadFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 391,
+ "name": "StorageApi.downloadFile"
+ }
+ },
+ {
+ "id": 464,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 465,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Empty a bucket"
+ },
+ "parameters": [
+ {
+ "id": 466,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to empty\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 467,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 468,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 470,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 470
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 471,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 468,
+ 471
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 338,
+ "name": "StorageApi.emptyBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 65,
+ "character": 19
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 338,
+ "name": "StorageApi.emptyBucket"
+ }
+ },
+ {
+ "id": 447,
+ "name": "getAllBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 448,
+ "name": "getAllBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets all buckets details"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 449,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 450,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 39
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 451,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 63
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 450,
+ 451
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 33
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 321,
+ "name": "StorageApi.getAllBuckets"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 21
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 321,
+ "name": "StorageApi.getAllBuckets"
+ }
+ },
+ {
+ "id": 452,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 453,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Get details of a bucket"
+ },
+ "parameters": [
+ {
+ "id": 454,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to retrieve\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 456,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 457,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 67
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 456,
+ 457
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 326,
+ "name": "StorageApi.getBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 17
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 326,
+ "name": "StorageApi.getBucket"
+ }
+ },
+ {
+ "id": 498,
+ "name": "renameFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 499,
+ "name": "renameFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Rename a file"
+ },
+ "parameters": [
+ {
+ "id": 500,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 501,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "original relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 502,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the new relative file path\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 503,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 504,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 505,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 506,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 506
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 507,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 504,
+ 507
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 372,
+ "name": "StorageApi.renameFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 165,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 372,
+ "name": "StorageApi.renameFile"
+ }
+ },
+ {
+ "id": 538,
+ "name": "search",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 539,
+ "name": "search",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Use to fetch folder contents"
+ },
+ "parameters": [
+ {
+ "id": 540,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 541,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "the relative folder path excluded the bucket name"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 542,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 301,
+ "name": "SearchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 543,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 544,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 287,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 545,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 544,
+ 545
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 412,
+ "name": "StorageApi.search"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 292,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 412,
+ "name": "StorageApi.search"
+ }
+ },
+ {
+ "id": 489,
+ "name": "updateFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 490,
+ "name": "updateFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Update a file"
+ },
+ "parameters": [
+ {
+ "id": 491,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "file",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the File content\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "File"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 493,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 494,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 495,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 496,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 496
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 497,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 494,
+ 497
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 363,
+ "name": "StorageApi.updateFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 130,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 363,
+ "name": "StorageApi.updateFile"
+ }
+ },
+ {
+ "id": 480,
+ "name": "uploadFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 481,
+ "name": "uploadFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Upload a file"
+ },
+ "parameters": [
+ {
+ "id": 482,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 483,
+ "name": "file",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the File content\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "File"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 484,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 485,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 486,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 487,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 487
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 488,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 485,
+ 488
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 354,
+ "name": "StorageApi.uploadFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 96,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 354,
+ "name": "StorageApi.uploadFile"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 435
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 443,
+ 442
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 458,
+ 508,
+ 472,
+ 523,
+ 531,
+ 517,
+ 464,
+ 447,
+ 452,
+ 498,
+ 538,
+ 489,
+ 480
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseStorageClient.ts",
+ "line": 3,
+ "character": 34
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 308,
+ "name": "StorageApi"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 434
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseStorageClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 2,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 3,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 2
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 616,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 617,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 618,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 3,
+ "character": 20
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 617
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 307,
+ "name": "\"lib/storage/StorageApi\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/StorageApi.ts",
+ "children": [
+ {
+ "id": 308,
+ "name": "StorageApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 314,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 315,
+ "name": "new StorageApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 317,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 318,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 319,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 320,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 18,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 308,
+ "name": "StorageApi"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 310,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 311,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 312,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 313,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 309,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 15,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 332,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 333,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a bucket"
+ },
+ "parameters": [
+ {
+ "id": 334,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the new bucket name\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 335,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 336,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 337,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 72
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 336,
+ 337
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 382,
+ "name": "createSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 383,
+ "name": "createSignedUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create signed url to download file"
+ },
+ "parameters": [
+ {
+ "id": 384,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be downloaded"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 385,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "seconds until the signed URL expires\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 387,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 388,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 389,
+ "name": "signedURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 389
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 390,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 56
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 387,
+ 390
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 187,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 347,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete a bucket"
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to be deleted\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 349,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 350,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 352,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 352
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 353,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 350,
+ 353
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 80,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 397,
+ "name": "deleteFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 398,
+ "name": "deleteFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete a file"
+ },
+ "parameters": [
+ {
+ "id": 399,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be deleted\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 400,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 401,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 402,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 403,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 403
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 404,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 401,
+ 404
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 224,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 405,
+ "name": "deleteFiles",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 406,
+ "name": "deleteFiles",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete multiple files on the same bucket"
+ },
+ "parameters": [
+ {
+ "id": 407,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file paths to be deleted excluded the bucket name\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 409,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 410,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 287,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 411,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 410,
+ 411
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 240,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 391,
+ "name": "downloadFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 392,
+ "name": "downloadFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Download a file"
+ },
+ "parameters": [
+ {
+ "id": 393,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be downloaded\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 395,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 396,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 70
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 395,
+ 396
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 339,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Empty a bucket"
+ },
+ "parameters": [
+ {
+ "id": 340,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to empty\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 342,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 343,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 344,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 344
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 345,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 342,
+ 345
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 65,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 321,
+ "name": "getAllBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 322,
+ "name": "getAllBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets all buckets details"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 323,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 324,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 39
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 325,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 63
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 324,
+ 325
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 33
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 326,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 327,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Get details of a bucket"
+ },
+ "parameters": [
+ {
+ "id": 328,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to retrieve\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 329,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 330,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 331,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 67
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 330,
+ 331
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 372,
+ "name": "renameFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 373,
+ "name": "renameFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Rename a file"
+ },
+ "parameters": [
+ {
+ "id": 374,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 375,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "original relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 376,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the new relative file path\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 377,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 378,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 379,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 380,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 380
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 381,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 378,
+ 381
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 165,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 412,
+ "name": "search",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 413,
+ "name": "search",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Use to fetch folder contents"
+ },
+ "parameters": [
+ {
+ "id": 414,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 415,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "the relative folder path excluded the bucket name"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 416,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 301,
+ "name": "SearchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 417,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 418,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 287,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 419,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 418,
+ 419
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 292,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 363,
+ "name": "updateFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 364,
+ "name": "updateFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Update a file"
+ },
+ "parameters": [
+ {
+ "id": 365,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 366,
+ "name": "file",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the File content\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "File"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 367,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 368,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 369,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 370,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 371,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 368,
+ 371
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 130,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 354,
+ "name": "uploadFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 355,
+ "name": "uploadFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Upload a file"
+ },
+ "parameters": [
+ {
+ "id": 356,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 357,
+ "name": "file",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the File content\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "File"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 358,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 359,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 360,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 361,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 361
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 362,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 359,
+ 362
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 96,
+ "character": 18
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 314
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 310,
+ 309
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 332,
+ 382,
+ 346,
+ 397,
+ 405,
+ 391,
+ 338,
+ 321,
+ 326,
+ 372,
+ 412,
+ 363,
+ 354
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 14,
+ "character": 23
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 434,
+ "name": "SupabaseStorageClient"
+ }
+ ]
+ },
+ {
+ "id": 420,
+ "name": "DEFAULT_SEARCH_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 421,
+ "name": "limit",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 6,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 422,
+ "name": "offset",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 7,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 423,
+ "name": "sortBy",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 424,
+ "name": "column",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 9,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"name\""
+ },
+ {
+ "id": 425,
+ "name": "order",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"asc\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 424,
+ 425
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 8,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 421,
+ 422
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 423
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 5,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 308
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 229,
+ "name": "\"lib/storage/fetch\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/fetch.ts",
+ "children": [
+ {
+ "id": 230,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 231,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 232,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 233,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 234,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 235,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 231,
+ 235
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 236,
+ "name": "RequestMethodType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 10,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 237,
+ "name": "_getErrorMessage",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 238,
+ "name": "_getErrorMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 239,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 12,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 244,
+ "name": "_getRequestParams",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 245,
+ "name": "_getRequestParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 246,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 236,
+ "name": "RequestMethodType"
+ }
+ },
+ {
+ "id": 247,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ },
+ {
+ "id": 248,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 249,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 250,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 251,
+ "name": "k",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 27,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 252,
+ "name": "_handleRequest",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 253,
+ "name": "_handleRequest",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 254,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 236,
+ "name": "RequestMethodType"
+ }
+ },
+ {
+ "id": 255,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 256,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ },
+ {
+ "id": 257,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 40,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 258,
+ "name": "get",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 259,
+ "name": "get",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 260,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 261,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 58,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 240,
+ "name": "handleError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 241,
+ "name": "handleError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 242,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 243,
+ "name": "reject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 15,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 262,
+ "name": "post",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 263,
+ "name": "post",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 264,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 265,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 266,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 62,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 267,
+ "name": "put",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 268,
+ "name": "put",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 269,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 270,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 271,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 66,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 272,
+ "name": "remove",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 273,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 274,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 275,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 276,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 70,
+ "character": 28
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 230
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 236
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 237,
+ 244,
+ 252,
+ 258,
+ 240,
+ 262,
+ 267,
+ 272
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 277,
+ "name": "\"lib/storage/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/helpers.ts",
+ "children": [
+ {
+ "id": 278,
+ "name": "isBrowser",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 279,
+ "name": "isBrowser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/helpers.ts",
+ "line": 1,
+ "character": 22
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 278
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 426,
+ "name": "\"lib/storage/index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/index.ts",
+ "children": [
+ {
+ "id": 428,
+ "name": "Bucket",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 281
+ },
+ {
+ "id": 429,
+ "name": "FileObject",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 287
+ },
+ {
+ "id": 432,
+ "name": "Metadata",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 305
+ },
+ {
+ "id": 431,
+ "name": "SearchOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 301
+ },
+ {
+ "id": 430,
+ "name": "SortBy",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 298
+ },
+ {
+ "id": 427,
+ "name": "StorageApi",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 308
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [
+ 428,
+ 429,
+ 432,
+ 431,
+ 430,
+ 427
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 280,
+ "name": "\"lib/storage/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/types.ts",
+ "children": [
+ {
+ "id": 281,
+ "name": "Bucket",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 285,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 282,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 2,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 283,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 3,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 284,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 4,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 286,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 6,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 285,
+ 282,
+ 283,
+ 284,
+ 286
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 1,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 287,
+ "name": "FileObject",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 289,
+ "name": "bucket_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 11,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 297,
+ "name": "buckets",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 293,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 291,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 294,
+ "name": "last_accessed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 16,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 295,
+ "name": "metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 17,
+ "character": 10
}
- ]
- }
- ],
- "groups": [
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 296,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 17,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
{
- "title": "Constructors",
- "kind": 512,
- "children": [
- 118
- ]
+ "id": 288,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 10,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
},
{
- "title": "Properties",
+ "id": 290,
+ "name": "owner",
"kind": 1024,
- "children": [
- 117
- ]
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 12,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
},
{
- "title": "Methods",
- "kind": 2048,
+ "id": 292,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
"children": [
- 123,
- 127
+ 289,
+ 297,
+ 293,
+ 291,
+ 294,
+ 295,
+ 288,
+ 290,
+ 292
]
}
],
"sources": [
{
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 4,
- "character": 35
+ "fileName": "src/lib/storage/types.ts",
+ "line": 9,
+ "character": 27
}
]
- }
- ],
- "groups": [
+ },
{
- "title": "Classes",
- "kind": 128,
+ "id": 305,
+ "name": "Metadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
"children": [
- 116
+ {
+ "id": 306,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 34,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 306
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 33,
+ "character": 25
+ }
]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 1,
- "name": "\"lib/constants\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/constants.ts",
- "children": [
+ },
{
- "id": 2,
- "name": "DEFAULT_HEADERS",
- "kind": 32,
- "kindString": "Variable",
+ "id": 301,
+ "name": "SearchOptions",
+ "kind": 256,
+ "kindString": "Interface",
"flags": {
- "isExported": true,
- "isConst": true
+ "isExported": true
},
- "sources": [
+ "children": [
+ {
+ "id": 302,
+ "name": "limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 303,
+ "name": "offset",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 28,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
{
- "fileName": "src/lib/constants.ts",
- "line": 3,
- "character": 28
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 3,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "id": 304,
+ "name": "sortBy",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 29,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 298,
+ "name": "SortBy"
}
}
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 2
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 302,
+ 303,
+ 304
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 26,
+ "character": 30
+ }
]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 246,
- "name": "\"lib/helpers\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/helpers.ts",
- "children": [
+ },
{
- "id": 247,
- "name": "uuid",
- "kind": 64,
- "kindString": "Function",
+ "id": 298,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
"flags": {
"isExported": true
},
- "signatures": [
+ "children": [
{
- "id": 248,
- "name": "uuid",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 299,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 300,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 23,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
}
],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 299,
+ 300
+ ]
+ }
+ ],
"sources": [
{
- "fileName": "src/lib/helpers.ts",
- "line": 3,
- "character": 20
+ "fileName": "src/lib/storage/types.ts",
+ "line": 21,
+ "character": 23
}
]
}
],
"groups": [
{
- "title": "Functions",
- "kind": 64,
+ "title": "Interfaces",
+ "kind": 256,
"children": [
- 247
+ 281,
+ 287,
+ 305,
+ 301,
+ 298
]
}
],
"sources": [
{
- "fileName": "src/lib/helpers.ts",
+ "fileName": "src/lib/storage/types.ts",
"line": 1,
"character": 0
}
@@ -5304,7 +13866,7 @@
"flags": {
"isExported": true
},
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/types.ts",
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts",
"children": [
{
"id": 5,
@@ -5477,6 +14039,30 @@
]
}
},
+ {
+ "id": 15,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A storage provider. Used to store the logged in session."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 25,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
{
"id": 13,
"name": "persistSession",
@@ -5520,10 +14106,11 @@
"kind": 32,
"kindString": "Variable",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
"comment": {
- "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase."
+ "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to 'public'."
},
"sources": [
{
@@ -5533,8 +14120,17 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
}
],
@@ -5546,6 +14142,7 @@
12,
14,
8,
+ 15,
13,
7
]
@@ -5562,7 +14159,44 @@
}
},
{
- "id": 15,
+ "id": 25,
+ "name": "SupabaseEventTypes",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 39,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "*"
+ }
+ ]
+ }
+ },
+ {
+ "id": 16,
"name": "SupabaseRealtimePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -5571,7 +14205,7 @@
},
"typeParameter": [
{
- "id": 16,
+ "id": 17,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -5583,14 +14217,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 28,
"character": 35
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 17,
+ "id": 18,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5599,7 +14233,7 @@
},
"children": [
{
- "id": 18,
+ "id": 19,
"name": "commit_timestamp",
"kind": 32,
"kindString": "Variable",
@@ -5609,7 +14243,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 25,
+ "line": 29,
"character": 18
}
],
@@ -5619,7 +14253,7 @@
}
},
{
- "id": 19,
+ "id": 20,
"name": "eventType",
"kind": 32,
"kindString": "Variable",
@@ -5629,7 +14263,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 26,
+ "line": 30,
"character": 11
}
],
@@ -5652,7 +14286,7 @@
}
},
{
- "id": 22,
+ "id": 23,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -5665,7 +14299,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 34,
"character": 5
}
],
@@ -5675,7 +14309,7 @@
}
},
{
- "id": 23,
+ "id": 24,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -5688,7 +14322,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 32,
+ "line": 36,
"character": 5
}
],
@@ -5698,7 +14332,7 @@
}
},
{
- "id": 20,
+ "id": 21,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -5708,7 +14342,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 31,
"character": 8
}
],
@@ -5718,7 +14352,7 @@
}
},
{
- "id": 21,
+ "id": 22,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -5728,7 +14362,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 32,
"character": 7
}
],
@@ -5743,19 +14377,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 18,
19,
- 22,
- 23,
20,
- 21
+ 23,
+ 24,
+ 21,
+ 22
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 24,
+ "line": 28,
"character": 40
}
]
@@ -5769,7 +14403,8 @@
"kind": 4194304,
"children": [
5,
- 15
+ 25,
+ 16
]
}
],
@@ -5787,13 +14422,19 @@
"title": "Modules",
"kind": 1,
"children": [
- 189,
- 240,
- 24,
- 130,
- 115,
+ 546,
+ 610,
+ 26,
+ 142,
+ 119,
+ 433,
1,
- 246,
+ 616,
+ 307,
+ 229,
+ 277,
+ 426,
+ 280,
4
]
}
diff --git a/web/spec/supabase.json b/web/spec/supabase.json
index e8292921a27..7bec1734ea9 100644
--- a/web/spec/supabase.json
+++ b/web/spec/supabase.json
@@ -1,5629 +1,14439 @@
{
- "id": 0,
- "name": "@supabase/supabase-js",
- "kind": 0,
- "flags": {},
- "originalName": "",
- "children": [
- {
- "id": 189,
- "name": "\"SupabaseClient\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/SupabaseClient.ts",
- "children": [
- {
- "id": 190,
- "name": "SupabaseClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Supabase Client.",
- "text": "An isomorphic Javascript client for interacting with Postgres.\n"
- },
- "children": [
- {
- "id": 197,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Create a new client for use in the browser."
- },
- "signatures": [
- {
- "id": 200,
- "name": "new SupabaseClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Create a new client for use in the browser."
- },
- "parameters": [
- {
- "id": 201,
- "name": "supabaseUrl",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 202,
- "name": "supabaseKey",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 203,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 5,
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 190,
- "name": "SupabaseClient"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 30,
- "character": 36
- }
- ]
- },
- {
- "id": 191,
- "name": "auth",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies."
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 25,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "id": 25,
- "name": "SupabaseAuthClient"
- }
- },
- {
- "id": 195,
- "name": "authUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 29,
- "character": 19
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 196,
- "name": "realtime",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 30,
- "character": 20
- }
- ],
- "type": {
- "type": "reference",
- "name": "RealtimeClient"
- }
- },
- {
- "id": 194,
- "name": "realtimeUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 28,
- "character": 23
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 193,
- "name": "restUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 27,
- "character": 19
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 192,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 26,
- "character": 18
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 199,
- "name": "supabaseKey",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "comment": {
- "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 44,
- "character": 25
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 198,
- "name": "supabaseUrl",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true,
- "isConstructorProperty": true
- },
- "comment": {
- "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
- },
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 43,
- "character": 25
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 230,
- "name": "_closeChannel",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 231,
- "name": "_closeChannel",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 232,
- "name": "subscription",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "RealtimeSubscription"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 155,
- "character": 23
- }
- ]
- },
- {
- "id": 225,
- "name": "_getAuthHeaders",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 226,
- "name": "_getAuthHeaders",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 227,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 228,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 229,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 147,
- "character": 28
- }
- ]
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 147,
- "character": 25
- }
- ]
- },
- {
- "id": 223,
- "name": "_initPostgRESTClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 224,
- "name": "_initPostgRESTClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "PostgrestClient"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 140,
- "character": 30
- }
- ]
- },
- {
- "id": 221,
- "name": "_initRealtimeClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 222,
- "name": "_initRealtimeClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "RealtimeClient"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 134,
- "character": 29
- }
- ]
- },
- {
- "id": 218,
- "name": "_initSupabaseAuthClient",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "signatures": [
- {
- "id": 219,
- "name": "_initSupabaseAuthClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 220,
- "name": "settings",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 5,
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 25,
- "name": "SupabaseAuthClient"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 121,
- "character": 33
- }
- ]
- },
- {
- "id": 204,
- "name": "from",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 205,
- "name": "from",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Perform a table operation."
- },
- "typeParameter": [
- {
- "id": 206,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "parameters": [
- {
- "id": 207,
- "name": "table",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The table name to operate on.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 131,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T",
- "default": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "name": "SupabaseQueryBuilder"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 70,
- "character": 6
- }
- ]
- },
- {
- "id": 216,
- "name": "getSubscriptions",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 217,
- "name": "getSubscriptions",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Returns an array of all your subscriptions."
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "name": "RealtimeSubscription"
- }
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 117,
- "character": 18
- }
- ]
- },
- {
- "id": 213,
- "name": "removeSubscription",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 214,
- "name": "removeSubscription",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Removes an active subscription and returns the number of open connections."
- },
- "parameters": [
- {
- "id": 215,
- "name": "subscription",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The subscription you want to remove.\n"
- },
- "type": {
- "type": "reference",
- "name": "RealtimeSubscription"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "unknown"
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 96,
- "character": 20
- }
- ]
- },
- {
- "id": 208,
- "name": "rpc",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 209,
- "name": "rpc",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Perform a stored procedure call."
- },
- "typeParameter": [
- {
- "id": 210,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "parameters": [
- {
- "id": 211,
- "name": "fn",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The function name to call."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 212,
- "name": "params",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "The parameters to pass to the function call.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "object"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "unknown",
- "name": "T"
- }
- ],
- "name": "PostgrestBuilder"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 86,
- "character": 5
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [197]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [191, 195, 196, 194, 193, 192, 199, 198]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [230, 225, 223, 221, 218, 204, 216, 213, 208]
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 21,
- "character": 35
- }
- ]
- },
- {
- "id": 233,
- "name": "DEFAULT_OPTIONS",
- "kind": 2097152,
- "kindString": "Object literal",
- "flags": {
- "isConst": true
- },
- "children": [
- {
- "id": 235,
- "name": "autoRefreshToken",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 10,
- "character": 18
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
- },
- {
- "id": 237,
- "name": "detectSessionInUrl",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 12,
- "character": 20
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
- },
- {
- "id": 238,
- "name": "headers",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 13,
- "character": 9
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 239,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {}
- }
- },
- "defaultValue": "DEFAULT_HEADERS"
- },
- {
- "id": 236,
- "name": "persistSession",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 11,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
- },
- {
- "id": 234,
- "name": "schema",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 9,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "\"public\""
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [235, 237, 238, 236, 234]
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 8,
- "character": 21
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [190]
- },
- {
- "title": "Object literals",
- "kind": 2097152,
- "children": [233]
- }
- ],
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 240,
- "name": "\"index\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/index.ts",
- "children": [
- {
- "id": 241,
- "name": "createClient",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "comment": {
- "shortText": "Creates a new Supabase Client."
- },
- "signatures": [
- {
- "id": 242,
- "name": "createClient",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Creates a new Supabase Client."
- },
- "parameters": [
- {
- "id": 243,
- "name": "supabaseUrl",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 244,
- "name": "supabaseKey",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 245,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 5,
- "name": "SupabaseClientOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 190,
- "name": "SupabaseClient"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 7,
- "character": 18
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Functions",
- "kind": 64,
- "children": [241]
- }
- ],
- "sources": [
- {
- "fileName": "src/index.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 24,
- "name": "\"lib/SupabaseAuthClient\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseAuthClient.ts",
- "children": [
- {
- "id": 25,
- "name": "SupabaseAuthClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 26,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 27,
- "name": "new SupabaseAuthClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 28,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 29,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 36,
- "name": "autoRefreshToken",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 8,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 35,
- "name": "detectSessionInUrl",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 7,
- "character": 22
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 31,
- "name": "headers",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 6,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 32,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 33,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 34,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 38,
- "name": "localStorage",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 10,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- }
- },
- {
- "id": 37,
- "name": "persistSession",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 9,
- "character": 18
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 30,
- "name": "url",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 5,
- "character": 7
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [36, 35, 31, 38, 37, 30]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 4,
- "character": 22
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 25,
- "name": "SupabaseAuthClient"
- },
- "overwrites": {
- "type": "reference",
- "name": "GoTrueClient.__constructor"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 3,
- "character": 54
- }
- ],
- "overwrites": {
- "type": "reference",
- "name": "GoTrueClient.__constructor"
- }
- },
- {
- "id": 41,
- "name": "api",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 12,
- "character": 17
- }
- ],
- "type": {
- "type": "reference",
- "name": "GoTrueApi"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 41,
- "name": "GoTrueClient.api"
- }
- },
- {
- "id": 42,
- "name": "autoRefreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 13,
- "character": 30
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 42,
- "name": "GoTrueClient.autoRefreshToken"
- }
- },
- {
- "id": 40,
- "name": "currentSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "comment": {
- "shortText": "The session object for the currently logged in user or null."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 11,
- "character": 28
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 40,
- "name": "GoTrueClient.currentSession"
- }
- },
- {
- "id": 39,
- "name": "currentUser",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "comment": {
- "shortText": "The currently logged in user or null."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 7,
- "character": 25
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 39,
- "name": "GoTrueClient.currentUser"
- }
- },
- {
- "id": 44,
- "name": "localStorage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 15,
- "character": 26
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 44,
- "name": "GoTrueClient.localStorage"
- }
- },
- {
- "id": 43,
- "name": "persistSession",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 14,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 43,
- "name": "GoTrueClient.persistSession"
- }
- },
- {
- "id": 45,
- "name": "stateChangeEmmitters",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 16,
- "character": 34
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "name": "Subscription"
- }
- ],
- "name": "Map"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 45,
- "name": "GoTrueClient.stateChangeEmmitters"
- }
- },
- {
- "id": 93,
- "name": "getSessionFromUrl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 94,
- "name": "getSessionFromUrl",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Gets the session data from a URL string"
- },
- "parameters": [
- {
- "id": 95,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 96,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 97,
- "name": "storeSession",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "Optionally store the session in the browser\n"
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 104,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [97]
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 98,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 99,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 106,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 100,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 107,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [99, 100]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 105,
- "character": 16
- }
- ]
- }
- }
- ],
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 93,
- "name": "GoTrueClient.getSessionFromUrl"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 103,
- "character": 21
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 93,
- "name": "GoTrueClient.getSessionFromUrl"
- }
- },
- {
- "id": 105,
- "name": "onAuthStateChange",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 106,
- "name": "onAuthStateChange",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Receive a notification every time an auth event happens.",
- "returns": "A subscription object which can be used to unsubcribe itself.\n"
- },
- "parameters": [
- {
- "id": 107,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 108,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 109,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 110,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "AuthChangeEvent"
- }
- },
- {
- "id": 111,
- "name": "session",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 119,
- "character": 31
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 112,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 113,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 120,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Subscription"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 114,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 121,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [113, 114]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 119,
- "character": 91
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 105,
- "name": "GoTrueClient.onAuthStateChange"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 119,
- "character": 21
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 105,
- "name": "GoTrueClient.onAuthStateChange"
- }
- },
- {
- "id": 80,
- "name": "refreshSession",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 81,
- "name": "refreshSession",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Force refreshes the session including the user data in case it was updated in a different session."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 82,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 83,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 87,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 85,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 89,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 84,
- "name": "user",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 88,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [83, 85, 84]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 86,
- "character": 30
- }
- ]
- }
- }
- ],
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 80,
- "name": "GoTrueClient.refreshSession"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 86,
- "character": 18
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 80,
- "name": "GoTrueClient.refreshSession"
- }
- },
- {
- "id": 75,
- "name": "session",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 76,
- "name": "session",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Returns the session data, if there is an active session."
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 77,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 78,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 80,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 79,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 81,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [78, 79]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 79,
- "character": 14
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 75,
- "name": "GoTrueClient.session"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 79,
- "character": 11
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 75,
- "name": "GoTrueClient.session"
- }
- },
- {
- "id": 56,
- "name": "signIn",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 57,
- "name": "signIn",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Log in an existing user, or login via a third-party provider."
- },
- "parameters": [
- {
- "id": 58,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The user login details."
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 59,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 60,
- "name": "email",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "The user's email address."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 58,
- "character": 13
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 61,
- "name": "password",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "The user's password."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 59,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 62,
- "name": "provider",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "One of the providers supported by GoTrue.\n"
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 60,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "name": "Provider"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [60, 61, 62]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 57,
- "character": 23
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 63,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 64,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 68,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 66,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 66,
- "name": "provider",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 64,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "name": "Provider"
- }
- },
- {
- "id": 67,
- "name": "url",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 65,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 65,
- "name": "user",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 63,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [64, 68, 66, 67, 65]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 61,
- "character": 16
- }
- ]
- }
- }
- ],
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 56,
- "name": "GoTrueClient.signIn"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 57,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 56,
- "name": "GoTrueClient.signIn"
- }
- },
- {
- "id": 101,
- "name": "signOut",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 102,
- "name": "signOut",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Signs out the current user, if there is a logged in user."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 103,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 104,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 113,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [104]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 112,
- "character": 23
- }
- ]
- }
- }
- ],
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 101,
- "name": "GoTrueClient.signOut"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 112,
- "character": 11
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 101,
- "name": "GoTrueClient.signOut"
- }
- },
- {
- "id": 46,
- "name": "signUp",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 47,
- "name": "signUp",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Creates a new user."
- },
- "parameters": [
- {
- "id": 48,
- "name": "credentials",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The user login details."
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 49,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 50,
- "name": "email",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The user's email address."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 43,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 51,
- "name": "password",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The user's password.\n"
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 44,
- "character": 16
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [50, 51]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 42,
- "character": 23
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 52,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 53,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 46,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 55,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 48,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 54,
- "name": "user",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 47,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [53, 55, 54]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 45,
- "character": 16
- }
- ]
- }
- }
- ],
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 46,
- "name": "GoTrueClient.signUp"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 42,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 46,
- "name": "GoTrueClient.signUp"
- }
- },
- {
- "id": 86,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 87,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Updates user data, if there is a logged in user."
- },
- "parameters": [
- {
- "id": 88,
- "name": "attributes",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "UserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 89,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 90,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 95,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 92,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 97,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 91,
- "name": "user",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 96,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [90, 92, 91]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 94,
- "character": 48
- }
- ]
- }
- }
- ],
- "name": "Promise"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 86,
- "name": "GoTrueClient.update"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 94,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 86,
- "name": "GoTrueClient.update"
- }
- },
- {
- "id": 69,
- "name": "user",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 70,
- "name": "user",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Returns the user data, if there is a logged in user."
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 71,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 72,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 72,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 74,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 74,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 73,
- "name": "user",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 73,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [72, 74, 73]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 71,
- "character": 11
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 69,
- "name": "GoTrueClient.user"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 71,
- "character": 8
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 69,
- "name": "GoTrueClient.user"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [26]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [41, 42, 40, 39, 44, 43, 45]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [93, 105, 80, 75, 56, 101, 46, 86, 69]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 3,
- "character": 31
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "name": "GoTrueClient"
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [25]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 130,
- "name": "\"lib/SupabaseQueryBuilder\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseQueryBuilder.ts",
- "children": [
- {
- "id": 131,
- "name": "SupabaseQueryBuilder",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "typeParameter": [
- {
- "id": 132,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "children": [
- {
- "id": 135,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 136,
- "name": "new SupabaseQueryBuilder",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 137,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 138,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "originalName": "__1",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 139,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 140,
- "name": "headers",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 13,
- "character": 13
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 141,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 142,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 143,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- },
- {
- "id": 145,
- "name": "realtime",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 15,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "name": "RealtimeClient"
- }
- },
- {
- "id": 144,
- "name": "schema",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 146,
- "name": "table",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 16,
- "character": 11
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [140, 145, 144, 146]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 11,
- "character": 16
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 131,
- "name": "SupabaseQueryBuilder"
- },
- "overwrites": {
- "type": "reference",
- "name": "PostgrestQueryBuilder.__constructor"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 8,
- "character": 35
- }
- ],
- "overwrites": {
- "type": "reference",
- "name": "PostgrestQueryBuilder.__constructor"
- }
- },
- {
- "id": 134,
- "name": "_realtime",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 8,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "name": "RealtimeClient"
- }
- },
- {
- "id": 133,
- "name": "_subscription",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isPrivate": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 7,
- "character": 23
- }
- ],
- "type": {
- "type": "reference",
- "id": 116,
- "name": "SupabaseRealtimeClient"
- }
- },
- {
- "id": 176,
- "name": "body",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 38,
- "character": 18
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "Partial"
- }
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 176,
- "name": "PostgrestBuilder.body"
- }
- },
- {
- "id": 171,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 34,
- "character": 21
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 172,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 173,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 174,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 34,
- "character": 22
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 171,
- "name": "PostgrestBuilder.headers"
- }
- },
- {
- "id": 169,
- "name": "method",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 32,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "stringLiteral",
- "value": "GET"
- },
- {
- "type": "stringLiteral",
- "value": "HEAD"
- },
- {
- "type": "stringLiteral",
- "value": "POST"
- },
- {
- "type": "stringLiteral",
- "value": "PATCH"
- },
- {
- "type": "stringLiteral",
- "value": "DELETE"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 169,
- "name": "PostgrestBuilder.method"
- }
- },
- {
- "id": 175,
- "name": "schema",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 37,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 175,
- "name": "PostgrestBuilder.schema"
- }
- },
- {
- "id": 170,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 33,
- "character": 17
- }
- ],
- "type": {
- "type": "reference",
- "name": "URL"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 170,
- "name": "PostgrestBuilder.url"
- }
- },
- {
- "id": 167,
- "name": "delete",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 168,
- "name": "delete",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Performs a DELETE on the table."
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestFilterBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 167,
- "name": "PostgrestQueryBuilder.delete"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 39,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 167,
- "name": "PostgrestQueryBuilder.delete"
- }
- },
- {
- "id": 157,
- "name": "insert",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 158,
- "name": "insert",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Performs an INSERT into the table."
- },
- "parameters": [
- {
- "id": 159,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The values to insert."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "Partial"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "Partial"
- }
- }
- ]
- }
- },
- {
- "id": 160,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "originalName": "__1",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 161,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 163,
- "name": "onConflict",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n"
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 26,
- "character": 66
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 162,
- "name": "upsert",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "If `true`, performs an UPSERT."
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 26,
- "character": 54
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [163, 162]
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 26,
- "character": 45
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestFilterBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 157,
- "name": "PostgrestQueryBuilder.insert"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 26,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 157,
- "name": "PostgrestQueryBuilder.insert"
- }
- },
- {
- "id": 147,
- "name": "on",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 148,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Subscribe to realtime changes in your databse."
- },
- "parameters": [
- {
- "id": 149,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "stringLiteral",
- "value": "INSERT"
- },
- {
- "type": "stringLiteral",
- "value": "UPDATE"
- },
- {
- "type": "stringLiteral",
- "value": "DELETE"
- },
- {
- "type": "stringLiteral",
- "value": "*"
- }
- ]
- }
- },
- {
- "id": 150,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "A callback that will handle the payload that is sent whenever your database changes.\n"
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 151,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 152,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 153,
- "name": "payload",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 15,
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "SupabaseRealtimePayload"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 37,
- "character": 13
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 116,
- "name": "SupabaseRealtimeClient"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 35,
- "character": 4
- }
- ]
- },
- {
- "id": 154,
- "name": "select",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 155,
- "name": "select",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Performs horizontal filtering with SELECT."
- },
- "parameters": [
- {
- "id": 156,
- "name": "columns",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "text": "The columns to retrieve, separated by commas.\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestFilterBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 154,
- "name": "PostgrestQueryBuilder.select"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 18,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 154,
- "name": "PostgrestQueryBuilder.select"
- }
- },
- {
- "id": 177,
- "name": "then",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 178,
- "name": "then",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "typeParameter": [
- {
- "id": 179,
- "name": "TResult1",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- },
- {
- "id": 180,
- "name": "TResult2",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "parameters": [
- {
- "id": 181,
- "name": "onfulfilled",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 182,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 183,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 184,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- }
- ],
- "name": "PromiseLike"
- }
- ]
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 40,
- "character": 75
- }
- ]
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 185,
- "name": "onrejected",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 186,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 187,
- "name": "__call",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 188,
- "name": "reason",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- },
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ],
- "name": "PromiseLike"
- }
- ]
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 40,
- "character": 176
- }
- ]
- }
- },
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "typeParameter",
- "name": "TResult1",
- "default": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- },
- {
- "type": "typeParameter",
- "name": "TResult2",
- "default": {
- "type": "intrinsic",
- "name": "never"
- }
- }
- ]
- }
- ],
- "name": "PromiseLike"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 177,
- "name": "PostgrestBuilder.then"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
- "line": 40,
- "character": 8
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 177,
- "name": "PostgrestBuilder.then"
- }
- },
- {
- "id": 164,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 165,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Performs an UPDATE on the table."
- },
- "parameters": [
- {
- "id": 166,
- "name": "values",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The values to update.\n"
- },
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "Partial"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestFilterBuilder"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 164,
- "name": "PostgrestQueryBuilder.update"
- }
- }
- ],
- "sources": [
- {
- "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
- "line": 35,
- "character": 10
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 164,
- "name": "PostgrestQueryBuilder.update"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [135]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [134, 133, 176, 171, 169, 175, 170]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [167, 157, 147, 154, 177, 164]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 6,
- "character": 33
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestQueryBuilder"
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "typeArguments": [
- {
- "type": "typeParameter",
- "name": "T"
- }
- ],
- "name": "PostgrestResponse"
- }
- ],
- "name": "PromiseLike"
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [131]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseQueryBuilder.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 115,
- "name": "\"lib/SupabaseRealtimeClient\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseRealtimeClient.ts",
- "children": [
- {
- "id": 116,
- "name": "SupabaseRealtimeClient",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 118,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 119,
- "name": "new SupabaseRealtimeClient",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 120,
- "name": "socket",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "RealtimeClient"
- }
- },
- {
- "id": 121,
- "name": "schema",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 122,
- "name": "tableName",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 116,
- "name": "SupabaseRealtimeClient"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 5,
- "character": 36
- }
- ]
- },
- {
- "id": 117,
- "name": "subscription",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 5,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "name": "RealtimeSubscription"
- }
- },
- {
- "id": 123,
- "name": "on",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 124,
- "name": "on",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The event you want to listen to."
- },
- "parameters": [
- {
- "id": 125,
- "name": "event",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The event"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "stringLiteral",
- "value": "INSERT"
- },
- {
- "type": "stringLiteral",
- "value": "UPDATE"
- },
- {
- "type": "stringLiteral",
- "value": "DELETE"
- },
- {
- "type": "stringLiteral",
- "value": "*"
- }
- ]
- }
- },
- {
- "id": 126,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "A callback function that is called whenever the event occurs.\n"
- },
- "type": {
- "type": "reference",
- "name": "Function"
- }
- }
- ],
- "type": {
- "type": "unknown",
- "name": "this"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 18,
- "character": 4
- }
- ]
- },
- {
- "id": 127,
- "name": "subscribe",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 128,
- "name": "subscribe",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Enables the subscription."
- },
- "parameters": [
- {
- "id": 129,
- "name": "callback",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Function"
- },
- "defaultValue": "() => {}"
- }
- ],
- "type": {
- "type": "reference",
- "name": "RealtimeSubscription"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 55,
- "character": 11
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [118]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [117]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [123, 127]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 4,
- "character": 35
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [116]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseRealtimeClient.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 1,
- "name": "\"lib/constants\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/constants.ts",
- "children": [
- {
- "id": 2,
- "name": "DEFAULT_HEADERS",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isConst": true
- },
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 3,
- "character": 28
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 3,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- }
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [2]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/constants.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 246,
- "name": "\"lib/helpers\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/helpers.ts",
- "children": [
- {
- "id": 247,
- "name": "uuid",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 248,
- "name": "uuid",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 3,
- "character": 20
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Functions",
- "kind": 64,
- "children": [247]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/helpers.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 4,
- "name": "\"lib/types\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/types.ts",
- "children": [
- {
- "id": 5,
- "name": "SupabaseClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 1,
- "character": 33
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 6,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 12,
- "name": "autoRefreshToken",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "Automatically refreshes the token for logged in users."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 13,
- "character": 18
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 14,
- "name": "detectSessionInUrl",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 21,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 8,
- "name": "headers",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional headers for initializing the client."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 9,
- "character": 9
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 9,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 10,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 11,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 13,
- "name": "persistSession",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "Whether to persist a logged in session to storage."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 17,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 7,
- "name": "schema",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 5,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [12, 14, 8, 13, 7]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 1,
- "character": 35
- }
- ]
- }
- }
- },
- {
- "id": 15,
- "name": "SupabaseRealtimePayload",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {
- "isExported": true
- },
- "typeParameter": [
- {
- "id": 16,
- "name": "T",
- "kind": 131072,
- "kindString": "Type parameter",
- "flags": {
- "isExported": true
- }
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 24,
- "character": 35
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 17,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 18,
- "name": "commit_timestamp",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 25,
- "character": 18
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 19,
- "name": "eventType",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 26,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "stringLiteral",
- "value": "INSERT"
- },
- {
- "type": "stringLiteral",
- "value": "UPDATE"
- },
- {
- "type": "stringLiteral",
- "value": "DELETE"
- }
- ]
- }
- },
- {
- "id": 22,
- "name": "new",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The new record. Present for 'INSERT' and 'UPDATE' events."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 30,
- "character": 5
- }
- ],
- "type": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- {
- "id": 23,
- "name": "old",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 32,
- "character": 5
- }
- ],
- "type": {
- "type": "typeParameter",
- "name": "T"
- }
- },
- {
- "id": 20,
- "name": "schema",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 27,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 21,
- "name": "table",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 28,
- "character": 7
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [18, 19, 22, 23, 20, 21]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 24,
- "character": 40
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Type aliases",
- "kind": 4194304,
- "children": [5, 15]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 1,
- "character": 0
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Modules",
- "kind": 1,
- "children": [189, 240, 24, 130, 115, 1, 246, 4]
- }
- ]
-}
+ "id": 0,
+ "name": "@supabase/supabase-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 546,
+ "name": "\"SupabaseClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts",
+ "children": [
+ {
+ "id": 547,
+ "name": "SupabaseClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Supabase Client.",
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
+ },
+ "children": [
+ {
+ "id": 556,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "signatures": [
+ {
+ "id": 559,
+ "name": "new SupabaseClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 560,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 561,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 562,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 547,
+ "name": "SupabaseClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 37,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 548,
+ "name": "auth",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 27,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "SupabaseAuthClient"
+ }
+ },
+ {
+ "id": 553,
+ "name": "authUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 35,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 555,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 37,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 552,
+ "name": "realtimeUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 34,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 551,
+ "name": "restUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 33,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 550,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 32,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 549,
+ "name": "storage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 31,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 434,
+ "name": "SupabaseStorageClient"
+ }
+ },
+ {
+ "id": 554,
+ "name": "storageUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 36,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 558,
+ "name": "supabaseKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 51,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 557,
+ "name": "supabaseUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 50,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 599,
+ "name": "_closeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 600,
+ "name": "_closeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 601,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 179,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 575,
+ "name": "_closeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 576,
+ "name": "_closeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 577,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 122,
+ "character": 34
+ }
+ ]
+ },
+ {
+ "id": 594,
+ "name": "_getAuthHeaders",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 595,
+ "name": "_getAuthHeaders",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 596,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 597,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 598,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 171,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 171,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 590,
+ "name": "_initPostgRESTClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 591,
+ "name": "_initPostgRESTClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "PostgrestClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 160,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 588,
+ "name": "_initRealtimeClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 589,
+ "name": "_initRealtimeClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 154,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 592,
+ "name": "_initStorageClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 593,
+ "name": "_initStorageClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 434,
+ "name": "SupabaseStorageClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 167,
+ "character": 28
+ }
+ ]
+ },
+ {
+ "id": 580,
+ "name": "_initSupabaseAuthClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 581,
+ "name": "_initSupabaseAuthClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 582,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 583,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 584,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 136,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 586,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 138,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 587,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 139,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "name": "Storage"
+ }
+ ]
+ }
+ },
+ {
+ "id": 585,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 137,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 584,
+ 586,
+ 587,
+ 585
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 135,
+ "character": 34
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "SupabaseAuthClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 135,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 563,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 564,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 565,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 566,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The table name to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 143,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "SupabaseQueryBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 79,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 578,
+ "name": "getSubscriptions",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 579,
+ "name": "getSubscriptions",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns an array of all your subscriptions."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 131,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 572,
+ "name": "removeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 573,
+ "name": "removeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes an active subscription and returns the number of open connections."
+ },
+ "parameters": [
+ {
+ "id": 574,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The subscription you want to remove.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 105,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 567,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 568,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a stored procedure call."
+ },
+ "typeParameter": [
+ {
+ "id": 569,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 570,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 571,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "unknown",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 95,
+ "character": 5
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 556
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 548,
+ 553,
+ 555,
+ 552,
+ 551,
+ 550,
+ 549,
+ 554,
+ 558,
+ 557
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 599,
+ 575,
+ 594,
+ 590,
+ 588,
+ 592,
+ 580,
+ 563,
+ 578,
+ 572,
+ 567
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 23,
+ "character": 35
+ }
+ ]
+ },
+ {
+ "id": 602,
+ "name": "DEFAULT_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 604,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 11,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 606,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 13,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 608,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 15,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 609,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 607,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 14,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ },
+ "defaultValue": "globalThis.localStorage"
+ },
+ {
+ "id": 605,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 12,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 603,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 10,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"public\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 604,
+ 606,
+ 608,
+ 607,
+ 605,
+ 603
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 9,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 547
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 602
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 610,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts",
+ "children": [
+ {
+ "id": 611,
+ "name": "createClient",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "signatures": [
+ {
+ "id": 612,
+ "name": "createClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "parameters": [
+ {
+ "id": 613,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 614,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 615,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 547,
+ "name": "SupabaseClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 10,
+ "character": 18
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 611
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 26,
+ "name": "\"lib/SupabaseAuthClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts",
+ "children": [
+ {
+ "id": 27,
+ "name": "SupabaseAuthClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 28,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 29,
+ "name": "new SupabaseAuthClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 30,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 31,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 38,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 8,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 37,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 7,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 33,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 6,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 34,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 35,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 36,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 40,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 39,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 9,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 32,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 5,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 38,
+ 37,
+ 33,
+ 40,
+ 39,
+ 32
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 4,
+ "character": 22
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "SupabaseAuthClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "GoTrueClient.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 3,
+ "character": 54
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "GoTrueClient.__constructor"
+ }
+ },
+ {
+ "id": 41,
+ "name": "api",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 8,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "GoTrueApi"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "GoTrueClient.api"
+ }
+ },
+ {
+ "id": 44,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 17,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "GoTrueClient.autoRefreshToken"
+ }
+ },
+ {
+ "id": 43,
+ "name": "currentSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The session object for the currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 16,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 43,
+ "name": "GoTrueClient.currentSession"
+ }
+ },
+ {
+ "id": 42,
+ "name": "currentUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 12,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 42,
+ "name": "GoTrueClient.currentUser"
+ }
+ },
+ {
+ "id": 46,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 19,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 46,
+ "name": "GoTrueClient.localStorage"
+ }
+ },
+ {
+ "id": 45,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 18,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 45,
+ "name": "GoTrueClient.persistSession"
+ }
+ },
+ {
+ "id": 47,
+ "name": "stateChangeEmitters",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 20,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "name": "Subscription"
+ }
+ ],
+ "name": "Map"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 47,
+ "name": "GoTrueClient.stateChangeEmitters"
+ }
+ },
+ {
+ "id": 97,
+ "name": "getSessionFromUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 98,
+ "name": "getSessionFromUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets the session data from a URL string"
+ },
+ "parameters": [
+ {
+ "id": 99,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 100,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 101,
+ "name": "storeSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Optionally store the session in the browser\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 107,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 101
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 102,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 103,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 109,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 104,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 110,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 103,
+ 104
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 108,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 97,
+ "name": "GoTrueClient.getSessionFromUrl"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 106,
+ "character": 21
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 97,
+ "name": "GoTrueClient.getSessionFromUrl"
+ }
+ },
+ {
+ "id": 109,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 110,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens.",
+ "returns": "A subscription object which can be used to unsubscribe itself.\n"
+ },
+ "parameters": [
+ {
+ "id": 111,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 112,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 113,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 114,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 115,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 125,
+ "character": 31
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 116,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 117,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 126,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Subscription"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 118,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 127,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 117,
+ 118
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 125,
+ "character": 91
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 109,
+ "name": "GoTrueClient.onAuthStateChange"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 125,
+ "character": 21
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 109,
+ "name": "GoTrueClient.onAuthStateChange"
+ }
+ },
+ {
+ "id": 84,
+ "name": "refreshSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 85,
+ "name": "refreshSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Force refreshes the session including the user data in case it was updated in a different session."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 86,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 87,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 90,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 89,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 92,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 88,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 91,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 87,
+ 89,
+ 88
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 89,
+ "character": 30
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 84,
+ "name": "GoTrueClient.refreshSession"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 89,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 84,
+ "name": "GoTrueClient.refreshSession"
+ }
+ },
+ {
+ "id": 82,
+ "name": "session",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 83,
+ "name": "session",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the session data, if there is an active session."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 82,
+ "name": "GoTrueClient.session"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 85,
+ "character": 11
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 82,
+ "name": "GoTrueClient.session"
+ }
+ },
+ {
+ "id": 62,
+ "name": "signIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 63,
+ "name": "signIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Log in an existing user, or login via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 64,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 65,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 66,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 67,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 68,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "azure"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "bitbucket"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "facebook"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "github"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "gitlab"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "google"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 66,
+ 67,
+ 68
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 69,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 70,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 71,
+ "name": "redirectTo",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 66,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 72,
+ "name": "scopes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 67,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 71,
+ 72
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 73,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 79,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 74,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 78,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 73,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 76,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 71,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 74,
+ "name": "session",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 69,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 77,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 72,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 75,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 70,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 79,
+ 78,
+ 76,
+ 74,
+ 77,
+ 75
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 68,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 62,
+ "name": "GoTrueClient.signIn"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 62,
+ "name": "GoTrueClient.signIn"
+ }
+ },
+ {
+ "id": 105,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 106,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
+ "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 107,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 108,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 119,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 108
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 118,
+ "character": 23
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 105,
+ "name": "GoTrueClient.signOut"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 118,
+ "character": 11
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 105,
+ "name": "GoTrueClient.signOut"
+ }
+ },
+ {
+ "id": 48,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 49,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new user."
+ },
+ "parameters": [
+ {
+ "id": 50,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 51,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 52,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 53,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 52,
+ 53
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 54,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 55,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 56,
+ "name": "redirectTo",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 49,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 56
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 57,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 61,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 54,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 60,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 53,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 59,
+ "name": "session",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 52,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 58,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 51,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 61,
+ 60,
+ 59,
+ 58
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 50,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 48,
+ "name": "GoTrueClient.signUp"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 48,
+ "name": "GoTrueClient.signUp"
+ }
+ },
+ {
+ "id": 90,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 91,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 92,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 93,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 94,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 98,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 96,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 100,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 95,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 99,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 94,
+ 96,
+ 95
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 97,
+ "character": 48
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 90,
+ "name": "GoTrueClient.update"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 97,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 90,
+ "name": "GoTrueClient.update"
+ }
+ },
+ {
+ "id": 80,
+ "name": "user",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 81,
+ "name": "user",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.",
+ "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 80,
+ "name": "GoTrueClient.user"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 81,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 80,
+ "name": "GoTrueClient.user"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 28
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 41,
+ 44,
+ 43,
+ 42,
+ 46,
+ 45,
+ 47
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 97,
+ 109,
+ 84,
+ 82,
+ 62,
+ 105,
+ 48,
+ 90,
+ 80
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 3,
+ "character": 31
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "name": "GoTrueClient"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 27
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 142,
+ "name": "\"lib/SupabaseQueryBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts",
+ "children": [
+ {
+ "id": 143,
+ "name": "SupabaseQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 144,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 147,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 148,
+ "name": "new SupabaseQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 149,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 150,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 152,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 13,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 153,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 154,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 155,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 157,
+ "name": "realtime",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 15,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 156,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "table",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 16,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 152,
+ 157,
+ 156,
+ 158
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 11,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 143,
+ "name": "SupabaseQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "PostgrestQueryBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 8,
+ "character": 35
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "PostgrestQueryBuilder.__constructor"
+ }
+ },
+ {
+ "id": 146,
+ "name": "_realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 8,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 145,
+ "name": "_subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 7,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 120,
+ "name": "SupabaseRealtimeClient"
+ }
+ },
+ {
+ "id": 216,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 47,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 216,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 211,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 43,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 212,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 213,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 214,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 43,
+ "character": 22
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 211,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 209,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 41,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 209,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 215,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 46,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 215,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 210,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 42,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 210,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 203,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 204,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "parameters": [
+ {
+ "id": 205,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 206,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 208,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 71,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 207,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, return the deleted row(s) in the response."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 71,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 208,
+ 207
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 203,
+ "name": "PostgrestQueryBuilder.delete"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 71,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 203,
+ "name": "PostgrestQueryBuilder.delete"
+ }
+ },
+ {
+ "id": 173,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 174,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 175,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 176,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 177,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 179,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 30,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 178,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 29,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 179,
+ 178
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 173,
+ "name": "PostgrestQueryBuilder.insert"
+ }
+ },
+ {
+ "id": 180,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "tags": [
+ {
+ "tag": "deprecated",
+ "text": "Use `upsert()` instead.\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 181,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 182,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 187,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 39,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 185,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 37,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 186,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 38,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ }
+ },
+ {
+ "id": 184,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 36,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 187,
+ 185,
+ 186,
+ 184
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 173,
+ "name": "PostgrestQueryBuilder.insert"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 28,
+ "character": 10
+ },
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 35,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 173,
+ "name": "PostgrestQueryBuilder.insert"
+ }
+ },
+ {
+ "id": 159,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Subscribe to realtime changes in your databse."
+ },
+ "parameters": [
+ {
+ "id": 161,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes."
+ },
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseEventTypes"
+ }
+ },
+ {
+ "id": 162,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A callback that will handle the payload that is sent whenever your database changes.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 163,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 164,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 165,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 16,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "SupabaseRealtimePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 37,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 120,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 35,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 166,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 167,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs vertical filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 168,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The columns to retrieve, separated by commas."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 169,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 170,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 172,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 17,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 171,
+ "name": "head",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "When set to true, select will void data."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 17,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 172,
+ 171
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 17,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 166,
+ "name": "PostgrestQueryBuilder.select"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 17,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 166,
+ "name": "PostgrestQueryBuilder.select"
+ }
+ },
+ {
+ "id": 217,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 218,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 219,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 220,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 221,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 222,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 223,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 224,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 49,
+ "character": 75
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 225,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 226,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 227,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 228,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 49,
+ "character": 176
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 217,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 217,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 196,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 197,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 198,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to update."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ },
+ {
+ "id": 199,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 200,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 202,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 61,
+ "character": 49
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 201,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 61,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 202,
+ 201
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 61,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 196,
+ "name": "PostgrestQueryBuilder.update"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 61,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 196,
+ "name": "PostgrestQueryBuilder.update"
+ }
+ },
+ {
+ "id": 188,
+ "name": "upsert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 189,
+ "name": "upsert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 190,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 191,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 192,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 195,
+ "name": "count",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Count algorithm to use to count rows in a table.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 76
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "exact"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "planned"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "estimated"
+ }
+ ]
+ }
+ },
+ {
+ "id": 193,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 58
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 194,
+ "name": "returning",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 69
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "minimal"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "representation"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 195,
+ 193,
+ 194
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 45
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 188,
+ "name": "PostgrestQueryBuilder.upsert"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 49,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 188,
+ "name": "PostgrestQueryBuilder.upsert"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 147
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 146,
+ 145,
+ 216,
+ 211,
+ 209,
+ 215,
+ 210
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 203,
+ 173,
+ 159,
+ 166,
+ 217,
+ 196,
+ 188
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 6,
+ "character": 33
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestQueryBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 143
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 119,
+ "name": "\"lib/SupabaseRealtimeClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts",
+ "children": [
+ {
+ "id": 120,
+ "name": "SupabaseRealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 122,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "new SupabaseRealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 125,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 126,
+ "name": "tableName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 120,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 121,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 127,
+ "name": "getPayloadRecords",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 128,
+ "name": "getPayloadRecords",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 129,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 130,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 131,
+ "name": "new",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 14,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 132,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ },
+ {
+ "id": 133,
+ "name": "old",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 15,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 134,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 131,
+ 133
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 12,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 135,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 136,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The event you want to listen to."
+ },
+ "parameters": [
+ {
+ "id": 137,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The event"
+ },
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseEventTypes"
+ }
+ },
+ {
+ "id": 138,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A callback function that is called whenever the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 35,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 139,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 140,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Enables the subscription."
+ },
+ "parameters": [
+ {
+ "id": 141,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "() => {}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 56,
+ "character": 11
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 122
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 121
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 127,
+ 135,
+ 139
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 4,
+ "character": 35
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 120
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 433,
+ "name": "\"lib/SupabaseStorageClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseStorageClient.ts",
+ "children": [
+ {
+ "id": 434,
+ "name": "SupabaseStorageClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 435,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 436,
+ "name": "new SupabaseStorageClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 437,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 438,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 439,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 440,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 441,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseStorageClient.ts",
+ "line": 4,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 434,
+ "name": "SupabaseStorageClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 314,
+ "name": "StorageApi.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseStorageClient.ts",
+ "line": 3,
+ "character": 55
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 314,
+ "name": "StorageApi.__constructor"
+ }
+ },
+ {
+ "id": 443,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 444,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 445,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 446,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 310,
+ "name": "StorageApi.headers"
+ }
+ },
+ {
+ "id": 442,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 15,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 309,
+ "name": "StorageApi.url"
+ }
+ },
+ {
+ "id": 458,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 459,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a bucket"
+ },
+ "parameters": [
+ {
+ "id": 460,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the new bucket name\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 461,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 462,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 463,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 72
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 462,
+ 463
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 332,
+ "name": "StorageApi.createBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 332,
+ "name": "StorageApi.createBucket"
+ }
+ },
+ {
+ "id": 508,
+ "name": "createSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 509,
+ "name": "createSignedUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create signed url to download file"
+ },
+ "parameters": [
+ {
+ "id": 510,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be downloaded"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 511,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "seconds until the signed URL expires\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 512,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 513,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 514,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 515,
+ "name": "signedURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 515
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 516,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 56
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 513,
+ 516
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 382,
+ "name": "StorageApi.createSignedUrl"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 187,
+ "character": 23
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 382,
+ "name": "StorageApi.createSignedUrl"
+ }
+ },
+ {
+ "id": 472,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 473,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete a bucket"
+ },
+ "parameters": [
+ {
+ "id": 474,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to be deleted\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 475,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 476,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 477,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 478,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 478
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 479,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 476,
+ 479
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 346,
+ "name": "StorageApi.deleteBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 80,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 346,
+ "name": "StorageApi.deleteBucket"
+ }
+ },
+ {
+ "id": 523,
+ "name": "deleteFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 524,
+ "name": "deleteFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete a file"
+ },
+ "parameters": [
+ {
+ "id": 525,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be deleted\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 526,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 527,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 528,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 529,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 529
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 530,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 527,
+ 530
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 397,
+ "name": "StorageApi.deleteFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 224,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 397,
+ "name": "StorageApi.deleteFile"
+ }
+ },
+ {
+ "id": 531,
+ "name": "deleteFiles",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 532,
+ "name": "deleteFiles",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete multiple files on the same bucket"
+ },
+ "parameters": [
+ {
+ "id": 533,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 534,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file paths to be deleted excluded the bucket name\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 535,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 536,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 287,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 537,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 536,
+ 537
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 405,
+ "name": "StorageApi.deleteFiles"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 240,
+ "character": 19
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 405,
+ "name": "StorageApi.deleteFiles"
+ }
+ },
+ {
+ "id": 517,
+ "name": "downloadFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 518,
+ "name": "downloadFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Download a file"
+ },
+ "parameters": [
+ {
+ "id": 519,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be downloaded\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 520,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 521,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 522,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 70
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 521,
+ 522
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 391,
+ "name": "StorageApi.downloadFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 20
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 391,
+ "name": "StorageApi.downloadFile"
+ }
+ },
+ {
+ "id": 464,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 465,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Empty a bucket"
+ },
+ "parameters": [
+ {
+ "id": 466,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to empty\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 467,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 468,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 470,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 470
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 471,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 468,
+ 471
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 338,
+ "name": "StorageApi.emptyBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 65,
+ "character": 19
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 338,
+ "name": "StorageApi.emptyBucket"
+ }
+ },
+ {
+ "id": 447,
+ "name": "getAllBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 448,
+ "name": "getAllBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets all buckets details"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 449,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 450,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 39
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 451,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 63
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 450,
+ 451
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 33
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 321,
+ "name": "StorageApi.getAllBuckets"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 21
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 321,
+ "name": "StorageApi.getAllBuckets"
+ }
+ },
+ {
+ "id": 452,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 453,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Get details of a bucket"
+ },
+ "parameters": [
+ {
+ "id": 454,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to retrieve\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 455,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 456,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 457,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 67
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 456,
+ 457
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 326,
+ "name": "StorageApi.getBucket"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 17
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 326,
+ "name": "StorageApi.getBucket"
+ }
+ },
+ {
+ "id": 498,
+ "name": "renameFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 499,
+ "name": "renameFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Rename a file"
+ },
+ "parameters": [
+ {
+ "id": 500,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 501,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "original relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 502,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the new relative file path\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 503,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 504,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 505,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 506,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 506
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 507,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 504,
+ 507
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 372,
+ "name": "StorageApi.renameFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 165,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 372,
+ "name": "StorageApi.renameFile"
+ }
+ },
+ {
+ "id": 538,
+ "name": "search",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 539,
+ "name": "search",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Use to fetch folder contents"
+ },
+ "parameters": [
+ {
+ "id": 540,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 541,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "the relative folder path excluded the bucket name"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 542,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 301,
+ "name": "SearchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 543,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 544,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 287,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 545,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 544,
+ 545
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 412,
+ "name": "StorageApi.search"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 292,
+ "character": 14
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 412,
+ "name": "StorageApi.search"
+ }
+ },
+ {
+ "id": 489,
+ "name": "updateFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 490,
+ "name": "updateFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Update a file"
+ },
+ "parameters": [
+ {
+ "id": 491,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 492,
+ "name": "file",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the File content\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "File"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 493,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 494,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 495,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 496,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 496
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 497,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 494,
+ 497
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 363,
+ "name": "StorageApi.updateFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 130,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 363,
+ "name": "StorageApi.updateFile"
+ }
+ },
+ {
+ "id": 480,
+ "name": "uploadFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 481,
+ "name": "uploadFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Upload a file"
+ },
+ "parameters": [
+ {
+ "id": 482,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 483,
+ "name": "file",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the File content\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "File"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 484,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 485,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 486,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 487,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 487
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 488,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 485,
+ 488
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 354,
+ "name": "StorageApi.uploadFile"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 96,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 354,
+ "name": "StorageApi.uploadFile"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 435
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 443,
+ 442
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 458,
+ 508,
+ 472,
+ 523,
+ 531,
+ 517,
+ 464,
+ 447,
+ 452,
+ 498,
+ 538,
+ 489,
+ 480
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseStorageClient.ts",
+ "line": 3,
+ "character": 34
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 308,
+ "name": "StorageApi"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 434
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseStorageClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 2,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 3,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 2
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 616,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 617,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 618,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 3,
+ "character": 20
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 617
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 307,
+ "name": "\"lib/storage/StorageApi\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/StorageApi.ts",
+ "children": [
+ {
+ "id": 308,
+ "name": "StorageApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 314,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 315,
+ "name": "new StorageApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 316,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 317,
+ "name": "headers",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 318,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 319,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 320,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 18,
+ "character": 35
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 308,
+ "name": "StorageApi"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 310,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 311,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 312,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 313,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 16,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 309,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 15,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 332,
+ "name": "createBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 333,
+ "name": "createBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a bucket"
+ },
+ "parameters": [
+ {
+ "id": 334,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the new bucket name\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 335,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 336,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 337,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 72
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 336,
+ 337
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 52,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 382,
+ "name": "createSignedUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 383,
+ "name": "createSignedUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create signed url to download file"
+ },
+ "parameters": [
+ {
+ "id": 384,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be downloaded"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 385,
+ "name": "expiresIn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "seconds until the signed URL expires\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 386,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 387,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 388,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 389,
+ "name": "signedURL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 389
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 390,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 56
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 387,
+ 390
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 190,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 187,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "deleteBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 347,
+ "name": "deleteBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete a bucket"
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to be deleted\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 349,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 350,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 351,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 352,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 352
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 353,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 350,
+ 353
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 82,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 80,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 397,
+ "name": "deleteFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 398,
+ "name": "deleteFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete a file"
+ },
+ "parameters": [
+ {
+ "id": 399,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be deleted\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 400,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 401,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 402,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 403,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 403
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 404,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 401,
+ 404
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 226,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 224,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 405,
+ "name": "deleteFiles",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 406,
+ "name": "deleteFiles",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Delete multiple files on the same bucket"
+ },
+ "parameters": [
+ {
+ "id": 407,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 408,
+ "name": "paths",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file paths to be deleted excluded the bucket name\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 409,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 410,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 287,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 411,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 410,
+ 411
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 243,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 240,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 391,
+ "name": "downloadFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 392,
+ "name": "downloadFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Download a file"
+ },
+ "parameters": [
+ {
+ "id": 393,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path to be downloaded\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 394,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 395,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Blob"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 396,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 70
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 395,
+ 396
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 44
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 207,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 338,
+ "name": "emptyBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 339,
+ "name": "emptyBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Empty a bucket"
+ },
+ "parameters": [
+ {
+ "id": 340,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to empty\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 342,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 343,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 344,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 344
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 345,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 342,
+ 345
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 67,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 65,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 321,
+ "name": "getAllBuckets",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 322,
+ "name": "getAllBuckets",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets all buckets details"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 323,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 324,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 39
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 325,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 63
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 324,
+ 325
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 33
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 26,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 326,
+ "name": "getBucket",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 327,
+ "name": "getBucket",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Get details of a bucket"
+ },
+ "parameters": [
+ {
+ "id": 328,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the bucket id to retrieve\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 329,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 330,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 331,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 67
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 330,
+ 331
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 39
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 39,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 372,
+ "name": "renameFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 373,
+ "name": "renameFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Rename a file"
+ },
+ "parameters": [
+ {
+ "id": 374,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 375,
+ "name": "fromPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "original relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 376,
+ "name": "toPath",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the new relative file path\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 377,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 378,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 379,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 380,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 380
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 381,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 378,
+ 381
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 169,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 165,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 412,
+ "name": "search",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 413,
+ "name": "search",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Use to fetch folder contents"
+ },
+ "parameters": [
+ {
+ "id": 414,
+ "name": "bucketName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 415,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "the relative folder path excluded the bucket name"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 416,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 301,
+ "name": "SearchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 417,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 418,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 287,
+ "name": "FileObject"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 419,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 418,
+ 419
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 296,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 292,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 363,
+ "name": "updateFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 364,
+ "name": "updateFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Update a file"
+ },
+ "parameters": [
+ {
+ "id": 365,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 366,
+ "name": "file",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the File content\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "File"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 367,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 368,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 369,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 370,
+ "name": "Key",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 371,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 50
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 368,
+ 371
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 133,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 130,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 354,
+ "name": "uploadFile",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 355,
+ "name": "uploadFile",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Upload a file"
+ },
+ "parameters": [
+ {
+ "id": 356,
+ "name": "path",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the relative file path"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 357,
+ "name": "file",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "the File content\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "File"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 358,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 359,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 360,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 361,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 361
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 20
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 362,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 359,
+ 362
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 99,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 96,
+ "character": 18
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 314
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 310,
+ 309
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 332,
+ 382,
+ 346,
+ 397,
+ 405,
+ 391,
+ 338,
+ 321,
+ 326,
+ 372,
+ 412,
+ 363,
+ 354
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 14,
+ "character": 23
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 434,
+ "name": "SupabaseStorageClient"
+ }
+ ]
+ },
+ {
+ "id": 420,
+ "name": "DEFAULT_SEARCH_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 421,
+ "name": "limit",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 6,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 422,
+ "name": "offset",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 7,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 423,
+ "name": "sortBy",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 424,
+ "name": "column",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 9,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"name\""
+ },
+ {
+ "id": 425,
+ "name": "order",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"asc\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 424,
+ 425
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 8,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 421,
+ 422
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 423
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 5,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 308
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/StorageApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 229,
+ "name": "\"lib/storage/fetch\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/fetch.ts",
+ "children": [
+ {
+ "id": 230,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 231,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 232,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 233,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 234,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 235,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 231,
+ 235
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 236,
+ "name": "RequestMethodType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 10,
+ "character": 29
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 237,
+ "name": "_getErrorMessage",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 238,
+ "name": "_getErrorMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 239,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 12,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 244,
+ "name": "_getRequestParams",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 245,
+ "name": "_getRequestParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 246,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 236,
+ "name": "RequestMethodType"
+ }
+ },
+ {
+ "id": 247,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ },
+ {
+ "id": 248,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 249,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 250,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 251,
+ "name": "k",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 27,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 252,
+ "name": "_handleRequest",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 253,
+ "name": "_handleRequest",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 254,
+ "name": "method",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 236,
+ "name": "RequestMethodType"
+ }
+ },
+ {
+ "id": 255,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 256,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ },
+ {
+ "id": 257,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 40,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 258,
+ "name": "get",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 259,
+ "name": "get",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 260,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 261,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 58,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 240,
+ "name": "handleError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 241,
+ "name": "handleError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 242,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 243,
+ "name": "reject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 15,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 262,
+ "name": "post",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 263,
+ "name": "post",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 264,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 265,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 266,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 62,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 267,
+ "name": "put",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 268,
+ "name": "put",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 269,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 270,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 271,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 66,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 272,
+ "name": "remove",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 273,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 274,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 275,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 276,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 230,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 70,
+ "character": 28
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 230
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 236
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 237,
+ 244,
+ 252,
+ 258,
+ 240,
+ 262,
+ 267,
+ 272
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 277,
+ "name": "\"lib/storage/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/helpers.ts",
+ "children": [
+ {
+ "id": 278,
+ "name": "isBrowser",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 279,
+ "name": "isBrowser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/helpers.ts",
+ "line": 1,
+ "character": 22
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 278
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 426,
+ "name": "\"lib/storage/index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/index.ts",
+ "children": [
+ {
+ "id": 428,
+ "name": "Bucket",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 281
+ },
+ {
+ "id": 429,
+ "name": "FileObject",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 287
+ },
+ {
+ "id": 432,
+ "name": "Metadata",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 305
+ },
+ {
+ "id": 431,
+ "name": "SearchOptions",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 301
+ },
+ {
+ "id": 430,
+ "name": "SortBy",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 298
+ },
+ {
+ "id": 427,
+ "name": "StorageApi",
+ "kind": 16777216,
+ "kindString": "Reference",
+ "flags": {
+ "isExported": true
+ },
+ "target": 308
+ }
+ ],
+ "groups": [
+ {
+ "title": "References",
+ "kind": 16777216,
+ "children": [
+ 428,
+ 429,
+ 432,
+ 431,
+ 430,
+ 427
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 280,
+ "name": "\"lib/storage/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/types.ts",
+ "children": [
+ {
+ "id": 281,
+ "name": "Bucket",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 285,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 282,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 2,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 283,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 3,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 284,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 4,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 286,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 6,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 285,
+ 282,
+ 283,
+ 284,
+ 286
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 1,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 287,
+ "name": "FileObject",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 289,
+ "name": "bucket_id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 11,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 297,
+ "name": "buckets",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 281,
+ "name": "Bucket"
+ }
+ },
+ {
+ "id": 293,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 291,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 294,
+ "name": "last_accessed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 16,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 295,
+ "name": "metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 17,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 296,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 17,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 288,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 10,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 290,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 12,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 292,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 289,
+ 297,
+ 293,
+ 291,
+ 294,
+ 295,
+ 288,
+ 290,
+ 292
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 9,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 305,
+ "name": "Metadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 306,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 34,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 306
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 33,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 301,
+ "name": "SearchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 302,
+ "name": "limit",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 303,
+ "name": "offset",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 28,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 304,
+ "name": "sortBy",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 29,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 298,
+ "name": "SortBy"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 302,
+ 303,
+ 304
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 26,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 298,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 299,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 22,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 300,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 23,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 299,
+ 300
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 21,
+ "character": 23
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 281,
+ 287,
+ 305,
+ 301,
+ 298
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/storage/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 4,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 5,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 6,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 12,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Automatically refreshes the token for logged in users."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 13,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 14,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 21,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 15,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A storage provider. Used to store the logged in session."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 25,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 13,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Whether to persist a logged in session to storage."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 7,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to 'public'."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 12,
+ 14,
+ 8,
+ 15,
+ 13,
+ 7
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 35
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 25,
+ "name": "SupabaseEventTypes",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 39,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "*"
+ }
+ ]
+ }
+ },
+ {
+ "id": 16,
+ "name": "SupabaseRealtimePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 17,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 18,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 19,
+ "name": "commit_timestamp",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 29,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 20,
+ "name": "eventType",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 30,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 23,
+ "name": "new",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The new record. Present for 'INSERT' and 'UPDATE' events."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 34,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 24,
+ "name": "old",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 36,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 21,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 31,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 22,
+ "name": "table",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 19,
+ 20,
+ 23,
+ 24,
+ 21,
+ 22
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 40
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 5,
+ 25,
+ 16
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 546,
+ 610,
+ 26,
+ 142,
+ 119,
+ 433,
+ 1,
+ 616,
+ 307,
+ 229,
+ 277,
+ 426,
+ 280,
+ 4
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
index 3c266937660..1ed6bab8b34 100644
--- a/web/spec/supabase.yml
+++ b/web/spec/supabase.yml
@@ -52,6 +52,9 @@ info:
- subscribe()
- removeSubscription()
- getSubscriptions()
+ - name: 'Storage'
+ items:
+ - storage.downloadFile()
- name: 'Modifiers'
items:
- Using Modifiers
@@ -784,6 +787,16 @@ pages:
```js
const subscriptions = supabase.getSubscriptions()
```
+ storage.downloadFile():
+ title: 'storage.downloadFile()'
+ $ref: '@supabase/supabase-js."SupabaseClient".SupabaseClient.getSubscriptions'
+ examples:
+ - name: Get all subscriptions
+ isSpotlight: true
+ js: |
+ ```js
+ const subscriptions = supabase.getSubscriptions()
+ ```
Using Modifiers:
description: |