{
"id": 0,
"name": "@supabase/storage-js",
"variant": "project",
"kind": 1,
"flags": {},
"children": [
{
"id": 1,
"name": "index",
"variant": "declaration",
"kind": 2,
"flags": {},
"children": [
{
"id": 1440,
"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": 1441,
"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": 149,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L149"
}
],
"type": {
"type": "literal",
"value": "InternalError"
}
},
{
"id": 1444,
"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": 155,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L155"
}
],
"type": {
"type": "literal",
"value": "S3VectorBucketNotEmpty"
}
},
{
"id": 1442,
"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": 151,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L151"
}
],
"type": {
"type": "literal",
"value": "S3VectorConflictException"
}
},
{
"id": 1445,
"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": 157,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L157"
}
],
"type": {
"type": "literal",
"value": "S3VectorMaxBucketsExceeded"
}
},
{
"id": 1446,
"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": 159,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L159"
}
],
"type": {
"type": "literal",
"value": "S3VectorMaxIndexesExceeded"
}
},
{
"id": 1443,
"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": 153,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L153"
}
],
"type": {
"type": "literal",
"value": "S3VectorNotFoundException"
}
}
],
"groups": [
{
"title": "Enumeration Members",
"children": [1441, 1444, 1442, 1445, 1446, 1443]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 147,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L147"
}
]
},
{
"id": 1355,
"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": 1356,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 62,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L62"
}
],
"signatures": [
{
"id": 1357,
"name": "StorageApiError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 62,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L62"
}
],
"parameters": [
{
"id": 1358,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1359,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1360,
"name": "statusCode",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1361,
"name": "namespace",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1336,
"name": "ErrorNamespace",
"package": "@supabase/storage-js"
},
"defaultValue": "'storage'"
}
],
"type": {
"type": "reference",
"target": 1355,
"name": "StorageApiError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1339,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1338,
"name": "StorageError.constructor"
}
},
{
"id": 1362,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 59,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L59"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"overwrites": {
"type": "reference",
"target": 1346,
"name": "StorageError.status"
}
},
{
"id": 1363,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 60,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L60"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"target": 1347,
"name": "StorageError.statusCode"
}
},
{
"id": 1364,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 74,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L74"
}
],
"signatures": [
{
"id": 1365,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 74,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L74"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1366,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1368,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 76,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L76"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1367,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 75,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L75"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1369,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 77,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L77"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1370,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 78,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L78"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1368, 1367, 1369, 1370]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 74,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L74"
}
]
}
},
"overwrites": {
"type": "reference",
"target": 1349,
"name": "StorageError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
"target": 1348,
"name": "StorageError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1356]
},
{
"title": "Properties",
"children": [1362, 1363]
},
{
"title": "Methods",
"children": [1364]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 58,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L58"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
],
"extendedBy": [
{
"type": "reference",
"target": 1406,
"name": "StorageVectorsApiError"
}
]
},
{
"id": 968,
"name": "StorageClient",
"variant": "declaration",
"kind": 128,
"flags": {},
"children": [
{
"id": 969,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 36,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L36"
}
],
"signatures": [
{
"id": 970,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"content": [
{
"kind": "text",
"text": "File Buckets"
}
]
},
{
"tag": "@example",
"name": "Using supabase-js (recommended)",
"content": [
{
"kind": "code",
"text": "```ts\nimport { createClient } from '@supabase/supabase-js'\n\nconst supabase = createClient('https://xyzcompany.supabase.co', 'your-publishable-key')\nconst avatars = supabase.storage.from('avatars')\n```"
}
]
},
{
"tag": "@example",
"name": "Standalone import for bundle-sensitive environments",
"content": [
{
"kind": "code",
"text": "```ts\nimport { StorageClient } from '@supabase/storage-js'\n\nconst storage = new StorageClient('https://xyzcompany.supabase.co/storage/v1', {\n apikey: 'your-publishable-key',\n})\nconst avatars = storage.from('avatars')\n```"
}
]
}
]
},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 36,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L36"
}
],
"parameters": [
{
"id": 971,
"name": "url",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 972,
"name": "headers",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 973,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 38,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L38"
}
],
"indexSignatures": [
{
"id": 974,
"name": "__index",
"variant": "signature",
"kind": 8192,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 38,
"character": 15,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L38"
}
],
"parameters": [
{
"id": 975,
"name": "key",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
"defaultValue": "{}"
},
{
"id": 976,
"name": "fetch",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 977,
"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": 978,
"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": 979,
"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": 980,
"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": 981,
"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": 982,
"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": 983,
"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": 984,
"name": "opts",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"target": 1096,
"name": "StorageClientOptions",
"package": "@supabase/storage-js"
}
}
],
"type": {
"type": "reference",
"target": 968,
"name": "StorageClient",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 138,
"name": "default.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 137,
"name": "default.constructor"
}
},
{
"id": 990,
"name": "analytics",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 95,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L95"
}
],
"getSignature": {
"id": 991,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 95,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L95"
}
],
"type": {
"type": "reference",
"target": 48,
"name": "StorageAnalyticsClient",
"package": "@supabase/storage-js",
"qualifiedName": "default"
}
}
},
{
"id": 988,
"name": "vectors",
"variant": "declaration",
"kind": 262144,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 75,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L75"
}
],
"getSignature": {
"id": 989,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 75,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L75"
}
],
"type": {
"type": "reference",
"target": 549,
"name": "StorageVectorsClient",
"package": "@supabase/storage-js"
}
}
},
{
"id": 1010,
"name": "createBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 188,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188"
}
],
"signatures": [
{
"id": 1011,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 188,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L188"
}
],
"parameters": [
{
"id": 1012,
"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": 1013,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 1014,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1017,
"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": 193,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L193"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1016,
"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": 192,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L192"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1015,
"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": 191,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L191"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1018,
"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": 194,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L194"
}
],
"type": {
"type": "reference",
"target": 1107,
"name": "BucketType",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1017, 1016, 1015, 1018]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 190,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L190"
}
]
}
},
"defaultValue": "..."
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1019,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1020,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 200,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L200"
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Pick"
},
"typeArguments": [
{
"type": "reference",
"target": 1109,
"name": "Bucket",
"package": "@supabase/storage-js"
},
{
"type": "literal",
"value": "name"
}
],
"name": "Pick",
"package": "typescript"
}
},
{
"id": 1021,
"name": "error",
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L201"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1020, 1021]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 199,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L199"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1022,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1023,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 204,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L204"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1024,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 205,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L205"
}
],
"type": {
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1023, 1024]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 203,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L203"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 172,
"name": "default.createBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 171,
"name": "default.createBucket"
}
},
{
"id": 1052,
"name": "deleteBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 378,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L378"
}
],
"signatures": [
{
"id": 1053,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 378,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L378"
}
],
"parameters": [
{
"id": 1054,
"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": 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": 380,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L380"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1057,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1058,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 380,
"character": 16,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L380"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1058]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 380,
"character": 14,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L380"
}
]
}
}
},
{
"id": 1059,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 381,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L381"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1056, 1059]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 379,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L379"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1060,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1061,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 384,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L384"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1062,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 385,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L385"
}
],
"type": {
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1061, 1062]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 383,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L383"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 214,
"name": "default.deleteBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 213,
"name": "default.deleteBucket"
}
},
{
"id": 1041,
"name": "emptyBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 331,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L331"
}
],
"signatures": [
{
"id": 1042,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 331,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L331"
}
],
"parameters": [
{
"id": 1043,
"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": 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": 333,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L333"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1046,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1047,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 333,
"character": 16,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L333"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1047]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 333,
"character": 14,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L333"
}
]
}
}
},
{
"id": 1048,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 334,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L334"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1045, 1048]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 332,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L332"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1049,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1050,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 337,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L337"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1051,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 338,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L338"
}
],
"type": {
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1050, 1051]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 336,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L336"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 203,
"name": "default.emptyBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 202,
"name": "default.emptyBucket"
}
},
{
"id": 985,
"name": "from",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 58,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L58"
}
],
"signatures": [
{
"id": 986,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 58,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L58"
}
],
"parameters": [
{
"id": 987,
"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": 1001,
"name": "getBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 129,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L129"
}
],
"signatures": [
{
"id": 1002,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 129,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L129"
}
],
"parameters": [
{
"id": 1003,
"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": 1004,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1005,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 131,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L131"
}
],
"type": {
"type": "reference",
"target": 1109,
"name": "Bucket",
"package": "@supabase/storage-js"
}
},
{
"id": 1006,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 132,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L132"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1005, 1006]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 130,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L130"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1007,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1008,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 135,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L135"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1009,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 136,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L136"
}
],
"type": {
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1008, 1009]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 134,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L134"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 163,
"name": "default.getBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 162,
"name": "default.getBucket"
}
},
{
"id": 992,
"name": "listBuckets",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 71,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L71"
}
],
"signatures": [
{
"id": 993,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 71,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L71"
}
],
"parameters": [
{
"id": 994,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Query parameters for listing buckets"
}
]
},
"type": {
"type": "reference",
"target": 1119,
"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": 995,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 996,
"name": "data",
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L73"
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"target": 1109,
"name": "Bucket",
"package": "@supabase/storage-js"
}
}
},
{
"id": 997,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 74,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L74"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [996, 997]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 72,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L72"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 998,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 999,
"name": "data",
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L77"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1000,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 78,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L78"
}
],
"type": {
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [999, 1000]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 76,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L76"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 154,
"name": "default.listBuckets"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 153,
"name": "default.listBuckets"
}
},
{
"id": 1080,
"name": "setHeader",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true,
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/BaseApiClient.ts",
"line": 58,
"character": 9,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/BaseApiClient.ts#L58"
}
],
"signatures": [
{
"id": 1081,
"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": 58,
"character": 9,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/BaseApiClient.ts#L58"
}
],
"parameters": [
{
"id": 1082,
"name": "name",
"variant": "param",
"kind": 32768,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Header name"
}
]
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1083,
"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": 1078,
"name": "throwOnError",
"variant": "declaration",
"kind": 2048,
"flags": {
"isPublic": true,
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/BaseApiClient.ts",
"line": 45,
"character": 9,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/BaseApiClient.ts#L45"
}
],
"signatures": [
{
"id": 1079,
"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": 45,
"character": 9,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/BaseApiClient.ts#L45"
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"inheritedFrom": {
"type": "reference",
"target": 243,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 242,
"name": "default.throwOnError"
}
},
{
"id": 1025,
"name": "updateBucket",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 267,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L267"
}
],
"signatures": [
{
"id": 1026,
"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": "Storage"
}
]
},
{
"tag": "@subcategory",
"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": 267,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L267"
}
],
"parameters": [
{
"id": 1027,
"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": 1028,
"name": "options",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 1029,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1032,
"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": 272,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L272"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1031,
"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": 271,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L271"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1030,
"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": 270,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L270"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1032, 1031, 1030]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 269,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L269"
}
]
}
}
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "../../../node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Promise"
},
"typeArguments": [
{
"type": "union",
"types": [
{
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L276"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1035,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1036,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 276,
"character": 16,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L276"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1036]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 276,
"character": 14,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L276"
}
]
}
}
},
{
"id": 1037,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L277"
}
],
"type": {
"type": "literal",
"value": null
}
}
],
"groups": [
{
"title": "Properties",
"children": [1034, 1037]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 275,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L275"
}
]
}
},
{
"type": "reflection",
"declaration": {
"id": 1038,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1039,
"name": "data",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 280,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L280"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1040,
"name": "error",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 281,
"character": 8,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L281"
}
],
"type": {
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1039, 1040]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/packages/StorageBucketApi.ts",
"line": 279,
"character": 6,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/packages/StorageBucketApi.ts#L279"
}
]
}
}
]
}
],
"name": "Promise",
"package": "typescript"
},
"inheritedFrom": {
"type": "reference",
"target": 187,
"name": "default.updateBucket"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 186,
"name": "default.updateBucket"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [969]
},
{
"title": "Accessors",
"children": [990, 988]
},
{
"title": "Methods",
"children": [1010, 1052, 1041, 985, 1001, 992, 1080, 1078, 1025]
}
],
"categories": [
{
"title": "Other",
"children": [1080, 1078]
},
{
"title": "Storage",
"children": [969, 990, 988, 1010, 1052, 1041, 985, 1001, 992, 1025]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/StorageClient.ts",
"line": 11,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/StorageClient.ts#L11"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 136,
"name": "default",
"package": "@supabase/storage-js"
}
]
},
{
"id": 1337,
"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": 1338,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L17"
}
],
"signatures": [
{
"id": 1339,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L17"
}
],
"parameters": [
{
"id": 1340,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1341,
"name": "namespace",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1336,
"name": "ErrorNamespace",
"package": "@supabase/storage-js"
},
"defaultValue": "'storage'"
},
{
"id": 1342,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1343,
"name": "statusCode",
"variant": "param",
"kind": 32768,
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": -1,
"name": "Error.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": -1,
"name": "Error.constructor"
}
},
{
"id": 1346,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L14"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1347,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L15"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1348,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
],
"signatures": [
{
"id": 1349,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1350,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1352,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 32,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L32"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1351,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 31,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L31"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1353,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 33,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L33"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1354,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 34,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L34"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1352, 1351, 1353, 1354]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
]
}
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"children": [1338]
},
{
"title": "Properties",
"children": [1346, 1347]
},
{
"title": "Methods",
"children": [1348]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 11,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": 1355,
"name": "StorageApiError"
},
{
"type": "reference",
"target": 1373,
"name": "StorageUnknownError"
},
{
"type": "reference",
"target": 1391,
"name": "StorageVectorsError"
}
]
},
{
"id": 1373,
"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": 1374,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L93"
}
],
"signatures": [
{
"id": 1375,
"name": "StorageUnknownError",
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L93"
}
],
"parameters": [
{
"id": 1376,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1377,
"name": "originalError",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
}
},
{
"id": 1378,
"name": "namespace",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "reference",
"target": 1336,
"name": "ErrorNamespace",
"package": "@supabase/storage-js"
},
"defaultValue": "'storage'"
}
],
"type": {
"type": "reference",
"target": 1373,
"name": "StorageUnknownError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1339,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1338,
"name": "StorageError.constructor"
}
},
{
"id": 1379,
"name": "originalError",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 91,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L91"
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
}
},
{
"id": 1382,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": 1346,
"name": "StorageError.status"
}
},
{
"id": 1383,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": 1347,
"name": "StorageError.statusCode"
}
},
{
"id": 1384,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
],
"signatures": [
{
"id": 1385,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1386,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1388,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 32,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L32"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1387,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 31,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L31"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1389,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 33,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L33"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1390,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 34,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L34"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1388, 1387, 1389, 1390]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1349,
"name": "StorageError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1348,
"name": "StorageError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1374]
},
{
"title": "Properties",
"children": [1379, 1382, 1383]
},
{
"title": "Methods",
"children": [1384]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 90,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L90"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
],
"extendedBy": [
{
"type": "reference",
"target": 1423,
"name": "StorageVectorsUnknownError"
}
]
},
{
"id": 1406,
"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": 1407,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 128,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L128"
}
],
"signatures": [
{
"id": 1408,
"name": "StorageVectorsApiError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 128,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L128"
}
],
"parameters": [
{
"id": 1409,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1410,
"name": "status",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1411,
"name": "statusCode",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1406,
"name": "StorageVectorsApiError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1357,
"name": "StorageApiError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1356,
"name": "StorageApiError.constructor"
}
},
{
"id": 1412,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 59,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L59"
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"target": 1362,
"name": "StorageApiError.status"
}
},
{
"id": 1413,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 60,
"character": 11,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L60"
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"target": 1363,
"name": "StorageApiError.statusCode"
}
},
{
"id": 1414,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 74,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L74"
}
],
"signatures": [
{
"id": 1415,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 74,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L74"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1416,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1418,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 76,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L76"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1417,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 75,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L75"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1419,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 77,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L77"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1420,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 78,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L78"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1418, 1417, 1419, 1420]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 74,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L74"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1365,
"name": "StorageApiError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1364,
"name": "StorageApiError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1407]
},
{
"title": "Properties",
"children": [1412, 1413]
},
{
"title": "Methods",
"children": [1414]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 127,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L127"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1355,
"name": "StorageApiError",
"package": "@supabase/storage-js"
}
]
},
{
"id": 1391,
"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": 1392,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 109,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L109"
}
],
"signatures": [
{
"id": 1393,
"name": "StorageVectorsError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 109,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L109"
}
],
"parameters": [
{
"id": 1394,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"target": 1391,
"name": "StorageVectorsError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1339,
"name": "StorageError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1338,
"name": "StorageError.constructor"
}
},
{
"id": 1397,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": 1346,
"name": "StorageError.status"
}
},
{
"id": 1398,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": 1347,
"name": "StorageError.statusCode"
}
},
{
"id": 1399,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
],
"signatures": [
{
"id": 1400,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1401,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1403,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 32,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L32"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1402,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 31,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L31"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1404,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 33,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L33"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1405,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 34,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L34"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1403, 1402, 1404, 1405]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1349,
"name": "StorageError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1348,
"name": "StorageError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1392]
},
{
"title": "Properties",
"children": [1397, 1398]
},
{
"title": "Methods",
"children": [1399]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 108,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L108"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
]
},
{
"id": 1423,
"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": 1424,
"name": "constructor",
"variant": "declaration",
"kind": 512,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 138,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L138"
}
],
"signatures": [
{
"id": 1425,
"name": "StorageVectorsUnknownError",
"variant": "signature",
"kind": 16384,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 138,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L138"
}
],
"parameters": [
{
"id": 1426,
"name": "message",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1427,
"name": "originalError",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "unknown"
}
}
],
"type": {
"type": "reference",
"target": 1423,
"name": "StorageVectorsUnknownError",
"package": "@supabase/storage-js"
},
"overwrites": {
"type": "reference",
"target": 1375,
"name": "StorageUnknownError.constructor"
}
}
],
"overwrites": {
"type": "reference",
"target": 1374,
"name": "StorageUnknownError.constructor"
}
},
{
"id": 1428,
"name": "originalError",
"variant": "declaration",
"kind": 1024,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 91,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L91"
}
],
"type": {
"type": "intrinsic",
"name": "unknown"
},
"inheritedFrom": {
"type": "reference",
"target": 1379,
"name": "StorageUnknownError.originalError"
}
},
{
"id": 1431,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": 1382,
"name": "StorageUnknownError.status"
}
},
{
"id": 1432,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": 1383,
"name": "StorageUnknownError.statusCode"
}
},
{
"id": 1433,
"name": "toJSON",
"variant": "declaration",
"kind": 2048,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
],
"signatures": [
{
"id": 1434,
"name": "toJSON",
"variant": "signature",
"kind": 4096,
"flags": {
"isInherited": true
},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 2,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1435,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 1437,
"name": "message",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 32,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L32"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1436,
"name": "name",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 31,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L31"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1438,
"name": "status",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 33,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L33"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1439,
"name": "statusCode",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 34,
"character": 4,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L34"
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"children": [1437, 1436, 1438, 1439]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 30,
"character": 12,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L30"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"target": 1385,
"name": "StorageUnknownError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
"target": 1384,
"name": "StorageUnknownError.toJSON"
}
}
],
"groups": [
{
"title": "Constructors",
"children": [1424]
},
{
"title": "Properties",
"children": [1428, 1431, 1432]
},
{
"title": "Methods",
"children": [1433]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/common/errors.ts",
"line": 137,
"character": 13,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/common/errors.ts#L137"
}
],
"extendedTypes": [
{
"type": "reference",
"target": 1373,
"name": "StorageUnknownError",
"package": "@supabase/storage-js"
}
]
},
{
"id": 1125,
"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": 1129,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L42"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1128,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L40"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1126,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L36"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1127,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L38"
}
],
"type": {
"type": "literal",
"value": "ANALYTICS"
}
},
{
"id": 1130,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L44"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1129, 1128, 1126, 1127, 1130]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 34,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L34"
}
]
},
{
"id": 1109,
"name": "Bucket",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 1115,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L16"
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 1116,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L17"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1114,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L15"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1110,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L11"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1112,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L13"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1113,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L14"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1118,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L19"
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1111,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L12"
}
],
"type": {
"type": "reference",
"target": 1107,
"name": "BucketType",
"package": "@supabase/storage-js"
}
},
{
"id": 1117,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L18"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1115, 1116, 1114, 1110, 1112, 1113, 1118, 1111, 1117]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 10,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L10"
}
]
},
{
"id": 1291,
"name": "DeleteVectorsOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Options for batch deleting vectors"
}
]
},
"children": [
{
"id": 1293,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L549"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1294,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L550"
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 1292,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L548"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1293, 1294, 1292]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 547,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L547"
}
]
},
{
"id": 1174,
"name": "DestinationOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 1175,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L176"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1175]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 175,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L175"
}
]
},
{
"id": 1227,
"name": "EncryptionConfiguration",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Configuration for encryption at rest"
}
]
},
"children": [
{
"id": 1228,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L362"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1229,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L363"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1228, 1229]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 361,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L361"
}
]
},
{
"id": 1325,
"name": "ErrorResponse",
"variant": "declaration",
"kind": 256,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Standard response wrapper for failed operations"
}
]
},
"children": [
{
"id": 1326,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L646"
}
],
"type": {
"type": "literal",
"value": null
}
},
{
"id": 1327,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L647"
}
],
"type": {
"type": "reference",
"target": 1337,
"name": "StorageError",
"package": "@supabase/storage-js"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1326, 1327]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 645,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L645"
}
]
},
{
"id": 1206,
"name": "FetchParameters",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 1208,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": 1207,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": [1208, 1207]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 281,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L281"
}
]
},
{
"id": 1131,
"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": 1135,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L59"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1137,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L63"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1132,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L53"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1138,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L65"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1136,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L61"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1134,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L57"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1133,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L55"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1135, 1137, 1132, 1138, 1136, 1134, 1133]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 51,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L51"
}
],
"indexSignatures": [
{
"id": 1139,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L67"
}
],
"parameters": [
{
"id": 1140,
"name": "key",
"variant": "param",
"kind": 32768,
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
},
{
"id": 1141,
"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": 1148,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L94"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1150,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L104"
}
],
"type": {
"type": "reference",
"target": 1109,
"name": "Bucket",
"package": "@supabase/storage-js"
}
},
{
"id": 1145,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L85"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1143,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L81"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1146,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L87"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1147,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L89"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": null
},
{
"type": "reference",
"target": 1131,
"name": "FileMetadata",
"package": "@supabase/storage-js"
}
]
}
},
{
"id": 1142,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L79"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1149,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L99"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1144,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/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": [1148, 1150, 1145, 1143, 1146, 1147, 1142, 1149, 1144]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 77,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L77"
}
]
},
{
"id": 1151,
"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": 1155,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L119"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1158,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L125"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1159,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L127"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1156,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L121"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1160,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L129"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1152,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L113"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1161,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L131"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1162,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L133"
}
],
"type": {
"type": "reference",
"target": 1131,
"name": "FileMetadata",
"package": "@supabase/storage-js"
}
},
{
"id": 1154,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L117"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1157,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L123"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1163,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L138"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1153,
"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/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L115"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [1155, 1158, 1159, 1156, 1160, 1152, 1161, 1162, 1154, 1157, 1163, 1153]
}
],
"sources": [
{
"fileName": "packages/core/storage-js/src/lib/types.ts",
"line": 111,
"character": 17,
"url": "https://github.com/supabase/supabase-js/blob/84a729bdd73e808f5158b4e1ec07bc14af42c1ae/packages/core/storage-js/src/lib/types.ts#L111"
}
]
},
{
"id": 1167,
"name": "FileOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 1168,
"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