@supabase/storage-js 2.84.1-canary.1 → 2.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -7
- package/dist/main/lib/vectors/StorageVectorsClient.d.ts +108 -14
- package/dist/main/lib/vectors/StorageVectorsClient.d.ts.map +1 -1
- package/dist/main/lib/vectors/StorageVectorsClient.js +124 -4
- package/dist/main/lib/vectors/StorageVectorsClient.js.map +1 -1
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.d.ts.map +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/main/lib/version.js.map +1 -1
- package/dist/main/packages/StorageAnalyticsClient.d.ts +5 -5
- package/dist/main/packages/StorageAnalyticsClient.d.ts.map +1 -1
- package/dist/main/packages/StorageAnalyticsClient.js +4 -4
- package/dist/main/packages/StorageBucketApi.d.ts +4 -4
- package/dist/main/packages/StorageBucketApi.js +4 -4
- package/dist/main/packages/StorageFileApi.d.ts +12 -12
- package/dist/main/packages/StorageFileApi.js +12 -12
- package/dist/module/lib/vectors/StorageVectorsClient.d.ts +108 -14
- package/dist/module/lib/vectors/StorageVectorsClient.d.ts.map +1 -1
- package/dist/module/lib/vectors/StorageVectorsClient.js +124 -4
- package/dist/module/lib/vectors/StorageVectorsClient.js.map +1 -1
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.d.ts.map +1 -1
- package/dist/module/lib/version.js +1 -1
- package/dist/module/lib/version.js.map +1 -1
- package/dist/module/packages/StorageAnalyticsClient.d.ts +5 -5
- package/dist/module/packages/StorageAnalyticsClient.d.ts.map +1 -1
- package/dist/module/packages/StorageAnalyticsClient.js +4 -4
- package/dist/module/packages/StorageBucketApi.d.ts +4 -4
- package/dist/module/packages/StorageBucketApi.js +4 -4
- package/dist/module/packages/StorageFileApi.d.ts +12 -12
- package/dist/module/packages/StorageFileApi.js +12 -12
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/umd/supabase.js +1 -1
- package/package.json +1 -1
- package/src/lib/vectors/StorageVectorsClient.ts +114 -4
- package/src/lib/version.ts +1 -1
- package/src/packages/StorageAnalyticsClient.ts +5 -5
- package/src/packages/StorageBucketApi.ts +4 -4
- package/src/packages/StorageFileApi.ts +12 -12
|
@@ -35,7 +35,7 @@ export default class StorageFileApi {
|
|
|
35
35
|
* @param path The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.
|
|
36
36
|
* @param fileBody The body of the file to be stored in the bucket.
|
|
37
37
|
* @param fileOptions Optional file upload options including cacheControl, contentType, upsert, and metadata.
|
|
38
|
-
* @returns Promise with file path and
|
|
38
|
+
* @returns Promise with response containing file path, id, and fullPath or error
|
|
39
39
|
*
|
|
40
40
|
* @example Upload file
|
|
41
41
|
* ```js
|
|
@@ -91,7 +91,7 @@ export default class StorageFileApi {
|
|
|
91
91
|
* @param token The token generated from `createSignedUploadUrl`
|
|
92
92
|
* @param fileBody The body of the file to be stored in the bucket.
|
|
93
93
|
* @param fileOptions Optional file upload options including cacheControl and contentType.
|
|
94
|
-
* @returns Promise with file path and
|
|
94
|
+
* @returns Promise with response containing file path and fullPath or error
|
|
95
95
|
*
|
|
96
96
|
* @example Upload to a signed URL
|
|
97
97
|
* ```js
|
|
@@ -130,7 +130,7 @@ export default class StorageFileApi {
|
|
|
130
130
|
* @category File Buckets
|
|
131
131
|
* @param path The file path, including the current file name. For example `folder/image.png`.
|
|
132
132
|
* @param options.upsert If set to true, allows the file to be overwritten if it already exists.
|
|
133
|
-
* @returns Promise with signed upload URL, token, and path or error
|
|
133
|
+
* @returns Promise with response containing signed upload URL, token, and path or error
|
|
134
134
|
*
|
|
135
135
|
* @example Create Signed Upload URL
|
|
136
136
|
* ```js
|
|
@@ -172,7 +172,7 @@ export default class StorageFileApi {
|
|
|
172
172
|
* @param path The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to update.
|
|
173
173
|
* @param fileBody The body of the file to be stored in the bucket.
|
|
174
174
|
* @param fileOptions Optional file upload options including cacheControl, contentType, upsert, and metadata.
|
|
175
|
-
* @returns Promise with file path and
|
|
175
|
+
* @returns Promise with response containing file path, id, and fullPath or error
|
|
176
176
|
*
|
|
177
177
|
* @example Update file
|
|
178
178
|
* ```js
|
|
@@ -227,7 +227,7 @@ export default class StorageFileApi {
|
|
|
227
227
|
* @param fromPath The original file path, including the current file name. For example `folder/image.png`.
|
|
228
228
|
* @param toPath The new file path, including the new file name. For example `folder/image-new.png`.
|
|
229
229
|
* @param options The destination options.
|
|
230
|
-
* @returns Promise with success message or error
|
|
230
|
+
* @returns Promise with response containing success message or error
|
|
231
231
|
*
|
|
232
232
|
* @example Move file
|
|
233
233
|
* ```js
|
|
@@ -263,7 +263,7 @@ export default class StorageFileApi {
|
|
|
263
263
|
* @param fromPath The original file path, including the current file name. For example `folder/image.png`.
|
|
264
264
|
* @param toPath The new file path, including the new file name. For example `folder/image-copy.png`.
|
|
265
265
|
* @param options The destination options.
|
|
266
|
-
* @returns Promise with copied file path or error
|
|
266
|
+
* @returns Promise with response containing copied file path or error
|
|
267
267
|
*
|
|
268
268
|
* @example Copy file
|
|
269
269
|
* ```js
|
|
@@ -300,7 +300,7 @@ export default class StorageFileApi {
|
|
|
300
300
|
* @param expiresIn The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.
|
|
301
301
|
* @param options.download triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.
|
|
302
302
|
* @param options.transform Transform the asset before serving it to the client.
|
|
303
|
-
* @returns Promise with signed URL or error
|
|
303
|
+
* @returns Promise with response containing signed URL or error
|
|
304
304
|
*
|
|
305
305
|
* @example Create Signed URL
|
|
306
306
|
* ```js
|
|
@@ -362,7 +362,7 @@ export default class StorageFileApi {
|
|
|
362
362
|
* @param paths The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.
|
|
363
363
|
* @param expiresIn The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.
|
|
364
364
|
* @param options.download triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.
|
|
365
|
-
* @returns Promise with array of
|
|
365
|
+
* @returns Promise with response containing array of objects with signedUrl, path, and error or error
|
|
366
366
|
*
|
|
367
367
|
* @example Create Signed URLs
|
|
368
368
|
* ```js
|
|
@@ -452,7 +452,7 @@ export default class StorageFileApi {
|
|
|
452
452
|
*
|
|
453
453
|
* @category File Buckets
|
|
454
454
|
* @param path The file path, including the file name. For example `folder/image.png`.
|
|
455
|
-
* @returns Promise with file metadata or error
|
|
455
|
+
* @returns Promise with response containing file metadata or error
|
|
456
456
|
*
|
|
457
457
|
* @example Get file info
|
|
458
458
|
* ```js
|
|
@@ -474,7 +474,7 @@ export default class StorageFileApi {
|
|
|
474
474
|
*
|
|
475
475
|
* @category File Buckets
|
|
476
476
|
* @param path The file path, including the file name. For example `folder/image.png`.
|
|
477
|
-
* @returns Promise with boolean indicating file existence or error
|
|
477
|
+
* @returns Promise with response containing boolean indicating file existence or error
|
|
478
478
|
*
|
|
479
479
|
* @example Check file existence
|
|
480
480
|
* ```js
|
|
@@ -554,7 +554,7 @@ export default class StorageFileApi {
|
|
|
554
554
|
*
|
|
555
555
|
* @category File Buckets
|
|
556
556
|
* @param paths An array of files to delete, including the path and file name. For example [`'folder/image.png'`].
|
|
557
|
-
* @returns Promise with
|
|
557
|
+
* @returns Promise with response containing array of deleted file objects or error
|
|
558
558
|
*
|
|
559
559
|
* @example Delete file
|
|
560
560
|
* ```js
|
|
@@ -595,7 +595,7 @@ export default class StorageFileApi {
|
|
|
595
595
|
* @param path The folder path.
|
|
596
596
|
* @param options Search options including limit (defaults to 100), offset, sortBy, and search
|
|
597
597
|
* @param parameters Optional fetch parameters including signal for cancellation
|
|
598
|
-
* @returns Promise with
|
|
598
|
+
* @returns Promise with response containing array of files or error
|
|
599
599
|
*
|
|
600
600
|
* @example List files in a bucket
|
|
601
601
|
* ```js
|
|
@@ -111,7 +111,7 @@ class StorageFileApi {
|
|
|
111
111
|
* @param path The file path, including the file name. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to upload.
|
|
112
112
|
* @param fileBody The body of the file to be stored in the bucket.
|
|
113
113
|
* @param fileOptions Optional file upload options including cacheControl, contentType, upsert, and metadata.
|
|
114
|
-
* @returns Promise with file path and
|
|
114
|
+
* @returns Promise with response containing file path, id, and fullPath or error
|
|
115
115
|
*
|
|
116
116
|
* @example Upload file
|
|
117
117
|
* ```js
|
|
@@ -161,7 +161,7 @@ class StorageFileApi {
|
|
|
161
161
|
* @param token The token generated from `createSignedUploadUrl`
|
|
162
162
|
* @param fileBody The body of the file to be stored in the bucket.
|
|
163
163
|
* @param fileOptions Optional file upload options including cacheControl and contentType.
|
|
164
|
-
* @returns Promise with file path and
|
|
164
|
+
* @returns Promise with response containing file path and fullPath or error
|
|
165
165
|
*
|
|
166
166
|
* @example Upload to a signed URL
|
|
167
167
|
* ```js
|
|
@@ -231,7 +231,7 @@ class StorageFileApi {
|
|
|
231
231
|
* @category File Buckets
|
|
232
232
|
* @param path The file path, including the current file name. For example `folder/image.png`.
|
|
233
233
|
* @param options.upsert If set to true, allows the file to be overwritten if it already exists.
|
|
234
|
-
* @returns Promise with signed upload URL, token, and path or error
|
|
234
|
+
* @returns Promise with response containing signed upload URL, token, and path or error
|
|
235
235
|
*
|
|
236
236
|
* @example Create Signed Upload URL
|
|
237
237
|
* ```js
|
|
@@ -287,7 +287,7 @@ class StorageFileApi {
|
|
|
287
287
|
* @param path The relative file path. Should be of the format `folder/subfolder/filename.png`. The bucket must already exist before attempting to update.
|
|
288
288
|
* @param fileBody The body of the file to be stored in the bucket.
|
|
289
289
|
* @param fileOptions Optional file upload options including cacheControl, contentType, upsert, and metadata.
|
|
290
|
-
* @returns Promise with file path and
|
|
290
|
+
* @returns Promise with response containing file path, id, and fullPath or error
|
|
291
291
|
*
|
|
292
292
|
* @example Update file
|
|
293
293
|
* ```js
|
|
@@ -336,7 +336,7 @@ class StorageFileApi {
|
|
|
336
336
|
* @param fromPath The original file path, including the current file name. For example `folder/image.png`.
|
|
337
337
|
* @param toPath The new file path, including the new file name. For example `folder/image-new.png`.
|
|
338
338
|
* @param options The destination options.
|
|
339
|
-
* @returns Promise with success message or error
|
|
339
|
+
* @returns Promise with response containing success message or error
|
|
340
340
|
*
|
|
341
341
|
* @example Move file
|
|
342
342
|
* ```js
|
|
@@ -385,7 +385,7 @@ class StorageFileApi {
|
|
|
385
385
|
* @param fromPath The original file path, including the current file name. For example `folder/image.png`.
|
|
386
386
|
* @param toPath The new file path, including the new file name. For example `folder/image-copy.png`.
|
|
387
387
|
* @param options The destination options.
|
|
388
|
-
* @returns Promise with copied file path or error
|
|
388
|
+
* @returns Promise with response containing copied file path or error
|
|
389
389
|
*
|
|
390
390
|
* @example Copy file
|
|
391
391
|
* ```js
|
|
@@ -435,7 +435,7 @@ class StorageFileApi {
|
|
|
435
435
|
* @param expiresIn The number of seconds until the signed URL expires. For example, `60` for a URL which is valid for one minute.
|
|
436
436
|
* @param options.download triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.
|
|
437
437
|
* @param options.transform Transform the asset before serving it to the client.
|
|
438
|
-
* @returns Promise with signed URL or error
|
|
438
|
+
* @returns Promise with response containing signed URL or error
|
|
439
439
|
*
|
|
440
440
|
* @example Create Signed URL
|
|
441
441
|
* ```js
|
|
@@ -508,7 +508,7 @@ class StorageFileApi {
|
|
|
508
508
|
* @param paths The file paths to be downloaded, including the current file names. For example `['folder/image.png', 'folder2/image2.png']`.
|
|
509
509
|
* @param expiresIn The number of seconds until the signed URLs expire. For example, `60` for URLs which are valid for one minute.
|
|
510
510
|
* @param options.download triggers the file as a download if set to true. Set this parameter as the name of the file if you want to trigger the download with a different filename.
|
|
511
|
-
* @returns Promise with array of
|
|
511
|
+
* @returns Promise with response containing array of objects with signedUrl, path, and error or error
|
|
512
512
|
*
|
|
513
513
|
* @example Create Signed URLs
|
|
514
514
|
* ```js
|
|
@@ -619,7 +619,7 @@ class StorageFileApi {
|
|
|
619
619
|
*
|
|
620
620
|
* @category File Buckets
|
|
621
621
|
* @param path The file path, including the file name. For example `folder/image.png`.
|
|
622
|
-
* @returns Promise with file metadata or error
|
|
622
|
+
* @returns Promise with response containing file metadata or error
|
|
623
623
|
*
|
|
624
624
|
* @example Get file info
|
|
625
625
|
* ```js
|
|
@@ -654,7 +654,7 @@ class StorageFileApi {
|
|
|
654
654
|
*
|
|
655
655
|
* @category File Buckets
|
|
656
656
|
* @param path The file path, including the file name. For example `folder/image.png`.
|
|
657
|
-
* @returns Promise with boolean indicating file existence or error
|
|
657
|
+
* @returns Promise with response containing boolean indicating file existence or error
|
|
658
658
|
*
|
|
659
659
|
* @example Check file existence
|
|
660
660
|
* ```js
|
|
@@ -765,7 +765,7 @@ class StorageFileApi {
|
|
|
765
765
|
*
|
|
766
766
|
* @category File Buckets
|
|
767
767
|
* @param paths An array of files to delete, including the path and file name. For example [`'folder/image.png'`].
|
|
768
|
-
* @returns Promise with
|
|
768
|
+
* @returns Promise with response containing array of deleted file objects or error
|
|
769
769
|
*
|
|
770
770
|
* @example Delete file
|
|
771
771
|
* ```js
|
|
@@ -866,7 +866,7 @@ class StorageFileApi {
|
|
|
866
866
|
* @param path The folder path.
|
|
867
867
|
* @param options Search options including limit (defaults to 100), offset, sortBy, and search
|
|
868
868
|
* @param parameters Optional fetch parameters including signal for cancellation
|
|
869
|
-
* @returns Promise with
|
|
869
|
+
* @returns Promise with response containing array of files or error
|
|
870
870
|
*
|
|
871
871
|
* @example List files in a bucket
|
|
872
872
|
* ```js
|
|
@@ -2,7 +2,7 @@ import VectorIndexApi, { CreateIndexOptions } from './VectorIndexApi';
|
|
|
2
2
|
import VectorDataApi from './VectorDataApi';
|
|
3
3
|
import { Fetch } from './fetch';
|
|
4
4
|
import VectorBucketApi from './VectorBucketApi';
|
|
5
|
-
import { DeleteVectorsOptions, GetVectorsOptions, ListIndexesOptions, ListVectorsOptions, PutVectorsOptions, QueryVectorsOptions } from './types';
|
|
5
|
+
import { ApiResponse, DeleteVectorsOptions, GetVectorsOptions, ListIndexesOptions, ListVectorsOptions, ListVectorBucketsOptions, ListVectorBucketsResponse, PutVectorsOptions, QueryVectorsOptions, VectorBucket } from './types';
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
8
|
* @alpha
|
|
@@ -104,6 +104,100 @@ export declare class StorageVectorsClient extends VectorBucketApi {
|
|
|
104
104
|
* ```
|
|
105
105
|
*/
|
|
106
106
|
from(vectorBucketName: string): VectorBucketScope;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @alpha
|
|
110
|
+
*
|
|
111
|
+
* Creates a new vector bucket
|
|
112
|
+
* Vector buckets are containers for vector indexes and their data
|
|
113
|
+
*
|
|
114
|
+
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
115
|
+
*
|
|
116
|
+
* @category Vector Buckets
|
|
117
|
+
* @param vectorBucketName - Unique name for the vector bucket
|
|
118
|
+
* @returns Promise with empty response on success or error
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* ```typescript
|
|
122
|
+
* const { data, error } = await supabase
|
|
123
|
+
* .storage
|
|
124
|
+
* .vectors
|
|
125
|
+
* .createBucket('embeddings-prod')
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
createBucket(vectorBucketName: string): Promise<ApiResponse<undefined>>;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @alpha
|
|
132
|
+
*
|
|
133
|
+
* Retrieves metadata for a specific vector bucket
|
|
134
|
+
*
|
|
135
|
+
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
136
|
+
*
|
|
137
|
+
* @category Vector Buckets
|
|
138
|
+
* @param vectorBucketName - Name of the vector bucket
|
|
139
|
+
* @returns Promise with bucket metadata or error
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* ```typescript
|
|
143
|
+
* const { data, error } = await supabase
|
|
144
|
+
* .storage
|
|
145
|
+
* .vectors
|
|
146
|
+
* .getBucket('embeddings-prod')
|
|
147
|
+
*
|
|
148
|
+
* console.log('Bucket created:', data?.vectorBucket.creationTime)
|
|
149
|
+
* ```
|
|
150
|
+
*/
|
|
151
|
+
getBucket(vectorBucketName: string): Promise<ApiResponse<{
|
|
152
|
+
vectorBucket: VectorBucket;
|
|
153
|
+
}>>;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @alpha
|
|
157
|
+
*
|
|
158
|
+
* Lists all vector buckets with optional filtering and pagination
|
|
159
|
+
*
|
|
160
|
+
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
161
|
+
*
|
|
162
|
+
* @category Vector Buckets
|
|
163
|
+
* @param options - Optional filters (prefix, maxResults, nextToken)
|
|
164
|
+
* @returns Promise with list of buckets or error
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* ```typescript
|
|
168
|
+
* const { data, error } = await supabase
|
|
169
|
+
* .storage
|
|
170
|
+
* .vectors
|
|
171
|
+
* .listBuckets({ prefix: 'embeddings-' })
|
|
172
|
+
*
|
|
173
|
+
* data?.vectorBuckets.forEach(bucket => {
|
|
174
|
+
* console.log(bucket.vectorBucketName)
|
|
175
|
+
* })
|
|
176
|
+
* ```
|
|
177
|
+
*/
|
|
178
|
+
listBuckets(options?: ListVectorBucketsOptions): Promise<ApiResponse<ListVectorBucketsResponse>>;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @alpha
|
|
182
|
+
*
|
|
183
|
+
* Deletes a vector bucket (bucket must be empty)
|
|
184
|
+
* All indexes must be deleted before deleting the bucket
|
|
185
|
+
*
|
|
186
|
+
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
187
|
+
*
|
|
188
|
+
* @category Vector Buckets
|
|
189
|
+
* @param vectorBucketName - Name of the vector bucket to delete
|
|
190
|
+
* @returns Promise with empty response on success or error
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* ```typescript
|
|
194
|
+
* const { data, error } = await supabase
|
|
195
|
+
* .storage
|
|
196
|
+
* .vectors
|
|
197
|
+
* .deleteBucket('embeddings-old')
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
200
|
+
deleteBucket(vectorBucketName: string): Promise<ApiResponse<undefined>>;
|
|
107
201
|
}
|
|
108
202
|
/**
|
|
109
203
|
*
|
|
@@ -159,7 +253,7 @@ export declare class VectorBucketScope extends VectorIndexApi {
|
|
|
159
253
|
* })
|
|
160
254
|
* ```
|
|
161
255
|
*/
|
|
162
|
-
createIndex(options: Omit<CreateIndexOptions, 'vectorBucketName'>): Promise<
|
|
256
|
+
createIndex(options: Omit<CreateIndexOptions, 'vectorBucketName'>): Promise<ApiResponse<undefined>>;
|
|
163
257
|
/**
|
|
164
258
|
*
|
|
165
259
|
* @alpha
|
|
@@ -171,7 +265,7 @@ export declare class VectorBucketScope extends VectorIndexApi {
|
|
|
171
265
|
*
|
|
172
266
|
* @category Vector Buckets
|
|
173
267
|
* @param options - Listing options (vectorBucketName is automatically set)
|
|
174
|
-
* @returns Promise with
|
|
268
|
+
* @returns Promise with response containing indexes array and pagination token or error
|
|
175
269
|
*
|
|
176
270
|
* @example
|
|
177
271
|
* ```typescript
|
|
@@ -179,7 +273,7 @@ export declare class VectorBucketScope extends VectorIndexApi {
|
|
|
179
273
|
* const { data } = await bucket.listIndexes({ prefix: 'documents-' })
|
|
180
274
|
* ```
|
|
181
275
|
*/
|
|
182
|
-
listIndexes(options?: Omit<ListIndexesOptions, 'vectorBucketName'>): Promise<
|
|
276
|
+
listIndexes(options?: Omit<ListIndexesOptions, 'vectorBucketName'>): Promise<ApiResponse<import("./types").ListIndexesResponse>>;
|
|
183
277
|
/**
|
|
184
278
|
*
|
|
185
279
|
* @alpha
|
|
@@ -200,7 +294,7 @@ export declare class VectorBucketScope extends VectorIndexApi {
|
|
|
200
294
|
* console.log('Dimension:', data?.index.dimension)
|
|
201
295
|
* ```
|
|
202
296
|
*/
|
|
203
|
-
getIndex(indexName: string): Promise<
|
|
297
|
+
getIndex(indexName: string): Promise<ApiResponse<{
|
|
204
298
|
index: import("./types").VectorIndex;
|
|
205
299
|
}>>;
|
|
206
300
|
/**
|
|
@@ -222,7 +316,7 @@ export declare class VectorBucketScope extends VectorIndexApi {
|
|
|
222
316
|
* await bucket.deleteIndex('old-index')
|
|
223
317
|
* ```
|
|
224
318
|
*/
|
|
225
|
-
deleteIndex(indexName: string): Promise<
|
|
319
|
+
deleteIndex(indexName: string): Promise<ApiResponse<undefined>>;
|
|
226
320
|
/**
|
|
227
321
|
*
|
|
228
322
|
* @alpha
|
|
@@ -312,7 +406,7 @@ export declare class VectorIndexScope extends VectorDataApi {
|
|
|
312
406
|
* })
|
|
313
407
|
* ```
|
|
314
408
|
*/
|
|
315
|
-
putVectors(options: Omit<PutVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<
|
|
409
|
+
putVectors(options: Omit<PutVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<ApiResponse<undefined>>;
|
|
316
410
|
/**
|
|
317
411
|
*
|
|
318
412
|
* @alpha
|
|
@@ -324,7 +418,7 @@ export declare class VectorIndexScope extends VectorDataApi {
|
|
|
324
418
|
*
|
|
325
419
|
* @category Vector Buckets
|
|
326
420
|
* @param options - Vector retrieval options (bucket and index names automatically set)
|
|
327
|
-
* @returns Promise with
|
|
421
|
+
* @returns Promise with response containing vectors array or error
|
|
328
422
|
*
|
|
329
423
|
* @example
|
|
330
424
|
* ```typescript
|
|
@@ -335,7 +429,7 @@ export declare class VectorIndexScope extends VectorDataApi {
|
|
|
335
429
|
* })
|
|
336
430
|
* ```
|
|
337
431
|
*/
|
|
338
|
-
getVectors(options: Omit<GetVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<
|
|
432
|
+
getVectors(options: Omit<GetVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<ApiResponse<import("./types").GetVectorsResponse>>;
|
|
339
433
|
/**
|
|
340
434
|
*
|
|
341
435
|
* @alpha
|
|
@@ -347,7 +441,7 @@ export declare class VectorIndexScope extends VectorDataApi {
|
|
|
347
441
|
*
|
|
348
442
|
* @category Vector Buckets
|
|
349
443
|
* @param options - Listing options (bucket and index names automatically set)
|
|
350
|
-
* @returns Promise with
|
|
444
|
+
* @returns Promise with response containing vectors array and pagination token or error
|
|
351
445
|
*
|
|
352
446
|
* @example
|
|
353
447
|
* ```typescript
|
|
@@ -358,7 +452,7 @@ export declare class VectorIndexScope extends VectorDataApi {
|
|
|
358
452
|
* })
|
|
359
453
|
* ```
|
|
360
454
|
*/
|
|
361
|
-
listVectors(options?: Omit<ListVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<
|
|
455
|
+
listVectors(options?: Omit<ListVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<ApiResponse<import("./types").ListVectorsResponse>>;
|
|
362
456
|
/**
|
|
363
457
|
*
|
|
364
458
|
* @alpha
|
|
@@ -370,7 +464,7 @@ export declare class VectorIndexScope extends VectorDataApi {
|
|
|
370
464
|
*
|
|
371
465
|
* @category Vector Buckets
|
|
372
466
|
* @param options - Query options (bucket and index names automatically set)
|
|
373
|
-
* @returns Promise with array of similar vectors ordered by distance
|
|
467
|
+
* @returns Promise with response containing matches array of similar vectors ordered by distance or error
|
|
374
468
|
*
|
|
375
469
|
* @example
|
|
376
470
|
* ```typescript
|
|
@@ -384,7 +478,7 @@ export declare class VectorIndexScope extends VectorDataApi {
|
|
|
384
478
|
* })
|
|
385
479
|
* ```
|
|
386
480
|
*/
|
|
387
|
-
queryVectors(options: Omit<QueryVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<
|
|
481
|
+
queryVectors(options: Omit<QueryVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<ApiResponse<import("./types").QueryVectorsResponse>>;
|
|
388
482
|
/**
|
|
389
483
|
*
|
|
390
484
|
* @alpha
|
|
@@ -406,6 +500,6 @@ export declare class VectorIndexScope extends VectorDataApi {
|
|
|
406
500
|
* })
|
|
407
501
|
* ```
|
|
408
502
|
*/
|
|
409
|
-
deleteVectors(options: Omit<DeleteVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<
|
|
503
|
+
deleteVectors(options: Omit<DeleteVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<ApiResponse<undefined>>;
|
|
410
504
|
}
|
|
411
505
|
//# sourceMappingURL=StorageVectorsClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageVectorsClient.d.ts","sourceRoot":"","sources":["../../../../src/lib/vectors/StorageVectorsClient.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,EAAE,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACrE,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"StorageVectorsClient.d.ts","sourceRoot":"","sources":["../../../../src/lib/vectors/StorageVectorsClient.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,EAAE,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACrE,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACb,MAAM,SAAS,CAAA;AAEhB;;;;;;;GAOG;AACH,MAAM,WAAW,2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mB,EAAE,kBAAkB,GAAG,WAAW,CAAC;IAStE;;;;;;;;;;;;;;;;;;;;OAoBG;IACY,aAAa,CAC1B,OAAO,EAAE,IAAI,CAAC,oBAAoB,EAAE,kBAAkB,GAAG,WAAW,CAAC;CAQxE"}
|
|
@@ -86,6 +86,126 @@ export class StorageVectorsClient extends VectorBucketApi {
|
|
|
86
86
|
from(vectorBucketName) {
|
|
87
87
|
return new VectorBucketScope(this.url, this.headers, vectorBucketName, this.fetch);
|
|
88
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @alpha
|
|
92
|
+
*
|
|
93
|
+
* Creates a new vector bucket
|
|
94
|
+
* Vector buckets are containers for vector indexes and their data
|
|
95
|
+
*
|
|
96
|
+
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
97
|
+
*
|
|
98
|
+
* @category Vector Buckets
|
|
99
|
+
* @param vectorBucketName - Unique name for the vector bucket
|
|
100
|
+
* @returns Promise with empty response on success or error
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* ```typescript
|
|
104
|
+
* const { data, error } = await supabase
|
|
105
|
+
* .storage
|
|
106
|
+
* .vectors
|
|
107
|
+
* .createBucket('embeddings-prod')
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
createBucket(vectorBucketName) {
|
|
111
|
+
const _super = Object.create(null, {
|
|
112
|
+
createBucket: { get: () => super.createBucket }
|
|
113
|
+
});
|
|
114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
115
|
+
return _super.createBucket.call(this, vectorBucketName);
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @alpha
|
|
121
|
+
*
|
|
122
|
+
* Retrieves metadata for a specific vector bucket
|
|
123
|
+
*
|
|
124
|
+
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
125
|
+
*
|
|
126
|
+
* @category Vector Buckets
|
|
127
|
+
* @param vectorBucketName - Name of the vector bucket
|
|
128
|
+
* @returns Promise with bucket metadata or error
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* ```typescript
|
|
132
|
+
* const { data, error } = await supabase
|
|
133
|
+
* .storage
|
|
134
|
+
* .vectors
|
|
135
|
+
* .getBucket('embeddings-prod')
|
|
136
|
+
*
|
|
137
|
+
* console.log('Bucket created:', data?.vectorBucket.creationTime)
|
|
138
|
+
* ```
|
|
139
|
+
*/
|
|
140
|
+
getBucket(vectorBucketName) {
|
|
141
|
+
const _super = Object.create(null, {
|
|
142
|
+
getBucket: { get: () => super.getBucket }
|
|
143
|
+
});
|
|
144
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
145
|
+
return _super.getBucket.call(this, vectorBucketName);
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @alpha
|
|
151
|
+
*
|
|
152
|
+
* Lists all vector buckets with optional filtering and pagination
|
|
153
|
+
*
|
|
154
|
+
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
155
|
+
*
|
|
156
|
+
* @category Vector Buckets
|
|
157
|
+
* @param options - Optional filters (prefix, maxResults, nextToken)
|
|
158
|
+
* @returns Promise with list of buckets or error
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```typescript
|
|
162
|
+
* const { data, error } = await supabase
|
|
163
|
+
* .storage
|
|
164
|
+
* .vectors
|
|
165
|
+
* .listBuckets({ prefix: 'embeddings-' })
|
|
166
|
+
*
|
|
167
|
+
* data?.vectorBuckets.forEach(bucket => {
|
|
168
|
+
* console.log(bucket.vectorBucketName)
|
|
169
|
+
* })
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
listBuckets() {
|
|
173
|
+
const _super = Object.create(null, {
|
|
174
|
+
listBuckets: { get: () => super.listBuckets }
|
|
175
|
+
});
|
|
176
|
+
return __awaiter(this, arguments, void 0, function* (options = {}) {
|
|
177
|
+
return _super.listBuckets.call(this, options);
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @alpha
|
|
183
|
+
*
|
|
184
|
+
* Deletes a vector bucket (bucket must be empty)
|
|
185
|
+
* All indexes must be deleted before deleting the bucket
|
|
186
|
+
*
|
|
187
|
+
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
188
|
+
*
|
|
189
|
+
* @category Vector Buckets
|
|
190
|
+
* @param vectorBucketName - Name of the vector bucket to delete
|
|
191
|
+
* @returns Promise with empty response on success or error
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* ```typescript
|
|
195
|
+
* const { data, error } = await supabase
|
|
196
|
+
* .storage
|
|
197
|
+
* .vectors
|
|
198
|
+
* .deleteBucket('embeddings-old')
|
|
199
|
+
* ```
|
|
200
|
+
*/
|
|
201
|
+
deleteBucket(vectorBucketName) {
|
|
202
|
+
const _super = Object.create(null, {
|
|
203
|
+
deleteBucket: { get: () => super.deleteBucket }
|
|
204
|
+
});
|
|
205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
return _super.deleteBucket.call(this, vectorBucketName);
|
|
207
|
+
});
|
|
208
|
+
}
|
|
89
209
|
}
|
|
90
210
|
/**
|
|
91
211
|
*
|
|
@@ -160,7 +280,7 @@ export class VectorBucketScope extends VectorIndexApi {
|
|
|
160
280
|
*
|
|
161
281
|
* @category Vector Buckets
|
|
162
282
|
* @param options - Listing options (vectorBucketName is automatically set)
|
|
163
|
-
* @returns Promise with
|
|
283
|
+
* @returns Promise with response containing indexes array and pagination token or error
|
|
164
284
|
*
|
|
165
285
|
* @example
|
|
166
286
|
* ```typescript
|
|
@@ -341,7 +461,7 @@ export class VectorIndexScope extends VectorDataApi {
|
|
|
341
461
|
*
|
|
342
462
|
* @category Vector Buckets
|
|
343
463
|
* @param options - Vector retrieval options (bucket and index names automatically set)
|
|
344
|
-
* @returns Promise with
|
|
464
|
+
* @returns Promise with response containing vectors array or error
|
|
345
465
|
*
|
|
346
466
|
* @example
|
|
347
467
|
* ```typescript
|
|
@@ -371,7 +491,7 @@ export class VectorIndexScope extends VectorDataApi {
|
|
|
371
491
|
*
|
|
372
492
|
* @category Vector Buckets
|
|
373
493
|
* @param options - Listing options (bucket and index names automatically set)
|
|
374
|
-
* @returns Promise with
|
|
494
|
+
* @returns Promise with response containing vectors array and pagination token or error
|
|
375
495
|
*
|
|
376
496
|
* @example
|
|
377
497
|
* ```typescript
|
|
@@ -401,7 +521,7 @@ export class VectorIndexScope extends VectorDataApi {
|
|
|
401
521
|
*
|
|
402
522
|
* @category Vector Buckets
|
|
403
523
|
* @param options - Query options (bucket and index names automatically set)
|
|
404
|
-
* @returns Promise with array of similar vectors ordered by distance
|
|
524
|
+
* @returns Promise with response containing matches array of similar vectors ordered by distance or error
|
|
405
525
|
*
|
|
406
526
|
* @example
|
|
407
527
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageVectorsClient.js","sourceRoot":"","sources":["../../../../src/lib/vectors/StorageVectorsClient.ts"],"names":[],"mappings":";AAAA,OAAO,cAAsC,MAAM,kBAAkB,CAAA;AACrE,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAE3C,OAAO,eAAe,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"StorageVectorsClient.js","sourceRoot":"","sources":["../../../../src/lib/vectors/StorageVectorsClient.ts"],"names":[],"mappings":";AAAA,OAAO,cAAsC,MAAM,kBAAkB,CAAA;AACrE,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAE3C,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAkC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,OAAO,oBAAqB,SAAQ,eAAe;IACvD;;;;;;;;;;;;;;;;OAgBG;IACH,YAAY,GAAW,EAAE,UAAuC,EAAE;QAChE,KAAK,CAAC,GAAG,EAAE,OA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;;;;;;;;;;;;;;;;;;;OAqBG;IACY,UAAU,CAAC,OAAkE;;;;;YAC1F,OAAO,OAAM,UAAU,4CAClB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACY,WAAW;;;;6DACxB,UAAsE,EAAE;YAExE,OAAO,OAAM,WAAW,4CACnB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACY,YAAY,CACzB,OAAoE;;;;;YAEpE,OAAO,OAAM,YAAY,4CACpB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACY,aAAa,CAC1B,OAAqE;;;;;YAErE,OAAO,OAAM,aAAa,4CACrB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;CACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.
|
|
1
|
+
export declare const version = "2.85.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,WAAW,CAAA"}
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
// - Debugging and support (identifying which version is running)
|
|
5
5
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
6
6
|
// - Ensuring build artifacts match the published package version
|
|
7
|
-
export const version = '2.
|
|
7
|
+
export const version = '2.85.0';
|
|
8
8
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA"}
|