{
"id": 0,
"name": "@supabase/storage-js",
"variant": "project",
"kind": 1,
"flags": {},
"children": [
{
"id": 1,
"name": "index",
"variant": "declaration",
"kind": 2,
"flags": {},
"children": [
{
"id": 1404,
"name": "StorageVectorsErrorCode",
"variant": "declaration",
"kind": 8,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Error codes specific to S3 Vectors API\nMaps AWS service errors to application-friendly error codes"
}
]
},
"children": [
{
"id": 1405,
"name": "InternalError",
"variant": "declaration",
"kind": 16,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Internal server fault (HTTP 500)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 133,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L133"
}
],
"type": {
"type": "literal",
"value": "InternalError"
}
},
{
"id": 1408,
"name": "S3VectorBucketNotEmpty",
"variant": "declaration",
"kind": 16,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Delete bucket while not empty (HTTP 400)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 139,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L139"
}
],
"type": {
"type": "literal",
"value": "S3VectorBucketNotEmpty"
}
},
{
"id": 1406,
"name": "S3VectorConflictException",
"variant": "declaration",
"kind": 16,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Resource already exists / conflict (HTTP 409)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 135,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L135"
}
],
"type": {
"type": "literal",
"value": "S3VectorConflictException"
}
},
{
"id": 1409,
"name": "S3VectorMaxBucketsExceeded",
"variant": "declaration",
"kind": 16,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Exceeds bucket quota/limit (HTTP 400)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 141,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L141"
}
],
"type": {
"type": "literal",
"value": "S3VectorMaxBucketsExceeded"
}
},
{
"id": 1410,
"name": "S3VectorMaxIndexesExceeded",
"variant": "declaration",
"kind": 16,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Exceeds index quota/limit (HTTP 400)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 143,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L143"
}
],
"type": {
"type": "literal",
"value": "S3VectorMaxIndexesExceeded"
}
},
{
"id": 1407,
"name": "S3VectorNotFoundException",
"variant": "declaration",
"kind": 16,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Resource not found (HTTP 404)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 137,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L137"
}
],
"type": {
"type": "literal",
"value": "S3VectorNotFoundException"
}
}
],
"groups": [
{
"title": "Enumeration Members",
"children": [1405, 1408, 1406, 1409, 1410, 1407]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 131,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L131"
}
]
},
{
"id": 1340,
"name": "StorageApiError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "API error returned from Storage service\nIncludes HTTP status code and service-specific error code"
}
]
},
"children": [
{
"id": 1341,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 48,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L48"
}
],
"signatures": [
{
"id": 1342,
"name": "StorageApiError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 48,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L48"
}
],
"parameters": [
{
"id": 1343,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1344,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1345,
"name": "statusCode",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1346,
"name": "namespace",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1328,
"name": "ErrorNamespace",
"package": "@supabase/storage-js"
},
"defaultValue": "'storage'"
}
],
"type": {
"type": "reference",
"target": 1340,
"name": "StorageApiError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1331,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1330,
"name": "StorageError.constructor"
}
},
{
"id": 1347,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 45,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L45"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"overwrites": {
"type": "reference",
"target": 1338,
"name": "StorageError.status"
}
},
{
"id": 1348,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 46,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L46"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"target": 1339,
"name": "StorageError.statusCode"
}
},
{
"id": 1349,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 60,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L60"
}
],
"signatures": [
{
"id": 1350,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 60,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L60"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1351,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1353,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 63,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L63"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "..."
},
{
"id": 1352,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 62,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L62"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "..."
},
{
"id": 1354,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 64,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L64"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"defaultValue": "..."
},
{
"id": 1355,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 65,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L65"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "..."
}
],
"groups": [
{
"title": "Properties",
"children": [1353, 1352, 1354, 1355]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 61,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L61"
}
]
}
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [1341]
},
{
"title": "Properties",
"children": [1347, 1348]
},
{
"title": "Methods",
"children": [1349]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 44,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L44"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
],
"extendedBy": [
{
"type": "reference",
"target": 1377,
"name": "StorageVectorsApiError"
}
]
},
{
"id": 963,
"name": "StorageClient",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 964,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 26,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L26"
}
],
"signatures": [
{
"id": 965,
"name": "StorageClient",
"variant": "signature",
"kind": 16384,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Creates a client for Storage buckets, files, analytics, and vectors."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@example",
"name": "Creating a Storage client",
"content": [
{
"kind": "code",
"text": "```ts\nimport { StorageClient } from '@supabase/storage-js'\n\nconst storage = new StorageClient('https://xyzcompany.supabase.co/storage/v1', {\n apikey: 'public-anon-key',\n})\nconst avatars = storage.from('avatars')\n```"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 26,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L26"
}
],
"parameters": [
{
"id": 966,
"name": "url",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 967,
"name": "headers",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 968,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 28,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L28"
}
],
"indexSignatures": [
{
"id": 969,
"name": "__index",
"variant": "signature",
"kind": 8192,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 28,
"character": 15,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L28"
}
],
"parameters": [
{
"id": 970,
"name": "key",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
"defaultValue": "{}"
},
{
"id": 971,
"name": "fetch",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 972,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "node_modules/typescript/lib/lib.dom.d.ts",
"line": 29329,
"character": 17
},
{
"fileName": "node_modules/@types/node/globals.d.ts",
"line": 289,
"character": 13
}
],
"signatures": [
{
"id": 973,
"name": "__type",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
}
]
},
"sources": [
{
"fileName": "node_modules/typescript/lib/lib.dom.d.ts",
"line": 29329,
"character": 17
}
],
"parameters": [
{
"id": 974,
"name": "input",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "RequestInfo"
},
"name": "RequestInfo",
"package": "typescript"
},
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "URL"
},
"name": "URL",
"package": "typescript"
}
]
}
},
{
"id": 975,
"name": "init",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "RequestInit"
},
"name": "RequestInit",
"package": "typescript"
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "Response"
},
"name": "Response",
"package": "typescript"
}
],
"name": "Promise",
"package": "typescript"
}
},
{
"id": 976,
"name": "__type",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
}
]
},
"sources": [
{
"fileName": "node_modules/@types/node/globals.d.ts",
"line": 289,
"character": 13
}
],
"parameters": [
{
"id": 977,
"name": "input",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "Request"
},
"name": "Request",
"package": "typescript"
},
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "URL"
},
"name": "URL",
"package": "typescript"
}
]
}
},
{
"id": 978,
"name": "init",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "RequestInit"
},
"name": "RequestInit",
"package": "typescript"
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "Response"
},
"name": "Response",
"package": "typescript"
}
],
"name": "Promise",
"package": "typescript"
}
}
]
}
}
},
{
"id": 979,
"name": "opts",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": 1091,
"name": "StorageClientOptions",
"package": "@supabase/storage-js"
}
}
],
"type": {
"type": "reference",
"target": 963,
"name": "StorageClient",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 138,
"name": "default.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 137,
"name": "default.constructor"
}
},
{
"id": 985,
"name": "analytics",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 79,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L79"
}
],
"getSignature": {
"id": 986,
"name": "analytics",
"variant": "signature",
"kind": 524288,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Access analytics storage operations using Iceberg tables.\n\n**Public alpha:** This API is part of a public alpha release and may not be available to your account type."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "Analytics Buckets"
}
]
},
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "A StorageAnalyticsClient instance configured with the current storage settings."
}
]
}
],
"modifierTags": ["@alpha"]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 79,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L79"
}
],
"type": {
"type": "reference",
"target": 48,
"name": "StorageAnalyticsClient",
"package": "@supabase/storage-js",
"qualifiedName": "default"
}
}
},
{
"id": 983,
"name": "vectors",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 61,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L61"
}
],
"getSignature": {
"id": 984,
"name": "vectors",
"variant": "signature",
"kind": 524288,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Access vector storage operations.\n\n**Public alpha:** This API is part of a public alpha release and may not be available to your account type."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "Vector Buckets"
}
]
},
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "A StorageVectorsClient instance configured with the current storage settings."
}
]
}
],
"modifierTags": ["@alpha"]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 61,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L61"
}
],
"type": {
"type": "reference",
"target": 544,
"name": "StorageVectorsClient",
"package": "@supabase/storage-js"
}
}
},
{
"id": 1005,
"name": "createBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 185,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L185"
}
],
"signatures": [
{
"id": 1006,
"name": "createBucket",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Creates a new Storage bucket"
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "Promise with response containing newly created bucket name or error"
}
]
},
{
"tag": "@example",
"name": "Create bucket",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase\n .storage\n .createBucket('avatars', {\n public: false,\n allowedMimeTypes: ['image/png'],\n fileSizeLimit: 1024\n })\n```"
},
{
"kind": "text",
"text": "\n\nResponse:\n"
},
{
"kind": "code",
"text": "```json\n{\n \"data\": {\n \"name\": \"avatars\"\n },\n \"error\": null\n}\n```"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- RLS policy permissions required:\n - "
},
{
"kind": "code",
"text": "`buckets`"
},
{
"kind": "text",
"text": " table permissions: "
},
{
"kind": "code",
"text": "`insert`"
},
{
"kind": "text",
"text": "\n - "
},
{
"kind": "code",
"text": "`objects`"
},
{
"kind": "text",
"text": " table permissions: none\n- Refer to the [Storage guide](/docs/guides/storage/security/access-control) on how access control works"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 185,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L185"
}
],
"parameters": [
{
"id": 1007,
"name": "id",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "A unique identifier for the bucket you are creating."
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1008,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 1009,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1012,
"name": "allowedMimeTypes",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png."
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 190,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L190"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1011,
"name": "fileSizeLimit",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 189,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L189"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1010,
"name": "public",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private."
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 188,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1013,
"name": "type",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "(private-beta) specifies the bucket type. see "
},
{
"kind": "code",
"text": "`BucketType`"
},
{
"kind": "text",
"text": " for more details.\n - default bucket type is "
},
{
"kind": "code",
"text": "`STANDARD`"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 191,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L191"
}
],
"type": {
"type": "reference",
"target": 1102,
"name": "BucketType",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1012, 1011, 1010, 1013]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 187,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L187"
}
]
}
},
"defaultValue": "..."
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1014,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1015,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 197,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L197"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Pick"
},
"typeArguments": [
{
"type": "reference",
"target": 1103,
"name": "Bucket",
"package": "@supabase/storage-js"
},
{
"type": "literal",
"value": "name"
}
],
"name": "Pick",
"package": "typescript"
}
},
{
"id": 1016,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 198,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L198"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1015, 1016]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 196,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L196"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1017,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1018,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 201,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L201"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1019,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 202,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L202"
}
],
"type": {
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1018, 1019]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 200,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L200"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 172,
"name": "default.createBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 171,
"name": "default.createBucket"
}
},
{
"id": 1047,
"name": "deleteBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 372,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L372"
}
],
"signatures": [
{
"id": 1048,
"name": "deleteBucket",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first "
},
{
"kind": "code",
"text": "`empty()`"
},
{
"kind": "text",
"text": " the bucket."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "Promise with success message or error"
}
]
},
{
"tag": "@example",
"name": "Delete bucket",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase\n .storage\n .deleteBucket('avatars')\n```"
},
{
"kind": "text",
"text": "\n\nResponse:\n"
},
{
"kind": "code",
"text": "```json\n{\n \"data\": {\n \"message\": \"Successfully deleted\"\n },\n \"error\": null\n}\n```"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- RLS policy permissions required:\n - "
},
{
"kind": "code",
"text": "`buckets`"
},
{
"kind": "text",
"text": " table permissions: "
},
{
"kind": "code",
"text": "`select`"
},
{
"kind": "text",
"text": " and "
},
{
"kind": "code",
"text": "`delete`"
},
{
"kind": "text",
"text": "\n - "
},
{
"kind": "code",
"text": "`objects`"
},
{
"kind": "text",
"text": " table permissions: none\n- Refer to the [Storage guide](/docs/guides/storage/security/access-control) on how access control works"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 372,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L372"
}
],
"parameters": [
{
"id": 1049,
"name": "id",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The unique identifier of the bucket you would like to delete."
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1050,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1051,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 374,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L374"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1052,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1053,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 374,
"character": 16,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L374"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1053]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 374,
"character": 14,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L374"
}
]
}
}
},
{
"id": 1054,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 375,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L375"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1051, 1054]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 373,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L373"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1055,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1056,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 378,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L378"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1057,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 379,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L379"
}
],
"type": {
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1056, 1057]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 377,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L377"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 214,
"name": "default.deleteBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 213,
"name": "default.deleteBucket"
}
},
{
"id": 1036,
"name": "emptyBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 326,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L326"
}
],
"signatures": [
{
"id": 1037,
"name": "emptyBucket",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Removes all objects inside a single bucket."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "Promise with success message or error"
}
]
},
{
"tag": "@example",
"name": "Empty bucket",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase\n .storage\n .emptyBucket('avatars')\n```"
},
{
"kind": "text",
"text": "\n\nResponse:\n"
},
{
"kind": "code",
"text": "```json\n{\n \"data\": {\n \"message\": \"Successfully emptied\"\n },\n \"error\": null\n}\n```"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- RLS policy permissions required:\n - "
},
{
"kind": "code",
"text": "`buckets`"
},
{
"kind": "text",
"text": " table permissions: "
},
{
"kind": "code",
"text": "`select`"
},
{
"kind": "text",
"text": "\n - "
},
{
"kind": "code",
"text": "`objects`"
},
{
"kind": "text",
"text": " table permissions: "
},
{
"kind": "code",
"text": "`select`"
},
{
"kind": "text",
"text": " and "
},
{
"kind": "code",
"text": "`delete`"
},
{
"kind": "text",
"text": "\n- Refer to the [Storage guide](/docs/guides/storage/security/access-control) on how access control works"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 326,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L326"
}
],
"parameters": [
{
"id": 1038,
"name": "id",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The unique identifier of the bucket you would like to empty."
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1039,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1040,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 328,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L328"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1041,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1042,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 328,
"character": 16,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L328"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1042]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 328,
"character": 14,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L328"
}
]
}
}
},
{
"id": 1043,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 329,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L329"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1040, 1043]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 327,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L327"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1044,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1045,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 332,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L332"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1046,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 333,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L333"
}
],
"type": {
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1045, 1046]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 331,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L331"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 203,
"name": "default.emptyBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 202,
"name": "default.emptyBucket"
}
},
{
"id": 980,
"name": "from",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 46,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L46"
}
],
"signatures": [
{
"id": 981,
"name": "from",
"variant": "signature",
"kind": 4096,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Perform file operation in a bucket."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@example",
"name": "Accessing a bucket",
"content": [
{
"kind": "code",
"text": "```typescript\nconst avatars = supabase.storage.from('avatars')\n```"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 46,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L46"
}
],
"parameters": [
{
"id": 982,
"name": "id",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The bucket id to operate on."
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 261,
"name": "StorageFileApi",
"package": "@supabase/storage-js",
"qualifiedName": "default"
}
}
]
},
{
"id": 996,
"name": "getBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 127,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L127"
}
],
"signatures": [
{
"id": 997,
"name": "getBucket",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Retrieves the details of an existing Storage bucket."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "Promise with response containing bucket details or error"
}
]
},
{
"tag": "@example",
"name": "Get bucket",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase\n .storage\n .getBucket('avatars')\n```"
},
{
"kind": "text",
"text": "\n\nResponse:\n"
},
{
"kind": "code",
"text": "```json\n{\n \"data\": {\n \"id\": \"avatars\",\n \"name\": \"avatars\",\n \"owner\": \"\",\n \"public\": false,\n \"file_size_limit\": 1024,\n \"allowed_mime_types\": [\n \"image/png\"\n ],\n \"created_at\": \"2024-05-22T22:26:05.100Z\",\n \"updated_at\": \"2024-05-22T22:26:05.100Z\"\n },\n \"error\": null\n}\n```"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- RLS policy permissions required:\n - "
},
{
"kind": "code",
"text": "`buckets`"
},
{
"kind": "text",
"text": " table permissions: "
},
{
"kind": "code",
"text": "`select`"
},
{
"kind": "text",
"text": "\n - "
},
{
"kind": "code",
"text": "`objects`"
},
{
"kind": "text",
"text": " table permissions: none\n- Refer to the [Storage guide](/docs/guides/storage/security/access-control) on how access control works"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 127,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L127"
}
],
"parameters": [
{
"id": 998,
"name": "id",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The unique identifier of the bucket you would like to retrieve."
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 999,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1000,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 129,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L129"
}
],
"type": {
"type": "reference",
"target": 1103,
"name": "Bucket",
"package": "@supabase/storage-js"
}
},
{
"id": 1001,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 130,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L130"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1000, 1001]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 128,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L128"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1002,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1003,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 133,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L133"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1004,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 134,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L134"
}
],
"type": {
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1003, 1004]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 132,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L132"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 163,
"name": "default.getBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 162,
"name": "default.getBucket"
}
},
{
"id": 987,
"name": "listBuckets",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 70,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L70"
}
],
"signatures": [
{
"id": 988,
"name": "listBuckets",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Retrieves the details of all Storage buckets within an existing project."
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "Promise with response containing array of buckets or error"
}
]
},
{
"tag": "@example",
"name": "List buckets",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase\n .storage\n .listBuckets()\n```"
}
]
},
{
"tag": "@example",
"name": "List buckets with options",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase\n .storage\n .listBuckets({\n limit: 10,\n offset: 0,\n sortColumn: 'created_at',\n sortOrder: 'desc',\n search: 'prod'\n })\n```"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- RLS policy permissions required:\n - "
},
{
"kind": "code",
"text": "`buckets`"
},
{
"kind": "text",
"text": " table permissions: "
},
{
"kind": "code",
"text": "`select`"
},
{
"kind": "text",
"text": "\n - "
},
{
"kind": "code",
"text": "`objects`"
},
{
"kind": "text",
"text": " table permissions: none\n- Refer to the [Storage guide](/docs/guides/storage/security/access-control) on how access control works"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 70,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L70"
}
],
"parameters": [
{
"id": 989,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Query parameters for listing buckets"
}
]
},
"type": {
"type": "reference",
"target": 1113,
"name": "ListBucketOptions",
"package": "@supabase/storage-js",
"highlightedProperties": {
"limit": [
{
"kind": "text",
"text": "Maximum number of buckets to return"
}
],
"offset": [
{
"kind": "text",
"text": "Number of buckets to skip"
}
],
"sortColumn": [
{
"kind": "text",
"text": "Column to sort by ('id', 'name', 'created_at', 'updated_at')"
}
],
"sortOrder": [
{
"kind": "text",
"text": "Sort order ('asc' or 'desc')"
}
],
"search": [
{
"kind": "text",
"text": "Search term to filter bucket names"
}
]
}
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 990,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 991,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 72,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L72"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"target": 1103,
"name": "Bucket",
"package": "@supabase/storage-js"
}
}
},
{
"id": 992,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 73,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L73"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [991, 992]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 71,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L71"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 993,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 994,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 76,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L76"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 995,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 77,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L77"
}
],
"type": {
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [994, 995]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 75,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L75"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 154,
"name": "default.listBuckets"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 153,
"name": "default.listBuckets"
}
},
{
"id": 1075,
"name": "setHeader",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true,
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/BaseApiClient.ts",
"line": 57,
"character": 9,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/BaseApiClient.ts#L57"
}
],
"signatures": [
{
"id": 1076,
"name": "setHeader",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Set an HTTP header for the request.\nCreates a shallow copy of headers to avoid mutating shared state."
}
],
"blockTags": [
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "this - For method chaining"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/BaseApiClient.ts",
"line": 57,
"character": 9,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/BaseApiClient.ts#L57"
}
],
"parameters": [
{
"id": 1077,
"name": "name",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Header name"
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1078,
"name": "value",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Header value"
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"inheritedFrom": {
"type": "reference",
"target": 245,
"name": "default.setHeader"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 244,
"name": "default.setHeader"
}
},
{
"id": 1073,
"name": "throwOnError",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true,
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/BaseApiClient.ts",
"line": 44,
"character": 9,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/BaseApiClient.ts#L44"
}
],
"signatures": [
{
"id": 1074,
"name": "throwOnError",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Enable throwing errors instead of returning them.\nWhen enabled, errors are thrown instead of returned in { data, error } format."
}
],
"blockTags": [
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "this - For method chaining"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/BaseApiClient.ts",
"line": 44,
"character": 9,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/BaseApiClient.ts#L44"
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"inheritedFrom": {
"type": "reference",
"target": 243,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 242,
"name": "default.throwOnError"
}
},
{
"id": 1020,
"name": "updateBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 263,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L263"
}
],
"signatures": [
{
"id": 1021,
"name": "updateBucket",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Updates a Storage bucket"
}
],
"blockTags": [
{
"tag": "@category",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@returns",
"content": [
{
"kind": "text",
"text": "Promise with response containing success message or error"
}
]
},
{
"tag": "@example",
"name": "Update bucket",
"content": [
{
"kind": "code",
"text": "```js\nconst { data, error } = await supabase\n .storage\n .updateBucket('avatars', {\n public: false,\n allowedMimeTypes: ['image/png'],\n fileSizeLimit: 1024\n })\n```"
},
{
"kind": "text",
"text": "\n\nResponse:\n"
},
{
"kind": "code",
"text": "```json\n{\n \"data\": {\n \"message\": \"Successfully updated\"\n },\n \"error\": null\n}\n```"
}
]
},
{
"tag": "@remarks",
"content": [
{
"kind": "text",
"text": "- RLS policy permissions required:\n - "
},
{
"kind": "code",
"text": "`buckets`"
},
{
"kind": "text",
"text": " table permissions: "
},
{
"kind": "code",
"text": "`select`"
},
{
"kind": "text",
"text": " and "
},
{
"kind": "code",
"text": "`update`"
},
{
"kind": "text",
"text": "\n - "
},
{
"kind": "code",
"text": "`objects`"
},
{
"kind": "text",
"text": " table permissions: none\n- Refer to the [Storage guide](/docs/guides/storage/security/access-control) on how access control works"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 263,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L263"
}
],
"parameters": [
{
"id": 1022,
"name": "id",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "A unique identifier for the bucket you are updating."
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1023,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 1024,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1027,
"name": "allowedMimeTypes",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "specifies the allowed mime types that this bucket can accept during upload.\nThe default value is null, which allows files with all mime types to be uploaded.\nEach mime type specified can be a wildcard, e.g. image/*, or a specific mime type, e.g. image/png."
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 268,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L268"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1026,
"name": "fileSizeLimit",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "specifies the max file size in bytes that can be uploaded to this bucket.\nThe global file size limit takes precedence over this value.\nThe default value is null, which doesn't set a per bucket file size limit."
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 267,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L267"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1025,
"name": "public",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations."
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 266,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L266"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1027, 1026, 1025]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 265,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L265"
}
]
}
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1028,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1029,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 272,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L272"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1030,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1031,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 272,
"character": 16,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L272"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1031]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 272,
"character": 14,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L272"
}
]
}
}
},
{
"id": 1032,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 273,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L273"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1029, 1032]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 271,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L271"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1033,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1034,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 276,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L276"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1035,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 277,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L277"
}
],
"type": {
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1034, 1035]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 275,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/packages/StorageBucketApi.ts#L275"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 187,
"name": "default.updateBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 186,
"name": "default.updateBucket"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [964]
},
{
"title": "Accessors",
"children": [985, 983]
},
{
"title": "Methods",
"children": [1005, 1047, 1036, 980, 996, 987, 1075, 1073, 1020]
}
],
"categories": [
{
"title": "Analytics Buckets",
"children": [985]
},
{
"title": "File Buckets",
"children": [964, 1005, 1047, 1036, 980, 996, 987, 1020]
},
{
"title": "Other",
"children": [1075, 1073]
},
{
"title": "Vector Buckets",
"children": [983]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 11,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/StorageClient.ts#L11"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 136,
"name": "default",
"package": "@supabase/storage-js"
}
]
},
{
"id": 1329,
"name": "StorageError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Base error class for all Storage errors\nSupports both 'storage' and 'vectors' namespaces"
}
]
},
"children": [
{
"id": 1330,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 17,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L17"
}
],
"signatures": [
{
"id": 1331,
"name": "StorageError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 17,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L17"
}
],
"parameters": [
{
"id": 1332,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1333,
"name": "namespace",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1328,
"name": "ErrorNamespace",
"package": "@supabase/storage-js"
},
"defaultValue": "'storage'"
},
{
"id": 1334,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1335,
"name": "statusCode",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "Error.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": -1,
"name": "Error.constructor"
}
},
{
"id": 1338,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 14,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L14"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1339,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 15,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L15"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1330]
},
{
"title": "Properties",
"children": [1338, 1339]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 11,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L11"
}
],
"extendedTypes": [
{
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Error"
},
"name": "Error",
"package": "typescript"
}
],
"extendedBy": [
{
"type": "reference",
"target": 1340,
"name": "StorageApiError"
},
{
"type": "reference",
"target": 1358,
"name": "StorageUnknownError"
},
{
"type": "reference",
"target": 1369,
"name": "StorageVectorsError"
}
]
},
{
"id": 1358,
"name": "StorageUnknownError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Unknown error that doesn't match expected error patterns\nWraps the original error for debugging"
}
]
},
"children": [
{
"id": 1359,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 77,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L77"
}
],
"signatures": [
{
"id": 1360,
"name": "StorageUnknownError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 77,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L77"
}
],
"parameters": [
{
"id": 1361,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1362,
"name": "originalError",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
}
},
{
"id": 1363,
"name": "namespace",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1328,
"name": "ErrorNamespace",
"package": "@supabase/storage-js"
},
"defaultValue": "'storage'"
}
],
"type": {
"type": "reference",
"target": 1358,
"name": "StorageUnknownError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1331,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1330,
"name": "StorageError.constructor"
}
},
{
"id": 1364,
"name": "originalError",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 75,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L75"
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
},
{
"id": 1367,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 14,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L14"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1338,
"name": "StorageError.status"
}
},
{
"id": 1368,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 15,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L15"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1339,
"name": "StorageError.statusCode"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1359]
},
{
"title": "Properties",
"children": [1364, 1367, 1368]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 74,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L74"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
],
"extendedBy": [
{
"type": "reference",
"target": 1394,
"name": "StorageVectorsUnknownError"
}
]
},
{
"id": 1377,
"name": "StorageVectorsApiError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "Use StorageApiError with namespace='vectors' instead\nAlias for backward compatibility with existing vector storage code"
}
]
}
]
},
"children": [
{
"id": 1378,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 112,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L112"
}
],
"signatures": [
{
"id": 1379,
"name": "StorageVectorsApiError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 112,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L112"
}
],
"parameters": [
{
"id": 1380,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1381,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1382,
"name": "statusCode",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1377,
"name": "StorageVectorsApiError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1342,
"name": "StorageApiError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1341,
"name": "StorageApiError.constructor"
}
},
{
"id": 1383,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 45,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L45"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1347,
"name": "StorageApiError.status"
}
},
{
"id": 1384,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 46,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L46"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1348,
"name": "StorageApiError.statusCode"
}
},
{
"id": 1385,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 60,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L60"
}
],
"signatures": [
{
"id": 1386,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 60,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L60"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1387,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1389,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 63,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L63"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "..."
},
{
"id": 1388,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 62,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L62"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "..."
},
{
"id": 1390,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 64,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L64"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"defaultValue": "..."
},
{
"id": 1391,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 65,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L65"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "..."
}
],
"groups": [
{
"title": "Properties",
"children": [1389, 1388, 1390, 1391]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 61,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L61"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1350,
"name": "StorageApiError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1349,
"name": "StorageApiError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1378]
},
{
"title": "Properties",
"children": [1383, 1384]
},
{
"title": "Methods",
"children": [1385]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 111,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L111"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1340,
"name": "StorageApiError",
"package": "@supabase/storage-js"
}
]
},
{
"id": 1369,
"name": "StorageVectorsError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "Use StorageError with namespace='vectors' instead\nAlias for backward compatibility with existing vector storage code"
}
]
}
]
},
"children": [
{
"id": 1370,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 93,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L93"
}
],
"signatures": [
{
"id": 1371,
"name": "StorageVectorsError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 93,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L93"
}
],
"parameters": [
{
"id": 1372,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1369,
"name": "StorageVectorsError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1331,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1330,
"name": "StorageError.constructor"
}
},
{
"id": 1375,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 14,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L14"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1338,
"name": "StorageError.status"
}
},
{
"id": 1376,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 15,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L15"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1339,
"name": "StorageError.statusCode"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1370]
},
{
"title": "Properties",
"children": [1375, 1376]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 92,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L92"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
]
},
{
"id": 1394,
"name": "StorageVectorsUnknownError",
"variant": "declaration",
"kind": 128,
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "Use StorageUnknownError with namespace='vectors' instead\nAlias for backward compatibility with existing vector storage code"
}
]
}
]
},
"children": [
{
"id": 1395,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 122,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L122"
}
],
"signatures": [
{
"id": 1396,
"name": "StorageVectorsUnknownError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 122,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L122"
}
],
"parameters": [
{
"id": 1397,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1398,
"name": "originalError",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
],
"type": {
"type": "reference",
"target": 1394,
"name": "StorageVectorsUnknownError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1360,
"name": "StorageUnknownError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1359,
"name": "StorageUnknownError.constructor"
}
},
{
"id": 1399,
"name": "originalError",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 75,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L75"
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
},
"inheritedFrom": {
"type": "reference",
"target": 1364,
"name": "StorageUnknownError.originalError"
}
},
{
"id": 1402,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 14,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L14"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1367,
"name": "StorageUnknownError.status"
}
},
{
"id": 1403,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 15,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L15"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"target": 1368,
"name": "StorageUnknownError.statusCode"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1395]
},
{
"title": "Properties",
"children": [1399, 1402, 1403]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 121,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/common/errors.ts#L121"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1358,
"name": "StorageUnknownError",
"package": "@supabase/storage-js"
}
]
},
{
"id": 1119,
"name": "AnalyticBucket",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Represents an Analytics Bucket using Apache Iceberg table format.\nAnalytics buckets are optimized for analytical queries and data processing."
}
]
},
"children": [
{
"id": 1123,
"name": "created_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "ISO 8601 timestamp of bucket creation"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 42,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L42"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1122,
"name": "format",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Storage format used (e.g., 'iceberg')"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 40,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L40"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1120,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Unique identifier for the bucket"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 36,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1121,
"name": "type",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Bucket type - always 'ANALYTICS' for analytics buckets"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 38,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L38"
}
],
"type": {
"type": "literal",
"value": "ANALYTICS"
}
},
{
"id": 1124,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "ISO 8601 timestamp of last update"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 44,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L44"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1123, 1122, 1120, 1121, 1124]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 34,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L34"
}
]
},
{
"id": 1103,
"name": "Bucket",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 1109,
"name": "allowed_mime_types",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 16,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L16"
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 1110,
"name": "created_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 17,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L17"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1108,
"name": "file_size_limit",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 15,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L15"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1104,
"name": "id",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 11,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L11"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1106,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 13,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L13"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1107,
"name": "owner",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 14,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L14"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1112,
"name": "public",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 19,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L19"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1105,
"name": "type",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 12,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L12"
}
],
"type": {
"type": "reference",
"target": 1102,
"name": "BucketType",
"package": "@supabase/storage-js"
}
},
{
"id": 1111,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 18,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L18"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1109, 1110, 1108, 1104, 1106, 1107, 1112, 1105, 1111]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 10,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L10"
}
]
},
{
"id": 1283,
"name": "DeleteVectorsOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Options for batch deleting vectors"
}
]
},
"children": [
{
"id": 1285,
"name": "indexName",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Name of the index"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 549,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L549"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1286,
"name": "keys",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Array of vector keys to delete (1-500 items)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 550,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L550"
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 1284,
"name": "vectorBucketName",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Name of the vector bucket"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 548,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L548"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1285, 1286, 1284]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 547,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L547"
}
]
},
{
"id": 1168,
"name": "DestinationOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 1169,
"name": "destinationBucket",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 176,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L176"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1169]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 175,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L175"
}
]
},
{
"id": 1221,
"name": "EncryptionConfiguration",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Configuration for encryption at rest"
}
]
},
"children": [
{
"id": 1222,
"name": "kmsKeyArn",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "ARN of the KMS key used for encryption"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 362,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L362"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1223,
"name": "sseType",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Server-side encryption type (e.g., 'KMS')"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 363,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L363"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1222, 1223]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 361,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L361"
}
]
},
{
"id": 1317,
"name": "ErrorResponse",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Standard response wrapper for failed operations"
}
]
},
"children": [
{
"id": 1318,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Null on error"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 646,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L646"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1319,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "StorageError with details (named StorageVectorsError for vector operations)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 647,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L647"
}
],
"type": {
"type": "reference",
"target": 1329,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1318, 1319]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 645,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L645"
}
]
},
{
"id": 1200,
"name": "FetchParameters",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 1202,
"name": "cache",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Controls how the request interacts with the browser's HTTP cache.\n- 'default': Use standard cache behavior\n- 'no-store': Bypass cache entirely (useful in Edge Functions)\n- 'reload': Bypass cache but update it with response\n- 'no-cache': Validate with server before using cached response\n- 'force-cache': Use cache even if stale\n- 'only-if-cached': Only use cache, fail if not cached"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 296,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L296"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "default"
},
{
"type": "literal",
"value": "no-store"
},
{
"type": "literal",
"value": "reload"
},
{
"type": "literal",
"value": "no-cache"
},
{
"type": "literal",
"value": "force-cache"
},
{
"type": "literal",
"value": "only-if-cached"
}
]
}
},
{
"id": 1201,
"name": "signal",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass in an AbortController's signal to cancel the request."
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 285,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L285"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.dom.d.ts",
"qualifiedName": "AbortSignal"
},
"name": "AbortSignal",
"package": "typescript"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1202, 1201]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 281,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L281"
}
]
},
{
"id": 1125,
"name": "FileMetadata",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Metadata object returned by the Storage API for files\nContains information about file size, type, caching, and HTTP response details"
}
]
},
"children": [
{
"id": 1129,
"name": "cacheControl",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Cache control directive (e.g., \"max-age=3600\")"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 59,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L59"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1131,
"name": "contentLength",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Content length in bytes (usually same as size)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 63,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L63"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1126,
"name": "eTag",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Entity tag for caching and conditional requests"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 53,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L53"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1132,
"name": "httpStatusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "HTTP status code from the storage backend"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 65,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L65"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1130,
"name": "lastModified",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Last modification timestamp (ISO 8601)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 61,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L61"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1128,
"name": "mimetype",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "MIME type of the file"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 57,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L57"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1127,
"name": "size",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "File size in bytes"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 55,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L55"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1129, 1131, 1126, 1132, 1130, 1128, 1127]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 51,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L51"
}
],
"indexSignatures": [
{
"id": 1133,
"name": "__index",
"variant": "signature",
"kind": 8192,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Any additional custom metadata stored with the file"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 67,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L67"
}
],
"parameters": [
{
"id": 1134,
"name": "key",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
},
{
"id": 1135,
"name": "FileObject",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "File object returned by the List V1 API (list() method)\nNote: Folder entries will have null values for most fields except name\n\nWarning: Some fields may not be present in all API responses. Fields like\nbucket_id, owner, and buckets are not returned by list() operations."
}
]
},
"children": [
{
"id": 1142,
"name": "bucket_id",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "Bucket identifier - NOT returned by list() operations.\nMay be present in remove() responses. Do not rely on this field."
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 94,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L94"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1144,
"name": "buckets",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "Bucket object - NOT returned by list() or remove() operations.\nThis field should not be relied upon."
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 104,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L104"
}
],
"type": {
"type": "reference",
"target": 1103,
"name": "Bucket",
"package": "@supabase/storage-js"
}
},
{
"id": 1139,
"name": "created_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Creation timestamp (null for folders)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 85,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L85"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1137,
"name": "id",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Unique identifier for the file (null for folders)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 81,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L81"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1140,
"name": "last_accessed_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "Last access timestamp (null for folders)"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 87,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L87"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1141,
"name": "metadata",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "File metadata including size, mimetype, etc. (null for folders)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 89,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L89"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"target": 1125,
"name": "FileMetadata",
"package": "@supabase/storage-js"
}
]
}
},
{
"id": 1136,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "File or folder name (relative to the prefix) - always present"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 79,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L79"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1143,
"name": "owner",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "Owner identifier - NOT returned by list() or remove() operations.\nThis field should not be relied upon."
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 99,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L99"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1138,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Last update timestamp (null for folders)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 83,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L83"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1142, 1144, 1139, 1137, 1140, 1141, 1136, 1143, 1138]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 77,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L77"
}
]
},
{
"id": 1145,
"name": "FileObjectV2",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "File object returned by the Info endpoint (info() method)\nContains detailed metadata for a specific file"
}
]
},
"children": [
{
"id": 1149,
"name": "bucket_id",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Bucket identifier"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 119,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L119"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1152,
"name": "cache_control",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Cache control header value"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 125,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L125"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1153,
"name": "content_type",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "MIME content type"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 127,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L127"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1150,
"name": "created_at",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Creation timestamp"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 121,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L121"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1154,
"name": "etag",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Entity tag for caching"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 129,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L129"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1146,
"name": "id",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Unique identifier for the file"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 113,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L113"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1155,
"name": "last_modified",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Last modification timestamp (replaces updated_at)"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 131,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L131"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1156,
"name": "metadata",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Custom file metadata"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 133,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L133"
}
],
"type": {
"type": "reference",
"target": 1125,
"name": "FileMetadata",
"package": "@supabase/storage-js"
}
},
{
"id": 1148,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "File name"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 117,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L117"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1151,
"name": "size",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "File size in bytes"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 123,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L123"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1157,
"name": "updated_at",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [],
"blockTags": [
{
"tag": "@deprecated",
"content": [
{
"kind": "text",
"text": "The API returns last_modified instead.\nThis field may not be present in responses."
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 138,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L138"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1147,
"name": "version",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "File version identifier"
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 115,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1149, 1152, 1153, 1150, 1154, 1146, 1155, 1156, 1148, 1151, 1157, 1147]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 111,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/f26b924d3b21bcac1b2de68f16f9b2c611655432/packages/core/storage-js/src/lib/types.ts#L111"
}
]
},
{
"id": 1161,
"name": "FileOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 1162,
"name": "cacheControl",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "The number of seconds the asset is cached in the browser and in the Supabase CDN. This is set in the "
},
{
"kind": "code",
"text": "`Cache-Control: max-age= \n \n \n Guides\n ·\n Reference Docs\n ·\n TypeDoc\n
\n
\n Supabase Storage JS SDK
\n\n JavaScript SDK to interact with Supabase Storage, including file storage and vector embeddings.
\n\n