Skip to content

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

update storage docs

Inian7c37f037b8f2
diff --git a/apps/reference/_supabase_js/generated/storage-createbucket.mdx b/apps/reference/_supabase_js/generated/storage-createbucket.mdx
index b0924750fcb..abc4f902042 100644
--- a/apps/reference/_supabase_js/generated/storage-createbucket.mdx
+++ b/apps/reference/_supabase_js/generated/storage-createbucket.mdx
@@ -75,7 +75,7 @@ No description provided.
</h4>
<div class="method-list-item-description">
-No description provided.
+The visibility of the bucket. By default, buckets are not public.
</div>
diff --git a/apps/reference/_supabase_js/generated/storage-from-list.mdx b/apps/reference/_supabase_js/generated/storage-from-list.mdx
index 25570bc48ba..f76f98a331b 100644
--- a/apps/reference/_supabase_js/generated/storage-from-list.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-list.mdx
@@ -150,18 +150,39 @@ The column to sort by. Can be any column inside a FileObject.
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
- parameters
+ FetchParameters
+ </span>
+ <span className="method-list-item-label-badge required">
+ required
+ </span>
+ <span className="method-list-item-validation">
+ <code>object</code>
+ </span>
+ </h4>
+ <div class="method-list-item-description">
+
+No description provided.
+
+ </div>
+
+<ul className="method-list-group">
+ <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>
+
+<li className="method-list-item">
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ signal
</span>
<span className="method-list-item-label-badge false">
optional
</span>
<span className="method-list-item-validation">
- <code>FetchParameters</code>
+ <code>AbortSignal</code>
</span>
</h4>
<div class="method-list-item-description">
-Fetch parameters, currently only supports `signal`, which is an AbortController's signal
+Pass in an AbortController's signal to cancel the request.
</div>
@@ -169,6 +190,10 @@ Fetch parameters, currently only supports `signal`, which is an AbortController'
</ul>
+</li>
+
+</ul>
+
## Notes
- Policy permissions required:
diff --git a/apps/reference/_supabase_js/generated/storage-from-update.mdx b/apps/reference/_supabase_js/generated/storage-from-update.mdx
index 4af78808873..147ef2b617d 100644
--- a/apps/reference/_supabase_js/generated/storage-from-update.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-update.mdx
@@ -99,7 +99,7 @@ No description provided.
</h4>
<div class="method-list-item-description">
-No description provided.
+the `Cache-Control: max-age=<seconds>` seconds value.
</div>
@@ -119,7 +119,7 @@ No description provided.
</h4>
<div class="method-list-item-description">
-No description provided.
+the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.
</div>
@@ -139,7 +139,7 @@ No description provided.
</h4>
<div class="method-list-item-description">
-No description provided.
+whether to perform an upsert
</div>
diff --git a/apps/reference/_supabase_js/generated/storage-from-upload.mdx b/apps/reference/_supabase_js/generated/storage-from-upload.mdx
index 4cf53402e23..02c4f0185e5 100644
--- a/apps/reference/_supabase_js/generated/storage-from-upload.mdx
+++ b/apps/reference/_supabase_js/generated/storage-from-upload.mdx
@@ -99,7 +99,7 @@ No description provided.
</h4>
<div class="method-list-item-description">
-No description provided.
+the `Cache-Control: max-age=<seconds>` seconds value.
</div>
@@ -119,7 +119,7 @@ No description provided.
</h4>
<div class="method-list-item-description">
-No description provided.
+the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.
</div>
@@ -139,7 +139,7 @@ No description provided.
</h4>
<div class="method-list-item-description">
-No description provided.
+whether to perform an upsert
</div>
diff --git a/apps/reference/_supabase_js/generated/storage-updatebucket.mdx b/apps/reference/_supabase_js/generated/storage-updatebucket.mdx
index b985bde5baf..24e11fcf1bf 100644
--- a/apps/reference/_supabase_js/generated/storage-updatebucket.mdx
+++ b/apps/reference/_supabase_js/generated/storage-updatebucket.mdx
@@ -75,7 +75,7 @@ No description provided.
</h4>
<div class="method-list-item-description">
-No description provided.
+The visibility of the bucket.
</div>
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index 99fffd13c14..fdd5e82b2d5 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -98042,14 +98042,14 @@
"flags": {},
"children": [
{
- "id": 375,
+ "id": 381,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 376,
+ "id": 382,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -98063,14 +98063,14 @@
],
"signatures": [
{
- "id": 377,
+ "id": 383,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 378,
+ "id": 384,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -98081,7 +98081,7 @@
}
},
{
- "id": 379,
+ "id": 385,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -98094,50 +98094,24 @@
],
"type": {
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 387,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 380,
+ "id": 386,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -98155,7 +98129,7 @@
}
},
{
- "id": 381,
+ "id": 387,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -98169,7 +98143,7 @@
],
"signatures": [
{
- "id": 382,
+ "id": 388,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -98177,14 +98151,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 389,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 385,
+ "id": 391,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -98203,7 +98177,7 @@
"defaultValue": "..."
},
{
- "id": 384,
+ "id": 390,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -98222,7 +98196,7 @@
"defaultValue": "..."
},
{
- "id": 386,
+ "id": 392,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -98246,9 +98220,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 385,
- 384,
- 386
+ 391,
+ 390,
+ 392
]
}
]
@@ -98263,22 +98237,21 @@
"title": "Constructors",
"kind": 512,
"children": [
- 376
+ 382
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 387,
- 380
+ 386
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 381
+ 387
]
}
],
@@ -98292,20 +98265,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 245,
+ "id": 249,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 246,
+ "id": 250,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -98319,14 +98292,14 @@
],
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -98337,7 +98310,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -98345,20 +98318,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 251,
+ "id": 255,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 252,
+ "id": 256,
"name": "key",
"kind": 32768,
"flags": {},
@@ -98378,7 +98351,7 @@
"defaultValue": "{}"
},
{
- "id": 253,
+ "id": 257,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -98388,21 +98361,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 258,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 255,
+ "id": 259,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 256,
+ "id": 260,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -98415,7 +98388,7 @@
}
},
{
- "id": 257,
+ "id": 261,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -98452,7 +98425,7 @@
],
"type": {
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
},
"overwrites": {
@@ -98469,170 +98442,7 @@
}
},
{
- "id": 266,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 267,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 268,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 269,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 270,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 21,
- "name": "default.fetch"
- }
- },
- {
- "id": 262,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 263,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 264,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 265,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 17,
- "name": "default.headers"
- }
- },
- {
- "id": 261,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 16,
- "name": "default.url"
- }
- },
- {
- "id": 288,
+ "id": 292,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -98640,13 +98450,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
"signatures": [
{
- "id": 289,
+ "id": 293,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -98657,7 +98467,7 @@
},
"parameters": [
{
- "id": 290,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -98671,7 +98481,7 @@
}
},
{
- "id": 291,
+ "id": 295,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -98679,22 +98489,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 296,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 293,
+ "id": 297,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -98709,7 +98522,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 293
+ 297
]
}
]
@@ -98727,14 +98540,14 @@
{
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 295,
+ "id": 299,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -98742,7 +98555,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -98751,7 +98564,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -98765,7 +98578,7 @@
}
},
{
- "id": 296,
+ "id": 300,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -98773,7 +98586,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -98788,8 +98601,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 295,
- 296
+ 299,
+ 300
]
}
]
@@ -98798,14 +98611,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 302,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -98813,7 +98626,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -98823,7 +98636,7 @@
}
},
{
- "id": 299,
+ "id": 303,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -98831,13 +98644,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -98847,8 +98660,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 298,
- 299
+ 302,
+ 303
]
}
]
@@ -98875,7 +98688,7 @@
}
},
{
- "id": 325,
+ "id": 329,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -98883,13 +98696,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
"signatures": [
{
- "id": 326,
+ "id": 330,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -98899,7 +98712,7 @@
},
"parameters": [
{
- "id": 327,
+ "id": 331,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -98922,14 +98735,14 @@
{
"type": "reflection",
"declaration": {
- "id": 328,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 329,
+ "id": 333,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -98937,21 +98750,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 330,
+ "id": 334,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 331,
+ "id": 335,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -98959,7 +98772,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -98974,7 +98787,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 331
+ 335
]
}
]
@@ -98982,7 +98795,7 @@
}
},
{
- "id": 332,
+ "id": 336,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -98990,7 +98803,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -99005,8 +98818,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 329,
- 332
+ 333,
+ 336
]
}
]
@@ -99015,14 +98828,14 @@
{
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 338,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99030,7 +98843,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -99040,7 +98853,7 @@
}
},
{
- "id": 335,
+ "id": 339,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99048,13 +98861,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -99064,8 +98877,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 334,
- 335
+ 338,
+ 339
]
}
]
@@ -99092,7 +98905,7 @@
}
},
{
- "id": 314,
+ "id": 318,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -99100,13 +98913,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
"signatures": [
{
- "id": 315,
+ "id": 319,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -99116,7 +98929,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 320,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -99139,14 +98952,14 @@
{
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 318,
+ "id": 322,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99154,21 +98967,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 323,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 320,
+ "id": 324,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -99176,7 +98989,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -99191,7 +99004,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 320
+ 324
]
}
]
@@ -99199,7 +99012,7 @@
}
},
{
- "id": 321,
+ "id": 325,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99207,7 +99020,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -99222,8 +99035,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 318,
- 321
+ 322,
+ 325
]
}
]
@@ -99232,14 +99045,14 @@
{
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 323,
+ "id": 327,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99247,7 +99060,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -99257,7 +99070,7 @@
}
},
{
- "id": 324,
+ "id": 328,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99265,13 +99078,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -99281,8 +99094,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 323,
- 324
+ 327,
+ 328
]
}
]
@@ -99309,7 +99122,7 @@
}
},
{
- "id": 258,
+ "id": 262,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -99323,7 +99136,7 @@
],
"signatures": [
{
- "id": 259,
+ "id": 263,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -99333,7 +99146,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 264,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -99356,7 +99169,7 @@
]
},
{
- "id": 279,
+ "id": 283,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -99370,7 +99183,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 284,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -99380,7 +99193,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 285,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -99403,14 +99216,14 @@
{
"type": "reflection",
"declaration": {
- "id": 282,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 283,
+ "id": 287,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99424,12 +99237,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 284,
+ "id": 288,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99452,8 +99265,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 283,
- 284
+ 287,
+ 288
]
}
]
@@ -99462,14 +99275,14 @@
{
"type": "reflection",
"declaration": {
- "id": 285,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 286,
+ "id": 290,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99487,7 +99300,7 @@
}
},
{
- "id": 287,
+ "id": 291,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99501,7 +99314,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -99511,8 +99324,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 286,
- 287
+ 290,
+ 291
]
}
]
@@ -99539,7 +99352,7 @@
}
},
{
- "id": 271,
+ "id": 275,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -99553,7 +99366,7 @@
],
"signatures": [
{
- "id": 272,
+ "id": 276,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -99570,14 +99383,14 @@
{
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 274,
+ "id": 278,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99593,13 +99406,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
},
{
- "id": 275,
+ "id": 279,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99622,8 +99435,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 274,
- 275
+ 278,
+ 279
]
}
]
@@ -99632,14 +99445,14 @@
{
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 277,
+ "id": 281,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99657,7 +99470,7 @@
}
},
{
- "id": 278,
+ "id": 282,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99671,7 +99484,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -99681,8 +99494,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 277,
- 278
+ 281,
+ 282
]
}
]
@@ -99709,7 +99522,7 @@
}
},
{
- "id": 300,
+ "id": 304,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -99717,13 +99530,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
"signatures": [
{
- "id": 301,
+ "id": 305,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -99733,13 +99546,13 @@
},
"parameters": [
{
- "id": 302,
+ "id": 306,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -99747,7 +99560,7 @@
}
},
{
- "id": 303,
+ "id": 307,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -99755,22 +99568,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 308,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 305,
+ "id": 309,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -99785,7 +99601,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 305
+ 309
]
}
]
@@ -99802,14 +99618,14 @@
{
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 307,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99817,21 +99633,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 312,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 313,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -99839,7 +99655,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -99854,7 +99670,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 309
+ 313
]
}
]
@@ -99862,7 +99678,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99870,7 +99686,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -99885,8 +99701,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 307,
- 310
+ 311,
+ 314
]
}
]
@@ -99895,14 +99711,14 @@
{
"type": "reflection",
"declaration": {
- "id": 311,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 312,
+ "id": 316,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -99910,7 +99726,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -99920,7 +99736,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -99928,13 +99744,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -99944,8 +99760,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 312,
- 313
+ 316,
+ 317
]
}
]
@@ -99977,29 +99793,20 @@
"title": "Constructors",
"kind": 512,
"children": [
- 246
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 266,
- 262,
- 261
+ 250
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 288,
- 325,
- 314,
- 258,
- 279,
- 271,
- 300
+ 292,
+ 329,
+ 318,
+ 262,
+ 283,
+ 275,
+ 304
]
}
],
@@ -100019,14 +99826,14 @@
]
},
{
- "id": 370,
+ "id": 376,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 377,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -100040,14 +99847,14 @@
],
"signatures": [
{
- "id": 372,
+ "id": 378,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 373,
+ "id": 379,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -100060,7 +99867,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
},
"overwrites": {
@@ -100073,27 +99880,6 @@
"type": "reference",
"name": "Error.constructor"
}
- },
- {
- "id": 374,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
}
],
"groups": [
@@ -100101,14 +99887,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 371
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 374
+ 377
]
}
],
@@ -100130,25 +99909,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
}
]
},
{
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 389,
+ "id": 395,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -100162,14 +99941,14 @@
],
"signatures": [
{
- "id": 390,
+ "id": 396,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 391,
+ "id": 397,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -100180,7 +99959,7 @@
}
},
{
- "id": 392,
+ "id": 398,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -100193,50 +99972,24 @@
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 394,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 393,
+ "id": 399,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -100259,15 +100012,14 @@
"title": "Constructors",
"kind": 512,
"children": [
- 389
+ 395
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 394,
- 393
+ 399
]
}
],
@@ -100281,20 +100033,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 336,
+ "id": 340,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 340,
+ "id": 344,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -100312,7 +100064,7 @@
}
},
{
- "id": 337,
+ "id": 341,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -100330,7 +100082,7 @@
}
},
{
- "id": 338,
+ "id": 342,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -100348,7 +100100,7 @@
}
},
{
- "id": 339,
+ "id": 343,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -100366,7 +100118,7 @@
}
},
{
- "id": 342,
+ "id": 346,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -100384,7 +100136,7 @@
}
},
{
- "id": 341,
+ "id": 345,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -100407,12 +100159,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 340,
- 337,
- 338,
- 339,
+ 344,
+ 341,
342,
- 341
+ 343,
+ 346,
+ 345
]
}
],
@@ -100425,14 +100177,64 @@
]
},
{
- "id": 343,
+ "id": 369,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 370,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pass in an AbortController's signal to cancel the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 347,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 345,
+ "id": 349,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -100450,7 +100252,7 @@
}
},
{
- "id": 352,
+ "id": 356,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -100464,12 +100266,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 349,
+ "id": 353,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -100487,7 +100289,7 @@
}
},
{
- "id": 347,
+ "id": 351,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -100505,7 +100307,7 @@
}
},
{
- "id": 350,
+ "id": 354,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -100523,7 +100325,7 @@
}
},
{
- "id": 351,
+ "id": 355,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -100553,7 +100355,7 @@
}
},
{
- "id": 344,
+ "id": 348,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -100571,7 +100373,7 @@
}
},
{
- "id": 346,
+ "id": 350,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -100589,7 +100391,7 @@
}
},
{
- "id": 348,
+ "id": 352,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -100612,15 +100414,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 345,
- 352,
349,
- 347,
- 350,
+ 356,
+ 353,
351,
- 344,
- 346,
- 348
+ 354,
+ 355,
+ 348,
+ 350,
+ 352
]
}
],
@@ -100633,24 +100435,27 @@
]
},
{
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -100660,17 +100465,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -100680,17 +100488,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -100705,9 +100516,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -100720,14 +100531,14 @@
]
},
{
- "id": 365,
+ "id": 371,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 366,
+ "id": 372,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -100735,7 +100546,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 73,
"character": 2
}
],
@@ -100750,27 +100561,27 @@
"title": "Properties",
"kind": 1024,
"children": [
- 366
+ 372
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 72,
"character": 17
}
]
},
{
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 365,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -100778,12 +100589,12 @@
"isOptional": true
},
"comment": {
- "shortText": "The number of files you want to be returned."
+ "shortText": " The number of files you want to be returned."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 46,
"character": 2
}
],
@@ -100793,7 +100604,7 @@
}
},
{
- "id": 362,
+ "id": 366,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -100806,7 +100617,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 51,
"character": 2
}
],
@@ -100816,7 +100627,7 @@
}
},
{
- "id": 364,
+ "id": 368,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -100829,7 +100640,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 61,
"character": 2
}
],
@@ -100839,7 +100650,7 @@
}
},
{
- "id": 363,
+ "id": 367,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -100852,13 +100663,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 56,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 353,
+ "id": 357,
"name": "SortBy"
}
}
@@ -100868,30 +100679,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 362,
- 364,
- 363
+ 365,
+ 366,
+ 368,
+ 367
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 33,
+ "line": 42,
"character": 17
}
]
},
{
- "id": 353,
+ "id": 357,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 354,
+ "id": 358,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -100911,7 +100722,7 @@
}
},
{
- "id": 355,
+ "id": 359,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -100936,8 +100747,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 354,
- 355
+ 358,
+ 359
]
}
],
@@ -100950,7 +100761,7 @@
]
},
{
- "id": 367,
+ "id": 373,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -100964,14 +100775,14 @@
],
"signatures": [
{
- "id": 368,
+ "id": 374,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 369,
+ "id": 375,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -100988,7 +100799,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -101001,29 +100812,30 @@
"title": "Classes",
"kind": 128,
"children": [
- 375,
- 245,
- 370,
- 388
+ 381,
+ 249,
+ 376,
+ 394
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 336,
- 343,
- 356,
- 365,
+ 340,
+ 369,
+ 347,
360,
- 353
+ 371,
+ 364,
+ 357
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 367
+ 373
]
}
],
@@ -101166,190 +100978,42 @@
"kindString": "Parameter",
"flags": {
"isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 3,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 21,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 22,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 23,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 24,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 25,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 17,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 18,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 19,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 20,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
}
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
}
+ ],
+ "type": {
+ "type": "reference",
+ "id": 3,
+ "name": "default"
}
}
- }
- },
- {
- "id": 16,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ ]
},
{
"id": 43,
@@ -101360,7 +101024,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
@@ -101411,10 +101075,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -101462,7 +101129,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -101471,7 +101138,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -101493,7 +101160,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -101533,7 +101200,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -101551,13 +101218,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -101593,7 +101260,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
@@ -101647,7 +101314,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
@@ -101669,7 +101336,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -101700,7 +101367,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -101740,7 +101407,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -101758,13 +101425,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -101800,7 +101467,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
@@ -101854,7 +101521,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
@@ -101876,7 +101543,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -101907,7 +101574,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -101947,7 +101614,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -101965,13 +101632,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -102067,7 +101734,7 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
@@ -102144,7 +101811,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -102226,7 +101893,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
@@ -102304,7 +101971,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -102340,7 +102007,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
@@ -102362,7 +102029,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -102390,10 +102057,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -102440,7 +102110,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
@@ -102462,7 +102132,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -102493,7 +102163,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -102533,7 +102203,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -102551,13 +102221,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -102593,15 +102263,6 @@
4
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 21,
- 17,
- 16
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -102625,7 +102286,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
}
]
@@ -102824,179 +102485,10 @@
"type": {
"type": "reference",
"id": 92,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 111,
- "name": "bucketId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 24,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 112,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 25,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 113,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 114,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 115,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 116,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 107,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 23,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 108,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 109,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 110,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 106,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 22,
- "character": 12
+ "name": "default"
+ }
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ ]
},
{
"id": 169,
@@ -103007,7 +102499,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 238,
+ "line": 226,
"character": 8
}
],
@@ -103075,7 +102567,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 8
}
],
@@ -103097,7 +102589,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 16
}
],
@@ -103128,7 +102620,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 244,
+ "line": 232,
"character": 8
}
],
@@ -103168,7 +102660,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 247,
+ "line": 235,
"character": 8
}
],
@@ -103186,13 +102678,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 248,
+ "line": 236,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -103228,7 +102720,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 274,
+ "line": 262,
"character": 8
}
],
@@ -103296,7 +102788,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 8
}
],
@@ -103311,14 +102803,14 @@
"children": [
{
"id": 188,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 16
}
],
@@ -103349,7 +102841,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 280,
+ "line": 268,
"character": 8
}
],
@@ -103389,7 +102881,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 283,
+ "line": 271,
"character": 8
}
],
@@ -103407,13 +102899,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 284,
+ "line": 272,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -103449,7 +102941,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
+ "line": 301,
"character": 8
}
],
@@ -103520,7 +103012,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 8
}
],
@@ -103544,7 +103036,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 16
}
],
@@ -103571,7 +103063,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 38
}
],
@@ -103591,14 +103083,14 @@
},
{
"id": 202,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 59
}
],
@@ -103632,7 +103124,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 319,
+ "line": 307,
"character": 8
}
],
@@ -103672,7 +103164,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 322,
+ "line": 310,
"character": 8
}
],
@@ -103690,13 +103182,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 323,
+ "line": 311,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -103732,7 +103224,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 354,
+ "line": 342,
"character": 8
}
],
@@ -103786,7 +103278,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 358,
+ "line": 346,
"character": 8
}
],
@@ -103806,7 +103298,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 359,
+ "line": 347,
"character": 8
}
],
@@ -103846,7 +103338,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 362,
+ "line": 350,
"character": 8
}
],
@@ -103864,13 +103356,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 363,
+ "line": 351,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -103906,7 +103398,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 388,
+ "line": 376,
"character": 2
}
],
@@ -103937,14 +103429,84 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reflection",
+ "declaration": {
+ "id": 219,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 220,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 222,
+ "name": "publicUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 222
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 220
+ ]
+ }
+ ]
+ }
}
}
]
},
{
- "id": 228,
+ "id": 232,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -103952,13 +103514,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 496,
+ "line": 482,
"character": 8
}
],
"signatures": [
{
- "id": 229,
+ "id": 233,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -103968,7 +103530,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 234,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -103976,7 +103538,7 @@
"isOptional": true
},
"comment": {
- "shortText": "The folder path."
+ "shortText": "The folder path.\n"
},
"type": {
"type": "intrinsic",
@@ -103984,29 +103546,26 @@
}
},
{
- "id": 231,
+ "id": 235,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Search options, including `limit`, `offset`, `sortBy`, and `search`."
- },
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"dereferenced": {
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 365,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -104014,12 +103573,12 @@
"isOptional": true
},
"comment": {
- "shortText": "The number of files you want to be returned."
+ "shortText": " The number of files you want to be returned."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 46,
"character": 2
}
],
@@ -104029,7 +103588,7 @@
}
},
{
- "id": 362,
+ "id": 366,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -104042,7 +103601,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 51,
"character": 2
}
],
@@ -104052,7 +103611,7 @@
}
},
{
- "id": 364,
+ "id": 368,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -104065,7 +103624,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 61,
"character": 2
}
],
@@ -104075,7 +103634,7 @@
}
},
{
- "id": 363,
+ "id": 367,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -104088,13 +103647,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 56,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 353,
+ "id": 357,
"name": "SortBy"
}
}
@@ -104104,17 +103663,17 @@
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 362,
- 364,
- 363
+ 365,
+ 366,
+ 368,
+ 367
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 33,
+ "line": 42,
"character": 17
}
]
@@ -104122,19 +103681,67 @@
}
},
{
- "id": 232,
+ "id": 236,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Fetch parameters, currently only supports `signal`, which is an AbortController's signal\n"
- },
"type": {
"type": "reference",
- "name": "FetchParameters"
+ "id": 369,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 369,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 370,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pass in an AbortController's signal to cancel the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -104147,14 +103754,14 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 238,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -104162,7 +103769,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 502,
+ "line": 488,
"character": 8
}
],
@@ -104170,13 +103777,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 235,
+ "id": 239,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -104184,7 +103791,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 503,
+ "line": 489,
"character": 8
}
],
@@ -104199,8 +103806,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 234,
- 235
+ 238,
+ 239
]
}
]
@@ -104209,14 +103816,14 @@
{
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 240,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 237,
+ "id": 241,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -104224,7 +103831,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 506,
+ "line": 492,
"character": 8
}
],
@@ -104234,7 +103841,7 @@
}
},
{
- "id": 238,
+ "id": 242,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -104242,13 +103849,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 507,
+ "line": 493,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -104258,8 +103865,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 237,
- 238
+ 241,
+ 242
]
}
]
@@ -104284,7 +103891,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 202,
+ "line": 190,
"character": 8
}
],
@@ -104352,7 +103959,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 8
}
],
@@ -104374,7 +103981,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 16
}
],
@@ -104405,7 +104012,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 208,
+ "line": 196,
"character": 8
}
],
@@ -104445,7 +104052,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 211,
+ "line": 199,
"character": 8
}
],
@@ -104463,13 +104070,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 212,
+ "line": 200,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -104497,7 +104104,7 @@
]
},
{
- "id": 219,
+ "id": 223,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -104505,13 +104112,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 398,
+ "line": 386,
"character": 8
}
],
"signatures": [
{
- "id": 220,
+ "id": 224,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -104521,7 +104128,7 @@
},
"parameters": [
{
- "id": 221,
+ "id": 225,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -104547,14 +104154,14 @@
{
"type": "reflection",
"declaration": {
- "id": 222,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 223,
+ "id": 227,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -104562,7 +104169,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 402,
+ "line": 390,
"character": 8
}
],
@@ -104570,13 +104177,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 224,
+ "id": 228,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -104584,7 +104191,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 403,
+ "line": 391,
"character": 8
}
],
@@ -104599,8 +104206,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 223,
- 224
+ 227,
+ 228
]
}
]
@@ -104609,14 +104216,14 @@
{
"type": "reflection",
"declaration": {
- "id": 225,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 226,
+ "id": 230,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -104624,7 +104231,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 406,
+ "line": 394,
"character": 8
}
],
@@ -104634,7 +104241,7 @@
}
},
{
- "id": 227,
+ "id": 231,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -104642,13 +104249,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 407,
+ "line": 395,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -104658,8 +104265,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 226,
- 227
+ 230,
+ 231
]
}
]
@@ -104684,7 +104291,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 169,
+ "line": 157,
"character": 8
}
],
@@ -104720,7 +104327,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -104802,32 +104409,32 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"dereferenced": {
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -104837,17 +104444,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -104857,17 +104467,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -104882,9 +104495,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -104923,7 +104536,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 8
}
],
@@ -104945,7 +104558,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 16
}
],
@@ -104976,7 +104589,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 186,
+ "line": 174,
"character": 8
}
],
@@ -105016,7 +104629,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 189,
+ "line": 177,
"character": 8
}
],
@@ -105034,13 +104647,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 190,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -105076,7 +104689,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 132,
+ "line": 124,
"character": 8
}
],
@@ -105112,7 +104725,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -105194,32 +104807,32 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"dereferenced": {
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -105229,17 +104842,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -105249,17 +104865,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -105274,9 +104893,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -105315,7 +104934,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 8
}
],
@@ -105337,7 +104956,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 16
}
],
@@ -105368,7 +104987,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 149,
+ "line": 141,
"character": 8
}
],
@@ -105408,7 +105027,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 152,
+ "line": 144,
"character": 8
}
],
@@ -105426,13 +105045,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 153,
+ "line": 145,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -105468,16 +105087,6 @@
93
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 111,
- 112,
- 107,
- 106
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -105487,9 +105096,9 @@
193,
207,
216,
- 228,
+ 232,
157,
- 219,
+ 223,
144,
131
]
diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json
index 10d8fae77c4..cc5319e53eb 100644
--- a/spec/enrichments/tsdoc_v2/storage.json
+++ b/spec/enrichments/tsdoc_v2/storage.json
@@ -13,14 +13,14 @@
"flags": {},
"children": [
{
- "id": 375,
+ "id": 381,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 376,
+ "id": 382,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,14 +34,14 @@
],
"signatures": [
{
- "id": 377,
+ "id": 383,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 378,
+ "id": 384,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52,7 +52,7 @@
}
},
{
- "id": 379,
+ "id": 385,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -65,50 +65,24 @@
],
"type": {
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 387,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 380,
+ "id": 386,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -126,7 +100,7 @@
}
},
{
- "id": 381,
+ "id": 387,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -140,7 +114,7 @@
],
"signatures": [
{
- "id": 382,
+ "id": 388,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -148,14 +122,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 389,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 385,
+ "id": 391,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -174,7 +148,7 @@
"defaultValue": "..."
},
{
- "id": 384,
+ "id": 390,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -193,7 +167,7 @@
"defaultValue": "..."
},
{
- "id": 386,
+ "id": 392,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -217,9 +191,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 385,
- 384,
- 386
+ 391,
+ 390,
+ 392
]
}
]
@@ -234,22 +208,21 @@
"title": "Constructors",
"kind": 512,
"children": [
- 376
+ 382
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 387,
- 380
+ 386
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 381
+ 387
]
}
],
@@ -263,20 +236,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 245,
+ "id": 249,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 246,
+ "id": 250,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -290,14 +263,14 @@
],
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -308,7 +281,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -316,20 +289,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 251,
+ "id": 255,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 252,
+ "id": 256,
"name": "key",
"kind": 32768,
"flags": {},
@@ -349,7 +322,7 @@
"defaultValue": "{}"
},
{
- "id": 253,
+ "id": 257,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -359,21 +332,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 258,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 255,
+ "id": 259,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 256,
+ "id": 260,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -386,7 +359,7 @@
}
},
{
- "id": 257,
+ "id": 261,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -423,7 +396,7 @@
],
"type": {
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
},
"overwrites": {
@@ -440,170 +413,7 @@
}
},
{
- "id": 266,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 267,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 268,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 269,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 270,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 21,
- "name": "default.fetch"
- }
- },
- {
- "id": 262,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 263,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 264,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 265,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 17,
- "name": "default.headers"
- }
- },
- {
- "id": 261,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 16,
- "name": "default.url"
- }
- },
- {
- "id": 288,
+ "id": 292,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -611,13 +421,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
"signatures": [
{
- "id": 289,
+ "id": 293,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -628,7 +438,7 @@
},
"parameters": [
{
- "id": 290,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -642,7 +452,7 @@
}
},
{
- "id": 291,
+ "id": 295,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -650,22 +460,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 296,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 293,
+ "id": 297,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -680,7 +493,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 293
+ 297
]
}
]
@@ -698,14 +511,14 @@
{
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 295,
+ "id": 299,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -713,7 +526,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -722,7 +535,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -736,7 +549,7 @@
}
},
{
- "id": 296,
+ "id": 300,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -744,7 +557,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -759,8 +572,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 295,
- 296
+ 299,
+ 300
]
}
]
@@ -769,14 +582,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 302,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -784,7 +597,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -794,7 +607,7 @@
}
},
{
- "id": 299,
+ "id": 303,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -802,13 +615,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -818,8 +631,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 298,
- 299
+ 302,
+ 303
]
}
]
@@ -846,7 +659,7 @@
}
},
{
- "id": 325,
+ "id": 329,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -854,13 +667,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
"signatures": [
{
- "id": 326,
+ "id": 330,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -870,7 +683,7 @@
},
"parameters": [
{
- "id": 327,
+ "id": 331,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -893,14 +706,14 @@
{
"type": "reflection",
"declaration": {
- "id": 328,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 329,
+ "id": 333,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -908,21 +721,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 330,
+ "id": 334,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 331,
+ "id": 335,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -930,7 +743,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -945,7 +758,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 331
+ 335
]
}
]
@@ -953,7 +766,7 @@
}
},
{
- "id": 332,
+ "id": 336,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -961,7 +774,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -976,8 +789,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 329,
- 332
+ 333,
+ 336
]
}
]
@@ -986,14 +799,14 @@
{
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 338,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1001,7 +814,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -1011,7 +824,7 @@
}
},
{
- "id": 335,
+ "id": 339,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1019,13 +832,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1035,8 +848,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 334,
- 335
+ 338,
+ 339
]
}
]
@@ -1063,7 +876,7 @@
}
},
{
- "id": 314,
+ "id": 318,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -1071,13 +884,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
"signatures": [
{
- "id": 315,
+ "id": 319,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1087,7 +900,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 320,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1110,14 +923,14 @@
{
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 318,
+ "id": 322,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1125,21 +938,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 323,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 320,
+ "id": 324,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1147,7 +960,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -1162,7 +975,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 320
+ 324
]
}
]
@@ -1170,7 +983,7 @@
}
},
{
- "id": 321,
+ "id": 325,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1178,7 +991,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -1193,8 +1006,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 318,
- 321
+ 322,
+ 325
]
}
]
@@ -1203,14 +1016,14 @@
{
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 323,
+ "id": 327,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1218,7 +1031,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -1228,7 +1041,7 @@
}
},
{
- "id": 324,
+ "id": 328,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1236,13 +1049,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1252,8 +1065,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 323,
- 324
+ 327,
+ 328
]
}
]
@@ -1280,7 +1093,7 @@
}
},
{
- "id": 258,
+ "id": 262,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1294,7 +1107,7 @@
],
"signatures": [
{
- "id": 259,
+ "id": 263,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1304,7 +1117,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 264,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1327,7 +1140,7 @@
]
},
{
- "id": 279,
+ "id": 283,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -1341,7 +1154,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 284,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1351,7 +1164,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 285,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1374,14 +1187,14 @@
{
"type": "reflection",
"declaration": {
- "id": 282,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 283,
+ "id": 287,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1395,12 +1208,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 284,
+ "id": 288,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1423,8 +1236,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 283,
- 284
+ 287,
+ 288
]
}
]
@@ -1433,14 +1246,14 @@
{
"type": "reflection",
"declaration": {
- "id": 285,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 286,
+ "id": 290,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1458,7 +1271,7 @@
}
},
{
- "id": 287,
+ "id": 291,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1472,7 +1285,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1482,8 +1295,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 286,
- 287
+ 290,
+ 291
]
}
]
@@ -1510,7 +1323,7 @@
}
},
{
- "id": 271,
+ "id": 275,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -1524,7 +1337,7 @@
],
"signatures": [
{
- "id": 272,
+ "id": 276,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -1541,14 +1354,14 @@
{
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 274,
+ "id": 278,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1564,13 +1377,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
},
{
- "id": 275,
+ "id": 279,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1593,8 +1406,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 274,
- 275
+ 278,
+ 279
]
}
]
@@ -1603,14 +1416,14 @@
{
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 277,
+ "id": 281,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1628,7 +1441,7 @@
}
},
{
- "id": 278,
+ "id": 282,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1642,7 +1455,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1652,8 +1465,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 277,
- 278
+ 281,
+ 282
]
}
]
@@ -1680,7 +1493,7 @@
}
},
{
- "id": 300,
+ "id": 304,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -1688,13 +1501,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
"signatures": [
{
- "id": 301,
+ "id": 305,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1704,13 +1517,13 @@
},
"parameters": [
{
- "id": 302,
+ "id": 306,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -1718,7 +1531,7 @@
}
},
{
- "id": 303,
+ "id": 307,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1726,22 +1539,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 308,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 305,
+ "id": 309,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -1756,7 +1572,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 305
+ 309
]
}
]
@@ -1773,14 +1589,14 @@
{
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 307,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1788,21 +1604,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 312,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 313,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1810,7 +1626,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -1825,7 +1641,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 309
+ 313
]
}
]
@@ -1833,7 +1649,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1841,7 +1657,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -1856,8 +1672,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 307,
- 310
+ 311,
+ 314
]
}
]
@@ -1866,14 +1682,14 @@
{
"type": "reflection",
"declaration": {
- "id": 311,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 312,
+ "id": 316,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1881,7 +1697,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -1891,7 +1707,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1899,13 +1715,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1915,8 +1731,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 312,
- 313
+ 316,
+ 317
]
}
]
@@ -1948,29 +1764,20 @@
"title": "Constructors",
"kind": 512,
"children": [
- 246
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 266,
- 262,
- 261
+ 250
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 288,
- 325,
- 314,
- 258,
- 279,
- 271,
- 300
+ 292,
+ 329,
+ 318,
+ 262,
+ 283,
+ 275,
+ 304
]
}
],
@@ -1990,14 +1797,14 @@
]
},
{
- "id": 370,
+ "id": 376,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 377,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2011,14 +1818,14 @@
],
"signatures": [
{
- "id": 372,
+ "id": 378,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 373,
+ "id": 379,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -2031,7 +1838,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
},
"overwrites": {
@@ -2044,27 +1851,6 @@
"type": "reference",
"name": "Error.constructor"
}
- },
- {
- "id": 374,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
}
],
"groups": [
@@ -2072,14 +1858,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 371
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 374
+ 377
]
}
],
@@ -2101,25 +1880,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
}
]
},
{
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 389,
+ "id": 395,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2133,14 +1912,14 @@
],
"signatures": [
{
- "id": 390,
+ "id": 396,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 391,
+ "id": 397,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -2151,7 +1930,7 @@
}
},
{
- "id": 392,
+ "id": 398,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -2164,50 +1943,24 @@
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 394,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 393,
+ "id": 399,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -2230,15 +1983,14 @@
"title": "Constructors",
"kind": 512,
"children": [
- 389
+ 395
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 394,
- 393
+ 399
]
}
],
@@ -2252,20 +2004,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 336,
+ "id": 340,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 340,
+ "id": 344,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2283,7 +2035,7 @@
}
},
{
- "id": 337,
+ "id": 341,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2301,7 +2053,7 @@
}
},
{
- "id": 338,
+ "id": 342,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2319,7 +2071,7 @@
}
},
{
- "id": 339,
+ "id": 343,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2337,7 +2089,7 @@
}
},
{
- "id": 342,
+ "id": 346,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -2355,7 +2107,7 @@
}
},
{
- "id": 341,
+ "id": 345,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2378,12 +2130,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 340,
- 337,
- 338,
- 339,
+ 344,
+ 341,
342,
- 341
+ 343,
+ 346,
+ 345
]
}
],
@@ -2396,14 +2148,64 @@
]
},
{
- "id": 343,
+ "id": 369,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 370,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pass in an AbortController's signal to cancel the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 347,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 345,
+ "id": 349,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -2421,7 +2223,7 @@
}
},
{
- "id": 352,
+ "id": 356,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -2435,12 +2237,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 349,
+ "id": 353,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2458,7 +2260,7 @@
}
},
{
- "id": 347,
+ "id": 351,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2476,7 +2278,7 @@
}
},
{
- "id": 350,
+ "id": 354,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -2494,7 +2296,7 @@
}
},
{
- "id": 351,
+ "id": 355,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -2524,7 +2326,7 @@
}
},
{
- "id": 344,
+ "id": 348,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2542,7 +2344,7 @@
}
},
{
- "id": 346,
+ "id": 350,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2560,7 +2362,7 @@
}
},
{
- "id": 348,
+ "id": 352,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2583,15 +2385,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 345,
- 352,
349,
- 347,
- 350,
+ 356,
+ 353,
351,
- 344,
- 346,
- 348
+ 354,
+ 355,
+ 348,
+ 350,
+ 352
]
}
],
@@ -2604,24 +2406,27 @@
]
},
{
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -2631,17 +2436,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -2651,17 +2459,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -2676,9 +2487,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -2691,14 +2502,14 @@
]
},
{
- "id": 365,
+ "id": 371,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 366,
+ "id": 372,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2706,7 +2517,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 73,
"character": 2
}
],
@@ -2721,27 +2532,27 @@
"title": "Properties",
"kind": 1024,
"children": [
- 366
+ 372
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 72,
"character": 17
}
]
},
{
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 365,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -2749,12 +2560,12 @@
"isOptional": true
},
"comment": {
- "shortText": "The number of files you want to be returned."
+ "shortText": " The number of files you want to be returned."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 46,
"character": 2
}
],
@@ -2764,7 +2575,7 @@
}
},
{
- "id": 362,
+ "id": 366,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -2777,7 +2588,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 51,
"character": 2
}
],
@@ -2787,7 +2598,7 @@
}
},
{
- "id": 364,
+ "id": 368,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -2800,7 +2611,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 61,
"character": 2
}
],
@@ -2810,7 +2621,7 @@
}
},
{
- "id": 363,
+ "id": 367,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -2823,13 +2634,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 56,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 353,
+ "id": 357,
"name": "SortBy"
}
}
@@ -2839,30 +2650,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 362,
- 364,
- 363
+ 365,
+ 366,
+ 368,
+ 367
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 33,
+ "line": 42,
"character": 17
}
]
},
{
- "id": 353,
+ "id": 357,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 354,
+ "id": 358,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -2882,7 +2693,7 @@
}
},
{
- "id": 355,
+ "id": 359,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -2907,8 +2718,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 354,
- 355
+ 358,
+ 359
]
}
],
@@ -2921,7 +2732,7 @@
]
},
{
- "id": 367,
+ "id": 373,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -2935,14 +2746,14 @@
],
"signatures": [
{
- "id": 368,
+ "id": 374,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 369,
+ "id": 375,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -2959,7 +2770,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -2972,29 +2783,30 @@
"title": "Classes",
"kind": 128,
"children": [
- 375,
- 245,
- 370,
- 388
+ 381,
+ 249,
+ 376,
+ 394
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 336,
- 343,
- 356,
- 365,
+ 340,
+ 369,
+ 347,
360,
- 353
+ 371,
+ 364,
+ 357
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 367
+ 373
]
}
],
@@ -3120,207 +2932,59 @@
{
"id": 14,
"name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 15,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 3,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 21,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 22,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 23,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 24,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 25,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 17,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 18,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 19,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 20,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 15,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
}
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
}
+ ],
+ "type": {
+ "type": "reference",
+ "id": 3,
+ "name": "default"
}
}
- }
- },
- {
- "id": 16,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ ]
},
{
"id": 43,
@@ -3331,7 +2995,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
@@ -3382,10 +3046,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -3433,7 +3100,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -3442,7 +3109,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -3464,7 +3131,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -3504,7 +3171,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -3522,13 +3189,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -3564,7 +3231,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
@@ -3618,7 +3285,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
@@ -3640,7 +3307,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -3671,7 +3338,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -3711,7 +3378,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -3729,13 +3396,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -3771,7 +3438,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
@@ -3825,7 +3492,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
@@ -3847,7 +3514,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -3878,7 +3545,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -3918,7 +3585,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -3936,13 +3603,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4038,7 +3705,7 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
@@ -4115,7 +3782,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4197,7 +3864,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
@@ -4275,7 +3942,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4311,7 +3978,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
@@ -4333,7 +4000,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -4361,10 +4028,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -4411,7 +4081,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
@@ -4433,7 +4103,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -4464,7 +4134,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -4504,7 +4174,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -4522,13 +4192,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4564,15 +4234,6 @@
4
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 21,
- 17,
- 16
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -4596,7 +4257,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
}
]
@@ -4800,175 +4461,6 @@
}
]
},
- {
- "id": 111,
- "name": "bucketId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 24,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 112,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 25,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 113,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 114,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 115,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 116,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 107,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 23,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 108,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 109,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 110,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 106,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 22,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
{
"id": 169,
"name": "copy",
@@ -4978,7 +4470,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 238,
+ "line": 226,
"character": 8
}
],
@@ -5046,7 +4538,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 8
}
],
@@ -5068,7 +4560,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 16
}
],
@@ -5099,7 +4591,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 244,
+ "line": 232,
"character": 8
}
],
@@ -5139,7 +4631,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 247,
+ "line": 235,
"character": 8
}
],
@@ -5157,13 +4649,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 248,
+ "line": 236,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5199,7 +4691,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 274,
+ "line": 262,
"character": 8
}
],
@@ -5267,7 +4759,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 8
}
],
@@ -5282,14 +4774,14 @@
"children": [
{
"id": 188,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 16
}
],
@@ -5320,7 +4812,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 280,
+ "line": 268,
"character": 8
}
],
@@ -5360,7 +4852,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 283,
+ "line": 271,
"character": 8
}
],
@@ -5378,13 +4870,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 284,
+ "line": 272,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5420,7 +4912,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
+ "line": 301,
"character": 8
}
],
@@ -5491,7 +4983,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 8
}
],
@@ -5515,7 +5007,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 16
}
],
@@ -5542,7 +5034,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 38
}
],
@@ -5562,14 +5054,14 @@
},
{
"id": 202,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 59
}
],
@@ -5603,7 +5095,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 319,
+ "line": 307,
"character": 8
}
],
@@ -5643,7 +5135,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 322,
+ "line": 310,
"character": 8
}
],
@@ -5661,13 +5153,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 323,
+ "line": 311,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5703,7 +5195,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 354,
+ "line": 342,
"character": 8
}
],
@@ -5757,7 +5249,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 358,
+ "line": 346,
"character": 8
}
],
@@ -5777,7 +5269,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 359,
+ "line": 347,
"character": 8
}
],
@@ -5817,7 +5309,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 362,
+ "line": 350,
"character": 8
}
],
@@ -5835,13 +5327,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 363,
+ "line": 351,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5877,7 +5369,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 388,
+ "line": 376,
"character": 2
}
],
@@ -5908,14 +5400,84 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reflection",
+ "declaration": {
+ "id": 219,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 220,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 222,
+ "name": "publicUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 222
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 220
+ ]
+ }
+ ]
+ }
}
}
]
},
{
- "id": 228,
+ "id": 232,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -5923,13 +5485,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 496,
+ "line": 482,
"character": 8
}
],
"signatures": [
{
- "id": 229,
+ "id": 233,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -5939,7 +5501,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 234,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5947,7 +5509,7 @@
"isOptional": true
},
"comment": {
- "shortText": "The folder path."
+ "shortText": "The folder path.\n"
},
"type": {
"type": "intrinsic",
@@ -5955,35 +5517,30 @@
}
},
{
- "id": 231,
+ "id": 235,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Search options, including `limit`, `offset`, `sortBy`, and `search`."
- },
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "SearchOptions"
}
},
{
- "id": 232,
+ "id": 236,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Fetch parameters, currently only supports `signal`, which is an AbortController's signal\n"
- },
"type": {
"type": "reference",
+ "id": 369,
"name": "FetchParameters"
}
}
@@ -5997,14 +5554,14 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 238,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6012,7 +5569,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 502,
+ "line": 488,
"character": 8
}
],
@@ -6020,13 +5577,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 235,
+ "id": 239,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6034,7 +5591,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 503,
+ "line": 489,
"character": 8
}
],
@@ -6049,8 +5606,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 234,
- 235
+ 238,
+ 239
]
}
]
@@ -6059,14 +5616,14 @@
{
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 240,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 237,
+ "id": 241,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6074,7 +5631,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 506,
+ "line": 492,
"character": 8
}
],
@@ -6084,7 +5641,7 @@
}
},
{
- "id": 238,
+ "id": 242,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6092,13 +5649,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 507,
+ "line": 493,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6108,8 +5665,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 237,
- 238
+ 241,
+ 242
]
}
]
@@ -6134,7 +5691,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 202,
+ "line": 190,
"character": 8
}
],
@@ -6202,7 +5759,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 8
}
],
@@ -6224,7 +5781,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 16
}
],
@@ -6255,7 +5812,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 208,
+ "line": 196,
"character": 8
}
],
@@ -6295,7 +5852,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 211,
+ "line": 199,
"character": 8
}
],
@@ -6313,13 +5870,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 212,
+ "line": 200,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6347,7 +5904,7 @@
]
},
{
- "id": 219,
+ "id": 223,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -6355,13 +5912,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 398,
+ "line": 386,
"character": 8
}
],
"signatures": [
{
- "id": 220,
+ "id": 224,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -6371,7 +5928,7 @@
},
"parameters": [
{
- "id": 221,
+ "id": 225,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -6397,14 +5954,14 @@
{
"type": "reflection",
"declaration": {
- "id": 222,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 223,
+ "id": 227,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6412,7 +5969,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 402,
+ "line": 390,
"character": 8
}
],
@@ -6420,13 +5977,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 224,
+ "id": 228,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6434,7 +5991,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 403,
+ "line": 391,
"character": 8
}
],
@@ -6449,8 +6006,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 223,
- 224
+ 227,
+ 228
]
}
]
@@ -6459,14 +6016,14 @@
{
"type": "reflection",
"declaration": {
- "id": 225,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 226,
+ "id": 230,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6474,7 +6031,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 406,
+ "line": 394,
"character": 8
}
],
@@ -6484,7 +6041,7 @@
}
},
{
- "id": 227,
+ "id": 231,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6492,13 +6049,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 407,
+ "line": 395,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6508,8 +6065,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 226,
- 227
+ 230,
+ 231
]
}
]
@@ -6534,7 +6091,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 169,
+ "line": 157,
"character": 8
}
],
@@ -6570,7 +6127,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -6652,12 +6209,9 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions"
}
}
@@ -6686,7 +6240,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 8
}
],
@@ -6708,7 +6262,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 16
}
],
@@ -6739,7 +6293,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 186,
+ "line": 174,
"character": 8
}
],
@@ -6779,7 +6333,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 189,
+ "line": 177,
"character": 8
}
],
@@ -6797,13 +6351,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 190,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6839,7 +6393,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 132,
+ "line": 124,
"character": 8
}
],
@@ -6875,7 +6429,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -6957,12 +6511,9 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions"
}
}
@@ -6991,7 +6542,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 8
}
],
@@ -7013,7 +6564,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 16
}
],
@@ -7044,7 +6595,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 149,
+ "line": 141,
"character": 8
}
],
@@ -7084,7 +6635,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 152,
+ "line": 144,
"character": 8
}
],
@@ -7102,13 +6653,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 153,
+ "line": 145,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -7144,16 +6695,6 @@
93
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 111,
- 112,
- 107,
- 106
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -7163,9 +6704,9 @@
193,
207,
216,
- 228,
+ 232,
157,
- 219,
+ 223,
144,
131
]
diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
index 32609e5d8b4..ff2f1718565 100644
--- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
@@ -13,14 +13,14 @@
"flags": {},
"children": [
{
- "id": 375,
+ "id": 381,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 376,
+ "id": 382,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,14 +34,14 @@
],
"signatures": [
{
- "id": 377,
+ "id": 383,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 378,
+ "id": 384,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52,7 +52,7 @@
}
},
{
- "id": 379,
+ "id": 385,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -65,50 +65,24 @@
],
"type": {
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 387,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 380,
+ "id": 386,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -126,7 +100,7 @@
}
},
{
- "id": 381,
+ "id": 387,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -140,7 +114,7 @@
],
"signatures": [
{
- "id": 382,
+ "id": 388,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -148,14 +122,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 389,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 385,
+ "id": 391,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -174,7 +148,7 @@
"defaultValue": "..."
},
{
- "id": 384,
+ "id": 390,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -193,7 +167,7 @@
"defaultValue": "..."
},
{
- "id": 386,
+ "id": 392,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -217,9 +191,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 385,
- 384,
- 386
+ 391,
+ 390,
+ 392
]
}
]
@@ -234,22 +208,21 @@
"title": "Constructors",
"kind": 512,
"children": [
- 376
+ 382
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 387,
- 380
+ 386
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 381
+ 387
]
}
],
@@ -263,20 +236,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 245,
+ "id": 249,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 246,
+ "id": 250,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -290,14 +263,14 @@
],
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -308,7 +281,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -316,20 +289,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 251,
+ "id": 255,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 252,
+ "id": 256,
"name": "key",
"kind": 32768,
"flags": {},
@@ -349,7 +322,7 @@
"defaultValue": "{}"
},
{
- "id": 253,
+ "id": 257,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -359,21 +332,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 258,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 255,
+ "id": 259,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 256,
+ "id": 260,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -386,7 +359,7 @@
}
},
{
- "id": 257,
+ "id": 261,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -423,7 +396,7 @@
],
"type": {
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
},
"overwrites": {
@@ -440,170 +413,7 @@
}
},
{
- "id": 266,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 267,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 268,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 269,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 270,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 21,
- "name": "default.fetch"
- }
- },
- {
- "id": 262,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 263,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 264,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 265,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 17,
- "name": "default.headers"
- }
- },
- {
- "id": 261,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 16,
- "name": "default.url"
- }
- },
- {
- "id": 288,
+ "id": 292,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -611,13 +421,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
"signatures": [
{
- "id": 289,
+ "id": 293,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -628,7 +438,7 @@
},
"parameters": [
{
- "id": 290,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -642,7 +452,7 @@
}
},
{
- "id": 291,
+ "id": 295,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -650,22 +460,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 296,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 293,
+ "id": 297,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -680,7 +493,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 293
+ 297
]
}
]
@@ -698,14 +511,14 @@
{
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 295,
+ "id": 299,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -713,7 +526,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -722,7 +535,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -736,7 +549,7 @@
}
},
{
- "id": 296,
+ "id": 300,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -744,7 +557,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -759,8 +572,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 295,
- 296
+ 299,
+ 300
]
}
]
@@ -769,14 +582,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 302,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -784,7 +597,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -794,7 +607,7 @@
}
},
{
- "id": 299,
+ "id": 303,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -802,13 +615,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -818,8 +631,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 298,
- 299
+ 302,
+ 303
]
}
]
@@ -846,7 +659,7 @@
}
},
{
- "id": 325,
+ "id": 329,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -854,13 +667,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
"signatures": [
{
- "id": 326,
+ "id": 330,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -870,7 +683,7 @@
},
"parameters": [
{
- "id": 327,
+ "id": 331,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -893,14 +706,14 @@
{
"type": "reflection",
"declaration": {
- "id": 328,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 329,
+ "id": 333,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -908,21 +721,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 330,
+ "id": 334,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 331,
+ "id": 335,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -930,7 +743,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -945,7 +758,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 331
+ 335
]
}
]
@@ -953,7 +766,7 @@
}
},
{
- "id": 332,
+ "id": 336,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -961,7 +774,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -976,8 +789,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 329,
- 332
+ 333,
+ 336
]
}
]
@@ -986,14 +799,14 @@
{
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 338,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1001,7 +814,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -1011,7 +824,7 @@
}
},
{
- "id": 335,
+ "id": 339,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1019,13 +832,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1035,8 +848,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 334,
- 335
+ 338,
+ 339
]
}
]
@@ -1063,7 +876,7 @@
}
},
{
- "id": 314,
+ "id": 318,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -1071,13 +884,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
"signatures": [
{
- "id": 315,
+ "id": 319,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1087,7 +900,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 320,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1110,14 +923,14 @@
{
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 318,
+ "id": 322,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1125,21 +938,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 323,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 320,
+ "id": 324,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1147,7 +960,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -1162,7 +975,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 320
+ 324
]
}
]
@@ -1170,7 +983,7 @@
}
},
{
- "id": 321,
+ "id": 325,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1178,7 +991,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -1193,8 +1006,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 318,
- 321
+ 322,
+ 325
]
}
]
@@ -1203,14 +1016,14 @@
{
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 323,
+ "id": 327,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1218,7 +1031,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -1228,7 +1041,7 @@
}
},
{
- "id": 324,
+ "id": 328,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1236,13 +1049,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1252,8 +1065,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 323,
- 324
+ 327,
+ 328
]
}
]
@@ -1280,7 +1093,7 @@
}
},
{
- "id": 258,
+ "id": 262,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1294,7 +1107,7 @@
],
"signatures": [
{
- "id": 259,
+ "id": 263,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1304,7 +1117,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 264,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1327,7 +1140,7 @@
]
},
{
- "id": 279,
+ "id": 283,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -1341,7 +1154,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 284,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1351,7 +1164,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 285,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1374,14 +1187,14 @@
{
"type": "reflection",
"declaration": {
- "id": 282,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 283,
+ "id": 287,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1395,12 +1208,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 284,
+ "id": 288,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1423,8 +1236,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 283,
- 284
+ 287,
+ 288
]
}
]
@@ -1433,14 +1246,14 @@
{
"type": "reflection",
"declaration": {
- "id": 285,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 286,
+ "id": 290,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1458,7 +1271,7 @@
}
},
{
- "id": 287,
+ "id": 291,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1472,7 +1285,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1482,8 +1295,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 286,
- 287
+ 290,
+ 291
]
}
]
@@ -1510,7 +1323,7 @@
}
},
{
- "id": 271,
+ "id": 275,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -1524,7 +1337,7 @@
],
"signatures": [
{
- "id": 272,
+ "id": 276,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -1541,14 +1354,14 @@
{
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 274,
+ "id": 278,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1564,13 +1377,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
},
{
- "id": 275,
+ "id": 279,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1593,8 +1406,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 274,
- 275
+ 278,
+ 279
]
}
]
@@ -1603,14 +1416,14 @@
{
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 277,
+ "id": 281,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1628,7 +1441,7 @@
}
},
{
- "id": 278,
+ "id": 282,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1642,7 +1455,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1652,8 +1465,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 277,
- 278
+ 281,
+ 282
]
}
]
@@ -1680,7 +1493,7 @@
}
},
{
- "id": 300,
+ "id": 304,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -1688,13 +1501,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
"signatures": [
{
- "id": 301,
+ "id": 305,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1704,13 +1517,13 @@
},
"parameters": [
{
- "id": 302,
+ "id": 306,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -1718,7 +1531,7 @@
}
},
{
- "id": 303,
+ "id": 307,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1726,22 +1539,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 308,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 305,
+ "id": 309,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -1756,7 +1572,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 305
+ 309
]
}
]
@@ -1773,14 +1589,14 @@
{
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 307,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1788,21 +1604,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 312,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 313,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1810,7 +1626,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -1825,7 +1641,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 309
+ 313
]
}
]
@@ -1833,7 +1649,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1841,7 +1657,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -1856,8 +1672,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 307,
- 310
+ 311,
+ 314
]
}
]
@@ -1866,14 +1682,14 @@
{
"type": "reflection",
"declaration": {
- "id": 311,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 312,
+ "id": 316,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1881,7 +1697,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -1891,7 +1707,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1899,13 +1715,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1915,8 +1731,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 312,
- 313
+ 316,
+ 317
]
}
]
@@ -1948,29 +1764,20 @@
"title": "Constructors",
"kind": 512,
"children": [
- 246
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 266,
- 262,
- 261
+ 250
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 288,
- 325,
- 314,
- 258,
- 279,
- 271,
- 300
+ 292,
+ 329,
+ 318,
+ 262,
+ 283,
+ 275,
+ 304
]
}
],
@@ -1990,14 +1797,14 @@
]
},
{
- "id": 370,
+ "id": 376,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 377,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2011,14 +1818,14 @@
],
"signatures": [
{
- "id": 372,
+ "id": 378,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 373,
+ "id": 379,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -2031,7 +1838,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
},
"overwrites": {
@@ -2044,27 +1851,6 @@
"type": "reference",
"name": "Error.constructor"
}
- },
- {
- "id": 374,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
}
],
"groups": [
@@ -2072,14 +1858,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 371
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 374
+ 377
]
}
],
@@ -2101,25 +1880,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
}
]
},
{
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 389,
+ "id": 395,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2133,14 +1912,14 @@
],
"signatures": [
{
- "id": 390,
+ "id": 396,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 391,
+ "id": 397,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -2151,7 +1930,7 @@
}
},
{
- "id": 392,
+ "id": 398,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -2164,50 +1943,24 @@
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 394,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 393,
+ "id": 399,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -2230,15 +1983,14 @@
"title": "Constructors",
"kind": 512,
"children": [
- 389
+ 395
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 394,
- 393
+ 399
]
}
],
@@ -2252,20 +2004,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 336,
+ "id": 340,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 340,
+ "id": 344,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2283,7 +2035,7 @@
}
},
{
- "id": 337,
+ "id": 341,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2301,7 +2053,7 @@
}
},
{
- "id": 338,
+ "id": 342,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2319,7 +2071,7 @@
}
},
{
- "id": 339,
+ "id": 343,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2337,7 +2089,7 @@
}
},
{
- "id": 342,
+ "id": 346,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -2355,7 +2107,7 @@
}
},
{
- "id": 341,
+ "id": 345,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2378,12 +2130,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 340,
- 337,
- 338,
- 339,
+ 344,
+ 341,
342,
- 341
+ 343,
+ 346,
+ 345
]
}
],
@@ -2396,14 +2148,64 @@
]
},
{
- "id": 343,
+ "id": 369,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 370,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pass in an AbortController's signal to cancel the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 347,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 345,
+ "id": 349,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -2421,7 +2223,7 @@
}
},
{
- "id": 352,
+ "id": 356,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -2435,12 +2237,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 349,
+ "id": 353,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2458,7 +2260,7 @@
}
},
{
- "id": 347,
+ "id": 351,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2476,7 +2278,7 @@
}
},
{
- "id": 350,
+ "id": 354,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -2494,7 +2296,7 @@
}
},
{
- "id": 351,
+ "id": 355,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -2524,7 +2326,7 @@
}
},
{
- "id": 344,
+ "id": 348,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2542,7 +2344,7 @@
}
},
{
- "id": 346,
+ "id": 350,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2560,7 +2362,7 @@
}
},
{
- "id": 348,
+ "id": 352,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2583,15 +2385,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 345,
- 352,
349,
- 347,
- 350,
+ 356,
+ 353,
351,
- 344,
- 346,
- 348
+ 354,
+ 355,
+ 348,
+ 350,
+ 352
]
}
],
@@ -2604,24 +2406,27 @@
]
},
{
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -2631,17 +2436,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -2651,17 +2459,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -2676,9 +2487,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -2691,14 +2502,14 @@
]
},
{
- "id": 365,
+ "id": 371,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 366,
+ "id": 372,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2706,7 +2517,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 73,
"character": 2
}
],
@@ -2721,27 +2532,27 @@
"title": "Properties",
"kind": 1024,
"children": [
- 366
+ 372
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 72,
"character": 17
}
]
},
{
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 365,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -2749,12 +2560,12 @@
"isOptional": true
},
"comment": {
- "shortText": "The number of files you want to be returned."
+ "shortText": " The number of files you want to be returned."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 46,
"character": 2
}
],
@@ -2764,7 +2575,7 @@
}
},
{
- "id": 362,
+ "id": 366,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -2777,7 +2588,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 51,
"character": 2
}
],
@@ -2787,7 +2598,7 @@
}
},
{
- "id": 364,
+ "id": 368,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -2800,7 +2611,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 61,
"character": 2
}
],
@@ -2810,7 +2621,7 @@
}
},
{
- "id": 363,
+ "id": 367,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -2823,13 +2634,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 56,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 353,
+ "id": 357,
"name": "SortBy"
}
}
@@ -2839,30 +2650,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 362,
- 364,
- 363
+ 365,
+ 366,
+ 368,
+ 367
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 33,
+ "line": 42,
"character": 17
}
]
},
{
- "id": 353,
+ "id": 357,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 354,
+ "id": 358,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -2882,7 +2693,7 @@
}
},
{
- "id": 355,
+ "id": 359,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -2907,8 +2718,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 354,
- 355
+ 358,
+ 359
]
}
],
@@ -2921,7 +2732,7 @@
]
},
{
- "id": 367,
+ "id": 373,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -2935,14 +2746,14 @@
],
"signatures": [
{
- "id": 368,
+ "id": 374,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 369,
+ "id": 375,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -2959,7 +2770,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -2972,29 +2783,30 @@
"title": "Classes",
"kind": 128,
"children": [
- 375,
- 245,
- 370,
- 388
+ 381,
+ 249,
+ 376,
+ 394
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 336,
- 343,
- 356,
- 365,
+ 340,
+ 369,
+ 347,
360,
- 353
+ 371,
+ 364,
+ 357
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 367
+ 373
]
}
],
@@ -3174,154 +2986,6 @@
}
]
},
- {
- "id": 21,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 22,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 23,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 24,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 25,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 17,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 18,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 19,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 20,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 16,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
{
"id": 43,
"name": "createBucket",
@@ -3331,7 +2995,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
@@ -3382,10 +3046,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -3433,7 +3100,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -3442,7 +3109,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -3464,7 +3131,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -3504,7 +3171,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -3522,13 +3189,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -3564,7 +3231,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
@@ -3618,7 +3285,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
@@ -3640,7 +3307,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -3671,7 +3338,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -3711,7 +3378,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -3729,13 +3396,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -3771,7 +3438,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
@@ -3825,7 +3492,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
@@ -3847,7 +3514,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -3878,7 +3545,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -3918,7 +3585,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -3936,13 +3603,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4038,7 +3705,7 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
@@ -4115,7 +3782,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4197,7 +3864,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
@@ -4275,7 +3942,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4311,7 +3978,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
@@ -4333,7 +4000,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -4361,10 +4028,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -4411,7 +4081,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
@@ -4433,7 +4103,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -4464,7 +4134,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -4504,7 +4174,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -4522,13 +4192,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4561,16 +4231,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 4
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 21,
- 17,
- 16
+ 4
]
},
{
@@ -4596,7 +4257,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
}
]
@@ -4800,175 +4461,6 @@
}
]
},
- {
- "id": 111,
- "name": "bucketId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 24,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 112,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 25,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 113,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 114,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 115,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 116,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 107,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 23,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 108,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 109,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 110,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 106,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 22,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
{
"id": 169,
"name": "copy",
@@ -4978,7 +4470,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 238,
+ "line": 226,
"character": 8
}
],
@@ -5046,7 +4538,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 8
}
],
@@ -5068,7 +4560,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 16
}
],
@@ -5099,7 +4591,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 244,
+ "line": 232,
"character": 8
}
],
@@ -5139,7 +4631,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 247,
+ "line": 235,
"character": 8
}
],
@@ -5157,13 +4649,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 248,
+ "line": 236,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5199,7 +4691,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 274,
+ "line": 262,
"character": 8
}
],
@@ -5267,7 +4759,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 8
}
],
@@ -5282,14 +4774,14 @@
"children": [
{
"id": 188,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 16
}
],
@@ -5320,7 +4812,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 280,
+ "line": 268,
"character": 8
}
],
@@ -5360,7 +4852,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 283,
+ "line": 271,
"character": 8
}
],
@@ -5378,13 +4870,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 284,
+ "line": 272,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5420,7 +4912,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
+ "line": 301,
"character": 8
}
],
@@ -5491,7 +4983,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 8
}
],
@@ -5515,7 +5007,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 16
}
],
@@ -5542,7 +5034,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 38
}
],
@@ -5562,14 +5054,14 @@
},
{
"id": 202,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 59
}
],
@@ -5603,7 +5095,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 319,
+ "line": 307,
"character": 8
}
],
@@ -5643,7 +5135,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 322,
+ "line": 310,
"character": 8
}
],
@@ -5661,13 +5153,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 323,
+ "line": 311,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5703,7 +5195,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 354,
+ "line": 342,
"character": 8
}
],
@@ -5757,7 +5249,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 358,
+ "line": 346,
"character": 8
}
],
@@ -5777,7 +5269,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 359,
+ "line": 347,
"character": 8
}
],
@@ -5817,7 +5309,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 362,
+ "line": 350,
"character": 8
}
],
@@ -5835,13 +5327,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 363,
+ "line": 351,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5877,7 +5369,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 388,
+ "line": 376,
"character": 2
}
],
@@ -5908,14 +5400,84 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reflection",
+ "declaration": {
+ "id": 219,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 220,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 222,
+ "name": "publicUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 222
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 220
+ ]
+ }
+ ]
+ }
}
}
]
},
{
- "id": 228,
+ "id": 232,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -5923,13 +5485,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 496,
+ "line": 482,
"character": 8
}
],
"signatures": [
{
- "id": 229,
+ "id": 233,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -5939,7 +5501,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 234,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5947,7 +5509,7 @@
"isOptional": true
},
"comment": {
- "shortText": "The folder path."
+ "shortText": "The folder path.\n"
},
"type": {
"type": "intrinsic",
@@ -5955,29 +5517,26 @@
}
},
{
- "id": 231,
+ "id": 235,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Search options, including `limit`, `offset`, `sortBy`, and `search`."
- },
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"dereferenced": {
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 365,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -5985,12 +5544,12 @@
"isOptional": true
},
"comment": {
- "shortText": "The number of files you want to be returned."
+ "shortText": " The number of files you want to be returned."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 46,
"character": 2
}
],
@@ -6000,7 +5559,7 @@
}
},
{
- "id": 362,
+ "id": 366,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -6013,7 +5572,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 51,
"character": 2
}
],
@@ -6023,7 +5582,7 @@
}
},
{
- "id": 364,
+ "id": 368,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -6036,7 +5595,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 61,
"character": 2
}
],
@@ -6046,7 +5605,7 @@
}
},
{
- "id": 363,
+ "id": 367,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -6059,13 +5618,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 56,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 353,
+ "id": 357,
"name": "SortBy"
}
}
@@ -6075,17 +5634,17 @@
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 362,
- 364,
- 363
+ 365,
+ 366,
+ 368,
+ 367
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 33,
+ "line": 42,
"character": 17
}
]
@@ -6093,19 +5652,67 @@
}
},
{
- "id": 232,
+ "id": 236,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Fetch parameters, currently only supports `signal`, which is an AbortController's signal\n"
- },
"type": {
"type": "reference",
- "name": "FetchParameters"
+ "id": 369,
+ "name": "FetchParameters",
+ "dereferenced": {
+ "id": 369,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 370,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pass in an AbortController's signal to cancel the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -6118,14 +5725,14 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 238,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6133,7 +5740,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 502,
+ "line": 488,
"character": 8
}
],
@@ -6141,13 +5748,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 235,
+ "id": 239,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6155,7 +5762,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 503,
+ "line": 489,
"character": 8
}
],
@@ -6170,8 +5777,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 234,
- 235
+ 238,
+ 239
]
}
]
@@ -6180,14 +5787,14 @@
{
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 240,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 237,
+ "id": 241,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6195,7 +5802,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 506,
+ "line": 492,
"character": 8
}
],
@@ -6205,7 +5812,7 @@
}
},
{
- "id": 238,
+ "id": 242,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6213,13 +5820,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 507,
+ "line": 493,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6229,8 +5836,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 237,
- 238
+ 241,
+ 242
]
}
]
@@ -6255,7 +5862,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 202,
+ "line": 190,
"character": 8
}
],
@@ -6323,7 +5930,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 8
}
],
@@ -6345,7 +5952,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 16
}
],
@@ -6376,7 +5983,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 208,
+ "line": 196,
"character": 8
}
],
@@ -6416,7 +6023,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 211,
+ "line": 199,
"character": 8
}
],
@@ -6434,13 +6041,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 212,
+ "line": 200,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6468,7 +6075,7 @@
]
},
{
- "id": 219,
+ "id": 223,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -6476,13 +6083,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 398,
+ "line": 386,
"character": 8
}
],
"signatures": [
{
- "id": 220,
+ "id": 224,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -6492,7 +6099,7 @@
},
"parameters": [
{
- "id": 221,
+ "id": 225,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -6518,14 +6125,14 @@
{
"type": "reflection",
"declaration": {
- "id": 222,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 223,
+ "id": 227,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6533,7 +6140,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 402,
+ "line": 390,
"character": 8
}
],
@@ -6541,13 +6148,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 224,
+ "id": 228,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6555,7 +6162,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 403,
+ "line": 391,
"character": 8
}
],
@@ -6570,8 +6177,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 223,
- 224
+ 227,
+ 228
]
}
]
@@ -6580,14 +6187,14 @@
{
"type": "reflection",
"declaration": {
- "id": 225,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 226,
+ "id": 230,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6595,7 +6202,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 406,
+ "line": 394,
"character": 8
}
],
@@ -6605,7 +6212,7 @@
}
},
{
- "id": 227,
+ "id": 231,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6613,13 +6220,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 407,
+ "line": 395,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6629,8 +6236,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 226,
- 227
+ 230,
+ 231
]
}
]
@@ -6655,7 +6262,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 169,
+ "line": 157,
"character": 8
}
],
@@ -6691,7 +6298,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -6773,32 +6380,32 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"dereferenced": {
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -6808,17 +6415,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -6828,17 +6438,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -6853,9 +6466,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -6894,7 +6507,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 8
}
],
@@ -6916,7 +6529,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 16
}
],
@@ -6947,7 +6560,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 186,
+ "line": 174,
"character": 8
}
],
@@ -6987,7 +6600,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 189,
+ "line": 177,
"character": 8
}
],
@@ -7005,13 +6618,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 190,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -7047,7 +6660,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 132,
+ "line": 124,
"character": 8
}
],
@@ -7083,7 +6696,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -7165,32 +6778,32 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"dereferenced": {
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -7200,17 +6813,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -7220,17 +6836,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -7245,9 +6864,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -7286,7 +6905,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 8
}
],
@@ -7308,7 +6927,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 16
}
],
@@ -7339,7 +6958,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 149,
+ "line": 141,
"character": 8
}
],
@@ -7379,7 +6998,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 152,
+ "line": 144,
"character": 8
}
],
@@ -7397,13 +7016,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 153,
+ "line": 145,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -7439,16 +7058,6 @@
93
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 111,
- 112,
- 107,
- 106
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -7458,9 +7067,9 @@
193,
207,
216,
- 228,
+ 232,
157,
- 219,
+ 223,
144,
131
]
diff --git a/web/spec/tsdoc_v2/combined.json b/web/spec/tsdoc_v2/combined.json
index aa0f8f70d29..570a6db463f 100644
--- a/web/spec/tsdoc_v2/combined.json
+++ b/web/spec/tsdoc_v2/combined.json
@@ -61730,14 +61730,14 @@
"flags": {},
"children": [
{
- "id": 375,
+ "id": 381,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 376,
+ "id": 382,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -61751,14 +61751,14 @@
],
"signatures": [
{
- "id": 377,
+ "id": 383,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 378,
+ "id": 384,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -61769,7 +61769,7 @@
}
},
{
- "id": 379,
+ "id": 385,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -61782,50 +61782,24 @@
],
"type": {
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 387,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 380,
+ "id": 386,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -61843,7 +61817,7 @@
}
},
{
- "id": 381,
+ "id": 387,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -61857,7 +61831,7 @@
],
"signatures": [
{
- "id": 382,
+ "id": 388,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -61865,14 +61839,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 389,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 385,
+ "id": 391,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -61891,7 +61865,7 @@
"defaultValue": "..."
},
{
- "id": 384,
+ "id": 390,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -61910,7 +61884,7 @@
"defaultValue": "..."
},
{
- "id": 386,
+ "id": 392,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -61934,9 +61908,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 385,
- 384,
- 386
+ 391,
+ 390,
+ 392
]
}
]
@@ -61951,22 +61925,21 @@
"title": "Constructors",
"kind": 512,
"children": [
- 376
+ 382
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 387,
- 380
+ 386
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 381
+ 387
]
}
],
@@ -61980,20 +61953,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 245,
+ "id": 249,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 246,
+ "id": 250,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -62007,14 +61980,14 @@
],
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -62025,7 +61998,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -62033,20 +62006,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 251,
+ "id": 255,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 252,
+ "id": 256,
"name": "key",
"kind": 32768,
"flags": {},
@@ -62066,7 +62039,7 @@
"defaultValue": "{}"
},
{
- "id": 253,
+ "id": 257,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -62076,21 +62049,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 258,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 255,
+ "id": 259,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 256,
+ "id": 260,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -62103,7 +62076,7 @@
}
},
{
- "id": 257,
+ "id": 261,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -62140,7 +62113,7 @@
],
"type": {
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
},
"overwrites": {
@@ -62157,170 +62130,7 @@
}
},
{
- "id": 266,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 267,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 268,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 269,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 270,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 21,
- "name": "default.fetch"
- }
- },
- {
- "id": 262,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 263,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 264,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 265,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 17,
- "name": "default.headers"
- }
- },
- {
- "id": 261,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 16,
- "name": "default.url"
- }
- },
- {
- "id": 288,
+ "id": 292,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -62328,13 +62138,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
"signatures": [
{
- "id": 289,
+ "id": 293,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -62345,7 +62155,7 @@
},
"parameters": [
{
- "id": 290,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -62359,7 +62169,7 @@
}
},
{
- "id": 291,
+ "id": 295,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -62367,22 +62177,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 296,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 293,
+ "id": 297,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -62397,7 +62210,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 293
+ 297
]
}
]
@@ -62415,14 +62228,14 @@
{
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 295,
+ "id": 299,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -62430,7 +62243,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -62439,7 +62252,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -62453,7 +62266,7 @@
}
},
{
- "id": 296,
+ "id": 300,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -62461,7 +62274,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -62476,8 +62289,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 295,
- 296
+ 299,
+ 300
]
}
]
@@ -62486,14 +62299,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 302,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -62501,7 +62314,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -62511,7 +62324,7 @@
}
},
{
- "id": 299,
+ "id": 303,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -62519,13 +62332,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -62535,8 +62348,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 298,
- 299
+ 302,
+ 303
]
}
]
@@ -62563,7 +62376,7 @@
}
},
{
- "id": 325,
+ "id": 329,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -62571,13 +62384,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
"signatures": [
{
- "id": 326,
+ "id": 330,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -62587,7 +62400,7 @@
},
"parameters": [
{
- "id": 327,
+ "id": 331,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -62610,14 +62423,14 @@
{
"type": "reflection",
"declaration": {
- "id": 328,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 329,
+ "id": 333,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -62625,21 +62438,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 330,
+ "id": 334,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 331,
+ "id": 335,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -62647,7 +62460,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -62662,7 +62475,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 331
+ 335
]
}
]
@@ -62670,7 +62483,7 @@
}
},
{
- "id": 332,
+ "id": 336,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -62678,7 +62491,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -62693,8 +62506,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 329,
- 332
+ 333,
+ 336
]
}
]
@@ -62703,14 +62516,14 @@
{
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 338,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -62718,7 +62531,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -62728,7 +62541,7 @@
}
},
{
- "id": 335,
+ "id": 339,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -62736,13 +62549,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -62752,8 +62565,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 334,
- 335
+ 338,
+ 339
]
}
]
@@ -62780,7 +62593,7 @@
}
},
{
- "id": 314,
+ "id": 318,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -62788,13 +62601,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
"signatures": [
{
- "id": 315,
+ "id": 319,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -62804,7 +62617,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 320,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -62827,14 +62640,14 @@
{
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 318,
+ "id": 322,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -62842,21 +62655,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 323,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 320,
+ "id": 324,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -62864,7 +62677,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -62879,7 +62692,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 320
+ 324
]
}
]
@@ -62887,7 +62700,7 @@
}
},
{
- "id": 321,
+ "id": 325,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -62895,7 +62708,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -62910,8 +62723,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 318,
- 321
+ 322,
+ 325
]
}
]
@@ -62920,14 +62733,14 @@
{
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 323,
+ "id": 327,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -62935,7 +62748,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -62945,7 +62758,7 @@
}
},
{
- "id": 324,
+ "id": 328,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -62953,13 +62766,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -62969,8 +62782,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 323,
- 324
+ 327,
+ 328
]
}
]
@@ -62997,7 +62810,7 @@
}
},
{
- "id": 258,
+ "id": 262,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -63011,7 +62824,7 @@
],
"signatures": [
{
- "id": 259,
+ "id": 263,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -63021,7 +62834,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 264,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -63044,7 +62857,7 @@
]
},
{
- "id": 279,
+ "id": 283,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -63058,7 +62871,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 284,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -63068,7 +62881,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 285,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -63091,14 +62904,14 @@
{
"type": "reflection",
"declaration": {
- "id": 282,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 283,
+ "id": 287,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -63112,12 +62925,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 284,
+ "id": 288,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -63140,8 +62953,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 283,
- 284
+ 287,
+ 288
]
}
]
@@ -63150,14 +62963,14 @@
{
"type": "reflection",
"declaration": {
- "id": 285,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 286,
+ "id": 290,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -63175,7 +62988,7 @@
}
},
{
- "id": 287,
+ "id": 291,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -63189,7 +63002,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -63199,8 +63012,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 286,
- 287
+ 290,
+ 291
]
}
]
@@ -63227,7 +63040,7 @@
}
},
{
- "id": 271,
+ "id": 275,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -63241,7 +63054,7 @@
],
"signatures": [
{
- "id": 272,
+ "id": 276,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -63258,14 +63071,14 @@
{
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 274,
+ "id": 278,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -63281,13 +63094,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
},
{
- "id": 275,
+ "id": 279,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -63310,8 +63123,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 274,
- 275
+ 278,
+ 279
]
}
]
@@ -63320,14 +63133,14 @@
{
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 277,
+ "id": 281,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -63345,7 +63158,7 @@
}
},
{
- "id": 278,
+ "id": 282,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -63359,7 +63172,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -63369,8 +63182,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 277,
- 278
+ 281,
+ 282
]
}
]
@@ -63397,7 +63210,7 @@
}
},
{
- "id": 300,
+ "id": 304,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -63405,13 +63218,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
"signatures": [
{
- "id": 301,
+ "id": 305,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -63421,13 +63234,13 @@
},
"parameters": [
{
- "id": 302,
+ "id": 306,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -63435,7 +63248,7 @@
}
},
{
- "id": 303,
+ "id": 307,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -63443,22 +63256,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 308,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 305,
+ "id": 309,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -63473,7 +63289,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 305
+ 309
]
}
]
@@ -63490,14 +63306,14 @@
{
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 307,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -63505,21 +63321,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 312,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 313,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -63527,7 +63343,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -63542,7 +63358,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 309
+ 313
]
}
]
@@ -63550,7 +63366,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -63558,7 +63374,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -63573,8 +63389,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 307,
- 310
+ 311,
+ 314
]
}
]
@@ -63583,14 +63399,14 @@
{
"type": "reflection",
"declaration": {
- "id": 311,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 312,
+ "id": 316,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -63598,7 +63414,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -63608,7 +63424,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -63616,13 +63432,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -63632,8 +63448,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 312,
- 313
+ 316,
+ 317
]
}
]
@@ -63665,29 +63481,20 @@
"title": "Constructors",
"kind": 512,
"children": [
- 246
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 266,
- 262,
- 261
+ 250
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 288,
- 325,
- 314,
- 258,
- 279,
- 271,
- 300
+ 292,
+ 329,
+ 318,
+ 262,
+ 283,
+ 275,
+ 304
]
}
],
@@ -63707,14 +63514,14 @@
]
},
{
- "id": 370,
+ "id": 376,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 377,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -63728,14 +63535,14 @@
],
"signatures": [
{
- "id": 372,
+ "id": 378,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 373,
+ "id": 379,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -63748,7 +63555,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
},
"overwrites": {
@@ -63761,27 +63568,6 @@
"type": "reference",
"name": "Error.constructor"
}
- },
- {
- "id": 374,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
}
],
"groups": [
@@ -63789,14 +63575,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 371
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 374
+ 377
]
}
],
@@ -63818,25 +63597,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
}
]
},
{
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 389,
+ "id": 395,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -63850,14 +63629,14 @@
],
"signatures": [
{
- "id": 390,
+ "id": 396,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 391,
+ "id": 397,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -63868,7 +63647,7 @@
}
},
{
- "id": 392,
+ "id": 398,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -63881,50 +63660,24 @@
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 394,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 393,
+ "id": 399,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -63947,15 +63700,14 @@
"title": "Constructors",
"kind": 512,
"children": [
- 389
+ 395
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 394,
- 393
+ 399
]
}
],
@@ -63969,20 +63721,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 336,
+ "id": 340,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 340,
+ "id": 344,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -64000,7 +63752,7 @@
}
},
{
- "id": 337,
+ "id": 341,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -64018,7 +63770,7 @@
}
},
{
- "id": 338,
+ "id": 342,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -64036,7 +63788,7 @@
}
},
{
- "id": 339,
+ "id": 343,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -64054,7 +63806,7 @@
}
},
{
- "id": 342,
+ "id": 346,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -64072,7 +63824,7 @@
}
},
{
- "id": 341,
+ "id": 345,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -64095,12 +63847,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 340,
- 337,
- 338,
- 339,
+ 344,
+ 341,
342,
- 341
+ 343,
+ 346,
+ 345
]
}
],
@@ -64113,14 +63865,64 @@
]
},
{
- "id": 343,
+ "id": 369,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 370,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pass in an AbortController's signal to cancel the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 347,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 345,
+ "id": 349,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -64138,7 +63940,7 @@
}
},
{
- "id": 352,
+ "id": 356,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -64152,12 +63954,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 349,
+ "id": 353,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -64175,7 +63977,7 @@
}
},
{
- "id": 347,
+ "id": 351,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -64193,7 +63995,7 @@
}
},
{
- "id": 350,
+ "id": 354,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -64211,7 +64013,7 @@
}
},
{
- "id": 351,
+ "id": 355,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -64241,7 +64043,7 @@
}
},
{
- "id": 344,
+ "id": 348,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -64259,7 +64061,7 @@
}
},
{
- "id": 346,
+ "id": 350,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -64277,7 +64079,7 @@
}
},
{
- "id": 348,
+ "id": 352,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -64300,15 +64102,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 345,
- 352,
349,
- 347,
- 350,
+ 356,
+ 353,
351,
- 344,
- 346,
- 348
+ 354,
+ 355,
+ 348,
+ 350,
+ 352
]
}
],
@@ -64321,24 +64123,27 @@
]
},
{
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -64348,17 +64153,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -64368,17 +64176,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -64393,9 +64204,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -64408,14 +64219,14 @@
]
},
{
- "id": 365,
+ "id": 371,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 366,
+ "id": 372,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -64423,7 +64234,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 73,
"character": 2
}
],
@@ -64438,27 +64249,27 @@
"title": "Properties",
"kind": 1024,
"children": [
- 366
+ 372
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 72,
"character": 17
}
]
},
{
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 365,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -64466,12 +64277,12 @@
"isOptional": true
},
"comment": {
- "shortText": "The number of files you want to be returned."
+ "shortText": " The number of files you want to be returned."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 46,
"character": 2
}
],
@@ -64481,7 +64292,7 @@
}
},
{
- "id": 362,
+ "id": 366,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -64494,7 +64305,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 51,
"character": 2
}
],
@@ -64504,7 +64315,7 @@
}
},
{
- "id": 364,
+ "id": 368,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -64517,7 +64328,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 61,
"character": 2
}
],
@@ -64527,7 +64338,7 @@
}
},
{
- "id": 363,
+ "id": 367,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -64540,13 +64351,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 56,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 353,
+ "id": 357,
"name": "SortBy"
}
}
@@ -64556,30 +64367,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 362,
- 364,
- 363
+ 365,
+ 366,
+ 368,
+ 367
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 33,
+ "line": 42,
"character": 17
}
]
},
{
- "id": 353,
+ "id": 357,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 354,
+ "id": 358,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -64599,7 +64410,7 @@
}
},
{
- "id": 355,
+ "id": 359,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -64624,8 +64435,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 354,
- 355
+ 358,
+ 359
]
}
],
@@ -64638,7 +64449,7 @@
]
},
{
- "id": 367,
+ "id": 373,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -64652,14 +64463,14 @@
],
"signatures": [
{
- "id": 368,
+ "id": 374,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 369,
+ "id": 375,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -64676,7 +64487,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -64689,29 +64500,30 @@
"title": "Classes",
"kind": 128,
"children": [
- 375,
- 245,
- 370,
- 388
+ 381,
+ 249,
+ 376,
+ 394
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 336,
- 343,
- 356,
- 365,
+ 340,
+ 369,
+ 347,
360,
- 353
+ 371,
+ 364,
+ 357
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 367
+ 373
]
}
],
@@ -64891,154 +64703,6 @@
}
]
},
- {
- "id": 21,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 22,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 23,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 24,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 25,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 17,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 18,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 19,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 20,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 16,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
{
"id": 43,
"name": "createBucket",
@@ -65048,7 +64712,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
@@ -65099,10 +64763,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -65150,7 +64817,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -65159,7 +64826,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -65181,7 +64848,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -65221,7 +64888,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -65239,13 +64906,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -65281,7 +64948,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
@@ -65335,7 +65002,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
@@ -65357,7 +65024,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -65388,7 +65055,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -65428,7 +65095,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -65446,13 +65113,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -65488,7 +65155,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
@@ -65542,7 +65209,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
@@ -65564,7 +65231,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -65595,7 +65262,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -65635,7 +65302,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -65653,13 +65320,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -65755,7 +65422,7 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
@@ -65832,7 +65499,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -65914,7 +65581,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
@@ -65992,7 +65659,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -66028,7 +65695,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
@@ -66050,7 +65717,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -66078,10 +65745,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -66128,7 +65798,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
@@ -66150,7 +65820,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -66181,7 +65851,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -66221,7 +65891,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -66239,13 +65909,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -66281,15 +65951,6 @@
4
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 21,
- 17,
- 16
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -66313,7 +65974,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
}
]
@@ -66412,279 +66073,110 @@
"type": "intrinsic",
"name": "string"
}
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 100,
- "name": "bucketId",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 101,
- "name": "fetch",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 102,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 103,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 104,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 105,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 92,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 111,
- "name": "bucketId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 24,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 112,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 25,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 113,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 114,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 115,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 116,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 107,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 23,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 108,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 109,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 110,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 100,
+ "name": "bucketId",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 101,
+ "name": "fetch",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 102,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 103,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 104,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 105,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
}
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
}
+ ],
+ "type": {
+ "type": "reference",
+ "id": 92,
+ "name": "default"
}
}
- }
- },
- {
- "id": 106,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 22,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ ]
},
{
"id": 169,
@@ -66695,7 +66187,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 238,
+ "line": 226,
"character": 8
}
],
@@ -66763,7 +66255,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 8
}
],
@@ -66785,7 +66277,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 16
}
],
@@ -66816,7 +66308,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 244,
+ "line": 232,
"character": 8
}
],
@@ -66856,7 +66348,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 247,
+ "line": 235,
"character": 8
}
],
@@ -66874,13 +66366,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 248,
+ "line": 236,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -66916,7 +66408,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 274,
+ "line": 262,
"character": 8
}
],
@@ -66984,7 +66476,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 8
}
],
@@ -66999,14 +66491,14 @@
"children": [
{
"id": 188,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 16
}
],
@@ -67037,7 +66529,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 280,
+ "line": 268,
"character": 8
}
],
@@ -67077,7 +66569,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 283,
+ "line": 271,
"character": 8
}
],
@@ -67095,13 +66587,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 284,
+ "line": 272,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -67137,7 +66629,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
+ "line": 301,
"character": 8
}
],
@@ -67208,7 +66700,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 8
}
],
@@ -67232,7 +66724,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 16
}
],
@@ -67259,7 +66751,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 38
}
],
@@ -67279,14 +66771,14 @@
},
{
"id": 202,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 59
}
],
@@ -67320,7 +66812,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 319,
+ "line": 307,
"character": 8
}
],
@@ -67360,7 +66852,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 322,
+ "line": 310,
"character": 8
}
],
@@ -67378,13 +66870,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 323,
+ "line": 311,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -67420,7 +66912,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 354,
+ "line": 342,
"character": 8
}
],
@@ -67474,7 +66966,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 358,
+ "line": 346,
"character": 8
}
],
@@ -67494,7 +66986,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 359,
+ "line": 347,
"character": 8
}
],
@@ -67534,7 +67026,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 362,
+ "line": 350,
"character": 8
}
],
@@ -67552,13 +67044,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 363,
+ "line": 351,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -67594,7 +67086,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 388,
+ "line": 376,
"character": 2
}
],
@@ -67625,14 +67117,84 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reflection",
+ "declaration": {
+ "id": 219,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 220,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 222,
+ "name": "publicUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 222
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 220
+ ]
+ }
+ ]
+ }
}
}
]
},
{
- "id": 228,
+ "id": 232,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -67640,13 +67202,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 496,
+ "line": 482,
"character": 8
}
],
"signatures": [
{
- "id": 229,
+ "id": 233,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -67656,7 +67218,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 234,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -67664,7 +67226,7 @@
"isOptional": true
},
"comment": {
- "shortText": "The folder path."
+ "shortText": "The folder path.\n"
},
"type": {
"type": "intrinsic",
@@ -67672,35 +67234,30 @@
}
},
{
- "id": 231,
+ "id": 235,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Search options, including `limit`, `offset`, `sortBy`, and `search`."
- },
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "SearchOptions"
}
},
{
- "id": 232,
+ "id": 236,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Fetch parameters, currently only supports `signal`, which is an AbortController's signal\n"
- },
"type": {
"type": "reference",
+ "id": 369,
"name": "FetchParameters"
}
}
@@ -67714,14 +67271,14 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 238,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -67729,7 +67286,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 502,
+ "line": 488,
"character": 8
}
],
@@ -67737,13 +67294,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 235,
+ "id": 239,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -67751,7 +67308,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 503,
+ "line": 489,
"character": 8
}
],
@@ -67766,8 +67323,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 234,
- 235
+ 238,
+ 239
]
}
]
@@ -67776,14 +67333,14 @@
{
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 240,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 237,
+ "id": 241,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -67791,7 +67348,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 506,
+ "line": 492,
"character": 8
}
],
@@ -67801,7 +67358,7 @@
}
},
{
- "id": 238,
+ "id": 242,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -67809,13 +67366,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 507,
+ "line": 493,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -67825,8 +67382,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 237,
- 238
+ 241,
+ 242
]
}
]
@@ -67851,7 +67408,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 202,
+ "line": 190,
"character": 8
}
],
@@ -67919,7 +67476,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 8
}
],
@@ -67941,7 +67498,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 16
}
],
@@ -67972,7 +67529,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 208,
+ "line": 196,
"character": 8
}
],
@@ -68012,7 +67569,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 211,
+ "line": 199,
"character": 8
}
],
@@ -68030,13 +67587,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 212,
+ "line": 200,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -68064,7 +67621,7 @@
]
},
{
- "id": 219,
+ "id": 223,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -68072,13 +67629,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 398,
+ "line": 386,
"character": 8
}
],
"signatures": [
{
- "id": 220,
+ "id": 224,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -68088,7 +67645,7 @@
},
"parameters": [
{
- "id": 221,
+ "id": 225,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -68114,14 +67671,14 @@
{
"type": "reflection",
"declaration": {
- "id": 222,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 223,
+ "id": 227,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -68129,7 +67686,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 402,
+ "line": 390,
"character": 8
}
],
@@ -68137,13 +67694,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 224,
+ "id": 228,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -68151,7 +67708,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 403,
+ "line": 391,
"character": 8
}
],
@@ -68166,8 +67723,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 223,
- 224
+ 227,
+ 228
]
}
]
@@ -68176,14 +67733,14 @@
{
"type": "reflection",
"declaration": {
- "id": 225,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 226,
+ "id": 230,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -68191,7 +67748,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 406,
+ "line": 394,
"character": 8
}
],
@@ -68201,7 +67758,7 @@
}
},
{
- "id": 227,
+ "id": 231,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -68209,13 +67766,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 407,
+ "line": 395,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -68225,8 +67782,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 226,
- 227
+ 230,
+ 231
]
}
]
@@ -68251,7 +67808,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 169,
+ "line": 157,
"character": 8
}
],
@@ -68287,7 +67844,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -68369,12 +67926,9 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions"
}
}
@@ -68403,7 +67957,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 8
}
],
@@ -68425,7 +67979,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 16
}
],
@@ -68456,7 +68010,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 186,
+ "line": 174,
"character": 8
}
],
@@ -68496,7 +68050,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 189,
+ "line": 177,
"character": 8
}
],
@@ -68514,13 +68068,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 190,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -68556,7 +68110,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 132,
+ "line": 124,
"character": 8
}
],
@@ -68592,7 +68146,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -68674,12 +68228,9 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions"
}
}
@@ -68708,7 +68259,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 8
}
],
@@ -68730,7 +68281,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 16
}
],
@@ -68761,7 +68312,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 149,
+ "line": 141,
"character": 8
}
],
@@ -68801,7 +68352,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 152,
+ "line": 144,
"character": 8
}
],
@@ -68819,13 +68370,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 153,
+ "line": 145,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -68861,16 +68412,6 @@
93
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 111,
- 112,
- 107,
- 106
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -68880,9 +68421,9 @@
193,
207,
216,
- 228,
+ 232,
157,
- 219,
+ 223,
144,
131
]
diff --git a/web/spec/tsdoc_v2/storage.json b/web/spec/tsdoc_v2/storage.json
index 10d8fae77c4..cc5319e53eb 100644
--- a/web/spec/tsdoc_v2/storage.json
+++ b/web/spec/tsdoc_v2/storage.json
@@ -13,14 +13,14 @@
"flags": {},
"children": [
{
- "id": 375,
+ "id": 381,
"name": "StorageApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 376,
+ "id": 382,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,14 +34,14 @@
],
"signatures": [
{
- "id": 377,
+ "id": 383,
"name": "new StorageApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 378,
+ "id": 384,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -52,7 +52,7 @@
}
},
{
- "id": 379,
+ "id": 385,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -65,50 +65,24 @@
],
"type": {
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 387,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 380,
+ "id": 386,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -126,7 +100,7 @@
}
},
{
- "id": 381,
+ "id": 387,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -140,7 +114,7 @@
],
"signatures": [
{
- "id": 382,
+ "id": 388,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -148,14 +122,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 383,
+ "id": 389,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 385,
+ "id": 391,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -174,7 +148,7 @@
"defaultValue": "..."
},
{
- "id": 384,
+ "id": 390,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -193,7 +167,7 @@
"defaultValue": "..."
},
{
- "id": 386,
+ "id": 392,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -217,9 +191,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 385,
- 384,
- 386
+ 391,
+ 390,
+ 392
]
}
]
@@ -234,22 +208,21 @@
"title": "Constructors",
"kind": 512,
"children": [
- 376
+ 382
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 387,
- 380
+ 386
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 381
+ 387
]
}
],
@@ -263,20 +236,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 245,
+ "id": 249,
"name": "StorageClient",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 246,
+ "id": 250,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -290,14 +263,14 @@
],
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "new StorageClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -308,7 +281,7 @@
}
},
{
- "id": 249,
+ "id": 253,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
@@ -316,20 +289,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 250,
+ "id": 254,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 251,
+ "id": 255,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 252,
+ "id": 256,
"name": "key",
"kind": 32768,
"flags": {},
@@ -349,7 +322,7 @@
"defaultValue": "{}"
},
{
- "id": 253,
+ "id": 257,
"name": "fetch",
"kind": 32768,
"kindString": "Parameter",
@@ -359,21 +332,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 254,
+ "id": 258,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
- "id": 255,
+ "id": 259,
"name": "__type",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 256,
+ "id": 260,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
@@ -386,7 +359,7 @@
}
},
{
- "id": 257,
+ "id": 261,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -423,7 +396,7 @@
],
"type": {
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
},
"overwrites": {
@@ -440,170 +413,7 @@
}
},
{
- "id": 266,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 267,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 268,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 269,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 270,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 21,
- "name": "default.fetch"
- }
- },
- {
- "id": 262,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 263,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 264,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 265,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 17,
- "name": "default.headers"
- }
- },
- {
- "id": 261,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 16,
- "name": "default.url"
- }
- },
- {
- "id": 288,
+ "id": 292,
"name": "createBucket",
"kind": 2048,
"kindString": "Method",
@@ -611,13 +421,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
"signatures": [
{
- "id": 289,
+ "id": 293,
"name": "createBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -628,7 +438,7 @@
},
"parameters": [
{
- "id": 290,
+ "id": 294,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -642,7 +452,7 @@
}
},
{
- "id": 291,
+ "id": 295,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -650,22 +460,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 296,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 293,
+ "id": 297,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -680,7 +493,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 293
+ 297
]
}
]
@@ -698,14 +511,14 @@
{
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 295,
+ "id": 299,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -713,7 +526,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -722,7 +535,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -736,7 +549,7 @@
}
},
{
- "id": 296,
+ "id": 300,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -744,7 +557,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -759,8 +572,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 295,
- 296
+ 299,
+ 300
]
}
]
@@ -769,14 +582,14 @@
{
"type": "reflection",
"declaration": {
- "id": 297,
+ "id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 298,
+ "id": 302,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -784,7 +597,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -794,7 +607,7 @@
}
},
{
- "id": 299,
+ "id": 303,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -802,13 +615,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -818,8 +631,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 298,
- 299
+ 302,
+ 303
]
}
]
@@ -846,7 +659,7 @@
}
},
{
- "id": 325,
+ "id": 329,
"name": "deleteBucket",
"kind": 2048,
"kindString": "Method",
@@ -854,13 +667,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
"signatures": [
{
- "id": 326,
+ "id": 330,
"name": "deleteBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -870,7 +683,7 @@
},
"parameters": [
{
- "id": 327,
+ "id": 331,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -893,14 +706,14 @@
{
"type": "reflection",
"declaration": {
- "id": 328,
+ "id": 332,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 329,
+ "id": 333,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -908,21 +721,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 330,
+ "id": 334,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 331,
+ "id": 335,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -930,7 +743,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -945,7 +758,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 331
+ 335
]
}
]
@@ -953,7 +766,7 @@
}
},
{
- "id": 332,
+ "id": 336,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -961,7 +774,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -976,8 +789,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 329,
- 332
+ 333,
+ 336
]
}
]
@@ -986,14 +799,14 @@
{
"type": "reflection",
"declaration": {
- "id": 333,
+ "id": 337,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 334,
+ "id": 338,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1001,7 +814,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -1011,7 +824,7 @@
}
},
{
- "id": 335,
+ "id": 339,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1019,13 +832,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1035,8 +848,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 334,
- 335
+ 338,
+ 339
]
}
]
@@ -1063,7 +876,7 @@
}
},
{
- "id": 314,
+ "id": 318,
"name": "emptyBucket",
"kind": 2048,
"kindString": "Method",
@@ -1071,13 +884,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
"signatures": [
{
- "id": 315,
+ "id": 319,
"name": "emptyBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1087,7 +900,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 320,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1110,14 +923,14 @@
{
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 321,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 318,
+ "id": 322,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1125,21 +938,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 319,
+ "id": 323,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 320,
+ "id": 324,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1147,7 +960,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -1162,7 +975,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 320
+ 324
]
}
]
@@ -1170,7 +983,7 @@
}
},
{
- "id": 321,
+ "id": 325,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1178,7 +991,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -1193,8 +1006,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 318,
- 321
+ 322,
+ 325
]
}
]
@@ -1203,14 +1016,14 @@
{
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 323,
+ "id": 327,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1218,7 +1031,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -1228,7 +1041,7 @@
}
},
{
- "id": 324,
+ "id": 328,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1236,13 +1049,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1252,8 +1065,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 323,
- 324
+ 327,
+ 328
]
}
]
@@ -1280,7 +1093,7 @@
}
},
{
- "id": 258,
+ "id": 262,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -1294,7 +1107,7 @@
],
"signatures": [
{
- "id": 259,
+ "id": 263,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -1304,7 +1117,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 264,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1327,7 +1140,7 @@
]
},
{
- "id": 279,
+ "id": 283,
"name": "getBucket",
"kind": 2048,
"kindString": "Method",
@@ -1341,7 +1154,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 284,
"name": "getBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1351,7 +1164,7 @@
},
"parameters": [
{
- "id": 281,
+ "id": 285,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -1374,14 +1187,14 @@
{
"type": "reflection",
"declaration": {
- "id": 282,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 283,
+ "id": 287,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1395,12 +1208,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 284,
+ "id": 288,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1423,8 +1236,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 283,
- 284
+ 287,
+ 288
]
}
]
@@ -1433,14 +1246,14 @@
{
"type": "reflection",
"declaration": {
- "id": 285,
+ "id": 289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 286,
+ "id": 290,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1458,7 +1271,7 @@
}
},
{
- "id": 287,
+ "id": 291,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1472,7 +1285,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1482,8 +1295,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 286,
- 287
+ 290,
+ 291
]
}
]
@@ -1510,7 +1323,7 @@
}
},
{
- "id": 271,
+ "id": 275,
"name": "listBuckets",
"kind": 2048,
"kindString": "Method",
@@ -1524,7 +1337,7 @@
],
"signatures": [
{
- "id": 272,
+ "id": 276,
"name": "listBuckets",
"kind": 4096,
"kindString": "Call signature",
@@ -1541,14 +1354,14 @@
{
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 274,
+ "id": 278,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1564,13 +1377,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
},
{
- "id": 275,
+ "id": 279,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1593,8 +1406,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 274,
- 275
+ 278,
+ 279
]
}
]
@@ -1603,14 +1416,14 @@
{
"type": "reflection",
"declaration": {
- "id": 276,
+ "id": 280,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 277,
+ "id": 281,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1628,7 +1441,7 @@
}
},
{
- "id": 278,
+ "id": 282,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1642,7 +1455,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1652,8 +1465,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 277,
- 278
+ 281,
+ 282
]
}
]
@@ -1680,7 +1493,7 @@
}
},
{
- "id": 300,
+ "id": 304,
"name": "updateBucket",
"kind": 2048,
"kindString": "Method",
@@ -1688,13 +1501,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
"signatures": [
{
- "id": 301,
+ "id": 305,
"name": "updateBucket",
"kind": 4096,
"kindString": "Call signature",
@@ -1704,13 +1517,13 @@
},
"parameters": [
{
- "id": 302,
+ "id": 306,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -1718,7 +1531,7 @@
}
},
{
- "id": 303,
+ "id": 307,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1726,22 +1539,25 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 308,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 305,
+ "id": 309,
"name": "public",
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -1756,7 +1572,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 305
+ 309
]
}
]
@@ -1773,14 +1589,14 @@
{
"type": "reflection",
"declaration": {
- "id": 306,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 307,
+ "id": 311,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1788,21 +1604,21 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 312,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 309,
+ "id": 313,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1810,7 +1626,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -1825,7 +1641,7 @@
"title": "Properties",
"kind": 1024,
"children": [
- 309
+ 313
]
}
]
@@ -1833,7 +1649,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1841,7 +1657,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -1856,8 +1672,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 307,
- 310
+ 311,
+ 314
]
}
]
@@ -1866,14 +1682,14 @@
{
"type": "reflection",
"declaration": {
- "id": 311,
+ "id": 315,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 312,
+ "id": 316,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -1881,7 +1697,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -1891,7 +1707,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -1899,13 +1715,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -1915,8 +1731,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 312,
- 313
+ 316,
+ 317
]
}
]
@@ -1948,29 +1764,20 @@
"title": "Constructors",
"kind": 512,
"children": [
- 246
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 266,
- 262,
- 261
+ 250
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 288,
- 325,
- 314,
- 258,
- 279,
- 271,
- 300
+ 292,
+ 329,
+ 318,
+ 262,
+ 283,
+ 275,
+ 304
]
}
],
@@ -1990,14 +1797,14 @@
]
},
{
- "id": 370,
+ "id": 376,
"name": "StorageError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 371,
+ "id": 377,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2011,14 +1818,14 @@
],
"signatures": [
{
- "id": 372,
+ "id": 378,
"name": "new StorageError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 373,
+ "id": 379,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -2031,7 +1838,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
},
"overwrites": {
@@ -2044,27 +1851,6 @@
"type": "reference",
"name": "Error.constructor"
}
- },
- {
- "id": 374,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
}
],
"groups": [
@@ -2072,14 +1858,7 @@
"title": "Constructors",
"kind": 512,
"children": [
- 371
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 374
+ 377
]
}
],
@@ -2101,25 +1880,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 375,
+ "id": 381,
"name": "StorageApiError"
},
{
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
}
]
},
{
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 389,
+ "id": 395,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2133,14 +1912,14 @@
],
"signatures": [
{
- "id": 390,
+ "id": 396,
"name": "new StorageUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 391,
+ "id": 397,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -2151,7 +1930,7 @@
}
},
{
- "id": 392,
+ "id": 398,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -2164,50 +1943,24 @@
],
"type": {
"type": "reference",
- "id": 388,
+ "id": 394,
"name": "StorageUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 372,
+ "id": 378,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 371,
+ "id": 377,
"name": "StorageError.constructor"
}
},
{
- "id": 394,
- "name": "__isStorageError",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 2,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true",
- "inheritedFrom": {
- "type": "reference",
- "id": 374,
- "name": "StorageError.__isStorageError"
- }
- },
- {
- "id": 393,
+ "id": 399,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -2230,15 +1983,14 @@
"title": "Constructors",
"kind": 512,
"children": [
- 389
+ 395
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 394,
- 393
+ 399
]
}
],
@@ -2252,20 +2004,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
]
},
{
- "id": 336,
+ "id": 340,
"name": "Bucket",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 340,
+ "id": 344,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2283,7 +2035,7 @@
}
},
{
- "id": 337,
+ "id": 341,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2301,7 +2053,7 @@
}
},
{
- "id": 338,
+ "id": 342,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2319,7 +2071,7 @@
}
},
{
- "id": 339,
+ "id": 343,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2337,7 +2089,7 @@
}
},
{
- "id": 342,
+ "id": 346,
"name": "public",
"kind": 1024,
"kindString": "Property",
@@ -2355,7 +2107,7 @@
}
},
{
- "id": 341,
+ "id": 345,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2378,12 +2130,12 @@
"title": "Properties",
"kind": 1024,
"children": [
- 340,
- 337,
- 338,
- 339,
+ 344,
+ 341,
342,
- 341
+ 343,
+ 346,
+ 345
]
}
],
@@ -2396,14 +2148,64 @@
]
},
{
- "id": 343,
+ "id": 369,
+ "name": "FetchParameters",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 370,
+ "name": "signal",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pass in an AbortController's signal to cancel the request."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 68,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "AbortSignal",
+ "package": "typescript",
+ "name": "AbortSignal"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 370
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 64,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 347,
"name": "FileObject",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 345,
+ "id": 349,
"name": "bucket_id",
"kind": 1024,
"kindString": "Property",
@@ -2421,7 +2223,7 @@
}
},
{
- "id": 352,
+ "id": 356,
"name": "buckets",
"kind": 1024,
"kindString": "Property",
@@ -2435,12 +2237,12 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
{
- "id": 349,
+ "id": 353,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -2458,7 +2260,7 @@
}
},
{
- "id": 347,
+ "id": 351,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2476,7 +2278,7 @@
}
},
{
- "id": 350,
+ "id": 354,
"name": "last_accessed_at",
"kind": 1024,
"kindString": "Property",
@@ -2494,7 +2296,7 @@
}
},
{
- "id": 351,
+ "id": 355,
"name": "metadata",
"kind": 1024,
"kindString": "Property",
@@ -2524,7 +2326,7 @@
}
},
{
- "id": 344,
+ "id": 348,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2542,7 +2344,7 @@
}
},
{
- "id": 346,
+ "id": 350,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -2560,7 +2362,7 @@
}
},
{
- "id": 348,
+ "id": 352,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -2583,15 +2385,15 @@
"title": "Properties",
"kind": 1024,
"children": [
- 345,
- 352,
349,
- 347,
- 350,
+ 356,
+ 353,
351,
- 344,
- 346,
- 348
+ 354,
+ 355,
+ 348,
+ 350,
+ 352
]
}
],
@@ -2604,24 +2406,27 @@
]
},
{
- "id": 356,
+ "id": 360,
"name": "FileOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 357,
+ "id": 361,
"name": "cacheControl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Cache-Control: max-age=<seconds>` seconds value."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 28,
+ "line": 31,
"character": 2
}
],
@@ -2631,17 +2436,20 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`."
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 29,
+ "line": 35,
"character": 2
}
],
@@ -2651,17 +2459,20 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "upsert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true
},
+ "comment": {
+ "shortText": "whether to perform an upsert"
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 30,
+ "line": 39,
"character": 2
}
],
@@ -2676,9 +2487,9 @@
"title": "Properties",
"kind": 1024,
"children": [
- 357,
- 358,
- 359
+ 361,
+ 362,
+ 363
]
}
],
@@ -2691,14 +2502,14 @@
]
},
{
- "id": 365,
+ "id": 371,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 366,
+ "id": 372,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -2706,7 +2517,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 49,
+ "line": 73,
"character": 2
}
],
@@ -2721,27 +2532,27 @@
"title": "Properties",
"kind": 1024,
"children": [
- 366
+ 372
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 72,
"character": 17
}
]
},
{
- "id": 360,
+ "id": 364,
"name": "SearchOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 361,
+ "id": 365,
"name": "limit",
"kind": 1024,
"kindString": "Property",
@@ -2749,12 +2560,12 @@
"isOptional": true
},
"comment": {
- "shortText": "The number of files you want to be returned."
+ "shortText": " The number of files you want to be returned."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 46,
"character": 2
}
],
@@ -2764,7 +2575,7 @@
}
},
{
- "id": 362,
+ "id": 366,
"name": "offset",
"kind": 1024,
"kindString": "Property",
@@ -2777,7 +2588,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 51,
"character": 2
}
],
@@ -2787,7 +2598,7 @@
}
},
{
- "id": 364,
+ "id": 368,
"name": "search",
"kind": 1024,
"kindString": "Property",
@@ -2800,7 +2611,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 61,
"character": 2
}
],
@@ -2810,7 +2621,7 @@
}
},
{
- "id": 363,
+ "id": 367,
"name": "sortBy",
"kind": 1024,
"kindString": "Property",
@@ -2823,13 +2634,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 56,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 353,
+ "id": 357,
"name": "SortBy"
}
}
@@ -2839,30 +2650,30 @@
"title": "Properties",
"kind": 1024,
"children": [
- 361,
- 362,
- 364,
- 363
+ 365,
+ 366,
+ 368,
+ 367
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 33,
+ "line": 42,
"character": 17
}
]
},
{
- "id": 353,
+ "id": 357,
"name": "SortBy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 354,
+ "id": 358,
"name": "column",
"kind": 1024,
"kindString": "Property",
@@ -2882,7 +2693,7 @@
}
},
{
- "id": 355,
+ "id": 359,
"name": "order",
"kind": 1024,
"kindString": "Property",
@@ -2907,8 +2718,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 354,
- 355
+ 358,
+ 359
]
}
],
@@ -2921,7 +2732,7 @@
]
},
{
- "id": 367,
+ "id": 373,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -2935,14 +2746,14 @@
],
"signatures": [
{
- "id": 368,
+ "id": 374,
"name": "isStorageError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 369,
+ "id": 375,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -2959,7 +2770,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -2972,29 +2783,30 @@
"title": "Classes",
"kind": 128,
"children": [
- 375,
- 245,
- 370,
- 388
+ 381,
+ 249,
+ 376,
+ 394
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 336,
- 343,
- 356,
- 365,
+ 340,
+ 369,
+ 347,
360,
- 353
+ 371,
+ 364,
+ 357
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 367
+ 373
]
}
],
@@ -3120,207 +2932,59 @@
{
"id": 14,
"name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 15,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 3,
- "name": "default"
- }
- }
- ]
- },
- {
- "id": 21,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 10,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 22,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 23,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 24,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 25,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 17,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 9,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 18,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 19,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 20,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ }
+ },
+ {
+ "id": 15,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
}
}
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
}
+ ],
+ "type": {
+ "type": "reference",
+ "id": 3,
+ "name": "default"
}
}
- }
- },
- {
- "id": 16,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageBucketApi.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
+ ]
},
{
"id": 43,
@@ -3331,7 +2995,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 78,
+ "line": 79,
"character": 8
}
],
@@ -3382,10 +3046,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket. By default, buckets are not public."
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 80,
+ "line": 81,
"character": 15
}
],
@@ -3433,7 +3100,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 83,
+ "line": 84,
"character": 8
}
],
@@ -3442,7 +3109,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
},
{
@@ -3464,7 +3131,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 84,
+ "line": 85,
"character": 8
}
],
@@ -3504,7 +3171,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 87,
+ "line": 88,
"character": 8
}
],
@@ -3522,13 +3189,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 88,
+ "line": 89,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -3564,7 +3231,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 183,
+ "line": 185,
"character": 8
}
],
@@ -3618,7 +3285,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 8
}
],
@@ -3640,7 +3307,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 187,
+ "line": 189,
"character": 16
}
],
@@ -3671,7 +3338,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 188,
+ "line": 190,
"character": 8
}
],
@@ -3711,7 +3378,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 191,
+ "line": 193,
"character": 8
}
],
@@ -3729,13 +3396,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 192,
+ "line": 194,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -3771,7 +3438,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 148,
+ "line": 150,
"character": 8
}
],
@@ -3825,7 +3492,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 8
}
],
@@ -3847,7 +3514,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 152,
+ "line": 154,
"character": 16
}
],
@@ -3878,7 +3545,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 153,
+ "line": 155,
"character": 8
}
],
@@ -3918,7 +3585,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 156,
+ "line": 158,
"character": 8
}
],
@@ -3936,13 +3603,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 157,
+ "line": 159,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4038,7 +3705,7 @@
],
"type": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
},
@@ -4115,7 +3782,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4197,7 +3864,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 336,
+ "id": 340,
"name": "Bucket"
}
}
@@ -4275,7 +3942,7 @@
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4311,7 +3978,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 113,
+ "line": 115,
"character": 8
}
],
@@ -4333,7 +4000,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "A unique identifier for the bucket you are updating.\n"
+ "shortText": "A unique identifier for the bucket you are updating."
},
"type": {
"type": "intrinsic",
@@ -4361,10 +4028,13 @@
"kind": 1024,
"kindString": "Property",
"flags": {},
+ "comment": {
+ "shortText": "The visibility of the bucket.\n"
+ },
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 115,
+ "line": 117,
"character": 15
}
],
@@ -4411,7 +4081,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 8
}
],
@@ -4433,7 +4103,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 118,
+ "line": 120,
"character": 16
}
],
@@ -4464,7 +4134,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 119,
+ "line": 121,
"character": 8
}
],
@@ -4504,7 +4174,7 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 122,
+ "line": 124,
"character": 8
}
],
@@ -4522,13 +4192,13 @@
"sources": [
{
"fileName": "src/packages/StorageBucketApi.ts",
- "line": 123,
+ "line": 125,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -4564,15 +4234,6 @@
4
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 21,
- 17,
- 16
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -4596,7 +4257,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 245,
+ "id": 249,
"name": "StorageClient"
}
]
@@ -4800,175 +4461,6 @@
}
]
},
- {
- "id": 111,
- "name": "bucketId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 24,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 112,
- "name": "fetch",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 25,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 113,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "signatures": [
- {
- "id": 114,
- "name": "__type",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 115,
- "name": "input",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInfo",
- "package": "typescript",
- "name": "RequestInfo"
- }
- },
- {
- "id": 116,
- "name": "init",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "qualifiedName": "RequestInit",
- "package": "typescript",
- "name": "RequestInit"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "qualifiedName": "Response",
- "package": "typescript",
- "name": "Response"
- }
- ],
- "qualifiedName": "Promise",
- "package": "typescript",
- "name": "Promise"
- }
- }
- ]
- }
- }
- },
- {
- "id": 107,
- "name": "headers",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 23,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 108,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "indexSignature": {
- "id": 109,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {},
- "parameters": [
- {
- "id": 110,
- "name": "key",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 106,
- "name": "url",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "src/packages/StorageFileApi.ts",
- "line": 22,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
{
"id": 169,
"name": "copy",
@@ -4978,7 +4470,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 238,
+ "line": 226,
"character": 8
}
],
@@ -5046,7 +4538,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 8
}
],
@@ -5068,7 +4560,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 243,
+ "line": 231,
"character": 16
}
],
@@ -5099,7 +4591,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 244,
+ "line": 232,
"character": 8
}
],
@@ -5139,7 +4631,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 247,
+ "line": 235,
"character": 8
}
],
@@ -5157,13 +4649,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 248,
+ "line": 236,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5199,7 +4691,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 274,
+ "line": 262,
"character": 8
}
],
@@ -5267,7 +4759,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 8
}
],
@@ -5282,14 +4774,14 @@
"children": [
{
"id": 188,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 279,
+ "line": 267,
"character": 16
}
],
@@ -5320,7 +4812,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 280,
+ "line": 268,
"character": 8
}
],
@@ -5360,7 +4852,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 283,
+ "line": 271,
"character": 8
}
],
@@ -5378,13 +4870,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 284,
+ "line": 272,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5420,7 +4912,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 313,
+ "line": 301,
"character": 8
}
],
@@ -5491,7 +4983,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 8
}
],
@@ -5515,7 +5007,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 16
}
],
@@ -5542,7 +5034,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 38
}
],
@@ -5562,14 +5054,14 @@
},
{
"id": 202,
- "name": "signedURL",
+ "name": "signedUrl",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 318,
+ "line": 306,
"character": 59
}
],
@@ -5603,7 +5095,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 319,
+ "line": 307,
"character": 8
}
],
@@ -5643,7 +5135,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 322,
+ "line": 310,
"character": 8
}
],
@@ -5661,13 +5153,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 323,
+ "line": 311,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5703,7 +5195,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 354,
+ "line": 342,
"character": 8
}
],
@@ -5757,7 +5249,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 358,
+ "line": 346,
"character": 8
}
],
@@ -5777,7 +5269,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 359,
+ "line": 347,
"character": 8
}
],
@@ -5817,7 +5309,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 362,
+ "line": 350,
"character": 8
}
],
@@ -5835,13 +5327,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 363,
+ "line": 351,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -5877,7 +5369,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 388,
+ "line": 376,
"character": 2
}
],
@@ -5908,14 +5400,84 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "reflection",
+ "declaration": {
+ "id": 219,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 220,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 222,
+ "name": "publicUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/packages/StorageFileApi.ts",
+ "line": 376,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 222
+ ]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 220
+ ]
+ }
+ ]
+ }
}
}
]
},
{
- "id": 228,
+ "id": 232,
"name": "list",
"kind": 2048,
"kindString": "Method",
@@ -5923,13 +5485,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 496,
+ "line": 482,
"character": 8
}
],
"signatures": [
{
- "id": 229,
+ "id": 233,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
@@ -5939,7 +5501,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 234,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
@@ -5947,7 +5509,7 @@
"isOptional": true
},
"comment": {
- "shortText": "The folder path."
+ "shortText": "The folder path.\n"
},
"type": {
"type": "intrinsic",
@@ -5955,35 +5517,30 @@
}
},
{
- "id": 231,
+ "id": 235,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Search options, including `limit`, `offset`, `sortBy`, and `search`."
- },
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "SearchOptions"
}
},
{
- "id": 232,
+ "id": 236,
"name": "parameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "Fetch parameters, currently only supports `signal`, which is an AbortController's signal\n"
- },
"type": {
"type": "reference",
+ "id": 369,
"name": "FetchParameters"
}
}
@@ -5997,14 +5554,14 @@
{
"type": "reflection",
"declaration": {
- "id": 233,
+ "id": 237,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 234,
+ "id": 238,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6012,7 +5569,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 502,
+ "line": 488,
"character": 8
}
],
@@ -6020,13 +5577,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 235,
+ "id": 239,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6034,7 +5591,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 503,
+ "line": 489,
"character": 8
}
],
@@ -6049,8 +5606,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 234,
- 235
+ 238,
+ 239
]
}
]
@@ -6059,14 +5616,14 @@
{
"type": "reflection",
"declaration": {
- "id": 236,
+ "id": 240,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 237,
+ "id": 241,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6074,7 +5631,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 506,
+ "line": 492,
"character": 8
}
],
@@ -6084,7 +5641,7 @@
}
},
{
- "id": 238,
+ "id": 242,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6092,13 +5649,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 507,
+ "line": 493,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6108,8 +5665,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 237,
- 238
+ 241,
+ 242
]
}
]
@@ -6134,7 +5691,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 202,
+ "line": 190,
"character": 8
}
],
@@ -6202,7 +5759,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 8
}
],
@@ -6224,7 +5781,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 207,
+ "line": 195,
"character": 16
}
],
@@ -6255,7 +5812,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 208,
+ "line": 196,
"character": 8
}
],
@@ -6295,7 +5852,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 211,
+ "line": 199,
"character": 8
}
],
@@ -6313,13 +5870,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 212,
+ "line": 200,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6347,7 +5904,7 @@
]
},
{
- "id": 219,
+ "id": 223,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -6355,13 +5912,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 398,
+ "line": 386,
"character": 8
}
],
"signatures": [
{
- "id": 220,
+ "id": 224,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -6371,7 +5928,7 @@
},
"parameters": [
{
- "id": 221,
+ "id": 225,
"name": "paths",
"kind": 32768,
"kindString": "Parameter",
@@ -6397,14 +5954,14 @@
{
"type": "reflection",
"declaration": {
- "id": 222,
+ "id": 226,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 223,
+ "id": 227,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6412,7 +5969,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 402,
+ "line": 390,
"character": 8
}
],
@@ -6420,13 +5977,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 343,
+ "id": 347,
"name": "FileObject"
}
}
},
{
- "id": 224,
+ "id": 228,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6434,7 +5991,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 403,
+ "line": 391,
"character": 8
}
],
@@ -6449,8 +6006,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 223,
- 224
+ 227,
+ 228
]
}
]
@@ -6459,14 +6016,14 @@
{
"type": "reflection",
"declaration": {
- "id": 225,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 226,
+ "id": 230,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -6474,7 +6031,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 406,
+ "line": 394,
"character": 8
}
],
@@ -6484,7 +6041,7 @@
}
},
{
- "id": 227,
+ "id": 231,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6492,13 +6049,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 407,
+ "line": 395,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6508,8 +6065,8 @@
"title": "Properties",
"kind": 1024,
"children": [
- 226,
- 227
+ 230,
+ 231
]
}
]
@@ -6534,7 +6091,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 169,
+ "line": 157,
"character": 8
}
],
@@ -6570,7 +6127,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -6652,12 +6209,9 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions"
}
}
@@ -6686,7 +6240,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 8
}
],
@@ -6708,7 +6262,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 185,
+ "line": 173,
"character": 16
}
],
@@ -6739,7 +6293,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 186,
+ "line": 174,
"character": 8
}
],
@@ -6779,7 +6333,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 189,
+ "line": 177,
"character": 8
}
],
@@ -6797,13 +6351,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 190,
+ "line": 178,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -6839,7 +6393,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 132,
+ "line": 124,
"character": 8
}
],
@@ -6875,7 +6429,7 @@
"kindString": "Parameter",
"flags": {},
"comment": {
- "shortText": "The body of the file to be stored in the bucket."
+ "shortText": "The body of the file to be stored in the bucket.\n"
},
"type": {
"type": "union",
@@ -6957,12 +6511,9 @@
"flags": {
"isOptional": true
},
- "comment": {
- "shortText": "HTTP headers.\n`cacheControl`: string, the `Cache-Control: max-age=<seconds>` seconds value.\n`contentType`: string, the `Content-Type` header value. Should be specified if using a `fileBody` that is neither `Blob` nor `File` nor `FormData`, otherwise will default to `text/plain;charset=UTF-8`.\n`upsert`: boolean, whether to perform an upsert.\n"
- },
"type": {
"type": "reference",
- "id": 356,
+ "id": 360,
"name": "FileOptions"
}
}
@@ -6991,7 +6542,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 8
}
],
@@ -7013,7 +6564,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 148,
+ "line": 140,
"character": 16
}
],
@@ -7044,7 +6595,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 149,
+ "line": 141,
"character": 8
}
],
@@ -7084,7 +6635,7 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 152,
+ "line": 144,
"character": 8
}
],
@@ -7102,13 +6653,13 @@
"sources": [
{
"fileName": "src/packages/StorageFileApi.ts",
- "line": 153,
+ "line": 145,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 370,
+ "id": 376,
"name": "StorageError"
}
}
@@ -7144,16 +6695,6 @@
93
]
},
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 111,
- 112,
- 107,
- 106
- ]
- },
{
"title": "Methods",
"kind": 2048,
@@ -7163,9 +6704,9 @@
193,
207,
216,
- 228,
+ 232,
157,
- 219,
+ 223,
144,
131
]