The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Adds examples to the docs
Paul Copplestone80093c6b0f80
diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.jsindex c52c677a72c..2477e32ebdf 100644--- a/web/sidebar_spec_supabase.js+++ b/web/sidebar_spec_supabase.js@@ -27,7 +27,7 @@ module.exports = {{type: 'category',label: 'Storage',- items: ['reference/javascript/storage-uploadfile', 'reference/javascript/storage-downloadfile', 'reference/javascript/storage-updatefile', 'reference/javascript/storage-renamefile', 'reference/javascript/storage-deletefile', 'reference/javascript/storage-search', 'reference/javascript/storage-createbucket', 'reference/javascript/storage-getbucket', 'reference/javascript/storage-deletebucket', 'reference/javascript/storage-emptybucket', 'reference/javascript/storage-getallbuckets', 'reference/javascript/storage-createsignedurl'],+ items: ['reference/javascript/storage-uploadfile', 'reference/javascript/storage-downloadfile', 'reference/javascript/storage-listfiles', 'reference/javascript/storage-updatefile', 'reference/javascript/storage-movefile', 'reference/javascript/storage-deletefile', 'reference/javascript/storage-deletefiles', 'reference/javascript/storage-createbucket', 'reference/javascript/storage-getbucket', 'reference/javascript/storage-deletebucket', 'reference/javascript/storage-emptybucket', 'reference/javascript/storage-listbuckets', 'reference/javascript/storage-createsignedurl'],collapsed: true,},{diff --git a/web/spec/combined.json b/web/spec/combined.jsonindex c97b7cb24ee..a6d27ffcce2 100644--- a/web/spec/combined.json+++ b/web/spec/combined.json@@ -9,7 +9,7 @@"originalName": "","children": [{- "id": 546,+ "id": 555,"name": "\"SupabaseClient\"","kind": 1,"kindString": "Module",@@ -19,7 +19,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts","children": [{- "id": 547,+ "id": 556,"name": "SupabaseClient","kind": 128,"kindString": "Class",@@ -32,7 +32,7 @@},"children": [{- "id": 556,+ "id": 564,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -44,7 +44,7 @@},"signatures": [{- "id": 559,+ "id": 567,"name": "new SupabaseClient","kind": 16384,"kindString": "Constructor signature",@@ -56,7 +56,7 @@},"parameters": [{- "id": 560,+ "id": 568,"name": "supabaseUrl","kind": 32768,"kindString": "Parameter",@@ -72,7 +72,7 @@}},{- "id": 561,+ "id": 569,"name": "supabaseKey","kind": 32768,"kindString": "Parameter",@@ -88,7 +88,7 @@}},{- "id": 562,+ "id": 570,"name": "options","kind": 32768,"kindString": "Parameter",@@ -105,7 +105,7 @@],"type": {"type": "reference",- "id": 547,+ "id": 556,"name": "SupabaseClient"}}@@ -113,13 +113,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 37,+ "line": 34,"character": 36}]},{- "id": 548,+ "id": 557,"name": "auth","kind": 1024,"kindString": "Property",@@ -143,7 +143,7 @@}},{- "id": 553,+ "id": 561,"name": "authUrl","kind": 1024,"kindString": "Property",@@ -154,7 +154,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 35,+ "line": 32,"character": 19}],@@ -164,7 +164,7 @@}},{- "id": 555,+ "id": 563,"name": "realtime","kind": 1024,"kindString": "Property",@@ -175,7 +175,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 37,+ "line": 34,"character": 20}],@@ -185,7 +185,7 @@}},{- "id": 552,+ "id": 560,"name": "realtimeUrl","kind": 1024,"kindString": "Property",@@ -196,7 +196,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 34,+ "line": 31,"character": 23}],@@ -206,7 +206,7 @@}},{- "id": 551,+ "id": 559,"name": "restUrl","kind": 1024,"kindString": "Property",@@ -217,7 +217,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 33,+ "line": 30,"character": 19}],@@ -227,7 +227,7 @@}},{- "id": 550,+ "id": 558,"name": "schema","kind": 1024,"kindString": "Property",@@ -238,7 +238,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 32,+ "line": 29,"character": 18}],@@ -248,31 +248,7 @@}},{- "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,+ "id": 562,"name": "storageUrl","kind": 1024,"kindString": "Property",@@ -283,7 +259,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 36,+ "line": 33,"character": 22}],@@ -293,7 +269,7 @@}},{- "id": 558,+ "id": 566,"name": "supabaseKey","kind": 1024,"kindString": "Property",@@ -308,7 +284,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 51,+ "line": 48,"character": 25}],@@ -318,7 +294,7 @@}},{- "id": 557,+ "id": 565,"name": "supabaseUrl","kind": 1024,"kindString": "Property",@@ -333,7 +309,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 50,+ "line": 47,"character": 25}],@@ -343,7 +319,45 @@}},{- "id": 599,+ "id": 571,+ "name": "storage",+ "kind": 262144,+ "kindString": "Accessor",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."+ },+ "getSignature": [+ {+ "id": 572,+ "name": "__get",+ "kind": 524288,+ "kindString": "Get signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."+ },+ "type": {+ "type": "reference",+ "id": 441,+ "name": "SupabaseStorageClient"+ }+ }+ ],+ "sources": [+ {+ "fileName": "src/SupabaseClient.ts",+ "line": 73,+ "character": 13+ }+ ]+ },+ {+ "id": 609,"name": "_closeChannel","kind": 2048,"kindString": "Method",@@ -353,7 +367,7 @@},"signatures": [{- "id": 600,+ "id": 610,"name": "_closeChannel","kind": 4096,"kindString": "Call signature",@@ -362,7 +376,7 @@},"parameters": [{- "id": 601,+ "id": 611,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -390,13 +404,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 179,+ "line": 182,"character": 23}]},{- "id": 575,+ "id": 585,"name": "_closeSubscription","kind": 2048,"kindString": "Method",@@ -406,7 +420,7 @@},"signatures": [{- "id": 576,+ "id": 586,"name": "_closeSubscription","kind": 4096,"kindString": "Call signature",@@ -415,7 +429,7 @@},"parameters": [{- "id": 577,+ "id": 587,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -443,13 +457,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 122,+ "line": 125,"character": 34}]},{- "id": 594,+ "id": 604,"name": "_getAuthHeaders","kind": 2048,"kindString": "Method",@@ -459,7 +473,7 @@},"signatures": [{- "id": 595,+ "id": 605,"name": "_getAuthHeaders","kind": 4096,"kindString": "Call signature",@@ -469,7 +483,7 @@"type": {"type": "reflection","declaration": {- "id": 596,+ "id": 606,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -478,7 +492,7 @@},"indexSignature": [{- "id": 597,+ "id": 607,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -487,7 +501,7 @@},"parameters": [{- "id": 598,+ "id": 608,"name": "key","kind": 32768,"kindString": "Parameter",@@ -509,7 +523,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 171,+ "line": 174,"character": 28}]@@ -520,13 +534,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 171,+ "line": 174,"character": 25}]},{- "id": 590,+ "id": 600,"name": "_initPostgRESTClient","kind": 2048,"kindString": "Method",@@ -536,7 +550,7 @@},"signatures": [{- "id": 591,+ "id": 601,"name": "_initPostgRESTClient","kind": 4096,"kindString": "Call signature",@@ -552,13 +566,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 160,+ "line": 163,"character": 30}]},{- "id": 588,+ "id": 598,"name": "_initRealtimeClient","kind": 2048,"kindString": "Method",@@ -568,7 +582,7 @@},"signatures": [{- "id": 589,+ "id": 599,"name": "_initRealtimeClient","kind": 4096,"kindString": "Call signature",@@ -584,13 +598,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 154,+ "line": 157,"character": 29}]},{- "id": 592,+ "id": 602,"name": "_initStorageClient","kind": 2048,"kindString": "Method",@@ -600,7 +614,7 @@},"signatures": [{- "id": 593,+ "id": 603,"name": "_initStorageClient","kind": 4096,"kindString": "Call signature",@@ -609,7 +623,7 @@},"type": {"type": "reference",- "id": 434,+ "id": 441,"name": "SupabaseStorageClient"}}@@ -617,13 +631,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 167,+ "line": 170,"character": 28}]},{- "id": 580,+ "id": 590,"name": "_initSupabaseAuthClient","kind": 2048,"kindString": "Method",@@ -633,7 +647,7 @@},"signatures": [{- "id": 581,+ "id": 591,"name": "_initSupabaseAuthClient","kind": 4096,"kindString": "Call signature",@@ -642,7 +656,7 @@},"parameters": [{- "id": 582,+ "id": 592,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -653,7 +667,7 @@"type": {"type": "reflection","declaration": {- "id": 583,+ "id": 593,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -662,7 +676,7 @@},"children": [{- "id": 584,+ "id": 594,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -672,7 +686,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 136,+ "line": 139,"character": 20}],@@ -695,7 +709,7 @@}},{- "id": 586,+ "id": 596,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -705,7 +719,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 138,+ "line": 141,"character": 22}],@@ -728,7 +742,7 @@}},{- "id": 587,+ "id": 597,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -738,7 +752,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 139,+ "line": 142,"character": 16}],@@ -757,7 +771,7 @@}},{- "id": 585,+ "id": 595,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -767,7 +781,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 137,+ "line": 140,"character": 18}],@@ -795,17 +809,17 @@"title": "Variables","kind": 32,"children": [- 584,- 586,- 587,- 585+ 594,+ 596,+ 597,+ 595]}],"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 135,+ "line": 138,"character": 34}]@@ -823,13 +837,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 135,+ "line": 138,"character": 33}]},{- "id": 563,+ "id": 573,"name": "from","kind": 2048,"kindString": "Method",@@ -838,7 +852,7 @@},"signatures": [{- "id": 564,+ "id": 574,"name": "from","kind": 4096,"kindString": "Call signature",@@ -850,7 +864,7 @@},"typeParameter": [{- "id": 565,+ "id": 575,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -861,7 +875,7 @@],"parameters": [{- "id": 566,+ "id": 576,"name": "table","kind": 32768,"kindString": "Parameter",@@ -897,13 +911,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 79,+ "line": 82,"character": 6}]},{- "id": 578,+ "id": 588,"name": "getSubscriptions","kind": 2048,"kindString": "Method",@@ -912,7 +926,7 @@},"signatures": [{- "id": 579,+ "id": 589,"name": "getSubscriptions","kind": 4096,"kindString": "Call signature",@@ -934,13 +948,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 131,+ "line": 134,"character": 18}]},{- "id": 572,+ "id": 582,"name": "removeSubscription","kind": 2048,"kindString": "Method",@@ -949,7 +963,7 @@},"signatures": [{- "id": 573,+ "id": 583,"name": "removeSubscription","kind": 4096,"kindString": "Call signature",@@ -961,7 +975,7 @@},"parameters": [{- "id": 574,+ "id": 584,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -992,13 +1006,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 105,+ "line": 108,"character": 20}]},{- "id": 567,+ "id": 577,"name": "rpc","kind": 2048,"kindString": "Method",@@ -1007,7 +1021,7 @@},"signatures": [{- "id": 568,+ "id": 578,"name": "rpc","kind": 4096,"kindString": "Call signature",@@ -1019,7 +1033,7 @@},"typeParameter": [{- "id": 569,+ "id": 579,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -1030,7 +1044,7 @@],"parameters": [{- "id": 570,+ "id": 580,"name": "fn","kind": 32768,"kindString": "Parameter",@@ -1046,7 +1060,7 @@}},{- "id": 571,+ "id": 581,"name": "params","kind": 32768,"kindString": "Parameter",@@ -1087,7 +1101,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 95,+ "line": 98,"character": 5}]@@ -1098,40 +1112,46 @@"title": "Constructors","kind": 512,"children": [- 556+ 564]},{"title": "Properties","kind": 1024,"children": [- 548,- 553,- 555,- 552,- 551,- 550,- 549,- 554,+ 557,+ 561,+ 563,+ 560,+ 559,558,- 557+ 562,+ 566,+ 565+ ]+ },+ {+ "title": "Accessors",+ "kind": 262144,+ "children": [+ 571]},{"title": "Methods","kind": 2048,"children": [- 599,- 575,- 594,+ 609,+ 585,+ 604,+ 600,+ 598,+ 602,590,+ 573,588,- 592,- 580,- 563,- 578,- 572,- 567+ 582,+ 577]}],@@ -1144,7 +1164,7 @@]},{- "id": 602,+ "id": 612,"name": "DEFAULT_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -1153,7 +1173,7 @@},"children": [{- "id": 604,+ "id": 614,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -1172,7 +1192,7 @@"defaultValue": "true"},{- "id": 606,+ "id": 616,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -1191,7 +1211,7 @@"defaultValue": "true"},{- "id": 608,+ "id": 618,"name": "headers","kind": 32,"kindString": "Variable",@@ -1206,7 +1226,7 @@"type": {"type": "reflection","declaration": {- "id": 609,+ "id": 619,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1216,7 +1236,7 @@"defaultValue": "DEFAULT_HEADERS"},{- "id": 607,+ "id": 617,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -1235,7 +1255,7 @@"defaultValue": "globalThis.localStorage"},{- "id": 605,+ "id": 615,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -1254,7 +1274,7 @@"defaultValue": "true"},{- "id": 603,+ "id": 613,"name": "schema","kind": 32,"kindString": "Variable",@@ -1278,12 +1298,12 @@"title": "Variables","kind": 32,"children": [- 604,- 606,- 608,- 607,- 605,- 603+ 614,+ 616,+ 618,+ 617,+ 615,+ 613]}],@@ -1305,14 +1325,14 @@"title": "Classes","kind": 128,"children": [- 547+ 556]},{"title": "Object literals","kind": 2097152,"children": [- 602+ 612]}],@@ -1325,7 +1345,7 @@]},{- "id": 610,+ "id": 620,"name": "\"index\"","kind": 1,"kindString": "Module",@@ -1335,7 +1355,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts","children": [{- "id": 611,+ "id": 621,"name": "createClient","kind": 64,"kindString": "Function",@@ -1348,7 +1368,7 @@},"signatures": [{- "id": 612,+ "id": 622,"name": "createClient","kind": 4096,"kindString": "Call signature",@@ -1360,7 +1380,7 @@},"parameters": [{- "id": 613,+ "id": 623,"name": "supabaseUrl","kind": 32768,"kindString": "Parameter",@@ -1373,7 +1393,7 @@}},{- "id": 614,+ "id": 624,"name": "supabaseKey","kind": 32768,"kindString": "Parameter",@@ -1386,7 +1406,7 @@}},{- "id": 615,+ "id": 625,"name": "options","kind": 32768,"kindString": "Parameter",@@ -1403,7 +1423,7 @@],"type": {"type": "reference",- "id": 547,+ "id": 556,"name": "SupabaseClient"}}@@ -1422,7 +1442,7 @@"title": "Functions","kind": 64,"children": [- 611+ 621]}],@@ -6637,7 +6657,7 @@]},{- "id": 433,+ "id": 440,"name": "\"lib/SupabaseStorageClient\"","kind": 1,"kindString": "Module",@@ -6647,7 +6667,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseStorageClient.ts","children": [{- "id": 434,+ "id": 441,"name": "SupabaseStorageClient","kind": 128,"kindString": "Class",@@ -6656,7 +6676,7 @@},"children": [{- "id": 435,+ "id": 442,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -6665,7 +6685,7 @@},"signatures": [{- "id": 436,+ "id": 443,"name": "new SupabaseStorageClient","kind": 16384,"kindString": "Constructor signature",@@ -6674,7 +6694,7 @@},"parameters": [{- "id": 437,+ "id": 444,"name": "url","kind": 32768,"kindString": "Parameter",@@ -6687,7 +6707,7 @@}},{- "id": 438,+ "id": 445,"name": "headers","kind": 32768,"kindString": "Parameter",@@ -6697,7 +6717,7 @@"type": {"type": "reflection","declaration": {- "id": 439,+ "id": 446,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6706,7 +6726,7 @@},"indexSignature": [{- "id": 440,+ "id": 447,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -6715,7 +6735,7 @@},"parameters": [{- "id": 441,+ "id": 448,"name": "key","kind": 32768,"kindString": "Parameter",@@ -6748,12 +6768,12 @@],"type": {"type": "reference",- "id": 434,+ "id": 441,"name": "SupabaseStorageClient"},"overwrites": {"type": "reference",- "id": 314,+ "id": 316,"name": "StorageApi.__constructor"}}@@ -6767,12 +6787,12 @@],"overwrites": {"type": "reference",- "id": 314,+ "id": 316,"name": "StorageApi.__constructor"}},{- "id": 443,+ "id": 450,"name": "headers","kind": 1024,"kindString": "Property",@@ -6782,14 +6802,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 9}],"type": {"type": "reflection","declaration": {- "id": 444,+ "id": 451,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6798,7 +6818,7 @@},"indexSignature": [{- "id": 445,+ "id": 452,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -6807,7 +6827,7 @@},"parameters": [{- "id": 446,+ "id": 453,"name": "key","kind": 32768,"kindString": "Parameter",@@ -6829,7 +6849,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 10}]@@ -6837,12 +6857,12 @@},"inheritedFrom": {"type": "reference",- "id": 310,+ "id": 312,"name": "StorageApi.headers"}},{- "id": 442,+ "id": 449,"name": "url","kind": 1024,"kindString": "Property",@@ -6852,7 +6872,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 15,+ "line": 19,"character": 5}],@@ -6862,12 +6882,12 @@},"inheritedFrom": {"type": "reference",- "id": 309,+ "id": 311,"name": "StorageApi.url"}},{- "id": 458,+ "id": 465,"name": "createBucket","kind": 2048,"kindString": "Method",@@ -6876,7 +6896,7 @@},"signatures": [{- "id": 459,+ "id": 466,"name": "createBucket","kind": 4096,"kindString": "Call signature",@@ -6884,19 +6904,19 @@"isExported": true},"comment": {- "shortText": "Create a bucket"+ "shortText": "Retrieves the details of an existing Storage bucket."},"parameters": [{- "id": 460,- "name": "name",+ "id": 467,+ "name": "id","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "the new bucket name\n"+ "text": "A unique identifier for the bucket you are creating.\n"},"type": {"type": "intrinsic",@@ -6910,7 +6930,7 @@{"type": "reflection","declaration": {- "id": 461,+ "id": 468,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6919,7 +6939,7 @@},"children": [{- "id": 462,+ "id": 469,"name": "data","kind": 32,"kindString": "Variable",@@ -6929,8 +6949,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 50+ "line": 58,+ "character": 48}],"type": {@@ -6949,7 +6969,7 @@}},{- "id": 463,+ "id": 470,"name": "error","kind": 32,"kindString": "Variable",@@ -6959,8 +6979,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 72+ "line": 58,+ "character": 70}],"type": {@@ -6983,16 +7003,16 @@"title": "Variables","kind": 32,"children": [- 462,- 463+ 469,+ 470]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 44+ "line": 58,+ "character": 42}]}@@ -7002,7 +7022,7 @@},"inheritedFrom": {"type": "reference",- "id": 332,+ "id": 334,"name": "StorageApi.createBucket"}}@@ -7010,18 +7030,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,+ "line": 58,"character": 20}],"inheritedFrom": {"type": "reference",- "id": 332,+ "id": 334,"name": "StorageApi.createBucket"}},{- "id": 508,+ "id": 517,"name": "createSignedUrl","kind": 2048,"kindString": "Method",@@ -7030,7 +7050,7 @@},"signatures": [{- "id": 509,+ "id": 518,"name": "createSignedUrl","kind": 4096,"kindString": "Call signature",@@ -7038,11 +7058,11 @@"isExported": true},"comment": {- "shortText": "Create signed url to download file"+ "shortText": "Create signed url to download file."},"parameters": [{- "id": 510,+ "id": 519,"name": "path","kind": 32768,"kindString": "Parameter",@@ -7050,7 +7070,7 @@"isExported": true},"comment": {- "text": "the relative file path to be downloaded"+ "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`."},"type": {"type": "intrinsic",@@ -7058,7 +7078,7 @@}},{- "id": 511,+ "id": 520,"name": "expiresIn","kind": 32768,"kindString": "Parameter",@@ -7066,7 +7086,7 @@"isExported": true},"comment": {- "text": "seconds until the signed URL expires\n"+ "text": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n"},"type": {"type": "intrinsic",@@ -7080,7 +7100,7 @@{"type": "reflection","declaration": {- "id": 512,+ "id": 521,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7089,7 +7109,7 @@},"children": [{- "id": 513,+ "id": 522,"name": "data","kind": 32,"kindString": "Variable",@@ -7099,7 +7119,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 19}],@@ -7109,7 +7129,7 @@{"type": "reflection","declaration": {- "id": 514,+ "id": 523,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7118,7 +7138,7 @@},"children": [{- "id": 515,+ "id": 524,"name": "signedURL","kind": 32,"kindString": "Variable",@@ -7128,7 +7148,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 32}],@@ -7143,14 +7163,14 @@"title": "Variables","kind": 32,"children": [- 515+ 524]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 20}]@@ -7164,7 +7184,7 @@}},{- "id": 516,+ "id": 525,"name": "error","kind": 32,"kindString": "Variable",@@ -7174,7 +7194,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 56}],@@ -7198,15 +7218,15 @@"title": "Variables","kind": 32,"children": [- 513,- 516+ 522,+ 525]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 13}]@@ -7217,7 +7237,7 @@},"inheritedFrom": {"type": "reference",- "id": 382,+ "id": 386,"name": "StorageApi.createSignedUrl"}}@@ -7225,18 +7245,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 187,+ "line": 208,"character": 23}],"inheritedFrom": {"type": "reference",- "id": 382,+ "id": 386,"name": "StorageApi.createSignedUrl"}},{- "id": 472,+ "id": 479,"name": "deleteBucket","kind": 2048,"kindString": "Method",@@ -7245,7 +7265,7 @@},"signatures": [{- "id": 473,+ "id": 480,"name": "deleteBucket","kind": 4096,"kindString": "Call signature",@@ -7253,11 +7273,11 @@"isExported": true},"comment": {- "shortText": "Delete a bucket"+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."},"parameters": [{- "id": 474,+ "id": 481,"name": "id","kind": 32768,"kindString": "Parameter",@@ -7265,7 +7285,7 @@"isExported": true},"comment": {- "text": "the bucket id to be deleted\n"+ "text": "The unique identifier of the bucket you would like to delete.\n"},"type": {"type": "intrinsic",@@ -7279,7 +7299,7 @@{"type": "reflection","declaration": {- "id": 475,+ "id": 482,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7288,7 +7308,7 @@},"children": [{- "id": 476,+ "id": 483,"name": "data","kind": 32,"kindString": "Variable",@@ -7298,7 +7318,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 19}],@@ -7308,7 +7328,7 @@{"type": "reflection","declaration": {- "id": 477,+ "id": 484,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7317,7 +7337,7 @@},"children": [{- "id": 478,+ "id": 485,"name": "message","kind": 32,"kindString": "Variable",@@ -7327,7 +7347,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 30}],@@ -7342,14 +7362,14 @@"title": "Variables","kind": 32,"children": [- 478+ 485]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 20}]@@ -7363,7 +7383,7 @@}},{- "id": 479,+ "id": 486,"name": "error","kind": 32,"kindString": "Variable",@@ -7373,7 +7393,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 54}],@@ -7397,15 +7417,15 @@"title": "Variables","kind": 32,"children": [- 476,- 479+ 483,+ 486]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 13}]@@ -7416,7 +7436,7 @@},"inheritedFrom": {"type": "reference",- "id": 346,+ "id": 348,"name": "StorageApi.deleteBucket"}}@@ -7424,18 +7444,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 80,+ "line": 89,"character": 20}],"inheritedFrom": {"type": "reference",- "id": 346,+ "id": 348,"name": "StorageApi.deleteBucket"}},{- "id": 523,+ "id": 532,"name": "deleteFile","kind": 2048,"kindString": "Method",@@ -7444,7 +7464,7 @@},"signatures": [{- "id": 524,+ "id": 533,"name": "deleteFile","kind": 4096,"kindString": "Call signature",@@ -7452,11 +7472,11 @@"isExported": true},"comment": {- "shortText": "Delete a file"+ "shortText": "Deletes a file."},"parameters": [{- "id": 525,+ "id": 534,"name": "path","kind": 32768,"kindString": "Parameter",@@ -7464,7 +7484,7 @@"isExported": true},"comment": {- "text": "the relative file path to be deleted\n"+ "text": "The file path to be deleted, including the path and file name. For example `folder/image.png`.\n"},"type": {"type": "intrinsic",@@ -7478,7 +7498,7 @@{"type": "reflection","declaration": {- "id": 526,+ "id": 535,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7487,7 +7507,7 @@},"children": [{- "id": 527,+ "id": 536,"name": "data","kind": 32,"kindString": "Variable",@@ -7497,7 +7517,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 19}],@@ -7507,7 +7527,7 @@{"type": "reflection","declaration": {- "id": 528,+ "id": 537,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7516,7 +7536,7 @@},"children": [{- "id": 529,+ "id": 538,"name": "message","kind": 32,"kindString": "Variable",@@ -7526,7 +7546,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 30}],@@ -7541,14 +7561,14 @@"title": "Variables","kind": 32,"children": [- 529+ 538]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 20}]@@ -7562,7 +7582,7 @@}},{- "id": 530,+ "id": 539,"name": "error","kind": 32,"kindString": "Variable",@@ -7572,7 +7592,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 54}],@@ -7596,15 +7616,15 @@"title": "Variables","kind": 32,"children": [- 527,- 530+ 536,+ 539]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 13}]@@ -7615,7 +7635,7 @@},"inheritedFrom": {"type": "reference",- "id": 397,+ "id": 401,"name": "StorageApi.deleteFile"}}@@ -7623,18 +7643,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 224,+ "line": 249,"character": 18}],"inheritedFrom": {"type": "reference",- "id": 397,+ "id": 401,"name": "StorageApi.deleteFile"}},{- "id": 531,+ "id": 540,"name": "deleteFiles","kind": 2048,"kindString": "Method",@@ -7643,7 +7663,7 @@},"signatures": [{- "id": 532,+ "id": 541,"name": "deleteFiles","kind": 4096,"kindString": "Call signature",@@ -7651,25 +7671,27 @@"isExported": true},"comment": {- "shortText": "Delete multiple files on the same bucket"+ "shortText": "Deletes multiple files within the same bucket"},"parameters": [{- "id": 533,- "name": "bucketName",+ "id": 542,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the files."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 534,+ "id": 543,"name": "paths","kind": 32768,"kindString": "Parameter",@@ -7677,7 +7699,7 @@"isExported": true},"comment": {- "text": "the relative file paths to be deleted excluded the bucket name\n"+ "text": "An array of files to be deletes, including the path and file name. For example [`folder/image.png`].\n"},"type": {"type": "array",@@ -7694,7 +7716,7 @@{"type": "reflection","declaration": {- "id": 535,+ "id": 544,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7703,7 +7725,7 @@},"children": [{- "id": 536,+ "id": 545,"name": "data","kind": 32,"kindString": "Variable",@@ -7713,7 +7735,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 19}],@@ -7736,7 +7758,7 @@}},{- "id": 537,+ "id": 546,"name": "error","kind": 32,"kindString": "Variable",@@ -7746,7 +7768,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 47}],@@ -7770,15 +7792,15 @@"title": "Variables","kind": 32,"children": [- 536,- 537+ 545,+ 546]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 13}]@@ -7789,7 +7811,7 @@},"inheritedFrom": {"type": "reference",- "id": 405,+ "id": 409,"name": "StorageApi.deleteFiles"}}@@ -7797,18 +7819,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 240,+ "line": 266,"character": 19}],"inheritedFrom": {"type": "reference",- "id": 405,+ "id": 409,"name": "StorageApi.deleteFiles"}},{- "id": 517,+ "id": 526,"name": "downloadFile","kind": 2048,"kindString": "Method",@@ -7817,7 +7839,7 @@},"signatures": [{- "id": 518,+ "id": 527,"name": "downloadFile","kind": 4096,"kindString": "Call signature",@@ -7825,11 +7847,11 @@"isExported": true},"comment": {- "shortText": "Download a file"+ "shortText": "Downloads a file."},"parameters": [{- "id": 519,+ "id": 528,"name": "path","kind": 32768,"kindString": "Parameter",@@ -7837,7 +7859,7 @@"isExported": true},"comment": {- "text": "the relative file path to be downloaded\n"+ "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"},"type": {"type": "intrinsic",@@ -7851,7 +7873,7 @@{"type": "reflection","declaration": {- "id": 520,+ "id": 529,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7860,7 +7882,7 @@},"children": [{- "id": 521,+ "id": 530,"name": "data","kind": 32,"kindString": "Variable",@@ -7870,7 +7892,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 50}],@@ -7889,7 +7911,7 @@}},{- "id": 522,+ "id": 531,"name": "error","kind": 32,"kindString": "Variable",@@ -7899,7 +7921,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 70}],@@ -7923,15 +7945,15 @@"title": "Variables","kind": 32,"children": [- 521,- 522+ 530,+ 531]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 44}]@@ -7942,7 +7964,7 @@},"inheritedFrom": {"type": "reference",- "id": 391,+ "id": 395,"name": "StorageApi.downloadFile"}}@@ -7950,18 +7972,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 20}],"inheritedFrom": {"type": "reference",- "id": 391,+ "id": 395,"name": "StorageApi.downloadFile"}},{- "id": 464,+ "id": 471,"name": "emptyBucket","kind": 2048,"kindString": "Method",@@ -7970,7 +7992,7 @@},"signatures": [{- "id": 465,+ "id": 472,"name": "emptyBucket","kind": 4096,"kindString": "Call signature",@@ -7978,11 +8000,11 @@"isExported": true},"comment": {- "shortText": "Empty a bucket"+ "shortText": "Removes all objects inside a single bucket."},"parameters": [{- "id": 466,+ "id": 473,"name": "id","kind": 32768,"kindString": "Parameter",@@ -7990,7 +8012,7 @@"isExported": true},"comment": {- "text": "the bucket id to empty\n"+ "text": "The unique identifier of the bucket you would like to empty.\n"},"type": {"type": "intrinsic",@@ -8004,7 +8026,7 @@{"type": "reflection","declaration": {- "id": 467,+ "id": 474,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8013,7 +8035,7 @@},"children": [{- "id": 468,+ "id": 475,"name": "data","kind": 32,"kindString": "Variable",@@ -8023,7 +8045,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 19}],@@ -8033,7 +8055,7 @@{"type": "reflection","declaration": {- "id": 469,+ "id": 476,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8042,7 +8064,7 @@},"children": [{- "id": 470,+ "id": 477,"name": "message","kind": 32,"kindString": "Variable",@@ -8052,7 +8074,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 30}],@@ -8067,14 +8089,14 @@"title": "Variables","kind": 32,"children": [- 470+ 477]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 20}]@@ -8088,7 +8110,7 @@}},{- "id": 471,+ "id": 478,"name": "error","kind": 32,"kindString": "Variable",@@ -8098,7 +8120,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 54}],@@ -8122,15 +8144,15 @@"title": "Variables","kind": 32,"children": [- 468,- 471+ 475,+ 478]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 13}]@@ -8141,7 +8163,7 @@},"inheritedFrom": {"type": "reference",- "id": 338,+ "id": 340,"name": "StorageApi.emptyBucket"}}@@ -8149,19 +8171,19 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 65,+ "line": 72,"character": 19}],"inheritedFrom": {"type": "reference",- "id": 338,+ "id": 340,"name": "StorageApi.emptyBucket"}},{- "id": 447,- "name": "getAllBuckets",+ "id": 459,+ "name": "getBucket","kind": 2048,"kindString": "Method","flags": {@@ -8169,23 +8191,41 @@},"signatures": [{- "id": 448,- "name": "getAllBuckets",+ "id": 460,+ "name": "getBucket","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Gets all buckets details"+ "shortText": "Retrieves the details of an existing Storage bucket."},+ "parameters": [+ {+ "id": 461,+ "name": "id",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The unique identifier of the bucket you would like to retrieve.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],"type": {"type": "reference","typeArguments": [{"type": "reflection","declaration": {- "id": 449,+ "id": 462,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8194,7 +8234,7 @@},"children": [{- "id": 450,+ "id": 463,"name": "data","kind": 32,"kindString": "Variable",@@ -8204,20 +8244,17 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 39+ "line": 44,+ "character": 45}],"type": {"type": "union","types": [{- "type": "array",- "elementType": {- "type": "reference",- "id": 281,- "name": "Bucket"- }+ "type": "reference",+ "id": 281,+ "name": "Bucket"},{"type": "intrinsic",@@ -8227,7 +8264,7 @@}},{- "id": 451,+ "id": 464,"name": "error","kind": 32,"kindString": "Variable",@@ -8237,8 +8274,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 63+ "line": 44,+ "character": 67}],"type": {@@ -8261,16 +8298,16 @@"title": "Variables","kind": 32,"children": [- 450,- 451+ 463,+ 464]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 33+ "line": 44,+ "character": 39}]}@@ -8280,27 +8317,27 @@},"inheritedFrom": {"type": "reference",- "id": 321,- "name": "StorageApi.getAllBuckets"+ "id": 328,+ "name": "StorageApi.getBucket"}}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 21+ "line": 44,+ "character": 17}],"inheritedFrom": {"type": "reference",- "id": 321,- "name": "StorageApi.getAllBuckets"+ "id": 328,+ "name": "StorageApi.getBucket"}},{- "id": 452,- "name": "getBucket",+ "id": 454,+ "name": "listBuckets","kind": 2048,"kindString": "Method","flags": {@@ -8308,41 +8345,23 @@},"signatures": [{- "id": 453,- "name": "getBucket",+ "id": 455,+ "name": "listBuckets","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Get details of a bucket"+ "shortText": "Retrieves the details of all Storage buckets within an existing product."},- "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,+ "id": 456,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8351,7 +8370,7 @@},"children": [{- "id": 456,+ "id": 457,"name": "data","kind": 32,"kindString": "Variable",@@ -8361,18 +8380,21 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 45+ "line": 30,+ "character": 37}],"type": {"type": "union","types": [{- "type": "reference",- "id": 281,- "name": "Bucket"- },+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 281,+ "name": "Bucket"+ }+ },{"type": "intrinsic","name": "null"@@ -8381,7 +8403,7 @@}},{- "id": 457,+ "id": 458,"name": "error","kind": 32,"kindString": "Variable",@@ -8391,8 +8413,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 67+ "line": 30,+ "character": 61}],"type": {@@ -8415,16 +8437,16 @@"title": "Variables","kind": 32,"children": [- 456,- 457+ 457,+ 458]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 39+ "line": 30,+ "character": 31}]}@@ -8434,27 +8456,27 @@},"inheritedFrom": {"type": "reference",- "id": 326,- "name": "StorageApi.getBucket"+ "id": 323,+ "name": "StorageApi.listBuckets"}}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 17+ "line": 30,+ "character": 19}],"inheritedFrom": {"type": "reference",- "id": 326,- "name": "StorageApi.getBucket"+ "id": 323,+ "name": "StorageApi.listBuckets"}},{- "id": 498,- "name": "renameFile",+ "id": 547,+ "name": "listFiles","kind": 2048,"kindString": "Method","flags": {@@ -8462,61 +8484,75 @@},"signatures": [{- "id": 499,- "name": "renameFile",+ "id": 548,+ "name": "listFiles","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Rename a file"+ "shortText": "Lists all the files within a bucket."},"parameters": [{- "id": 500,- "name": "bucketName",+ "id": 549,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the files."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 501,- "name": "fromPath",+ "id": 550,+ "name": "path","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"comment": {- "text": "original relative file path"+ "text": "The folder path."},"type": {- "type": "intrinsic",- "name": "string"+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]}},{- "id": 502,- "name": "toPath",+ "id": 551,+ "name": "options","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"comment": {- "text": "the new relative file path\n"+ "text": "Search options, including `limit`, `offset`, and `sortBy`.\n"},"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 303,+ "name": "SearchOptions"}}],@@ -8526,7 +8562,7 @@{"type": "reflection","declaration": {- "id": 503,+ "id": 552,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8535,7 +8571,7 @@},"children": [{- "id": 504,+ "id": 553,"name": "data","kind": 32,"kindString": "Variable",@@ -8545,7 +8581,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,+ "line": 322,"character": 19}],@@ -8553,53 +8589,11 @@"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": "array",+ "elementType": {+ "type": "reference",+ "id": 287,+ "name": "FileObject"}},{@@ -8610,7 +8604,7 @@}},{- "id": 507,+ "id": 554,"name": "error","kind": 32,"kindString": "Variable",@@ -8620,8 +8614,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,- "character": 54+ "line": 322,+ "character": 47}],"type": {@@ -8644,15 +8638,15 @@"title": "Variables","kind": 32,"children": [- 504,- 507+ 553,+ 554]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,+ "line": 322,"character": 13}]@@ -8663,27 +8657,27 @@},"inheritedFrom": {"type": "reference",- "id": 372,- "name": "StorageApi.renameFile"+ "id": 416,+ "name": "StorageApi.listFiles"}}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 165,- "character": 18+ "line": 318,+ "character": 17}],"inheritedFrom": {"type": "reference",- "id": 372,- "name": "StorageApi.renameFile"+ "id": 416,+ "name": "StorageApi.listFiles"}},{- "id": 538,- "name": "search",+ "id": 507,+ "name": "moveFile","kind": 2048,"kindString": "Method","flags": {@@ -8691,73 +8685,63 @@},"signatures": [{- "id": 539,- "name": "search",+ "id": 508,+ "name": "moveFile","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Use to fetch folder contents"+ "shortText": "Moves an existing file, optionally renaming it at the same time."},"parameters": [{- "id": 540,- "name": "bucketName",+ "id": 509,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the file."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 541,- "name": "path",+ "id": 510,+ "name": "fromPath","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"comment": {- "text": "the relative folder path excluded the bucket name"+ "text": "The original file path, including the current file name. For example `folder/image.png`."},"type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]+ "type": "intrinsic",+ "name": "string"}},{- "id": 542,- "name": "options",+ "id": 511,+ "name": "toPath","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"comment": {- "text": "\n"+ "text": "The new file path, including the new file name. For example `folder/image-copy.png`.\n"},"type": {- "type": "reference",- "id": 301,- "name": "SearchOptions"+ "type": "intrinsic",+ "name": "string"}}],@@ -8767,7 +8751,7 @@{"type": "reflection","declaration": {- "id": 543,+ "id": 512,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8776,7 +8760,7 @@},"children": [{- "id": 544,+ "id": 513,"name": "data","kind": 32,"kindString": "Variable",@@ -8786,7 +8770,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,+ "line": 189,"character": 19}],@@ -8794,11 +8778,53 @@"type": "union","types": [{- "type": "array",- "elementType": {- "type": "reference",- "id": 287,- "name": "FileObject"+ "type": "reflection",+ "declaration": {+ "id": 514,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 515,+ "name": "message",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 189,+ "character": 30+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 515+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 189,+ "character": 20+ }+ ]}},{@@ -8809,7 +8835,7 @@}},{- "id": 545,+ "id": 516,"name": "error","kind": 32,"kindString": "Variable",@@ -8819,8 +8845,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,- "character": 47+ "line": 189,+ "character": 54}],"type": {@@ -8843,15 +8869,15 @@"title": "Variables","kind": 32,"children": [- 544,- 545+ 513,+ 516]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,+ "line": 189,"character": 13}]@@ -8862,26 +8888,26 @@},"inheritedFrom": {"type": "reference",- "id": 412,- "name": "StorageApi.search"+ "id": 376,+ "name": "StorageApi.moveFile"}}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 292,- "character": 14+ "line": 185,+ "character": 16}],"inheritedFrom": {"type": "reference",- "id": 412,- "name": "StorageApi.search"+ "id": 376,+ "name": "StorageApi.moveFile"}},{- "id": 489,+ "id": 497,"name": "updateFile","kind": 2048,"kindString": "Method",@@ -8890,7 +8916,7 @@},"signatures": [{- "id": 490,+ "id": 498,"name": "updateFile","kind": 4096,"kindString": "Call signature",@@ -8898,11 +8924,11 @@"isExported": true},"comment": {- "shortText": "Update a file"+ "shortText": "Replaces an existing file at the specified path with a new one."},"parameters": [{- "id": 491,+ "id": 499,"name": "path","kind": 32768,"kindString": "Parameter",@@ -8910,7 +8936,7 @@"isExported": true},"comment": {- "text": "the relative file path"+ "text": "The relative file path including the bucket ID. Should be of the format `bucket/folder/subfolder`. The bucket already exist before attempting to upload."},"type": {"type": "intrinsic",@@ -8918,7 +8944,7 @@}},{- "id": 492,+ "id": 500,"name": "file","kind": 32768,"kindString": "Parameter",@@ -8926,12 +8952,30 @@"isExported": true},"comment": {- "text": "the File content\n"+ "text": "The file object to be stored in the bucket."},"type": {"type": "reference","name": "File"}+ },+ {+ "id": 501,+ "name": "fileOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "HTTP headers. For example `cacheControl`\n"+ },+ "type": {+ "type": "reference",+ "id": 301,+ "name": "FileOptions"+ }}],"type": {@@ -8940,7 +8984,7 @@{"type": "reflection","declaration": {- "id": 493,+ "id": 502,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8949,7 +8993,7 @@},"children": [{- "id": 494,+ "id": 503,"name": "data","kind": 32,"kindString": "Variable",@@ -8959,7 +9003,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 19}],@@ -8969,7 +9013,7 @@{"type": "reflection","declaration": {- "id": 495,+ "id": 504,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8978,7 +9022,7 @@},"children": [{- "id": 496,+ "id": 505,"name": "Key","kind": 32,"kindString": "Variable",@@ -8988,7 +9032,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 26}],@@ -9003,14 +9047,14 @@"title": "Variables","kind": 32,"children": [- 496+ 505]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 20}]@@ -9024,7 +9068,7 @@}},{- "id": 497,+ "id": 506,"name": "error","kind": 32,"kindString": "Variable",@@ -9034,7 +9078,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 50}],@@ -9058,15 +9102,15 @@"title": "Variables","kind": 32,"children": [- 494,- 497+ 503,+ 506]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 13}]@@ -9077,7 +9121,7 @@},"inheritedFrom": {"type": "reference",- "id": 363,+ "id": 366,"name": "StorageApi.updateFile"}}@@ -9085,18 +9129,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 130,+ "line": 146,"character": 18}],"inheritedFrom": {"type": "reference",- "id": 363,+ "id": 366,"name": "StorageApi.updateFile"}},{- "id": 480,+ "id": 487,"name": "uploadFile","kind": 2048,"kindString": "Method",@@ -9105,7 +9149,7 @@},"signatures": [{- "id": 481,+ "id": 488,"name": "uploadFile","kind": 4096,"kindString": "Call signature",@@ -9113,11 +9157,11 @@"isExported": true},"comment": {- "shortText": "Upload a file"+ "shortText": "Uploads a file to an existing bucket."},"parameters": [{- "id": 482,+ "id": 489,"name": "path","kind": 32768,"kindString": "Parameter",@@ -9125,7 +9169,7 @@"isExported": true},"comment": {- "text": "the relative file path"+ "text": "The relative file path including the bucket ID. Should be of the format `bucket/folder/subfolder`. The bucket already exist before attempting to upload."},"type": {"type": "intrinsic",@@ -9133,7 +9177,7 @@}},{- "id": 483,+ "id": 490,"name": "file","kind": 32768,"kindString": "Parameter",@@ -9141,12 +9185,30 @@"isExported": true},"comment": {- "text": "the File content\n"+ "text": "The File object to be stored in the bucket."},"type": {"type": "reference","name": "File"}+ },+ {+ "id": 491,+ "name": "fileOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "HTTP headers. For example `cacheControl`\n"+ },+ "type": {+ "type": "reference",+ "id": 301,+ "name": "FileOptions"+ }}],"type": {@@ -9155,7 +9217,7 @@{"type": "reflection","declaration": {- "id": 484,+ "id": 492,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9164,7 +9226,7 @@},"children": [{- "id": 485,+ "id": 493,"name": "data","kind": 32,"kindString": "Variable",@@ -9174,7 +9236,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 19}],@@ -9184,7 +9246,7 @@{"type": "reflection","declaration": {- "id": 486,+ "id": 494,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9193,7 +9255,7 @@},"children": [{- "id": 487,+ "id": 495,"name": "message","kind": 32,"kindString": "Variable",@@ -9203,7 +9265,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 30}],@@ -9218,14 +9280,14 @@"title": "Variables","kind": 32,"children": [- 487+ 495]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 20}]@@ -9239,7 +9301,7 @@}},{- "id": 488,+ "id": 496,"name": "error","kind": 32,"kindString": "Variable",@@ -9249,7 +9311,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 54}],@@ -9273,15 +9335,15 @@"title": "Variables","kind": 32,"children": [- 485,- 488+ 493,+ 496]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 13}]@@ -9292,7 +9354,7 @@},"inheritedFrom": {"type": "reference",- "id": 354,+ "id": 356,"name": "StorageApi.uploadFile"}}@@ -9300,13 +9362,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 96,+ "line": 107,"character": 18}],"inheritedFrom": {"type": "reference",- "id": 354,+ "id": 356,"name": "StorageApi.uploadFile"}}@@ -9316,34 +9378,34 @@"title": "Constructors","kind": 512,"children": [- 435+ 442]},{"title": "Properties","kind": 1024,"children": [- 443,- 442+ 450,+ 449]},{"title": "Methods","kind": 2048,"children": [- 458,- 508,- 472,- 523,- 531,+ 465,517,- 464,- 447,- 452,- 498,- 538,- 489,- 480+ 479,+ 532,+ 540,+ 526,+ 471,+ 459,+ 454,+ 547,+ 507,+ 497,+ 487]}],@@ -9357,7 +9419,7 @@"extendedTypes": [{"type": "reference",- "id": 308,+ "id": 310,"name": "StorageApi"}]@@ -9368,7 +9430,7 @@"title": "Classes","kind": 128,"children": [- 434+ 441]}],@@ -9438,7 +9500,7 @@]},{- "id": 616,+ "id": 626,"name": "\"lib/helpers\"","kind": 1,"kindString": "Module",@@ -9448,7 +9510,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts","children": [{- "id": 617,+ "id": 627,"name": "uuid","kind": 64,"kindString": "Function",@@ -9457,7 +9519,7 @@},"signatures": [{- "id": 618,+ "id": 628,"name": "uuid","kind": 4096,"kindString": "Call signature",@@ -9484,7 +9546,7 @@"title": "Functions","kind": 64,"children": [- 617+ 627]}],@@ -9497,7 +9559,7 @@]},{- "id": 307,+ "id": 309,"name": "\"lib/storage/StorageApi\"","kind": 1,"kindString": "Module",@@ -9507,7 +9569,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/StorageApi.ts","children": [{- "id": 308,+ "id": 310,"name": "StorageApi","kind": 128,"kindString": "Class",@@ -9516,7 +9578,7 @@},"children": [{- "id": 314,+ "id": 316,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -9525,7 +9587,7 @@},"signatures": [{- "id": 315,+ "id": 317,"name": "new StorageApi","kind": 16384,"kindString": "Constructor signature",@@ -9534,7 +9596,7 @@},"parameters": [{- "id": 316,+ "id": 318,"name": "url","kind": 32768,"kindString": "Parameter",@@ -9547,7 +9609,7 @@}},{- "id": 317,+ "id": 319,"name": "headers","kind": 32768,"kindString": "Parameter",@@ -9557,7 +9619,7 @@"type": {"type": "reflection","declaration": {- "id": 318,+ "id": 320,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9566,7 +9628,7 @@},"indexSignature": [{- "id": 319,+ "id": 321,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -9575,7 +9637,7 @@},"parameters": [{- "id": 320,+ "id": 322,"name": "key","kind": 32768,"kindString": "Parameter",@@ -9597,7 +9659,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 18,+ "line": 22,"character": 35}]@@ -9608,7 +9670,7 @@],"type": {"type": "reference",- "id": 308,+ "id": 310,"name": "StorageApi"}}@@ -9616,13 +9678,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 36}]},{- "id": 310,+ "id": 312,"name": "headers","kind": 1024,"kindString": "Property",@@ -9632,14 +9694,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 9}],"type": {"type": "reflection","declaration": {- "id": 311,+ "id": 313,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9648,7 +9710,7 @@},"indexSignature": [{- "id": 312,+ "id": 314,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -9657,7 +9719,7 @@},"parameters": [{- "id": 313,+ "id": 315,"name": "key","kind": 32768,"kindString": "Parameter",@@ -9679,7 +9741,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 10}]@@ -9687,7 +9749,7 @@}},{- "id": 309,+ "id": 311,"name": "url","kind": 1024,"kindString": "Property",@@ -9697,7 +9759,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 15,+ "line": 19,"character": 5}],@@ -9707,7 +9769,7 @@}},{- "id": 332,+ "id": 334,"name": "createBucket","kind": 2048,"kindString": "Method",@@ -9716,7 +9778,7 @@},"signatures": [{- "id": 333,+ "id": 335,"name": "createBucket","kind": 4096,"kindString": "Call signature",@@ -9724,19 +9786,19 @@"isExported": true},"comment": {- "shortText": "Create a bucket"+ "shortText": "Retrieves the details of an existing Storage bucket."},"parameters": [{- "id": 334,- "name": "name",+ "id": 336,+ "name": "id","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "the new bucket name\n"+ "text": "A unique identifier for the bucket you are creating.\n"},"type": {"type": "intrinsic",@@ -9750,7 +9812,7 @@{"type": "reflection","declaration": {- "id": 335,+ "id": 337,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9759,7 +9821,7 @@},"children": [{- "id": 336,+ "id": 338,"name": "data","kind": 32,"kindString": "Variable",@@ -9769,8 +9831,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 50+ "line": 58,+ "character": 48}],"type": {@@ -9789,7 +9851,7 @@}},{- "id": 337,+ "id": 339,"name": "error","kind": 32,"kindString": "Variable",@@ -9799,8 +9861,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 72+ "line": 58,+ "character": 70}],"type": {@@ -9823,16 +9885,16 @@"title": "Variables","kind": 32,"children": [- 336,- 337+ 338,+ 339]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 44+ "line": 58,+ "character": 42}]}@@ -9845,13 +9907,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,+ "line": 58,"character": 20}]},{- "id": 382,+ "id": 386,"name": "createSignedUrl","kind": 2048,"kindString": "Method",@@ -9860,7 +9922,7 @@},"signatures": [{- "id": 383,+ "id": 387,"name": "createSignedUrl","kind": 4096,"kindString": "Call signature",@@ -9868,11 +9930,11 @@"isExported": true},"comment": {- "shortText": "Create signed url to download file"+ "shortText": "Create signed url to download file."},"parameters": [{- "id": 384,+ "id": 388,"name": "path","kind": 32768,"kindString": "Parameter",@@ -9880,7 +9942,7 @@"isExported": true},"comment": {- "text": "the relative file path to be downloaded"+ "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`."},"type": {"type": "intrinsic",@@ -9888,7 +9950,7 @@}},{- "id": 385,+ "id": 389,"name": "expiresIn","kind": 32768,"kindString": "Parameter",@@ -9896,7 +9958,7 @@"isExported": true},"comment": {- "text": "seconds until the signed URL expires\n"+ "text": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n"},"type": {"type": "intrinsic",@@ -9910,7 +9972,7 @@{"type": "reflection","declaration": {- "id": 386,+ "id": 390,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9919,7 +9981,7 @@},"children": [{- "id": 387,+ "id": 391,"name": "data","kind": 32,"kindString": "Variable",@@ -9929,7 +9991,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 19}],@@ -9939,7 +10001,7 @@{"type": "reflection","declaration": {- "id": 388,+ "id": 392,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9948,7 +10010,7 @@},"children": [{- "id": 389,+ "id": 393,"name": "signedURL","kind": 32,"kindString": "Variable",@@ -9958,7 +10020,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 32}],@@ -9973,14 +10035,14 @@"title": "Variables","kind": 32,"children": [- 389+ 393]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 20}]@@ -9994,7 +10056,7 @@}},{- "id": 390,+ "id": 394,"name": "error","kind": 32,"kindString": "Variable",@@ -10004,7 +10066,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 56}],@@ -10028,15 +10090,15 @@"title": "Variables","kind": 32,"children": [- 387,- 390+ 391,+ 394]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 13}]@@ -10050,13 +10112,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 187,+ "line": 208,"character": 23}]},{- "id": 346,+ "id": 348,"name": "deleteBucket","kind": 2048,"kindString": "Method",@@ -10065,7 +10127,7 @@},"signatures": [{- "id": 347,+ "id": 349,"name": "deleteBucket","kind": 4096,"kindString": "Call signature",@@ -10073,11 +10135,11 @@"isExported": true},"comment": {- "shortText": "Delete a bucket"+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."},"parameters": [{- "id": 348,+ "id": 350,"name": "id","kind": 32768,"kindString": "Parameter",@@ -10085,7 +10147,7 @@"isExported": true},"comment": {- "text": "the bucket id to be deleted\n"+ "text": "The unique identifier of the bucket you would like to delete.\n"},"type": {"type": "intrinsic",@@ -10099,7 +10161,7 @@{"type": "reflection","declaration": {- "id": 349,+ "id": 351,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10108,7 +10170,7 @@},"children": [{- "id": 350,+ "id": 352,"name": "data","kind": 32,"kindString": "Variable",@@ -10118,7 +10180,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 19}],@@ -10128,7 +10190,7 @@{"type": "reflection","declaration": {- "id": 351,+ "id": 353,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10137,7 +10199,7 @@},"children": [{- "id": 352,+ "id": 354,"name": "message","kind": 32,"kindString": "Variable",@@ -10147,7 +10209,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 30}],@@ -10162,14 +10224,14 @@"title": "Variables","kind": 32,"children": [- 352+ 354]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 20}]@@ -10183,7 +10245,7 @@}},{- "id": 353,+ "id": 355,"name": "error","kind": 32,"kindString": "Variable",@@ -10193,7 +10255,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 54}],@@ -10217,15 +10279,15 @@"title": "Variables","kind": 32,"children": [- 350,- 353+ 352,+ 355]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 13}]@@ -10239,13 +10301,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 80,+ "line": 89,"character": 20}]},{- "id": 397,+ "id": 401,"name": "deleteFile","kind": 2048,"kindString": "Method",@@ -10254,7 +10316,7 @@},"signatures": [{- "id": 398,+ "id": 402,"name": "deleteFile","kind": 4096,"kindString": "Call signature",@@ -10262,11 +10324,11 @@"isExported": true},"comment": {- "shortText": "Delete a file"+ "shortText": "Deletes a file."},"parameters": [{- "id": 399,+ "id": 403,"name": "path","kind": 32768,"kindString": "Parameter",@@ -10274,7 +10336,7 @@"isExported": true},"comment": {- "text": "the relative file path to be deleted\n"+ "text": "The file path to be deleted, including the path and file name. For example `folder/image.png`.\n"},"type": {"type": "intrinsic",@@ -10288,7 +10350,7 @@{"type": "reflection","declaration": {- "id": 400,+ "id": 404,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10297,7 +10359,7 @@},"children": [{- "id": 401,+ "id": 405,"name": "data","kind": 32,"kindString": "Variable",@@ -10307,7 +10369,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 19}],@@ -10317,7 +10379,7 @@{"type": "reflection","declaration": {- "id": 402,+ "id": 406,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10326,7 +10388,7 @@},"children": [{- "id": 403,+ "id": 407,"name": "message","kind": 32,"kindString": "Variable",@@ -10336,7 +10398,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 30}],@@ -10351,14 +10413,14 @@"title": "Variables","kind": 32,"children": [- 403+ 407]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 20}]@@ -10372,7 +10434,7 @@}},{- "id": 404,+ "id": 408,"name": "error","kind": 32,"kindString": "Variable",@@ -10382,7 +10444,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 54}],@@ -10406,15 +10468,15 @@"title": "Variables","kind": 32,"children": [- 401,- 404+ 405,+ 408]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 13}]@@ -10428,13 +10490,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 224,+ "line": 249,"character": 18}]},{- "id": 405,+ "id": 409,"name": "deleteFiles","kind": 2048,"kindString": "Method",@@ -10443,7 +10505,7 @@},"signatures": [{- "id": 406,+ "id": 410,"name": "deleteFiles","kind": 4096,"kindString": "Call signature",@@ -10451,25 +10513,27 @@"isExported": true},"comment": {- "shortText": "Delete multiple files on the same bucket"+ "shortText": "Deletes multiple files within the same bucket"},"parameters": [{- "id": 407,- "name": "bucketName",+ "id": 411,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the files."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 408,+ "id": 412,"name": "paths","kind": 32768,"kindString": "Parameter",@@ -10477,7 +10541,7 @@"isExported": true},"comment": {- "text": "the relative file paths to be deleted excluded the bucket name\n"+ "text": "An array of files to be deletes, including the path and file name. For example [`folder/image.png`].\n"},"type": {"type": "array",@@ -10494,7 +10558,7 @@{"type": "reflection","declaration": {- "id": 409,+ "id": 413,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10503,7 +10567,7 @@},"children": [{- "id": 410,+ "id": 414,"name": "data","kind": 32,"kindString": "Variable",@@ -10513,7 +10577,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 19}],@@ -10536,7 +10600,7 @@}},{- "id": 411,+ "id": 415,"name": "error","kind": 32,"kindString": "Variable",@@ -10546,7 +10610,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 47}],@@ -10570,15 +10634,15 @@"title": "Variables","kind": 32,"children": [- 410,- 411+ 414,+ 415]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 13}]@@ -10592,13 +10656,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 240,+ "line": 266,"character": 19}]},{- "id": 391,+ "id": 395,"name": "downloadFile","kind": 2048,"kindString": "Method",@@ -10607,7 +10671,7 @@},"signatures": [{- "id": 392,+ "id": 396,"name": "downloadFile","kind": 4096,"kindString": "Call signature",@@ -10615,11 +10679,11 @@"isExported": true},"comment": {- "shortText": "Download a file"+ "shortText": "Downloads a file."},"parameters": [{- "id": 393,+ "id": 397,"name": "path","kind": 32768,"kindString": "Parameter",@@ -10627,7 +10691,7 @@"isExported": true},"comment": {- "text": "the relative file path to be downloaded\n"+ "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"},"type": {"type": "intrinsic",@@ -10641,7 +10705,7 @@{"type": "reflection","declaration": {- "id": 394,+ "id": 398,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10650,7 +10714,7 @@},"children": [{- "id": 395,+ "id": 399,"name": "data","kind": 32,"kindString": "Variable",@@ -10660,7 +10724,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 50}],@@ -10679,7 +10743,7 @@}},{- "id": 396,+ "id": 400,"name": "error","kind": 32,"kindString": "Variable",@@ -10689,7 +10753,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 70}],@@ -10713,15 +10777,15 @@"title": "Variables","kind": 32,"children": [- 395,- 396+ 399,+ 400]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 44}]@@ -10735,13 +10799,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 20}]},{- "id": 338,+ "id": 340,"name": "emptyBucket","kind": 2048,"kindString": "Method",@@ -10750,7 +10814,7 @@},"signatures": [{- "id": 339,+ "id": 341,"name": "emptyBucket","kind": 4096,"kindString": "Call signature",@@ -10758,11 +10822,11 @@"isExported": true},"comment": {- "shortText": "Empty a bucket"+ "shortText": "Removes all objects inside a single bucket."},"parameters": [{- "id": 340,+ "id": 342,"name": "id","kind": 32768,"kindString": "Parameter",@@ -10770,7 +10834,7 @@"isExported": true},"comment": {- "text": "the bucket id to empty\n"+ "text": "The unique identifier of the bucket you would like to empty.\n"},"type": {"type": "intrinsic",@@ -10784,7 +10848,7 @@{"type": "reflection","declaration": {- "id": 341,+ "id": 343,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10793,7 +10857,7 @@},"children": [{- "id": 342,+ "id": 344,"name": "data","kind": 32,"kindString": "Variable",@@ -10803,7 +10867,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 19}],@@ -10813,7 +10877,7 @@{"type": "reflection","declaration": {- "id": 343,+ "id": 345,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10822,7 +10886,7 @@},"children": [{- "id": 344,+ "id": 346,"name": "message","kind": 32,"kindString": "Variable",@@ -10832,7 +10896,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 30}],@@ -10847,14 +10911,14 @@"title": "Variables","kind": 32,"children": [- 344+ 346]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 20}]@@ -10868,7 +10932,7 @@}},{- "id": 345,+ "id": 347,"name": "error","kind": 32,"kindString": "Variable",@@ -10878,7 +10942,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 54}],@@ -10902,15 +10966,15 @@"title": "Variables","kind": 32,"children": [- 342,- 345+ 344,+ 347]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 13}]@@ -10924,14 +10988,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 65,+ "line": 72,"character": 19}]},{- "id": 321,- "name": "getAllBuckets",+ "id": 328,+ "name": "getBucket","kind": 2048,"kindString": "Method","flags": {@@ -10939,23 +11003,41 @@},"signatures": [{- "id": 322,- "name": "getAllBuckets",+ "id": 329,+ "name": "getBucket","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Gets all buckets details"+ "shortText": "Retrieves the details of an existing Storage bucket."},+ "parameters": [+ {+ "id": 330,+ "name": "id",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The unique identifier of the bucket you would like to retrieve.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],"type": {"type": "reference","typeArguments": [{"type": "reflection","declaration": {- "id": 323,+ "id": 331,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10964,7 +11046,7 @@},"children": [{- "id": 324,+ "id": 332,"name": "data","kind": 32,"kindString": "Variable",@@ -10974,20 +11056,17 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 39+ "line": 44,+ "character": 45}],"type": {"type": "union","types": [{- "type": "array",- "elementType": {- "type": "reference",- "id": 281,- "name": "Bucket"- }+ "type": "reference",+ "id": 281,+ "name": "Bucket"},{"type": "intrinsic",@@ -10997,7 +11076,7 @@}},{- "id": 325,+ "id": 333,"name": "error","kind": 32,"kindString": "Variable",@@ -11007,8 +11086,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 63+ "line": 44,+ "character": 67}],"type": {@@ -11031,16 +11110,16 @@"title": "Variables","kind": 32,"children": [- 324,- 325+ 332,+ 333]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 33+ "line": 44,+ "character": 39}]}@@ -11053,14 +11132,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 21+ "line": 44,+ "character": 17}]},{- "id": 326,- "name": "getBucket",+ "id": 323,+ "name": "listBuckets","kind": 2048,"kindString": "Method","flags": {@@ -11068,41 +11147,23 @@},"signatures": [{- "id": 327,- "name": "getBucket",+ "id": 324,+ "name": "listBuckets","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Get details of a bucket"+ "shortText": "Retrieves the details of all Storage buckets within an existing product."},- "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,+ "id": 325,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11111,7 +11172,7 @@},"children": [{- "id": 330,+ "id": 326,"name": "data","kind": 32,"kindString": "Variable",@@ -11121,17 +11182,20 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 45+ "line": 30,+ "character": 37}],"type": {"type": "union","types": [{- "type": "reference",- "id": 281,- "name": "Bucket"+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 281,+ "name": "Bucket"+ }},{"type": "intrinsic",@@ -11141,7 +11205,7 @@}},{- "id": 331,+ "id": 327,"name": "error","kind": 32,"kindString": "Variable",@@ -11151,8 +11215,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 67+ "line": 30,+ "character": 61}],"type": {@@ -11175,16 +11239,16 @@"title": "Variables","kind": 32,"children": [- 330,- 331+ 326,+ 327]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 39+ "line": 30,+ "character": 31}]}@@ -11197,14 +11261,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 17+ "line": 30,+ "character": 19}]},{- "id": 372,- "name": "renameFile",+ "id": 416,+ "name": "listFiles","kind": 2048,"kindString": "Method","flags": {@@ -11212,61 +11276,75 @@},"signatures": [{- "id": 373,- "name": "renameFile",+ "id": 417,+ "name": "listFiles","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Rename a file"+ "shortText": "Lists all the files within a bucket."},"parameters": [{- "id": 374,- "name": "bucketName",+ "id": 418,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the files."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 375,- "name": "fromPath",+ "id": 419,+ "name": "path","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"comment": {- "text": "original relative file path"+ "text": "The folder path."},"type": {- "type": "intrinsic",- "name": "string"+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]}},{- "id": 376,- "name": "toPath",+ "id": 420,+ "name": "options","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"comment": {- "text": "the new relative file path\n"+ "text": "Search options, including `limit`, `offset`, and `sortBy`.\n"},"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 303,+ "name": "SearchOptions"}}],@@ -11276,7 +11354,7 @@{"type": "reflection","declaration": {- "id": 377,+ "id": 421,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11285,7 +11363,7 @@},"children": [{- "id": 378,+ "id": 422,"name": "data","kind": 32,"kindString": "Variable",@@ -11295,7 +11373,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,+ "line": 322,"character": 19}],@@ -11303,53 +11381,11 @@"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": "array",+ "elementType": {+ "type": "reference",+ "id": 287,+ "name": "FileObject"}},{@@ -11360,7 +11396,7 @@}},{- "id": 381,+ "id": 423,"name": "error","kind": 32,"kindString": "Variable",@@ -11370,8 +11406,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,- "character": 54+ "line": 322,+ "character": 47}],"type": {@@ -11394,15 +11430,15 @@"title": "Variables","kind": 32,"children": [- 378,- 381+ 422,+ 423]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,+ "line": 322,"character": 13}]@@ -11416,14 +11452,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 165,- "character": 18+ "line": 318,+ "character": 17}]},{- "id": 412,- "name": "search",+ "id": 376,+ "name": "moveFile","kind": 2048,"kindString": "Method","flags": {@@ -11431,73 +11467,63 @@},"signatures": [{- "id": 413,- "name": "search",+ "id": 377,+ "name": "moveFile","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Use to fetch folder contents"+ "shortText": "Moves an existing file, optionally renaming it at the same time."},"parameters": [{- "id": 414,- "name": "bucketName",+ "id": 378,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the file."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 415,- "name": "path",+ "id": 379,+ "name": "fromPath","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"comment": {- "text": "the relative folder path excluded the bucket name"+ "text": "The original file path, including the current file name. For example `folder/image.png`."},"type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]+ "type": "intrinsic",+ "name": "string"}},{- "id": 416,- "name": "options",+ "id": 380,+ "name": "toPath","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"comment": {- "text": "\n"+ "text": "The new file path, including the new file name. For example `folder/image-copy.png`.\n"},"type": {- "type": "reference",- "id": 301,- "name": "SearchOptions"+ "type": "intrinsic",+ "name": "string"}}],@@ -11507,7 +11533,7 @@{"type": "reflection","declaration": {- "id": 417,+ "id": 381,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11516,7 +11542,7 @@},"children": [{- "id": 418,+ "id": 382,"name": "data","kind": 32,"kindString": "Variable",@@ -11526,7 +11552,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,+ "line": 189,"character": 19}],@@ -11534,11 +11560,53 @@"type": "union","types": [{- "type": "array",- "elementType": {- "type": "reference",- "id": 287,- "name": "FileObject"+ "type": "reflection",+ "declaration": {+ "id": 383,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 384,+ "name": "message",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 189,+ "character": 30+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 384+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 189,+ "character": 20+ }+ ]}},{@@ -11549,7 +11617,7 @@}},{- "id": 419,+ "id": 385,"name": "error","kind": 32,"kindString": "Variable",@@ -11559,8 +11627,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,- "character": 47+ "line": 189,+ "character": 54}],"type": {@@ -11583,15 +11651,15 @@"title": "Variables","kind": 32,"children": [- 418,- 419+ 382,+ 385]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,+ "line": 189,"character": 13}]@@ -11605,13 +11673,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 292,- "character": 14+ "line": 185,+ "character": 16}]},{- "id": 363,+ "id": 366,"name": "updateFile","kind": 2048,"kindString": "Method",@@ -11620,7 +11688,7 @@},"signatures": [{- "id": 364,+ "id": 367,"name": "updateFile","kind": 4096,"kindString": "Call signature",@@ -11628,11 +11696,11 @@"isExported": true},"comment": {- "shortText": "Update a file"+ "shortText": "Replaces an existing file at the specified path with a new one."},"parameters": [{- "id": 365,+ "id": 368,"name": "path","kind": 32768,"kindString": "Parameter",@@ -11640,7 +11708,7 @@"isExported": true},"comment": {- "text": "the relative file path"+ "text": "The relative file path including the bucket ID. Should be of the format `bucket/folder/subfolder`. The bucket already exist before attempting to upload."},"type": {"type": "intrinsic",@@ -11648,7 +11716,7 @@}},{- "id": 366,+ "id": 369,"name": "file","kind": 32768,"kindString": "Parameter",@@ -11656,12 +11724,30 @@"isExported": true},"comment": {- "text": "the File content\n"+ "text": "The file object to be stored in the bucket."},"type": {"type": "reference","name": "File"}+ },+ {+ "id": 370,+ "name": "fileOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "HTTP headers. For example `cacheControl`\n"+ },+ "type": {+ "type": "reference",+ "id": 301,+ "name": "FileOptions"+ }}],"type": {@@ -11670,7 +11756,7 @@{"type": "reflection","declaration": {- "id": 367,+ "id": 371,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11679,7 +11765,7 @@},"children": [{- "id": 368,+ "id": 372,"name": "data","kind": 32,"kindString": "Variable",@@ -11689,7 +11775,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 19}],@@ -11699,7 +11785,7 @@{"type": "reflection","declaration": {- "id": 369,+ "id": 373,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11708,7 +11794,7 @@},"children": [{- "id": 370,+ "id": 374,"name": "Key","kind": 32,"kindString": "Variable",@@ -11718,7 +11804,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 26}],@@ -11733,14 +11819,14 @@"title": "Variables","kind": 32,"children": [- 370+ 374]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 20}]@@ -11754,7 +11840,7 @@}},{- "id": 371,+ "id": 375,"name": "error","kind": 32,"kindString": "Variable",@@ -11764,7 +11850,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 50}],@@ -11788,15 +11874,15 @@"title": "Variables","kind": 32,"children": [- 368,- 371+ 372,+ 375]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 13}]@@ -11810,13 +11896,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 130,+ "line": 146,"character": 18}]},{- "id": 354,+ "id": 356,"name": "uploadFile","kind": 2048,"kindString": "Method",@@ -11825,7 +11911,7 @@},"signatures": [{- "id": 355,+ "id": 357,"name": "uploadFile","kind": 4096,"kindString": "Call signature",@@ -11833,11 +11919,11 @@"isExported": true},"comment": {- "shortText": "Upload a file"+ "shortText": "Uploads a file to an existing bucket."},"parameters": [{- "id": 356,+ "id": 358,"name": "path","kind": 32768,"kindString": "Parameter",@@ -11845,7 +11931,7 @@"isExported": true},"comment": {- "text": "the relative file path"+ "text": "The relative file path including the bucket ID. Should be of the format `bucket/folder/subfolder`. The bucket already exist before attempting to upload."},"type": {"type": "intrinsic",@@ -11853,7 +11939,7 @@}},{- "id": 357,+ "id": 359,"name": "file","kind": 32768,"kindString": "Parameter",@@ -11861,12 +11947,30 @@"isExported": true},"comment": {- "text": "the File content\n"+ "text": "The File object to be stored in the bucket."},"type": {"type": "reference","name": "File"}+ },+ {+ "id": 360,+ "name": "fileOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "HTTP headers. For example `cacheControl`\n"+ },+ "type": {+ "type": "reference",+ "id": 301,+ "name": "FileOptions"+ }}],"type": {@@ -11875,7 +11979,7 @@{"type": "reflection","declaration": {- "id": 358,+ "id": 361,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11884,7 +11988,7 @@},"children": [{- "id": 359,+ "id": 362,"name": "data","kind": 32,"kindString": "Variable",@@ -11894,7 +11998,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 19}],@@ -11904,7 +12008,7 @@{"type": "reflection","declaration": {- "id": 360,+ "id": 363,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11913,7 +12017,7 @@},"children": [{- "id": 361,+ "id": 364,"name": "message","kind": 32,"kindString": "Variable",@@ -11923,7 +12027,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 30}],@@ -11938,14 +12042,14 @@"title": "Variables","kind": 32,"children": [- 361+ 364]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 20}]@@ -11959,7 +12063,7 @@}},{- "id": 362,+ "id": 365,"name": "error","kind": 32,"kindString": "Variable",@@ -11969,7 +12073,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 54}],@@ -11993,15 +12097,15 @@"title": "Variables","kind": 32,"children": [- 359,- 362+ 362,+ 365]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 13}]@@ -12015,7 +12119,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 96,+ "line": 107,"character": 18}]@@ -12026,54 +12130,104 @@"title": "Constructors","kind": 512,"children": [- 314+ 316]},{"title": "Properties","kind": 1024,"children": [- 310,- 309+ 312,+ 311]},{"title": "Methods","kind": 2048,"children": [- 332,- 382,- 346,- 397,- 405,- 391,- 338,- 321,- 326,- 372,- 412,- 363,- 354+ 334,+ 386,+ 348,+ 401,+ 409,+ 395,+ 340,+ 328,+ 323,+ 416,+ 376,+ 366,+ 356]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 14,+ "line": 18,"character": 23}],"extendedBy": [{"type": "reference",- "id": 434,+ "id": 441,"name": "SupabaseStorageClient"}]},{- "id": 420,+ "id": 430,+ "name": "DEFAULT_FILE_OPTIONS",+ "kind": 2097152,+ "kindString": "Object literal",+ "flags": {+ "isConst": true+ },+ "children": [+ {+ "id": 431,+ "name": "cacheControl",+ "kind": 32,+ "kindString": "Variable",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 15,+ "character": 14+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "\"3600\""+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 431+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 14,+ "character": 26+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 424,"name": "DEFAULT_SEARCH_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -12082,7 +12236,7 @@},"children": [{- "id": 421,+ "id": 425,"name": "limit","kind": 32,"kindString": "Variable",@@ -12101,7 +12255,7 @@"defaultValue": "0"},{- "id": 422,+ "id": 426,"name": "offset","kind": 32,"kindString": "Variable",@@ -12120,14 +12274,14 @@"defaultValue": "0"},{- "id": 423,+ "id": 427,"name": "sortBy","kind": 2097152,"kindString": "Object literal","flags": {},"children": [{- "id": 424,+ "id": 428,"name": "column","kind": 32,"kindString": "Variable",@@ -12146,7 +12300,7 @@"defaultValue": "\"name\""},{- "id": 425,+ "id": 429,"name": "order","kind": 32,"kindString": "Variable",@@ -12170,8 +12324,8 @@"title": "Variables","kind": 32,"children": [- 424,- 425+ 428,+ 429]}],@@ -12193,15 +12347,15 @@"title": "Variables","kind": 32,"children": [- 421,- 422+ 425,+ 426]},{"title": "Object literals","kind": 2097152,"children": [- 423+ 427]}],@@ -12223,14 +12377,15 @@"title": "Classes","kind": 128,"children": [- 308+ 310]},{"title": "Object literals","kind": 2097152,"children": [- 420+ 430,+ 424]}],@@ -13126,7 +13281,7 @@]},{- "id": 426,+ "id": 432,"name": "\"lib/storage/index\"","kind": 1,"kindString": "Module",@@ -13136,7 +13291,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/index.ts","children": [{- "id": 428,+ "id": 434,"name": "Bucket","kind": 16777216,"kindString": "Reference",@@ -13146,7 +13301,7 @@"target": 281},{- "id": 429,+ "id": 435,"name": "FileObject","kind": 16777216,"kindString": "Reference",@@ -13156,27 +13311,37 @@"target": 287},{- "id": 432,+ "id": 437,+ "name": "FileOptions",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {+ "isExported": true+ },+ "target": 301+ },+ {+ "id": 439,"name": "Metadata","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 305+ "target": 307},{- "id": 431,+ "id": 438,"name": "SearchOptions","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 301+ "target": 303},{- "id": 430,+ "id": 436,"name": "SortBy","kind": 16777216,"kindString": "Reference",@@ -13186,14 +13351,14 @@"target": 298},{- "id": 427,+ "id": 433,"name": "StorageApi","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 308+ "target": 310}],"groups": [@@ -13201,12 +13366,13 @@"title": "References","kind": 16777216,"children": [- 428,- 429,- 432,- 431,- 430,- 427+ 434,+ 435,+ 437,+ 439,+ 438,+ 436,+ 433]}],@@ -13591,7 +13757,54 @@]},{- "id": 305,+ "id": 301,+ "name": "FileOptions",+ "kind": 256,+ "kindString": "Interface",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 302,+ "name": "cacheControl",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "src/lib/storage/types.ts",+ "line": 27,+ "character": 14+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 302+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/storage/types.ts",+ "line": 26,+ "character": 28+ }+ ]+ },+ {+ "id": 307,"name": "Metadata","kind": 256,"kindString": "Interface",@@ -13600,7 +13813,7 @@},"children": [{- "id": 306,+ "id": 308,"name": "name","kind": 1024,"kindString": "Property",@@ -13610,7 +13823,7 @@"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 34,+ "line": 43,"character": 6}],@@ -13625,20 +13838,20 @@"title": "Properties","kind": 1024,"children": [- 306+ 308]}],"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 33,+ "line": 42,"character": 25}]},{- "id": 301,+ "id": 303,"name": "SearchOptions","kind": 256,"kindString": "Interface",@@ -13647,7 +13860,7 @@},"children": [{- "id": 302,+ "id": 304,"name": "limit","kind": 1024,"kindString": "Property",@@ -13655,10 +13868,13 @@"isExported": true,"isOptional": true},+ "comment": {+ "shortText": "The number of files you want to be returned."+ },"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 27,+ "line": 32,"character": 7}],@@ -13677,7 +13893,7 @@}},{- "id": 303,+ "id": 305,"name": "offset","kind": 1024,"kindString": "Property",@@ -13685,10 +13901,13 @@"isExported": true,"isOptional": true},+ "comment": {+ "shortText": "The starting position."+ },"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 28,+ "line": 35,"character": 8}],@@ -13707,7 +13926,7 @@}},{- "id": 304,+ "id": 306,"name": "sortBy","kind": 1024,"kindString": "Property",@@ -13715,10 +13934,13 @@"isExported": true,"isOptional": true},+ "comment": {+ "shortText": "The column to sort by. Can be any column inside a FileObject."+ },"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 29,+ "line": 38,"character": 8}],@@ -13734,16 +13956,16 @@"title": "Properties","kind": 1024,"children": [- 302,- 303,- 304+ 304,+ 305,+ 306]}],"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 26,+ "line": 30,"character": 30}]@@ -13844,8 +14066,9 @@"children": [281,287,- 305,301,+ 307,+ 303,298]}@@ -14422,18 +14645,18 @@"title": "Modules","kind": 1,"children": [- 546,- 610,+ 555,+ 620,26,142,119,- 433,+ 440,1,- 616,- 307,+ 626,+ 309,229,277,- 426,+ 432,280,4]diff --git a/web/spec/supabase.json b/web/spec/supabase.jsonindex 7bec1734ea9..c8f3efb78cf 100644--- a/web/spec/supabase.json+++ b/web/spec/supabase.json@@ -6,7 +6,7 @@"originalName": "","children": [{- "id": 546,+ "id": 555,"name": "\"SupabaseClient\"","kind": 1,"kindString": "Module",@@ -16,7 +16,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts","children": [{- "id": 547,+ "id": 556,"name": "SupabaseClient","kind": 128,"kindString": "Class",@@ -29,7 +29,7 @@},"children": [{- "id": 556,+ "id": 564,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -41,7 +41,7 @@},"signatures": [{- "id": 559,+ "id": 567,"name": "new SupabaseClient","kind": 16384,"kindString": "Constructor signature",@@ -53,7 +53,7 @@},"parameters": [{- "id": 560,+ "id": 568,"name": "supabaseUrl","kind": 32768,"kindString": "Parameter",@@ -69,7 +69,7 @@}},{- "id": 561,+ "id": 569,"name": "supabaseKey","kind": 32768,"kindString": "Parameter",@@ -85,7 +85,7 @@}},{- "id": 562,+ "id": 570,"name": "options","kind": 32768,"kindString": "Parameter",@@ -102,7 +102,7 @@],"type": {"type": "reference",- "id": 547,+ "id": 556,"name": "SupabaseClient"}}@@ -110,13 +110,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 37,+ "line": 34,"character": 36}]},{- "id": 548,+ "id": 557,"name": "auth","kind": 1024,"kindString": "Property",@@ -140,7 +140,7 @@}},{- "id": 553,+ "id": 561,"name": "authUrl","kind": 1024,"kindString": "Property",@@ -151,7 +151,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 35,+ "line": 32,"character": 19}],@@ -161,7 +161,7 @@}},{- "id": 555,+ "id": 563,"name": "realtime","kind": 1024,"kindString": "Property",@@ -172,7 +172,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 37,+ "line": 34,"character": 20}],@@ -182,7 +182,7 @@}},{- "id": 552,+ "id": 560,"name": "realtimeUrl","kind": 1024,"kindString": "Property",@@ -193,7 +193,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 34,+ "line": 31,"character": 23}],@@ -203,7 +203,7 @@}},{- "id": 551,+ "id": 559,"name": "restUrl","kind": 1024,"kindString": "Property",@@ -214,7 +214,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 33,+ "line": 30,"character": 19}],@@ -224,7 +224,7 @@}},{- "id": 550,+ "id": 558,"name": "schema","kind": 1024,"kindString": "Property",@@ -235,7 +235,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 32,+ "line": 29,"character": 18}],@@ -245,31 +245,7 @@}},{- "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,+ "id": 562,"name": "storageUrl","kind": 1024,"kindString": "Property",@@ -280,7 +256,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 36,+ "line": 33,"character": 22}],@@ -290,7 +266,7 @@}},{- "id": 558,+ "id": 566,"name": "supabaseKey","kind": 1024,"kindString": "Property",@@ -305,7 +281,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 51,+ "line": 48,"character": 25}],@@ -315,7 +291,7 @@}},{- "id": 557,+ "id": 565,"name": "supabaseUrl","kind": 1024,"kindString": "Property",@@ -330,7 +306,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 50,+ "line": 47,"character": 25}],@@ -340,7 +316,45 @@}},{- "id": 599,+ "id": 571,+ "name": "storage",+ "kind": 262144,+ "kindString": "Accessor",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."+ },+ "getSignature": [+ {+ "id": 572,+ "name": "__get",+ "kind": 524288,+ "kindString": "Get signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Supabase Storage allows you to manage user-generated content, such as photos or videos."+ },+ "type": {+ "type": "reference",+ "id": 441,+ "name": "SupabaseStorageClient"+ }+ }+ ],+ "sources": [+ {+ "fileName": "src/SupabaseClient.ts",+ "line": 73,+ "character": 13+ }+ ]+ },+ {+ "id": 609,"name": "_closeChannel","kind": 2048,"kindString": "Method",@@ -350,7 +364,7 @@},"signatures": [{- "id": 600,+ "id": 610,"name": "_closeChannel","kind": 4096,"kindString": "Call signature",@@ -359,7 +373,7 @@},"parameters": [{- "id": 601,+ "id": 611,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -387,13 +401,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 179,+ "line": 182,"character": 23}]},{- "id": 575,+ "id": 585,"name": "_closeSubscription","kind": 2048,"kindString": "Method",@@ -403,7 +417,7 @@},"signatures": [{- "id": 576,+ "id": 586,"name": "_closeSubscription","kind": 4096,"kindString": "Call signature",@@ -412,7 +426,7 @@},"parameters": [{- "id": 577,+ "id": 587,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -440,13 +454,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 122,+ "line": 125,"character": 34}]},{- "id": 594,+ "id": 604,"name": "_getAuthHeaders","kind": 2048,"kindString": "Method",@@ -456,7 +470,7 @@},"signatures": [{- "id": 595,+ "id": 605,"name": "_getAuthHeaders","kind": 4096,"kindString": "Call signature",@@ -466,7 +480,7 @@"type": {"type": "reflection","declaration": {- "id": 596,+ "id": 606,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -475,7 +489,7 @@},"indexSignature": [{- "id": 597,+ "id": 607,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -484,7 +498,7 @@},"parameters": [{- "id": 598,+ "id": 608,"name": "key","kind": 32768,"kindString": "Parameter",@@ -506,7 +520,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 171,+ "line": 174,"character": 28}]@@ -517,13 +531,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 171,+ "line": 174,"character": 25}]},{- "id": 590,+ "id": 600,"name": "_initPostgRESTClient","kind": 2048,"kindString": "Method",@@ -533,7 +547,7 @@},"signatures": [{- "id": 591,+ "id": 601,"name": "_initPostgRESTClient","kind": 4096,"kindString": "Call signature",@@ -549,13 +563,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 160,+ "line": 163,"character": 30}]},{- "id": 588,+ "id": 598,"name": "_initRealtimeClient","kind": 2048,"kindString": "Method",@@ -565,7 +579,7 @@},"signatures": [{- "id": 589,+ "id": 599,"name": "_initRealtimeClient","kind": 4096,"kindString": "Call signature",@@ -581,13 +595,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 154,+ "line": 157,"character": 29}]},{- "id": 592,+ "id": 602,"name": "_initStorageClient","kind": 2048,"kindString": "Method",@@ -597,7 +611,7 @@},"signatures": [{- "id": 593,+ "id": 603,"name": "_initStorageClient","kind": 4096,"kindString": "Call signature",@@ -606,7 +620,7 @@},"type": {"type": "reference",- "id": 434,+ "id": 441,"name": "SupabaseStorageClient"}}@@ -614,13 +628,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 167,+ "line": 170,"character": 28}]},{- "id": 580,+ "id": 590,"name": "_initSupabaseAuthClient","kind": 2048,"kindString": "Method",@@ -630,7 +644,7 @@},"signatures": [{- "id": 581,+ "id": 591,"name": "_initSupabaseAuthClient","kind": 4096,"kindString": "Call signature",@@ -639,7 +653,7 @@},"parameters": [{- "id": 582,+ "id": 592,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -650,7 +664,7 @@"type": {"type": "reflection","declaration": {- "id": 583,+ "id": 593,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -659,7 +673,7 @@},"children": [{- "id": 584,+ "id": 594,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -669,7 +683,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 136,+ "line": 139,"character": 20}],@@ -692,7 +706,7 @@}},{- "id": 586,+ "id": 596,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -702,7 +716,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 138,+ "line": 141,"character": 22}],@@ -725,7 +739,7 @@}},{- "id": 587,+ "id": 597,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -735,7 +749,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 139,+ "line": 142,"character": 16}],@@ -754,7 +768,7 @@}},{- "id": 585,+ "id": 595,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -764,7 +778,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 137,+ "line": 140,"character": 18}],@@ -792,17 +806,17 @@"title": "Variables","kind": 32,"children": [- 584,- 586,- 587,- 585+ 594,+ 596,+ 597,+ 595]}],"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 135,+ "line": 138,"character": 34}]@@ -820,13 +834,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 135,+ "line": 138,"character": 33}]},{- "id": 563,+ "id": 573,"name": "from","kind": 2048,"kindString": "Method",@@ -835,7 +849,7 @@},"signatures": [{- "id": 564,+ "id": 574,"name": "from","kind": 4096,"kindString": "Call signature",@@ -847,7 +861,7 @@},"typeParameter": [{- "id": 565,+ "id": 575,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -858,7 +872,7 @@],"parameters": [{- "id": 566,+ "id": 576,"name": "table","kind": 32768,"kindString": "Parameter",@@ -894,13 +908,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 79,+ "line": 82,"character": 6}]},{- "id": 578,+ "id": 588,"name": "getSubscriptions","kind": 2048,"kindString": "Method",@@ -909,7 +923,7 @@},"signatures": [{- "id": 579,+ "id": 589,"name": "getSubscriptions","kind": 4096,"kindString": "Call signature",@@ -931,13 +945,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 131,+ "line": 134,"character": 18}]},{- "id": 572,+ "id": 582,"name": "removeSubscription","kind": 2048,"kindString": "Method",@@ -946,7 +960,7 @@},"signatures": [{- "id": 573,+ "id": 583,"name": "removeSubscription","kind": 4096,"kindString": "Call signature",@@ -958,7 +972,7 @@},"parameters": [{- "id": 574,+ "id": 584,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -989,13 +1003,13 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 105,+ "line": 108,"character": 20}]},{- "id": 567,+ "id": 577,"name": "rpc","kind": 2048,"kindString": "Method",@@ -1004,7 +1018,7 @@},"signatures": [{- "id": 568,+ "id": 578,"name": "rpc","kind": 4096,"kindString": "Call signature",@@ -1016,7 +1030,7 @@},"typeParameter": [{- "id": 569,+ "id": 579,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -1027,7 +1041,7 @@],"parameters": [{- "id": 570,+ "id": 580,"name": "fn","kind": 32768,"kindString": "Parameter",@@ -1043,7 +1057,7 @@}},{- "id": 571,+ "id": 581,"name": "params","kind": 32768,"kindString": "Parameter",@@ -1084,7 +1098,7 @@"sources": [{"fileName": "src/SupabaseClient.ts",- "line": 95,+ "line": 98,"character": 5}]@@ -1095,40 +1109,46 @@"title": "Constructors","kind": 512,"children": [- 556+ 564]},{"title": "Properties","kind": 1024,"children": [- 548,- 553,- 555,- 552,- 551,- 550,- 549,- 554,+ 557,+ 561,+ 563,+ 560,+ 559,558,- 557+ 562,+ 566,+ 565+ ]+ },+ {+ "title": "Accessors",+ "kind": 262144,+ "children": [+ 571]},{"title": "Methods","kind": 2048,"children": [- 599,- 575,- 594,+ 609,+ 585,+ 604,+ 600,+ 598,+ 602,590,+ 573,588,- 592,- 580,- 563,- 578,- 572,- 567+ 582,+ 577]}],@@ -1141,7 +1161,7 @@]},{- "id": 602,+ "id": 612,"name": "DEFAULT_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -1150,7 +1170,7 @@},"children": [{- "id": 604,+ "id": 614,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -1169,7 +1189,7 @@"defaultValue": "true"},{- "id": 606,+ "id": 616,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -1188,7 +1208,7 @@"defaultValue": "true"},{- "id": 608,+ "id": 618,"name": "headers","kind": 32,"kindString": "Variable",@@ -1203,7 +1223,7 @@"type": {"type": "reflection","declaration": {- "id": 609,+ "id": 619,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1213,7 +1233,7 @@"defaultValue": "DEFAULT_HEADERS"},{- "id": 607,+ "id": 617,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -1232,7 +1252,7 @@"defaultValue": "globalThis.localStorage"},{- "id": 605,+ "id": 615,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -1251,7 +1271,7 @@"defaultValue": "true"},{- "id": 603,+ "id": 613,"name": "schema","kind": 32,"kindString": "Variable",@@ -1275,12 +1295,12 @@"title": "Variables","kind": 32,"children": [- 604,- 606,- 608,- 607,- 605,- 603+ 614,+ 616,+ 618,+ 617,+ 615,+ 613]}],@@ -1302,14 +1322,14 @@"title": "Classes","kind": 128,"children": [- 547+ 556]},{"title": "Object literals","kind": 2097152,"children": [- 602+ 612]}],@@ -1322,7 +1342,7 @@]},{- "id": 610,+ "id": 620,"name": "\"index\"","kind": 1,"kindString": "Module",@@ -1332,7 +1352,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts","children": [{- "id": 611,+ "id": 621,"name": "createClient","kind": 64,"kindString": "Function",@@ -1345,7 +1365,7 @@},"signatures": [{- "id": 612,+ "id": 622,"name": "createClient","kind": 4096,"kindString": "Call signature",@@ -1357,7 +1377,7 @@},"parameters": [{- "id": 613,+ "id": 623,"name": "supabaseUrl","kind": 32768,"kindString": "Parameter",@@ -1370,7 +1390,7 @@}},{- "id": 614,+ "id": 624,"name": "supabaseKey","kind": 32768,"kindString": "Parameter",@@ -1383,7 +1403,7 @@}},{- "id": 615,+ "id": 625,"name": "options","kind": 32768,"kindString": "Parameter",@@ -1400,7 +1420,7 @@],"type": {"type": "reference",- "id": 547,+ "id": 556,"name": "SupabaseClient"}}@@ -1419,7 +1439,7 @@"title": "Functions","kind": 64,"children": [- 611+ 621]}],@@ -6634,7 +6654,7 @@]},{- "id": 433,+ "id": 440,"name": "\"lib/SupabaseStorageClient\"","kind": 1,"kindString": "Module",@@ -6644,7 +6664,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseStorageClient.ts","children": [{- "id": 434,+ "id": 441,"name": "SupabaseStorageClient","kind": 128,"kindString": "Class",@@ -6653,7 +6673,7 @@},"children": [{- "id": 435,+ "id": 442,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -6662,7 +6682,7 @@},"signatures": [{- "id": 436,+ "id": 443,"name": "new SupabaseStorageClient","kind": 16384,"kindString": "Constructor signature",@@ -6671,7 +6691,7 @@},"parameters": [{- "id": 437,+ "id": 444,"name": "url","kind": 32768,"kindString": "Parameter",@@ -6684,7 +6704,7 @@}},{- "id": 438,+ "id": 445,"name": "headers","kind": 32768,"kindString": "Parameter",@@ -6694,7 +6714,7 @@"type": {"type": "reflection","declaration": {- "id": 439,+ "id": 446,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6703,7 +6723,7 @@},"indexSignature": [{- "id": 440,+ "id": 447,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -6712,7 +6732,7 @@},"parameters": [{- "id": 441,+ "id": 448,"name": "key","kind": 32768,"kindString": "Parameter",@@ -6745,12 +6765,12 @@],"type": {"type": "reference",- "id": 434,+ "id": 441,"name": "SupabaseStorageClient"},"overwrites": {"type": "reference",- "id": 314,+ "id": 316,"name": "StorageApi.__constructor"}}@@ -6764,12 +6784,12 @@],"overwrites": {"type": "reference",- "id": 314,+ "id": 316,"name": "StorageApi.__constructor"}},{- "id": 443,+ "id": 450,"name": "headers","kind": 1024,"kindString": "Property",@@ -6779,14 +6799,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 9}],"type": {"type": "reflection","declaration": {- "id": 444,+ "id": 451,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6795,7 +6815,7 @@},"indexSignature": [{- "id": 445,+ "id": 452,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -6804,7 +6824,7 @@},"parameters": [{- "id": 446,+ "id": 453,"name": "key","kind": 32768,"kindString": "Parameter",@@ -6826,7 +6846,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 10}]@@ -6834,12 +6854,12 @@},"inheritedFrom": {"type": "reference",- "id": 310,+ "id": 312,"name": "StorageApi.headers"}},{- "id": 442,+ "id": 449,"name": "url","kind": 1024,"kindString": "Property",@@ -6849,7 +6869,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 15,+ "line": 19,"character": 5}],@@ -6859,12 +6879,12 @@},"inheritedFrom": {"type": "reference",- "id": 309,+ "id": 311,"name": "StorageApi.url"}},{- "id": 458,+ "id": 465,"name": "createBucket","kind": 2048,"kindString": "Method",@@ -6873,7 +6893,7 @@},"signatures": [{- "id": 459,+ "id": 466,"name": "createBucket","kind": 4096,"kindString": "Call signature",@@ -6881,19 +6901,19 @@"isExported": true},"comment": {- "shortText": "Create a bucket"+ "shortText": "Retrieves the details of an existing Storage bucket."},"parameters": [{- "id": 460,- "name": "name",+ "id": 467,+ "name": "id","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "the new bucket name\n"+ "text": "A unique identifier for the bucket you are creating.\n"},"type": {"type": "intrinsic",@@ -6907,7 +6927,7 @@{"type": "reflection","declaration": {- "id": 461,+ "id": 468,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6916,7 +6936,7 @@},"children": [{- "id": 462,+ "id": 469,"name": "data","kind": 32,"kindString": "Variable",@@ -6926,8 +6946,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 50+ "line": 58,+ "character": 48}],"type": {@@ -6946,7 +6966,7 @@}},{- "id": 463,+ "id": 470,"name": "error","kind": 32,"kindString": "Variable",@@ -6956,8 +6976,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 72+ "line": 58,+ "character": 70}],"type": {@@ -6980,16 +7000,16 @@"title": "Variables","kind": 32,"children": [- 462,- 463+ 469,+ 470]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 44+ "line": 58,+ "character": 42}]}@@ -6999,7 +7019,7 @@},"inheritedFrom": {"type": "reference",- "id": 332,+ "id": 334,"name": "StorageApi.createBucket"}}@@ -7007,18 +7027,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,+ "line": 58,"character": 20}],"inheritedFrom": {"type": "reference",- "id": 332,+ "id": 334,"name": "StorageApi.createBucket"}},{- "id": 508,+ "id": 517,"name": "createSignedUrl","kind": 2048,"kindString": "Method",@@ -7027,7 +7047,7 @@},"signatures": [{- "id": 509,+ "id": 518,"name": "createSignedUrl","kind": 4096,"kindString": "Call signature",@@ -7035,11 +7055,11 @@"isExported": true},"comment": {- "shortText": "Create signed url to download file"+ "shortText": "Create signed url to download file."},"parameters": [{- "id": 510,+ "id": 519,"name": "path","kind": 32768,"kindString": "Parameter",@@ -7047,7 +7067,7 @@"isExported": true},"comment": {- "text": "the relative file path to be downloaded"+ "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`."},"type": {"type": "intrinsic",@@ -7055,7 +7075,7 @@}},{- "id": 511,+ "id": 520,"name": "expiresIn","kind": 32768,"kindString": "Parameter",@@ -7063,7 +7083,7 @@"isExported": true},"comment": {- "text": "seconds until the signed URL expires\n"+ "text": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n"},"type": {"type": "intrinsic",@@ -7077,7 +7097,7 @@{"type": "reflection","declaration": {- "id": 512,+ "id": 521,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7086,7 +7106,7 @@},"children": [{- "id": 513,+ "id": 522,"name": "data","kind": 32,"kindString": "Variable",@@ -7096,7 +7116,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 19}],@@ -7106,7 +7126,7 @@{"type": "reflection","declaration": {- "id": 514,+ "id": 523,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7115,7 +7135,7 @@},"children": [{- "id": 515,+ "id": 524,"name": "signedURL","kind": 32,"kindString": "Variable",@@ -7125,7 +7145,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 32}],@@ -7140,14 +7160,14 @@"title": "Variables","kind": 32,"children": [- 515+ 524]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 20}]@@ -7161,7 +7181,7 @@}},{- "id": 516,+ "id": 525,"name": "error","kind": 32,"kindString": "Variable",@@ -7171,7 +7191,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 56}],@@ -7195,15 +7215,15 @@"title": "Variables","kind": 32,"children": [- 513,- 516+ 522,+ 525]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 13}]@@ -7214,7 +7234,7 @@},"inheritedFrom": {"type": "reference",- "id": 382,+ "id": 386,"name": "StorageApi.createSignedUrl"}}@@ -7222,18 +7242,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 187,+ "line": 208,"character": 23}],"inheritedFrom": {"type": "reference",- "id": 382,+ "id": 386,"name": "StorageApi.createSignedUrl"}},{- "id": 472,+ "id": 479,"name": "deleteBucket","kind": 2048,"kindString": "Method",@@ -7242,7 +7262,7 @@},"signatures": [{- "id": 473,+ "id": 480,"name": "deleteBucket","kind": 4096,"kindString": "Call signature",@@ -7250,11 +7270,11 @@"isExported": true},"comment": {- "shortText": "Delete a bucket"+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."},"parameters": [{- "id": 474,+ "id": 481,"name": "id","kind": 32768,"kindString": "Parameter",@@ -7262,7 +7282,7 @@"isExported": true},"comment": {- "text": "the bucket id to be deleted\n"+ "text": "The unique identifier of the bucket you would like to delete.\n"},"type": {"type": "intrinsic",@@ -7276,7 +7296,7 @@{"type": "reflection","declaration": {- "id": 475,+ "id": 482,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7285,7 +7305,7 @@},"children": [{- "id": 476,+ "id": 483,"name": "data","kind": 32,"kindString": "Variable",@@ -7295,7 +7315,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 19}],@@ -7305,7 +7325,7 @@{"type": "reflection","declaration": {- "id": 477,+ "id": 484,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7314,7 +7334,7 @@},"children": [{- "id": 478,+ "id": 485,"name": "message","kind": 32,"kindString": "Variable",@@ -7324,7 +7344,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 30}],@@ -7339,14 +7359,14 @@"title": "Variables","kind": 32,"children": [- 478+ 485]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 20}]@@ -7360,7 +7380,7 @@}},{- "id": 479,+ "id": 486,"name": "error","kind": 32,"kindString": "Variable",@@ -7370,7 +7390,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 54}],@@ -7394,15 +7414,15 @@"title": "Variables","kind": 32,"children": [- 476,- 479+ 483,+ 486]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 13}]@@ -7413,7 +7433,7 @@},"inheritedFrom": {"type": "reference",- "id": 346,+ "id": 348,"name": "StorageApi.deleteBucket"}}@@ -7421,18 +7441,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 80,+ "line": 89,"character": 20}],"inheritedFrom": {"type": "reference",- "id": 346,+ "id": 348,"name": "StorageApi.deleteBucket"}},{- "id": 523,+ "id": 532,"name": "deleteFile","kind": 2048,"kindString": "Method",@@ -7441,7 +7461,7 @@},"signatures": [{- "id": 524,+ "id": 533,"name": "deleteFile","kind": 4096,"kindString": "Call signature",@@ -7449,11 +7469,11 @@"isExported": true},"comment": {- "shortText": "Delete a file"+ "shortText": "Deletes a file."},"parameters": [{- "id": 525,+ "id": 534,"name": "path","kind": 32768,"kindString": "Parameter",@@ -7461,7 +7481,7 @@"isExported": true},"comment": {- "text": "the relative file path to be deleted\n"+ "text": "The file path to be deleted, including the path and file name. For example `folder/image.png`.\n"},"type": {"type": "intrinsic",@@ -7475,7 +7495,7 @@{"type": "reflection","declaration": {- "id": 526,+ "id": 535,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7484,7 +7504,7 @@},"children": [{- "id": 527,+ "id": 536,"name": "data","kind": 32,"kindString": "Variable",@@ -7494,7 +7514,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 19}],@@ -7504,7 +7524,7 @@{"type": "reflection","declaration": {- "id": 528,+ "id": 537,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7513,7 +7533,7 @@},"children": [{- "id": 529,+ "id": 538,"name": "message","kind": 32,"kindString": "Variable",@@ -7523,7 +7543,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 30}],@@ -7538,14 +7558,14 @@"title": "Variables","kind": 32,"children": [- 529+ 538]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 20}]@@ -7559,7 +7579,7 @@}},{- "id": 530,+ "id": 539,"name": "error","kind": 32,"kindString": "Variable",@@ -7569,7 +7589,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 54}],@@ -7593,15 +7613,15 @@"title": "Variables","kind": 32,"children": [- 527,- 530+ 536,+ 539]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 13}]@@ -7612,7 +7632,7 @@},"inheritedFrom": {"type": "reference",- "id": 397,+ "id": 401,"name": "StorageApi.deleteFile"}}@@ -7620,18 +7640,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 224,+ "line": 249,"character": 18}],"inheritedFrom": {"type": "reference",- "id": 397,+ "id": 401,"name": "StorageApi.deleteFile"}},{- "id": 531,+ "id": 540,"name": "deleteFiles","kind": 2048,"kindString": "Method",@@ -7640,7 +7660,7 @@},"signatures": [{- "id": 532,+ "id": 541,"name": "deleteFiles","kind": 4096,"kindString": "Call signature",@@ -7648,25 +7668,27 @@"isExported": true},"comment": {- "shortText": "Delete multiple files on the same bucket"+ "shortText": "Deletes multiple files within the same bucket"},"parameters": [{- "id": 533,- "name": "bucketName",+ "id": 542,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the files."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 534,+ "id": 543,"name": "paths","kind": 32768,"kindString": "Parameter",@@ -7674,7 +7696,7 @@"isExported": true},"comment": {- "text": "the relative file paths to be deleted excluded the bucket name\n"+ "text": "An array of files to be deletes, including the path and file name. For example [`folder/image.png`].\n"},"type": {"type": "array",@@ -7691,7 +7713,7 @@{"type": "reflection","declaration": {- "id": 535,+ "id": 544,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7700,7 +7722,7 @@},"children": [{- "id": 536,+ "id": 545,"name": "data","kind": 32,"kindString": "Variable",@@ -7710,7 +7732,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 19}],@@ -7733,7 +7755,7 @@}},{- "id": 537,+ "id": 546,"name": "error","kind": 32,"kindString": "Variable",@@ -7743,7 +7765,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 47}],@@ -7767,15 +7789,15 @@"title": "Variables","kind": 32,"children": [- 536,- 537+ 545,+ 546]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 13}]@@ -7786,7 +7808,7 @@},"inheritedFrom": {"type": "reference",- "id": 405,+ "id": 409,"name": "StorageApi.deleteFiles"}}@@ -7794,18 +7816,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 240,+ "line": 266,"character": 19}],"inheritedFrom": {"type": "reference",- "id": 405,+ "id": 409,"name": "StorageApi.deleteFiles"}},{- "id": 517,+ "id": 526,"name": "downloadFile","kind": 2048,"kindString": "Method",@@ -7814,7 +7836,7 @@},"signatures": [{- "id": 518,+ "id": 527,"name": "downloadFile","kind": 4096,"kindString": "Call signature",@@ -7822,11 +7844,11 @@"isExported": true},"comment": {- "shortText": "Download a file"+ "shortText": "Downloads a file."},"parameters": [{- "id": 519,+ "id": 528,"name": "path","kind": 32768,"kindString": "Parameter",@@ -7834,7 +7856,7 @@"isExported": true},"comment": {- "text": "the relative file path to be downloaded\n"+ "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"},"type": {"type": "intrinsic",@@ -7848,7 +7870,7 @@{"type": "reflection","declaration": {- "id": 520,+ "id": 529,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7857,7 +7879,7 @@},"children": [{- "id": 521,+ "id": 530,"name": "data","kind": 32,"kindString": "Variable",@@ -7867,7 +7889,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 50}],@@ -7886,7 +7908,7 @@}},{- "id": 522,+ "id": 531,"name": "error","kind": 32,"kindString": "Variable",@@ -7896,7 +7918,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 70}],@@ -7920,15 +7942,15 @@"title": "Variables","kind": 32,"children": [- 521,- 522+ 530,+ 531]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 44}]@@ -7939,7 +7961,7 @@},"inheritedFrom": {"type": "reference",- "id": 391,+ "id": 395,"name": "StorageApi.downloadFile"}}@@ -7947,18 +7969,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 20}],"inheritedFrom": {"type": "reference",- "id": 391,+ "id": 395,"name": "StorageApi.downloadFile"}},{- "id": 464,+ "id": 471,"name": "emptyBucket","kind": 2048,"kindString": "Method",@@ -7967,7 +7989,7 @@},"signatures": [{- "id": 465,+ "id": 472,"name": "emptyBucket","kind": 4096,"kindString": "Call signature",@@ -7975,11 +7997,11 @@"isExported": true},"comment": {- "shortText": "Empty a bucket"+ "shortText": "Removes all objects inside a single bucket."},"parameters": [{- "id": 466,+ "id": 473,"name": "id","kind": 32768,"kindString": "Parameter",@@ -7987,7 +8009,7 @@"isExported": true},"comment": {- "text": "the bucket id to empty\n"+ "text": "The unique identifier of the bucket you would like to empty.\n"},"type": {"type": "intrinsic",@@ -8001,7 +8023,7 @@{"type": "reflection","declaration": {- "id": 467,+ "id": 474,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8010,7 +8032,7 @@},"children": [{- "id": 468,+ "id": 475,"name": "data","kind": 32,"kindString": "Variable",@@ -8020,7 +8042,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 19}],@@ -8030,7 +8052,7 @@{"type": "reflection","declaration": {- "id": 469,+ "id": 476,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8039,7 +8061,7 @@},"children": [{- "id": 470,+ "id": 477,"name": "message","kind": 32,"kindString": "Variable",@@ -8049,7 +8071,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 30}],@@ -8064,14 +8086,14 @@"title": "Variables","kind": 32,"children": [- 470+ 477]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 20}]@@ -8085,7 +8107,7 @@}},{- "id": 471,+ "id": 478,"name": "error","kind": 32,"kindString": "Variable",@@ -8095,7 +8117,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 54}],@@ -8119,15 +8141,15 @@"title": "Variables","kind": 32,"children": [- 468,- 471+ 475,+ 478]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 13}]@@ -8138,7 +8160,7 @@},"inheritedFrom": {"type": "reference",- "id": 338,+ "id": 340,"name": "StorageApi.emptyBucket"}}@@ -8146,19 +8168,19 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 65,+ "line": 72,"character": 19}],"inheritedFrom": {"type": "reference",- "id": 338,+ "id": 340,"name": "StorageApi.emptyBucket"}},{- "id": 447,- "name": "getAllBuckets",+ "id": 459,+ "name": "getBucket","kind": 2048,"kindString": "Method","flags": {@@ -8166,23 +8188,41 @@},"signatures": [{- "id": 448,- "name": "getAllBuckets",+ "id": 460,+ "name": "getBucket","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Gets all buckets details"+ "shortText": "Retrieves the details of an existing Storage bucket."},+ "parameters": [+ {+ "id": 461,+ "name": "id",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The unique identifier of the bucket you would like to retrieve.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],"type": {"type": "reference","typeArguments": [{"type": "reflection","declaration": {- "id": 449,+ "id": 462,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8191,7 +8231,7 @@},"children": [{- "id": 450,+ "id": 463,"name": "data","kind": 32,"kindString": "Variable",@@ -8201,20 +8241,17 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 39+ "line": 44,+ "character": 45}],"type": {"type": "union","types": [{- "type": "array",- "elementType": {- "type": "reference",- "id": 281,- "name": "Bucket"- }+ "type": "reference",+ "id": 281,+ "name": "Bucket"},{"type": "intrinsic",@@ -8224,7 +8261,7 @@}},{- "id": 451,+ "id": 464,"name": "error","kind": 32,"kindString": "Variable",@@ -8234,8 +8271,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 63+ "line": 44,+ "character": 67}],"type": {@@ -8258,16 +8295,16 @@"title": "Variables","kind": 32,"children": [- 450,- 451+ 463,+ 464]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 33+ "line": 44,+ "character": 39}]}@@ -8277,27 +8314,27 @@},"inheritedFrom": {"type": "reference",- "id": 321,- "name": "StorageApi.getAllBuckets"+ "id": 328,+ "name": "StorageApi.getBucket"}}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 21+ "line": 44,+ "character": 17}],"inheritedFrom": {"type": "reference",- "id": 321,- "name": "StorageApi.getAllBuckets"+ "id": 328,+ "name": "StorageApi.getBucket"}},{- "id": 452,- "name": "getBucket",+ "id": 454,+ "name": "listBuckets","kind": 2048,"kindString": "Method","flags": {@@ -8305,41 +8342,23 @@},"signatures": [{- "id": 453,- "name": "getBucket",+ "id": 455,+ "name": "listBuckets","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Get details of a bucket"+ "shortText": "Retrieves the details of all Storage buckets within an existing product."},- "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,+ "id": 456,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8348,7 +8367,7 @@},"children": [{- "id": 456,+ "id": 457,"name": "data","kind": 32,"kindString": "Variable",@@ -8358,17 +8377,20 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 45+ "line": 30,+ "character": 37}],"type": {"type": "union","types": [{- "type": "reference",- "id": 281,- "name": "Bucket"+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 281,+ "name": "Bucket"+ }},{"type": "intrinsic",@@ -8378,7 +8400,7 @@}},{- "id": 457,+ "id": 458,"name": "error","kind": 32,"kindString": "Variable",@@ -8388,8 +8410,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 67+ "line": 30,+ "character": 61}],"type": {@@ -8412,16 +8434,16 @@"title": "Variables","kind": 32,"children": [- 456,- 457+ 457,+ 458]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 39+ "line": 30,+ "character": 31}]}@@ -8431,27 +8453,27 @@},"inheritedFrom": {"type": "reference",- "id": 326,- "name": "StorageApi.getBucket"+ "id": 323,+ "name": "StorageApi.listBuckets"}}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 17+ "line": 30,+ "character": 19}],"inheritedFrom": {"type": "reference",- "id": 326,- "name": "StorageApi.getBucket"+ "id": 323,+ "name": "StorageApi.listBuckets"}},{- "id": 498,- "name": "renameFile",+ "id": 547,+ "name": "listFiles","kind": 2048,"kindString": "Method","flags": {@@ -8459,61 +8481,75 @@},"signatures": [{- "id": 499,- "name": "renameFile",+ "id": 548,+ "name": "listFiles","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Rename a file"+ "shortText": "Lists all the files within a bucket."},"parameters": [{- "id": 500,- "name": "bucketName",+ "id": 549,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the files."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 501,- "name": "fromPath",+ "id": 550,+ "name": "path","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"comment": {- "text": "original relative file path"+ "text": "The folder path."},"type": {- "type": "intrinsic",- "name": "string"+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]}},{- "id": 502,- "name": "toPath",+ "id": 551,+ "name": "options","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"comment": {- "text": "the new relative file path\n"+ "text": "Search options, including `limit`, `offset`, and `sortBy`.\n"},"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 303,+ "name": "SearchOptions"}}],@@ -8523,7 +8559,7 @@{"type": "reflection","declaration": {- "id": 503,+ "id": 552,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8532,7 +8568,7 @@},"children": [{- "id": 504,+ "id": 553,"name": "data","kind": 32,"kindString": "Variable",@@ -8542,7 +8578,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,+ "line": 322,"character": 19}],@@ -8550,53 +8586,11 @@"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": "array",+ "elementType": {+ "type": "reference",+ "id": 287,+ "name": "FileObject"}},{@@ -8607,7 +8601,7 @@}},{- "id": 507,+ "id": 554,"name": "error","kind": 32,"kindString": "Variable",@@ -8617,8 +8611,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,- "character": 54+ "line": 322,+ "character": 47}],"type": {@@ -8641,15 +8635,15 @@"title": "Variables","kind": 32,"children": [- 504,- 507+ 553,+ 554]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,+ "line": 322,"character": 13}]@@ -8660,27 +8654,27 @@},"inheritedFrom": {"type": "reference",- "id": 372,- "name": "StorageApi.renameFile"+ "id": 416,+ "name": "StorageApi.listFiles"}}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 165,- "character": 18+ "line": 318,+ "character": 17}],"inheritedFrom": {"type": "reference",- "id": 372,- "name": "StorageApi.renameFile"+ "id": 416,+ "name": "StorageApi.listFiles"}},{- "id": 538,- "name": "search",+ "id": 507,+ "name": "moveFile","kind": 2048,"kindString": "Method","flags": {@@ -8688,73 +8682,63 @@},"signatures": [{- "id": 539,- "name": "search",+ "id": 508,+ "name": "moveFile","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Use to fetch folder contents"+ "shortText": "Moves an existing file, optionally renaming it at the same time."},"parameters": [{- "id": 540,- "name": "bucketName",+ "id": 509,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the file."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 541,- "name": "path",+ "id": 510,+ "name": "fromPath","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"comment": {- "text": "the relative folder path excluded the bucket name"+ "text": "The original file path, including the current file name. For example `folder/image.png`."},"type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]+ "type": "intrinsic",+ "name": "string"}},{- "id": 542,- "name": "options",+ "id": 511,+ "name": "toPath","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"comment": {- "text": "\n"+ "text": "The new file path, including the new file name. For example `folder/image-copy.png`.\n"},"type": {- "type": "reference",- "id": 301,- "name": "SearchOptions"+ "type": "intrinsic",+ "name": "string"}}],@@ -8764,7 +8748,7 @@{"type": "reflection","declaration": {- "id": 543,+ "id": 512,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8773,7 +8757,7 @@},"children": [{- "id": 544,+ "id": 513,"name": "data","kind": 32,"kindString": "Variable",@@ -8783,7 +8767,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,+ "line": 189,"character": 19}],@@ -8791,11 +8775,53 @@"type": "union","types": [{- "type": "array",- "elementType": {- "type": "reference",- "id": 287,- "name": "FileObject"+ "type": "reflection",+ "declaration": {+ "id": 514,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 515,+ "name": "message",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 189,+ "character": 30+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 515+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 189,+ "character": 20+ }+ ]}},{@@ -8806,7 +8832,7 @@}},{- "id": 545,+ "id": 516,"name": "error","kind": 32,"kindString": "Variable",@@ -8816,8 +8842,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,- "character": 47+ "line": 189,+ "character": 54}],"type": {@@ -8840,15 +8866,15 @@"title": "Variables","kind": 32,"children": [- 544,- 545+ 513,+ 516]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,+ "line": 189,"character": 13}]@@ -8859,26 +8885,26 @@},"inheritedFrom": {"type": "reference",- "id": 412,- "name": "StorageApi.search"+ "id": 376,+ "name": "StorageApi.moveFile"}}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 292,- "character": 14+ "line": 185,+ "character": 16}],"inheritedFrom": {"type": "reference",- "id": 412,- "name": "StorageApi.search"+ "id": 376,+ "name": "StorageApi.moveFile"}},{- "id": 489,+ "id": 497,"name": "updateFile","kind": 2048,"kindString": "Method",@@ -8887,7 +8913,7 @@},"signatures": [{- "id": 490,+ "id": 498,"name": "updateFile","kind": 4096,"kindString": "Call signature",@@ -8895,11 +8921,11 @@"isExported": true},"comment": {- "shortText": "Update a file"+ "shortText": "Replaces an existing file at the specified path with a new one."},"parameters": [{- "id": 491,+ "id": 499,"name": "path","kind": 32768,"kindString": "Parameter",@@ -8907,7 +8933,7 @@"isExported": true},"comment": {- "text": "the relative file path"+ "text": "The relative file path including the bucket ID. Should be of the format `bucket/folder/subfolder`. The bucket already exist before attempting to upload."},"type": {"type": "intrinsic",@@ -8915,7 +8941,7 @@}},{- "id": 492,+ "id": 500,"name": "file","kind": 32768,"kindString": "Parameter",@@ -8923,12 +8949,30 @@"isExported": true},"comment": {- "text": "the File content\n"+ "text": "The file object to be stored in the bucket."},"type": {"type": "reference","name": "File"}+ },+ {+ "id": 501,+ "name": "fileOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "HTTP headers. For example `cacheControl`\n"+ },+ "type": {+ "type": "reference",+ "id": 301,+ "name": "FileOptions"+ }}],"type": {@@ -8937,7 +8981,7 @@{"type": "reflection","declaration": {- "id": 493,+ "id": 502,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8946,7 +8990,7 @@},"children": [{- "id": 494,+ "id": 503,"name": "data","kind": 32,"kindString": "Variable",@@ -8956,7 +9000,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 19}],@@ -8966,7 +9010,7 @@{"type": "reflection","declaration": {- "id": 495,+ "id": 504,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8975,7 +9019,7 @@},"children": [{- "id": 496,+ "id": 505,"name": "Key","kind": 32,"kindString": "Variable",@@ -8985,7 +9029,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 26}],@@ -9000,14 +9044,14 @@"title": "Variables","kind": 32,"children": [- 496+ 505]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 20}]@@ -9021,7 +9065,7 @@}},{- "id": 497,+ "id": 506,"name": "error","kind": 32,"kindString": "Variable",@@ -9031,7 +9075,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 50}],@@ -9055,15 +9099,15 @@"title": "Variables","kind": 32,"children": [- 494,- 497+ 503,+ 506]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 13}]@@ -9074,7 +9118,7 @@},"inheritedFrom": {"type": "reference",- "id": 363,+ "id": 366,"name": "StorageApi.updateFile"}}@@ -9082,18 +9126,18 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 130,+ "line": 146,"character": 18}],"inheritedFrom": {"type": "reference",- "id": 363,+ "id": 366,"name": "StorageApi.updateFile"}},{- "id": 480,+ "id": 487,"name": "uploadFile","kind": 2048,"kindString": "Method",@@ -9102,7 +9146,7 @@},"signatures": [{- "id": 481,+ "id": 488,"name": "uploadFile","kind": 4096,"kindString": "Call signature",@@ -9110,11 +9154,11 @@"isExported": true},"comment": {- "shortText": "Upload a file"+ "shortText": "Uploads a file to an existing bucket."},"parameters": [{- "id": 482,+ "id": 489,"name": "path","kind": 32768,"kindString": "Parameter",@@ -9122,7 +9166,7 @@"isExported": true},"comment": {- "text": "the relative file path"+ "text": "The relative file path including the bucket ID. Should be of the format `bucket/folder/subfolder`. The bucket already exist before attempting to upload."},"type": {"type": "intrinsic",@@ -9130,7 +9174,7 @@}},{- "id": 483,+ "id": 490,"name": "file","kind": 32768,"kindString": "Parameter",@@ -9138,12 +9182,30 @@"isExported": true},"comment": {- "text": "the File content\n"+ "text": "The File object to be stored in the bucket."},"type": {"type": "reference","name": "File"}+ },+ {+ "id": 491,+ "name": "fileOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "HTTP headers. For example `cacheControl`\n"+ },+ "type": {+ "type": "reference",+ "id": 301,+ "name": "FileOptions"+ }}],"type": {@@ -9152,7 +9214,7 @@{"type": "reflection","declaration": {- "id": 484,+ "id": 492,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9161,7 +9223,7 @@},"children": [{- "id": 485,+ "id": 493,"name": "data","kind": 32,"kindString": "Variable",@@ -9171,7 +9233,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 19}],@@ -9181,7 +9243,7 @@{"type": "reflection","declaration": {- "id": 486,+ "id": 494,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9190,7 +9252,7 @@},"children": [{- "id": 487,+ "id": 495,"name": "message","kind": 32,"kindString": "Variable",@@ -9200,7 +9262,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 30}],@@ -9215,14 +9277,14 @@"title": "Variables","kind": 32,"children": [- 487+ 495]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 20}]@@ -9236,7 +9298,7 @@}},{- "id": 488,+ "id": 496,"name": "error","kind": 32,"kindString": "Variable",@@ -9246,7 +9308,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 54}],@@ -9270,15 +9332,15 @@"title": "Variables","kind": 32,"children": [- 485,- 488+ 493,+ 496]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 13}]@@ -9289,7 +9351,7 @@},"inheritedFrom": {"type": "reference",- "id": 354,+ "id": 356,"name": "StorageApi.uploadFile"}}@@ -9297,13 +9359,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 96,+ "line": 107,"character": 18}],"inheritedFrom": {"type": "reference",- "id": 354,+ "id": 356,"name": "StorageApi.uploadFile"}}@@ -9313,34 +9375,34 @@"title": "Constructors","kind": 512,"children": [- 435+ 442]},{"title": "Properties","kind": 1024,"children": [- 443,- 442+ 450,+ 449]},{"title": "Methods","kind": 2048,"children": [- 458,- 508,- 472,- 523,- 531,+ 465,517,- 464,- 447,- 452,- 498,- 538,- 489,- 480+ 479,+ 532,+ 540,+ 526,+ 471,+ 459,+ 454,+ 547,+ 507,+ 497,+ 487]}],@@ -9354,7 +9416,7 @@"extendedTypes": [{"type": "reference",- "id": 308,+ "id": 310,"name": "StorageApi"}]@@ -9365,7 +9427,7 @@"title": "Classes","kind": 128,"children": [- 434+ 441]}],@@ -9435,7 +9497,7 @@]},{- "id": 616,+ "id": 626,"name": "\"lib/helpers\"","kind": 1,"kindString": "Module",@@ -9445,7 +9507,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts","children": [{- "id": 617,+ "id": 627,"name": "uuid","kind": 64,"kindString": "Function",@@ -9454,7 +9516,7 @@},"signatures": [{- "id": 618,+ "id": 628,"name": "uuid","kind": 4096,"kindString": "Call signature",@@ -9481,7 +9543,7 @@"title": "Functions","kind": 64,"children": [- 617+ 627]}],@@ -9494,7 +9556,7 @@]},{- "id": 307,+ "id": 309,"name": "\"lib/storage/StorageApi\"","kind": 1,"kindString": "Module",@@ -9504,7 +9566,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/StorageApi.ts","children": [{- "id": 308,+ "id": 310,"name": "StorageApi","kind": 128,"kindString": "Class",@@ -9513,7 +9575,7 @@},"children": [{- "id": 314,+ "id": 316,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -9522,7 +9584,7 @@},"signatures": [{- "id": 315,+ "id": 317,"name": "new StorageApi","kind": 16384,"kindString": "Constructor signature",@@ -9531,7 +9593,7 @@},"parameters": [{- "id": 316,+ "id": 318,"name": "url","kind": 32768,"kindString": "Parameter",@@ -9544,7 +9606,7 @@}},{- "id": 317,+ "id": 319,"name": "headers","kind": 32768,"kindString": "Parameter",@@ -9554,7 +9616,7 @@"type": {"type": "reflection","declaration": {- "id": 318,+ "id": 320,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9563,7 +9625,7 @@},"indexSignature": [{- "id": 319,+ "id": 321,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -9572,7 +9634,7 @@},"parameters": [{- "id": 320,+ "id": 322,"name": "key","kind": 32768,"kindString": "Parameter",@@ -9594,7 +9656,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 18,+ "line": 22,"character": 35}]@@ -9605,7 +9667,7 @@],"type": {"type": "reference",- "id": 308,+ "id": 310,"name": "StorageApi"}}@@ -9613,13 +9675,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 36}]},{- "id": 310,+ "id": 312,"name": "headers","kind": 1024,"kindString": "Property",@@ -9629,14 +9691,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 9}],"type": {"type": "reflection","declaration": {- "id": 311,+ "id": 313,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9645,7 +9707,7 @@},"indexSignature": [{- "id": 312,+ "id": 314,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -9654,7 +9716,7 @@},"parameters": [{- "id": 313,+ "id": 315,"name": "key","kind": 32768,"kindString": "Parameter",@@ -9676,7 +9738,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 16,+ "line": 20,"character": 10}]@@ -9684,7 +9746,7 @@}},{- "id": 309,+ "id": 311,"name": "url","kind": 1024,"kindString": "Property",@@ -9694,7 +9756,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 15,+ "line": 19,"character": 5}],@@ -9704,7 +9766,7 @@}},{- "id": 332,+ "id": 334,"name": "createBucket","kind": 2048,"kindString": "Method",@@ -9713,7 +9775,7 @@},"signatures": [{- "id": 333,+ "id": 335,"name": "createBucket","kind": 4096,"kindString": "Call signature",@@ -9721,19 +9783,19 @@"isExported": true},"comment": {- "shortText": "Create a bucket"+ "shortText": "Retrieves the details of an existing Storage bucket."},"parameters": [{- "id": 334,- "name": "name",+ "id": 336,+ "name": "id","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "the new bucket name\n"+ "text": "A unique identifier for the bucket you are creating.\n"},"type": {"type": "intrinsic",@@ -9747,7 +9809,7 @@{"type": "reflection","declaration": {- "id": 335,+ "id": 337,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9756,7 +9818,7 @@},"children": [{- "id": 336,+ "id": 338,"name": "data","kind": 32,"kindString": "Variable",@@ -9766,8 +9828,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 50+ "line": 58,+ "character": 48}],"type": {@@ -9786,7 +9848,7 @@}},{- "id": 337,+ "id": 339,"name": "error","kind": 32,"kindString": "Variable",@@ -9796,8 +9858,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 72+ "line": 58,+ "character": 70}],"type": {@@ -9820,16 +9882,16 @@"title": "Variables","kind": 32,"children": [- 336,- 337+ 338,+ 339]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,- "character": 44+ "line": 58,+ "character": 42}]}@@ -9842,13 +9904,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 52,+ "line": 58,"character": 20}]},{- "id": 382,+ "id": 386,"name": "createSignedUrl","kind": 2048,"kindString": "Method",@@ -9857,7 +9919,7 @@},"signatures": [{- "id": 383,+ "id": 387,"name": "createSignedUrl","kind": 4096,"kindString": "Call signature",@@ -9865,11 +9927,11 @@"isExported": true},"comment": {- "shortText": "Create signed url to download file"+ "shortText": "Create signed url to download file."},"parameters": [{- "id": 384,+ "id": 388,"name": "path","kind": 32768,"kindString": "Parameter",@@ -9877,7 +9939,7 @@"isExported": true},"comment": {- "text": "the relative file path to be downloaded"+ "text": "The file path to be downloaded, including the current file name. For example `folder/image.png`."},"type": {"type": "intrinsic",@@ -9885,7 +9947,7 @@}},{- "id": 385,+ "id": 389,"name": "expiresIn","kind": 32768,"kindString": "Parameter",@@ -9893,7 +9955,7 @@"isExported": true},"comment": {- "text": "seconds until the signed URL expires\n"+ "text": "The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.\n"},"type": {"type": "intrinsic",@@ -9907,7 +9969,7 @@{"type": "reflection","declaration": {- "id": 386,+ "id": 390,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9916,7 +9978,7 @@},"children": [{- "id": 387,+ "id": 391,"name": "data","kind": 32,"kindString": "Variable",@@ -9926,7 +9988,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 19}],@@ -9936,7 +9998,7 @@{"type": "reflection","declaration": {- "id": 388,+ "id": 392,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9945,7 +10007,7 @@},"children": [{- "id": 389,+ "id": 393,"name": "signedURL","kind": 32,"kindString": "Variable",@@ -9955,7 +10017,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 32}],@@ -9970,14 +10032,14 @@"title": "Variables","kind": 32,"children": [- 389+ 393]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 20}]@@ -9991,7 +10053,7 @@}},{- "id": 390,+ "id": 394,"name": "error","kind": 32,"kindString": "Variable",@@ -10001,7 +10063,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 56}],@@ -10025,15 +10087,15 @@"title": "Variables","kind": 32,"children": [- 387,- 390+ 391,+ 394]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 190,+ "line": 211,"character": 13}]@@ -10047,13 +10109,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 187,+ "line": 208,"character": 23}]},{- "id": 346,+ "id": 348,"name": "deleteBucket","kind": 2048,"kindString": "Method",@@ -10062,7 +10124,7 @@},"signatures": [{- "id": 347,+ "id": 349,"name": "deleteBucket","kind": 4096,"kindString": "Call signature",@@ -10070,11 +10132,11 @@"isExported": true},"comment": {- "shortText": "Delete a bucket"+ "shortText": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first `empty()` the bucket."},"parameters": [{- "id": 348,+ "id": 350,"name": "id","kind": 32768,"kindString": "Parameter",@@ -10082,7 +10144,7 @@"isExported": true},"comment": {- "text": "the bucket id to be deleted\n"+ "text": "The unique identifier of the bucket you would like to delete.\n"},"type": {"type": "intrinsic",@@ -10096,7 +10158,7 @@{"type": "reflection","declaration": {- "id": 349,+ "id": 351,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10105,7 +10167,7 @@},"children": [{- "id": 350,+ "id": 352,"name": "data","kind": 32,"kindString": "Variable",@@ -10115,7 +10177,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 19}],@@ -10125,7 +10187,7 @@{"type": "reflection","declaration": {- "id": 351,+ "id": 353,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10134,7 +10196,7 @@},"children": [{- "id": 352,+ "id": 354,"name": "message","kind": 32,"kindString": "Variable",@@ -10144,7 +10206,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 30}],@@ -10159,14 +10221,14 @@"title": "Variables","kind": 32,"children": [- 352+ 354]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 20}]@@ -10180,7 +10242,7 @@}},{- "id": 353,+ "id": 355,"name": "error","kind": 32,"kindString": "Variable",@@ -10190,7 +10252,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 54}],@@ -10214,15 +10276,15 @@"title": "Variables","kind": 32,"children": [- 350,- 353+ 352,+ 355]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 82,+ "line": 91,"character": 13}]@@ -10236,13 +10298,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 80,+ "line": 89,"character": 20}]},{- "id": 397,+ "id": 401,"name": "deleteFile","kind": 2048,"kindString": "Method",@@ -10251,7 +10313,7 @@},"signatures": [{- "id": 398,+ "id": 402,"name": "deleteFile","kind": 4096,"kindString": "Call signature",@@ -10259,11 +10321,11 @@"isExported": true},"comment": {- "shortText": "Delete a file"+ "shortText": "Deletes a file."},"parameters": [{- "id": 399,+ "id": 403,"name": "path","kind": 32768,"kindString": "Parameter",@@ -10271,7 +10333,7 @@"isExported": true},"comment": {- "text": "the relative file path to be deleted\n"+ "text": "The file path to be deleted, including the path and file name. For example `folder/image.png`.\n"},"type": {"type": "intrinsic",@@ -10285,7 +10347,7 @@{"type": "reflection","declaration": {- "id": 400,+ "id": 404,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10294,7 +10356,7 @@},"children": [{- "id": 401,+ "id": 405,"name": "data","kind": 32,"kindString": "Variable",@@ -10304,7 +10366,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 19}],@@ -10314,7 +10376,7 @@{"type": "reflection","declaration": {- "id": 402,+ "id": 406,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10323,7 +10385,7 @@},"children": [{- "id": 403,+ "id": 407,"name": "message","kind": 32,"kindString": "Variable",@@ -10333,7 +10395,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 30}],@@ -10348,14 +10410,14 @@"title": "Variables","kind": 32,"children": [- 403+ 407]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 20}]@@ -10369,7 +10431,7 @@}},{- "id": 404,+ "id": 408,"name": "error","kind": 32,"kindString": "Variable",@@ -10379,7 +10441,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 54}],@@ -10403,15 +10465,15 @@"title": "Variables","kind": 32,"children": [- 401,- 404+ 405,+ 408]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 226,+ "line": 251,"character": 13}]@@ -10425,13 +10487,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 224,+ "line": 249,"character": 18}]},{- "id": 405,+ "id": 409,"name": "deleteFiles","kind": 2048,"kindString": "Method",@@ -10440,7 +10502,7 @@},"signatures": [{- "id": 406,+ "id": 410,"name": "deleteFiles","kind": 4096,"kindString": "Call signature",@@ -10448,25 +10510,27 @@"isExported": true},"comment": {- "shortText": "Delete multiple files on the same bucket"+ "shortText": "Deletes multiple files within the same bucket"},"parameters": [{- "id": 407,- "name": "bucketName",+ "id": 411,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the files."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 408,+ "id": 412,"name": "paths","kind": 32768,"kindString": "Parameter",@@ -10474,7 +10538,7 @@"isExported": true},"comment": {- "text": "the relative file paths to be deleted excluded the bucket name\n"+ "text": "An array of files to be deletes, including the path and file name. For example [`folder/image.png`].\n"},"type": {"type": "array",@@ -10491,7 +10555,7 @@{"type": "reflection","declaration": {- "id": 409,+ "id": 413,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10500,7 +10564,7 @@},"children": [{- "id": 410,+ "id": 414,"name": "data","kind": 32,"kindString": "Variable",@@ -10510,7 +10574,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 19}],@@ -10533,7 +10597,7 @@}},{- "id": 411,+ "id": 415,"name": "error","kind": 32,"kindString": "Variable",@@ -10543,7 +10607,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 47}],@@ -10567,15 +10631,15 @@"title": "Variables","kind": 32,"children": [- 410,- 411+ 414,+ 415]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 243,+ "line": 269,"character": 13}]@@ -10589,13 +10653,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 240,+ "line": 266,"character": 19}]},{- "id": 391,+ "id": 395,"name": "downloadFile","kind": 2048,"kindString": "Method",@@ -10604,7 +10668,7 @@},"signatures": [{- "id": 392,+ "id": 396,"name": "downloadFile","kind": 4096,"kindString": "Call signature",@@ -10612,11 +10676,11 @@"isExported": true},"comment": {- "shortText": "Download a file"+ "shortText": "Downloads a file."},"parameters": [{- "id": 393,+ "id": 397,"name": "path","kind": 32768,"kindString": "Parameter",@@ -10624,7 +10688,7 @@"isExported": true},"comment": {- "text": "the relative file path to be downloaded\n"+ "text": "The file path to be downloaded, including the path and file name. For example `folder/image.png`.\n"},"type": {"type": "intrinsic",@@ -10638,7 +10702,7 @@{"type": "reflection","declaration": {- "id": 394,+ "id": 398,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10647,7 +10711,7 @@},"children": [{- "id": 395,+ "id": 399,"name": "data","kind": 32,"kindString": "Variable",@@ -10657,7 +10721,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 50}],@@ -10676,7 +10740,7 @@}},{- "id": 396,+ "id": 400,"name": "error","kind": 32,"kindString": "Variable",@@ -10686,7 +10750,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 70}],@@ -10710,15 +10774,15 @@"title": "Variables","kind": 32,"children": [- 395,- 396+ 399,+ 400]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 44}]@@ -10732,13 +10796,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 207,+ "line": 231,"character": 20}]},{- "id": 338,+ "id": 340,"name": "emptyBucket","kind": 2048,"kindString": "Method",@@ -10747,7 +10811,7 @@},"signatures": [{- "id": 339,+ "id": 341,"name": "emptyBucket","kind": 4096,"kindString": "Call signature",@@ -10755,11 +10819,11 @@"isExported": true},"comment": {- "shortText": "Empty a bucket"+ "shortText": "Removes all objects inside a single bucket."},"parameters": [{- "id": 340,+ "id": 342,"name": "id","kind": 32768,"kindString": "Parameter",@@ -10767,7 +10831,7 @@"isExported": true},"comment": {- "text": "the bucket id to empty\n"+ "text": "The unique identifier of the bucket you would like to empty.\n"},"type": {"type": "intrinsic",@@ -10781,7 +10845,7 @@{"type": "reflection","declaration": {- "id": 341,+ "id": 343,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10790,7 +10854,7 @@},"children": [{- "id": 342,+ "id": 344,"name": "data","kind": 32,"kindString": "Variable",@@ -10800,7 +10864,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 19}],@@ -10810,7 +10874,7 @@{"type": "reflection","declaration": {- "id": 343,+ "id": 345,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10819,7 +10883,7 @@},"children": [{- "id": 344,+ "id": 346,"name": "message","kind": 32,"kindString": "Variable",@@ -10829,7 +10893,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 30}],@@ -10844,14 +10908,14 @@"title": "Variables","kind": 32,"children": [- 344+ 346]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 20}]@@ -10865,7 +10929,7 @@}},{- "id": 345,+ "id": 347,"name": "error","kind": 32,"kindString": "Variable",@@ -10875,7 +10939,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 54}],@@ -10899,15 +10963,15 @@"title": "Variables","kind": 32,"children": [- 342,- 345+ 344,+ 347]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 67,+ "line": 74,"character": 13}]@@ -10921,14 +10985,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 65,+ "line": 72,"character": 19}]},{- "id": 321,- "name": "getAllBuckets",+ "id": 328,+ "name": "getBucket","kind": 2048,"kindString": "Method","flags": {@@ -10936,23 +11000,41 @@},"signatures": [{- "id": 322,- "name": "getAllBuckets",+ "id": 329,+ "name": "getBucket","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Gets all buckets details"+ "shortText": "Retrieves the details of an existing Storage bucket."},+ "parameters": [+ {+ "id": 330,+ "name": "id",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The unique identifier of the bucket you would like to retrieve.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],"type": {"type": "reference","typeArguments": [{"type": "reflection","declaration": {- "id": 323,+ "id": 331,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10961,7 +11043,7 @@},"children": [{- "id": 324,+ "id": 332,"name": "data","kind": 32,"kindString": "Variable",@@ -10971,20 +11053,17 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 39+ "line": 44,+ "character": 45}],"type": {"type": "union","types": [{- "type": "array",- "elementType": {- "type": "reference",- "id": 281,- "name": "Bucket"- }+ "type": "reference",+ "id": 281,+ "name": "Bucket"},{"type": "intrinsic",@@ -10994,7 +11073,7 @@}},{- "id": 325,+ "id": 333,"name": "error","kind": 32,"kindString": "Variable",@@ -11004,8 +11083,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 63+ "line": 44,+ "character": 67}],"type": {@@ -11028,16 +11107,16 @@"title": "Variables","kind": 32,"children": [- 324,- 325+ 332,+ 333]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 33+ "line": 44,+ "character": 39}]}@@ -11050,14 +11129,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 26,- "character": 21+ "line": 44,+ "character": 17}]},{- "id": 326,- "name": "getBucket",+ "id": 323,+ "name": "listBuckets","kind": 2048,"kindString": "Method","flags": {@@ -11065,41 +11144,23 @@},"signatures": [{- "id": 327,- "name": "getBucket",+ "id": 324,+ "name": "listBuckets","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Get details of a bucket"+ "shortText": "Retrieves the details of all Storage buckets within an existing product."},- "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,+ "id": 325,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11108,7 +11169,7 @@},"children": [{- "id": 330,+ "id": 326,"name": "data","kind": 32,"kindString": "Variable",@@ -11118,17 +11179,20 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 45+ "line": 30,+ "character": 37}],"type": {"type": "union","types": [{- "type": "reference",- "id": 281,- "name": "Bucket"+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 281,+ "name": "Bucket"+ }},{"type": "intrinsic",@@ -11138,7 +11202,7 @@}},{- "id": 331,+ "id": 327,"name": "error","kind": 32,"kindString": "Variable",@@ -11148,8 +11212,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 67+ "line": 30,+ "character": 61}],"type": {@@ -11172,16 +11236,16 @@"title": "Variables","kind": 32,"children": [- 330,- 331+ 326,+ 327]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 39+ "line": 30,+ "character": 31}]}@@ -11194,14 +11258,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 39,- "character": 17+ "line": 30,+ "character": 19}]},{- "id": 372,- "name": "renameFile",+ "id": 416,+ "name": "listFiles","kind": 2048,"kindString": "Method","flags": {@@ -11209,61 +11273,75 @@},"signatures": [{- "id": 373,- "name": "renameFile",+ "id": 417,+ "name": "listFiles","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Rename a file"+ "shortText": "Lists all the files within a bucket."},"parameters": [{- "id": 374,- "name": "bucketName",+ "id": 418,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the files."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 375,- "name": "fromPath",+ "id": 419,+ "name": "path","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"comment": {- "text": "original relative file path"+ "text": "The folder path."},"type": {- "type": "intrinsic",- "name": "string"+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]}},{- "id": 376,- "name": "toPath",+ "id": 420,+ "name": "options","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"comment": {- "text": "the new relative file path\n"+ "text": "Search options, including `limit`, `offset`, and `sortBy`.\n"},"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 303,+ "name": "SearchOptions"}}],@@ -11273,7 +11351,7 @@{"type": "reflection","declaration": {- "id": 377,+ "id": 421,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11282,7 +11360,7 @@},"children": [{- "id": 378,+ "id": 422,"name": "data","kind": 32,"kindString": "Variable",@@ -11291,62 +11369,20 @@},"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- }- ]+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 322,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "array",+ "elementType": {+ "type": "reference",+ "id": 287,+ "name": "FileObject"}},{@@ -11357,7 +11393,7 @@}},{- "id": 381,+ "id": 423,"name": "error","kind": 32,"kindString": "Variable",@@ -11367,8 +11403,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,- "character": 54+ "line": 322,+ "character": 47}],"type": {@@ -11391,15 +11427,15 @@"title": "Variables","kind": 32,"children": [- 378,- 381+ 422,+ 423]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 169,+ "line": 322,"character": 13}]@@ -11413,14 +11449,14 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 165,- "character": 18+ "line": 318,+ "character": 17}]},{- "id": 412,- "name": "search",+ "id": 376,+ "name": "moveFile","kind": 2048,"kindString": "Method","flags": {@@ -11428,73 +11464,63 @@},"signatures": [{- "id": 413,- "name": "search",+ "id": 377,+ "name": "moveFile","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Use to fetch folder contents"+ "shortText": "Moves an existing file, optionally renaming it at the same time."},"parameters": [{- "id": 414,- "name": "bucketName",+ "id": 378,+ "name": "bucketId","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {},+ "comment": {+ "text": "The bucket which contains the file."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 415,- "name": "path",+ "id": 379,+ "name": "fromPath","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"comment": {- "text": "the relative folder path excluded the bucket name"+ "text": "The original file path, including the current file name. For example `folder/image.png`."},"type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]+ "type": "intrinsic",+ "name": "string"}},{- "id": 416,- "name": "options",+ "id": 380,+ "name": "toPath","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"comment": {- "text": "\n"+ "text": "The new file path, including the new file name. For example `folder/image-copy.png`.\n"},"type": {- "type": "reference",- "id": 301,- "name": "SearchOptions"+ "type": "intrinsic",+ "name": "string"}}],@@ -11504,7 +11530,7 @@{"type": "reflection","declaration": {- "id": 417,+ "id": 381,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11513,7 +11539,7 @@},"children": [{- "id": 418,+ "id": 382,"name": "data","kind": 32,"kindString": "Variable",@@ -11523,7 +11549,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,+ "line": 189,"character": 19}],@@ -11531,11 +11557,53 @@"type": "union","types": [{- "type": "array",- "elementType": {- "type": "reference",- "id": 287,- "name": "FileObject"+ "type": "reflection",+ "declaration": {+ "id": 383,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 384,+ "name": "message",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 189,+ "character": 30+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 384+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 189,+ "character": 20+ }+ ]}},{@@ -11546,7 +11614,7 @@}},{- "id": 419,+ "id": 385,"name": "error","kind": 32,"kindString": "Variable",@@ -11556,8 +11624,8 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,- "character": 47+ "line": 189,+ "character": 54}],"type": {@@ -11580,15 +11648,15 @@"title": "Variables","kind": 32,"children": [- 418,- 419+ 382,+ 385]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 296,+ "line": 189,"character": 13}]@@ -11602,13 +11670,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 292,- "character": 14+ "line": 185,+ "character": 16}]},{- "id": 363,+ "id": 366,"name": "updateFile","kind": 2048,"kindString": "Method",@@ -11617,7 +11685,7 @@},"signatures": [{- "id": 364,+ "id": 367,"name": "updateFile","kind": 4096,"kindString": "Call signature",@@ -11625,11 +11693,11 @@"isExported": true},"comment": {- "shortText": "Update a file"+ "shortText": "Replaces an existing file at the specified path with a new one."},"parameters": [{- "id": 365,+ "id": 368,"name": "path","kind": 32768,"kindString": "Parameter",@@ -11637,7 +11705,7 @@"isExported": true},"comment": {- "text": "the relative file path"+ "text": "The relative file path including the bucket ID. Should be of the format `bucket/folder/subfolder`. The bucket already exist before attempting to upload."},"type": {"type": "intrinsic",@@ -11645,7 +11713,7 @@}},{- "id": 366,+ "id": 369,"name": "file","kind": 32768,"kindString": "Parameter",@@ -11653,12 +11721,30 @@"isExported": true},"comment": {- "text": "the File content\n"+ "text": "The file object to be stored in the bucket."},"type": {"type": "reference","name": "File"}+ },+ {+ "id": 370,+ "name": "fileOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "HTTP headers. For example `cacheControl`\n"+ },+ "type": {+ "type": "reference",+ "id": 301,+ "name": "FileOptions"+ }}],"type": {@@ -11667,7 +11753,7 @@{"type": "reflection","declaration": {- "id": 367,+ "id": 371,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11676,7 +11762,7 @@},"children": [{- "id": 368,+ "id": 372,"name": "data","kind": 32,"kindString": "Variable",@@ -11686,7 +11772,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 19}],@@ -11696,7 +11782,7 @@{"type": "reflection","declaration": {- "id": 369,+ "id": 373,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11705,7 +11791,7 @@},"children": [{- "id": 370,+ "id": 374,"name": "Key","kind": 32,"kindString": "Variable",@@ -11715,7 +11801,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 26}],@@ -11730,14 +11816,14 @@"title": "Variables","kind": 32,"children": [- 370+ 374]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 20}]@@ -11751,7 +11837,7 @@}},{- "id": 371,+ "id": 375,"name": "error","kind": 32,"kindString": "Variable",@@ -11761,7 +11847,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 50}],@@ -11785,15 +11871,15 @@"title": "Variables","kind": 32,"children": [- 368,- 371+ 372,+ 375]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 133,+ "line": 150,"character": 13}]@@ -11807,13 +11893,13 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 130,+ "line": 146,"character": 18}]},{- "id": 354,+ "id": 356,"name": "uploadFile","kind": 2048,"kindString": "Method",@@ -11822,7 +11908,7 @@},"signatures": [{- "id": 355,+ "id": 357,"name": "uploadFile","kind": 4096,"kindString": "Call signature",@@ -11830,11 +11916,11 @@"isExported": true},"comment": {- "shortText": "Upload a file"+ "shortText": "Uploads a file to an existing bucket."},"parameters": [{- "id": 356,+ "id": 358,"name": "path","kind": 32768,"kindString": "Parameter",@@ -11842,7 +11928,7 @@"isExported": true},"comment": {- "text": "the relative file path"+ "text": "The relative file path including the bucket ID. Should be of the format `bucket/folder/subfolder`. The bucket already exist before attempting to upload."},"type": {"type": "intrinsic",@@ -11850,7 +11936,7 @@}},{- "id": 357,+ "id": 359,"name": "file","kind": 32768,"kindString": "Parameter",@@ -11858,12 +11944,30 @@"isExported": true},"comment": {- "text": "the File content\n"+ "text": "The File object to be stored in the bucket."},"type": {"type": "reference","name": "File"}+ },+ {+ "id": 360,+ "name": "fileOptions",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "HTTP headers. For example `cacheControl`\n"+ },+ "type": {+ "type": "reference",+ "id": 301,+ "name": "FileOptions"+ }}],"type": {@@ -11872,7 +11976,7 @@{"type": "reflection","declaration": {- "id": 358,+ "id": 361,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11881,7 +11985,7 @@},"children": [{- "id": 359,+ "id": 362,"name": "data","kind": 32,"kindString": "Variable",@@ -11891,7 +11995,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 19}],@@ -11901,7 +12005,7 @@{"type": "reflection","declaration": {- "id": 360,+ "id": 363,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11910,7 +12014,7 @@},"children": [{- "id": 361,+ "id": 364,"name": "message","kind": 32,"kindString": "Variable",@@ -11920,7 +12024,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 30}],@@ -11935,14 +12039,14 @@"title": "Variables","kind": 32,"children": [- 361+ 364]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 20}]@@ -11956,7 +12060,7 @@}},{- "id": 362,+ "id": 365,"name": "error","kind": 32,"kindString": "Variable",@@ -11966,7 +12070,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 54}],@@ -11990,15 +12094,15 @@"title": "Variables","kind": 32,"children": [- 359,- 362+ 362,+ 365]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 99,+ "line": 111,"character": 13}]@@ -12012,7 +12116,7 @@"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 96,+ "line": 107,"character": 18}]@@ -12023,54 +12127,104 @@"title": "Constructors","kind": 512,"children": [- 314+ 316]},{"title": "Properties","kind": 1024,"children": [- 310,- 309+ 312,+ 311]},{"title": "Methods","kind": 2048,"children": [- 332,- 382,- 346,- 397,- 405,- 391,- 338,- 321,- 326,- 372,- 412,- 363,- 354+ 334,+ 386,+ 348,+ 401,+ 409,+ 395,+ 340,+ 328,+ 323,+ 416,+ 376,+ 366,+ 356]}],"sources": [{"fileName": "src/lib/storage/StorageApi.ts",- "line": 14,+ "line": 18,"character": 23}],"extendedBy": [{"type": "reference",- "id": 434,+ "id": 441,"name": "SupabaseStorageClient"}]},{- "id": 420,+ "id": 430,+ "name": "DEFAULT_FILE_OPTIONS",+ "kind": 2097152,+ "kindString": "Object literal",+ "flags": {+ "isConst": true+ },+ "children": [+ {+ "id": 431,+ "name": "cacheControl",+ "kind": 32,+ "kindString": "Variable",+ "flags": {},+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 15,+ "character": 14+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ },+ "defaultValue": "\"3600\""+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 431+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/storage/StorageApi.ts",+ "line": 14,+ "character": 26+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "object"+ }+ },+ {+ "id": 424,"name": "DEFAULT_SEARCH_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -12079,7 +12233,7 @@},"children": [{- "id": 421,+ "id": 425,"name": "limit","kind": 32,"kindString": "Variable",@@ -12098,7 +12252,7 @@"defaultValue": "0"},{- "id": 422,+ "id": 426,"name": "offset","kind": 32,"kindString": "Variable",@@ -12117,14 +12271,14 @@"defaultValue": "0"},{- "id": 423,+ "id": 427,"name": "sortBy","kind": 2097152,"kindString": "Object literal","flags": {},"children": [{- "id": 424,+ "id": 428,"name": "column","kind": 32,"kindString": "Variable",@@ -12143,7 +12297,7 @@"defaultValue": "\"name\""},{- "id": 425,+ "id": 429,"name": "order","kind": 32,"kindString": "Variable",@@ -12167,8 +12321,8 @@"title": "Variables","kind": 32,"children": [- 424,- 425+ 428,+ 429]}],@@ -12190,15 +12344,15 @@"title": "Variables","kind": 32,"children": [- 421,- 422+ 425,+ 426]},{"title": "Object literals","kind": 2097152,"children": [- 423+ 427]}],@@ -12220,14 +12374,15 @@"title": "Classes","kind": 128,"children": [- 308+ 310]},{"title": "Object literals","kind": 2097152,"children": [- 420+ 430,+ 424]}],@@ -13123,7 +13278,7 @@]},{- "id": 426,+ "id": 432,"name": "\"lib/storage/index\"","kind": 1,"kindString": "Module",@@ -13133,7 +13288,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/storage/index.ts","children": [{- "id": 428,+ "id": 434,"name": "Bucket","kind": 16777216,"kindString": "Reference",@@ -13143,7 +13298,7 @@"target": 281},{- "id": 429,+ "id": 435,"name": "FileObject","kind": 16777216,"kindString": "Reference",@@ -13153,27 +13308,37 @@"target": 287},{- "id": 432,+ "id": 437,+ "name": "FileOptions",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {+ "isExported": true+ },+ "target": 301+ },+ {+ "id": 439,"name": "Metadata","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 305+ "target": 307},{- "id": 431,+ "id": 438,"name": "SearchOptions","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 301+ "target": 303},{- "id": 430,+ "id": 436,"name": "SortBy","kind": 16777216,"kindString": "Reference",@@ -13183,14 +13348,14 @@"target": 298},{- "id": 427,+ "id": 433,"name": "StorageApi","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 308+ "target": 310}],"groups": [@@ -13198,12 +13363,13 @@"title": "References","kind": 16777216,"children": [- 428,- 429,- 432,- 431,- 430,- 427+ 434,+ 435,+ 437,+ 439,+ 438,+ 436,+ 433]}],@@ -13588,7 +13754,54 @@]},{- "id": 305,+ "id": 301,+ "name": "FileOptions",+ "kind": 256,+ "kindString": "Interface",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 302,+ "name": "cacheControl",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "src/lib/storage/types.ts",+ "line": 27,+ "character": 14+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 302+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/storage/types.ts",+ "line": 26,+ "character": 28+ }+ ]+ },+ {+ "id": 307,"name": "Metadata","kind": 256,"kindString": "Interface",@@ -13597,7 +13810,7 @@},"children": [{- "id": 306,+ "id": 308,"name": "name","kind": 1024,"kindString": "Property",@@ -13607,7 +13820,7 @@"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 34,+ "line": 43,"character": 6}],@@ -13622,20 +13835,20 @@"title": "Properties","kind": 1024,"children": [- 306+ 308]}],"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 33,+ "line": 42,"character": 25}]},{- "id": 301,+ "id": 303,"name": "SearchOptions","kind": 256,"kindString": "Interface",@@ -13644,7 +13857,7 @@},"children": [{- "id": 302,+ "id": 304,"name": "limit","kind": 1024,"kindString": "Property",@@ -13652,10 +13865,13 @@"isExported": true,"isOptional": true},+ "comment": {+ "shortText": "The number of files you want to be returned."+ },"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 27,+ "line": 32,"character": 7}],@@ -13674,7 +13890,7 @@}},{- "id": 303,+ "id": 305,"name": "offset","kind": 1024,"kindString": "Property",@@ -13682,10 +13898,13 @@"isExported": true,"isOptional": true},+ "comment": {+ "shortText": "The starting position."+ },"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 28,+ "line": 35,"character": 8}],@@ -13704,7 +13923,7 @@}},{- "id": 304,+ "id": 306,"name": "sortBy","kind": 1024,"kindString": "Property",@@ -13712,10 +13931,13 @@"isExported": true,"isOptional": true},+ "comment": {+ "shortText": "The column to sort by. Can be any column inside a FileObject."+ },"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 29,+ "line": 38,"character": 8}],@@ -13731,16 +13953,16 @@"title": "Properties","kind": 1024,"children": [- 302,- 303,- 304+ 304,+ 305,+ 306]}],"sources": [{"fileName": "src/lib/storage/types.ts",- "line": 26,+ "line": 30,"character": 30}]@@ -13841,8 +14063,9 @@"children": [281,287,- 305,301,+ 307,+ 303,298]}@@ -14419,18 +14642,18 @@"title": "Modules","kind": 1,"children": [- 546,- 610,+ 555,+ 620,26,142,119,- 433,+ 440,1,- 616,- 307,+ 626,+ 309,229,277,- 426,+ 432,280,4]diff --git a/web/spec/supabase.yml b/web/spec/supabase.ymlindex b93da719740..28c516ca628 100644--- a/web/spec/supabase.yml+++ b/web/spec/supabase.yml@@ -55,17 +55,18 @@ info:- name: 'Storage'items:- storage.uploadFile()+ - storage.createSignedUrl()- storage.downloadFile()+ - storage.listFiles()- storage.updateFile()- - storage.renameFile()+ - storage.moveFile()- storage.deleteFile()- - storage.search()+ - storage.deleteFiles()- storage.createBucket()- storage.getBucket()- storage.deleteBucket()- storage.emptyBucket()- - storage.getAllBuckets()- - storage.createSignedUrl()+ - storage.listBuckets()- name: 'Modifiers'items:- Using Modifiers@@ -799,53 +800,176 @@ pages:const subscriptions = supabase.getSubscriptions()```- storage.getAllBuckets():- title: 'storage.getAllBuckets()'- $ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.getAllBuckets'+ storage.listBuckets():+ title: 'storage.listBuckets()'+ $ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.listBuckets'+ examples:+ - name: List buckets+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .listBuckets()+ ```storage.getBucket():title: 'storage.getBucket()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.getBucket'+ examples:+ - name: Get bucket+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .getBucket('avatars')+ ```storage.createBucket():title: 'storage.createBucket()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.createBucket'+ examples:+ - name: Create bucket+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .createBucket('avatars')+ ```storage.emptyBucket():title: 'storage.emptyBucket()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.emptyBucket'+ examples:+ - name: Empty bucket+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .emptyBucket('avatars')+ ```storage.deleteBucket():title: 'storage.deleteBucket()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.deleteBucket'+ examples:+ - name: Delete bucket+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .deleteBucket('avatars')+ ```storage.uploadFile():title: 'storage.uploadFile()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.uploadFile'+ examples:+ - name: Upload file+ isSpotlight: true+ js: |+ ```js+ const avatarFile = event.target.files[0]+ const { data, error } = await supabase+ .storage+ .uploadFile('avatars/public/avatar1.png', avatarFile)+ ```storage.updateFile():title: 'storage.updateFile()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.updateFile'+ examples:+ - name: Update file+ isSpotlight: true+ js: |+ ```js+ const avatarFile = event.target.files[0]+ const { data, error } = await supabase+ .storage+ .updateFile('avatars/public/avatar1.png', avatarFile)+ ```- storage.renameFile():- title: 'storage.renameFile()'- $ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.renameFile'+ storage.moveFile():+ title: 'storage.moveFile()'+ $ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.moveFile'+ examples:+ - name: Move file+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .moveFile('avatars', '/avatar1.png', '/avatar2.png')+ ```storage.createSignedUrl():title: 'storage.createSignedUrl()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.createSignedUrl'+ examples:+ - name: Update file+ isSpotlight: true+ js: |+ ```js+ const { signedUrl, data, error } = await supabase+ .storage+ .createSignedUrl('avatars/avatar1.png', 60)+ ```storage.downloadFile():title: 'storage.downloadFile()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.downloadFile'+ examples:+ - name: Download file+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .downloadFile('avatars/avatar1.png', 60)+ ```storage.deleteFile():title: 'storage.deleteFile()'$ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.deleteFile'+ examples:+ - name: Delete file+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .deleteFile('avatars/avatar1.png')+ ```- storage.search():+ storage.deleteFiles():title: 'storage.deleteFiles()'- $ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.search'+ $ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.deleteFiles'+ examples:+ - name: Delete files+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .deleteFiles('avatars', ['public/avatar1.png', 'public/avatar2.png'])+ ```++ storage.listFiles():+ title: 'storage.listFiles()'+ $ref: '@supabase/supabase-js."lib/storage/StorageApi".StorageApi.listFiles'+ examples:+ - name: List files in a bucket+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .storage+ .listFiles('avatars')+ ```Using Modifiers:description: |