@supabase/storage-js 2.87.4-canary.2 → 2.87.4-canary.4
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 +2 -106
- package/dist/index.cjs +3019 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2601 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +2601 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2998 -0
- package/dist/index.mjs.map +1 -0
- package/dist/umd/supabase.js +1 -1
- package/package.json +21 -12
- package/src/lib/version.ts +1 -1
- package/dist/main/StorageClient.d.ts +0 -64
- package/dist/main/StorageClient.d.ts.map +0 -1
- package/dist/main/StorageClient.js +0 -74
- package/dist/main/StorageClient.js.map +0 -1
- package/dist/main/index.d.ts +0 -7
- package/dist/main/index.d.ts.map +0 -1
- package/dist/main/index.js +0 -12
- package/dist/main/index.js.map +0 -1
- package/dist/main/lib/constants.d.ts +0 -4
- package/dist/main/lib/constants.d.ts.map +0 -1
- package/dist/main/lib/constants.js +0 -8
- package/dist/main/lib/constants.js.map +0 -1
- package/dist/main/lib/errors.d.ts +0 -21
- package/dist/main/lib/errors.d.ts.map +0 -1
- package/dist/main/lib/errors.js +0 -41
- package/dist/main/lib/errors.js.map +0 -1
- package/dist/main/lib/fetch.d.ts +0 -16
- package/dist/main/lib/fetch.d.ts.map +0 -1
- package/dist/main/lib/fetch.js +0 -95
- package/dist/main/lib/fetch.js.map +0 -1
- package/dist/main/lib/helpers.d.ts +0 -28
- package/dist/main/lib/helpers.d.ts.map +0 -1
- package/dist/main/lib/helpers.js +0 -87
- package/dist/main/lib/helpers.js.map +0 -1
- package/dist/main/lib/index.d.ts +0 -6
- package/dist/main/lib/index.d.ts.map +0 -1
- package/dist/main/lib/index.js +0 -9
- package/dist/main/lib/index.js.map +0 -1
- package/dist/main/lib/types.d.ts +0 -226
- package/dist/main/lib/types.d.ts.map +0 -1
- package/dist/main/lib/types.js +0 -3
- package/dist/main/lib/types.js.map +0 -1
- package/dist/main/lib/vectors/StorageVectorsClient.d.ts +0 -505
- package/dist/main/lib/vectors/StorageVectorsClient.d.ts.map +0 -1
- package/dist/main/lib/vectors/StorageVectorsClient.js +0 -582
- package/dist/main/lib/vectors/StorageVectorsClient.js.map +0 -1
- package/dist/main/lib/vectors/VectorBucketApi.d.ts +0 -32
- package/dist/main/lib/vectors/VectorBucketApi.d.ts.map +0 -1
- package/dist/main/lib/vectors/VectorBucketApi.js +0 -102
- package/dist/main/lib/vectors/VectorBucketApi.js.map +0 -1
- package/dist/main/lib/vectors/VectorDataApi.d.ts +0 -32
- package/dist/main/lib/vectors/VectorDataApi.d.ts.map +0 -1
- package/dist/main/lib/vectors/VectorDataApi.js +0 -147
- package/dist/main/lib/vectors/VectorDataApi.js.map +0 -1
- package/dist/main/lib/vectors/VectorIndexApi.d.ts +0 -47
- package/dist/main/lib/vectors/VectorIndexApi.d.ts.map +0 -1
- package/dist/main/lib/vectors/VectorIndexApi.js +0 -104
- package/dist/main/lib/vectors/VectorIndexApi.js.map +0 -1
- package/dist/main/lib/vectors/constants.d.ts +0 -5
- package/dist/main/lib/vectors/constants.d.ts.map +0 -1
- package/dist/main/lib/vectors/constants.js +0 -9
- package/dist/main/lib/vectors/constants.js.map +0 -1
- package/dist/main/lib/vectors/errors.d.ts +0 -55
- package/dist/main/lib/vectors/errors.d.ts.map +0 -1
- package/dist/main/lib/vectors/errors.js +0 -76
- package/dist/main/lib/vectors/errors.js.map +0 -1
- package/dist/main/lib/vectors/fetch.d.ts +0 -57
- package/dist/main/lib/vectors/fetch.d.ts.map +0 -1
- package/dist/main/lib/vectors/fetch.js +0 -167
- package/dist/main/lib/vectors/fetch.js.map +0 -1
- package/dist/main/lib/vectors/helpers.d.ts +0 -46
- package/dist/main/lib/vectors/helpers.d.ts.map +0 -1
- package/dist/main/lib/vectors/helpers.js +0 -74
- package/dist/main/lib/vectors/helpers.js.map +0 -1
- package/dist/main/lib/vectors/index.d.ts +0 -11
- package/dist/main/lib/vectors/index.d.ts.map +0 -1
- package/dist/main/lib/vectors/index.js +0 -31
- package/dist/main/lib/vectors/index.js.map +0 -1
- package/dist/main/lib/vectors/types.d.ts +0 -279
- package/dist/main/lib/vectors/types.d.ts.map +0 -1
- package/dist/main/lib/vectors/types.js +0 -3
- package/dist/main/lib/vectors/types.js.map +0 -1
- package/dist/main/lib/version.d.ts +0 -2
- package/dist/main/lib/version.d.ts.map +0 -1
- package/dist/main/lib/version.js +0 -11
- package/dist/main/lib/version.js.map +0 -1
- package/dist/main/packages/BlobDownloadBuilder.d.ts +0 -16
- package/dist/main/packages/BlobDownloadBuilder.d.ts.map +0 -1
- package/dist/main/packages/BlobDownloadBuilder.js +0 -55
- package/dist/main/packages/BlobDownloadBuilder.js.map +0 -1
- package/dist/main/packages/StorageAnalyticsClient.d.ts +0 -324
- package/dist/main/packages/StorageAnalyticsClient.d.ts.map +0 -1
- package/dist/main/packages/StorageAnalyticsClient.js +0 -395
- package/dist/main/packages/StorageAnalyticsClient.js.map +0 -1
- package/dist/main/packages/StorageBucketApi.d.ts +0 -266
- package/dist/main/packages/StorageBucketApi.d.ts.map +0 -1
- package/dist/main/packages/StorageBucketApi.js +0 -362
- package/dist/main/packages/StorageBucketApi.js.map +0 -1
- package/dist/main/packages/StorageFileApi.d.ts +0 -680
- package/dist/main/packages/StorageFileApi.d.ts.map +0 -1
- package/dist/main/packages/StorageFileApi.js +0 -1002
- package/dist/main/packages/StorageFileApi.js.map +0 -1
- package/dist/main/packages/StreamDownloadBuilder.d.ts +0 -9
- package/dist/main/packages/StreamDownloadBuilder.d.ts.map +0 -1
- package/dist/main/packages/StreamDownloadBuilder.js +0 -35
- package/dist/main/packages/StreamDownloadBuilder.js.map +0 -1
- package/dist/module/StorageClient.d.ts +0 -64
- package/dist/module/StorageClient.d.ts.map +0 -1
- package/dist/module/StorageClient.js +0 -69
- package/dist/module/StorageClient.js.map +0 -1
- package/dist/module/index.d.ts +0 -7
- package/dist/module/index.d.ts.map +0 -1
- package/dist/module/index.js +0 -6
- package/dist/module/index.js.map +0 -1
- package/dist/module/lib/constants.d.ts +0 -4
- package/dist/module/lib/constants.d.ts.map +0 -1
- package/dist/module/lib/constants.js +0 -5
- package/dist/module/lib/constants.js.map +0 -1
- package/dist/module/lib/errors.d.ts +0 -21
- package/dist/module/lib/errors.d.ts.map +0 -1
- package/dist/module/lib/errors.js +0 -34
- package/dist/module/lib/errors.js.map +0 -1
- package/dist/module/lib/fetch.d.ts +0 -16
- package/dist/module/lib/fetch.d.ts.map +0 -1
- package/dist/module/lib/fetch.js +0 -88
- package/dist/module/lib/fetch.js.map +0 -1
- package/dist/module/lib/helpers.d.ts +0 -28
- package/dist/module/lib/helpers.d.ts.map +0 -1
- package/dist/module/lib/helpers.js +0 -79
- package/dist/module/lib/helpers.js.map +0 -1
- package/dist/module/lib/index.d.ts +0 -6
- package/dist/module/lib/index.d.ts.map +0 -1
- package/dist/module/lib/index.js +0 -6
- package/dist/module/lib/index.js.map +0 -1
- package/dist/module/lib/types.d.ts +0 -226
- package/dist/module/lib/types.d.ts.map +0 -1
- package/dist/module/lib/types.js +0 -2
- package/dist/module/lib/types.js.map +0 -1
- package/dist/module/lib/vectors/StorageVectorsClient.d.ts +0 -505
- package/dist/module/lib/vectors/StorageVectorsClient.d.ts.map +0 -1
- package/dist/module/lib/vectors/StorageVectorsClient.js +0 -576
- package/dist/module/lib/vectors/StorageVectorsClient.js.map +0 -1
- package/dist/module/lib/vectors/VectorBucketApi.d.ts +0 -32
- package/dist/module/lib/vectors/VectorBucketApi.d.ts.map +0 -1
- package/dist/module/lib/vectors/VectorBucketApi.js +0 -99
- package/dist/module/lib/vectors/VectorBucketApi.js.map +0 -1
- package/dist/module/lib/vectors/VectorDataApi.d.ts +0 -32
- package/dist/module/lib/vectors/VectorDataApi.d.ts.map +0 -1
- package/dist/module/lib/vectors/VectorDataApi.js +0 -144
- package/dist/module/lib/vectors/VectorDataApi.js.map +0 -1
- package/dist/module/lib/vectors/VectorIndexApi.d.ts +0 -47
- package/dist/module/lib/vectors/VectorIndexApi.d.ts.map +0 -1
- package/dist/module/lib/vectors/VectorIndexApi.js +0 -101
- package/dist/module/lib/vectors/VectorIndexApi.js.map +0 -1
- package/dist/module/lib/vectors/constants.d.ts +0 -5
- package/dist/module/lib/vectors/constants.d.ts.map +0 -1
- package/dist/module/lib/vectors/constants.js +0 -6
- package/dist/module/lib/vectors/constants.js.map +0 -1
- package/dist/module/lib/vectors/errors.d.ts +0 -55
- package/dist/module/lib/vectors/errors.d.ts.map +0 -1
- package/dist/module/lib/vectors/errors.js +0 -69
- package/dist/module/lib/vectors/errors.js.map +0 -1
- package/dist/module/lib/vectors/fetch.d.ts +0 -57
- package/dist/module/lib/vectors/fetch.d.ts.map +0 -1
- package/dist/module/lib/vectors/fetch.js +0 -161
- package/dist/module/lib/vectors/fetch.js.map +0 -1
- package/dist/module/lib/vectors/helpers.d.ts +0 -46
- package/dist/module/lib/vectors/helpers.d.ts.map +0 -1
- package/dist/module/lib/vectors/helpers.js +0 -66
- package/dist/module/lib/vectors/helpers.js.map +0 -1
- package/dist/module/lib/vectors/index.d.ts +0 -11
- package/dist/module/lib/vectors/index.d.ts.map +0 -1
- package/dist/module/lib/vectors/index.js +0 -11
- package/dist/module/lib/vectors/index.js.map +0 -1
- package/dist/module/lib/vectors/types.d.ts +0 -279
- package/dist/module/lib/vectors/types.d.ts.map +0 -1
- package/dist/module/lib/vectors/types.js +0 -2
- package/dist/module/lib/vectors/types.js.map +0 -1
- package/dist/module/lib/version.d.ts +0 -2
- package/dist/module/lib/version.d.ts.map +0 -1
- package/dist/module/lib/version.js +0 -8
- package/dist/module/lib/version.js.map +0 -1
- package/dist/module/packages/BlobDownloadBuilder.d.ts +0 -16
- package/dist/module/packages/BlobDownloadBuilder.d.ts.map +0 -1
- package/dist/module/packages/BlobDownloadBuilder.js +0 -53
- package/dist/module/packages/BlobDownloadBuilder.js.map +0 -1
- package/dist/module/packages/StorageAnalyticsClient.d.ts +0 -324
- package/dist/module/packages/StorageAnalyticsClient.d.ts.map +0 -1
- package/dist/module/packages/StorageAnalyticsClient.js +0 -392
- package/dist/module/packages/StorageAnalyticsClient.js.map +0 -1
- package/dist/module/packages/StorageBucketApi.d.ts +0 -266
- package/dist/module/packages/StorageBucketApi.d.ts.map +0 -1
- package/dist/module/packages/StorageBucketApi.js +0 -359
- package/dist/module/packages/StorageBucketApi.js.map +0 -1
- package/dist/module/packages/StorageFileApi.d.ts +0 -680
- package/dist/module/packages/StorageFileApi.d.ts.map +0 -1
- package/dist/module/packages/StorageFileApi.js +0 -999
- package/dist/module/packages/StorageFileApi.js.map +0 -1
- package/dist/module/packages/StreamDownloadBuilder.d.ts +0 -9
- package/dist/module/packages/StreamDownloadBuilder.d.ts.map +0 -1
- package/dist/module/packages/StreamDownloadBuilder.js +0 -32
- package/dist/module/packages/StreamDownloadBuilder.js.map +0 -1
- package/dist/tsconfig.module.tsbuildinfo +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/vectors/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAE9C;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uBAAuB,CAAC,EAAE,uBAAuB,CAAA;CAClD;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,yBAAyB,CAAC,EAAE,MAAM,EAAE,CAAA;CACrC;AAED;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,CAAA;AAEtC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OAAO,EAAE,WAAW,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAE9C;;;;;;;;;GASG;AACH,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,UAAU,CAAA;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,WAAW,EAAE,CAAA;IACtB,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,IAAI,EAAE,CAAC,CAAA;IACP,KAAK,EAAE,IAAI,CAAA;CACZ;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,IAAI,CAAA;IACV,KAAK,EAAE,mBAAmB,CAAA;CAC3B;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,eAAe,CAAC,CAAC,CAAC,GAAG,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/lib/vectors/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,oBAAoB,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Generated automatically during releases by scripts/update-version-files.ts
|
|
2
|
-
// This file provides runtime access to the package version for:
|
|
3
|
-
// - HTTP request headers (e.g., X-Client-Info header for API requests)
|
|
4
|
-
// - Debugging and support (identifying which version is running)
|
|
5
|
-
// - Telemetry and logging (version reporting in errors/analytics)
|
|
6
|
-
// - Ensuring build artifacts match the published package version
|
|
7
|
-
export const version = '2.87.4-canary.2';
|
|
8
|
-
//# sourceMappingURL=version.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,iBAAiB,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DownloadResult } from '../lib/types';
|
|
2
|
-
import StreamDownloadBuilder from './StreamDownloadBuilder';
|
|
3
|
-
export default class BlobDownloadBuilder implements Promise<DownloadResult<Blob>> {
|
|
4
|
-
private downloadFn;
|
|
5
|
-
private shouldThrowOnError;
|
|
6
|
-
readonly [Symbol.toStringTag]: string;
|
|
7
|
-
private promise;
|
|
8
|
-
constructor(downloadFn: () => Promise<Response>, shouldThrowOnError: boolean);
|
|
9
|
-
asStream(): StreamDownloadBuilder;
|
|
10
|
-
then<TResult1 = DownloadResult<Blob>, TResult2 = never>(onfulfilled?: ((value: DownloadResult<Blob>) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
11
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<DownloadResult<Blob> | TResult>;
|
|
12
|
-
finally(onfinally?: (() => void) | null): Promise<DownloadResult<Blob>>;
|
|
13
|
-
private getPromise;
|
|
14
|
-
private exec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,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAIvE,OAAO,CAAC,UAAU;YAOJ,OAAO;CAoBtB"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
import { __awaiter } from "tslib";
|
|
3
|
-
import { isStorageError } from '../lib/errors';
|
|
4
|
-
import StreamDownloadBuilder from './StreamDownloadBuilder';
|
|
5
|
-
class BlobDownloadBuilder {
|
|
6
|
-
constructor(downloadFn, shouldThrowOnError) {
|
|
7
|
-
this.downloadFn = downloadFn;
|
|
8
|
-
this.shouldThrowOnError = shouldThrowOnError;
|
|
9
|
-
this[_a] = 'BlobDownloadBuilder';
|
|
10
|
-
this.promise = null;
|
|
11
|
-
}
|
|
12
|
-
asStream() {
|
|
13
|
-
return new StreamDownloadBuilder(this.downloadFn, this.shouldThrowOnError);
|
|
14
|
-
}
|
|
15
|
-
then(onfulfilled, onrejected) {
|
|
16
|
-
return this.getPromise().then(onfulfilled, onrejected);
|
|
17
|
-
}
|
|
18
|
-
catch(onrejected) {
|
|
19
|
-
return this.getPromise().catch(onrejected);
|
|
20
|
-
}
|
|
21
|
-
finally(onfinally) {
|
|
22
|
-
return this.getPromise().finally(onfinally);
|
|
23
|
-
}
|
|
24
|
-
getPromise() {
|
|
25
|
-
if (!this.promise) {
|
|
26
|
-
this.promise = this.execute();
|
|
27
|
-
}
|
|
28
|
-
return this.promise;
|
|
29
|
-
}
|
|
30
|
-
execute() {
|
|
31
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
try {
|
|
33
|
-
const result = yield this.downloadFn();
|
|
34
|
-
return {
|
|
35
|
-
data: yield result.blob(),
|
|
36
|
-
error: null,
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
catch (error) {
|
|
40
|
-
if (this.shouldThrowOnError) {
|
|
41
|
-
throw error;
|
|
42
|
-
}
|
|
43
|
-
if (isStorageError(error)) {
|
|
44
|
-
return { data: null, error };
|
|
45
|
-
}
|
|
46
|
-
throw error;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
_a = Symbol.toStringTag;
|
|
52
|
-
export default BlobDownloadBuilder;
|
|
53
|
-
//# sourceMappingURL=BlobDownloadBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlobDownloadBuilder.js","sourceRoot":"","sources":["../../../src/packages/BlobDownloadBuilder.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,OAAO,qBAAqB,MAAM,yBAAyB,CAAA;AAE3D,MAAqB,mBAAmB;IAItC,YACU,UAAmC,EACnC,kBAA2B;QAD3B,eAAU,GAAV,UAAU,CAAyB;QACnC,uBAAkB,GAAlB,kBAAkB,CAAS;QAL5B,QAAoB,GAAW,qBAAqB,CAAA;QACrD,YAAO,GAAyC,IAAI,CAAA;IAKzD,CAAC;IAEJ,QAAQ;QACN,OAAO,IAAI,qBAAqB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAA;IAC5E,CAAC;IAED,IAAI,CACF,WAAwF,EACxF,UAAuE;QAEvE,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAA;IACxD,CAAC;IAED,KAAK,CACH,UAAqE;QAErE,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IAC5C,CAAC;IAED,OAAO,CAAC,SAA+B;QACrC,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;IAC7C,CAAC;IAEO,UAAU;QAChB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,CAAA;QAC/B,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;IAEa,OAAO;;YACnB,IAAI,CAAC;gBACH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAA;gBAEtC,OAAO;oBACL,IAAI,EAAE,MAAM,MAAM,CAAC,IAAI,EAAE;oBACzB,KAAK,EAAE,IAAI;iBACZ,CAAA;YACH,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;oBAC5B,MAAM,KAAK,CAAA;gBACb,CAAC;gBAED,IAAI,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;oBAC1B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAA;gBAC9B,CAAC;gBAED,MAAM,KAAK,CAAA;YACb,CAAC;QACH,CAAC;KAAA;CACF;KAxDW,MAAM,CAAC,WAAW;eADT,mBAAmB"}
|
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
import { IcebergRestCatalog, IcebergError } from 'iceberg-js';
|
|
2
|
-
import { StorageError } from '../lib/errors';
|
|
3
|
-
import { Fetch } from '../lib/fetch';
|
|
4
|
-
import { AnalyticBucket } from '../lib/types';
|
|
5
|
-
type WrapAsyncMethod<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<{
|
|
6
|
-
data: R;
|
|
7
|
-
error: null;
|
|
8
|
-
} | {
|
|
9
|
-
data: null;
|
|
10
|
-
error: IcebergError;
|
|
11
|
-
}> : T;
|
|
12
|
-
export type WrappedIcebergRestCatalog = {
|
|
13
|
-
[K in keyof IcebergRestCatalog]: WrapAsyncMethod<IcebergRestCatalog[K]>;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Client class for managing Analytics Buckets using Iceberg tables
|
|
17
|
-
* Provides methods for creating, listing, and deleting analytics buckets
|
|
18
|
-
*/
|
|
19
|
-
export default class StorageAnalyticsClient {
|
|
20
|
-
protected url: string;
|
|
21
|
-
protected headers: {
|
|
22
|
-
[key: string]: string;
|
|
23
|
-
};
|
|
24
|
-
protected fetch: Fetch;
|
|
25
|
-
protected shouldThrowOnError: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* @alpha
|
|
28
|
-
*
|
|
29
|
-
* Creates a new StorageAnalyticsClient instance
|
|
30
|
-
*
|
|
31
|
-
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
32
|
-
*
|
|
33
|
-
* @category Analytics Buckets
|
|
34
|
-
* @param url - The base URL for the storage API
|
|
35
|
-
* @param headers - HTTP headers to include in requests
|
|
36
|
-
* @param fetch - Optional custom fetch implementation
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* ```typescript
|
|
40
|
-
* const client = new StorageAnalyticsClient(url, headers)
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
constructor(url: string, headers?: {
|
|
44
|
-
[key: string]: string;
|
|
45
|
-
}, fetch?: Fetch);
|
|
46
|
-
/**
|
|
47
|
-
* @alpha
|
|
48
|
-
*
|
|
49
|
-
* Enable throwing errors instead of returning them in the response
|
|
50
|
-
* When enabled, failed operations will throw instead of returning { data: null, error }
|
|
51
|
-
*
|
|
52
|
-
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
53
|
-
*
|
|
54
|
-
* @category Analytics Buckets
|
|
55
|
-
* @returns This instance for method chaining
|
|
56
|
-
*/
|
|
57
|
-
throwOnError(): this;
|
|
58
|
-
/**
|
|
59
|
-
* @alpha
|
|
60
|
-
*
|
|
61
|
-
* Creates a new analytics bucket using Iceberg tables
|
|
62
|
-
* Analytics buckets are optimized for analytical queries and data processing
|
|
63
|
-
*
|
|
64
|
-
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
65
|
-
*
|
|
66
|
-
* @category Analytics Buckets
|
|
67
|
-
* @param name A unique name for the bucket you are creating
|
|
68
|
-
* @returns Promise with response containing newly created analytics bucket or error
|
|
69
|
-
*
|
|
70
|
-
* @example Create analytics bucket
|
|
71
|
-
* ```js
|
|
72
|
-
* const { data, error } = await supabase
|
|
73
|
-
* .storage
|
|
74
|
-
* .analytics
|
|
75
|
-
* .createBucket('analytics-data')
|
|
76
|
-
* ```
|
|
77
|
-
*
|
|
78
|
-
* Response:
|
|
79
|
-
* ```json
|
|
80
|
-
* {
|
|
81
|
-
* "data": {
|
|
82
|
-
* "name": "analytics-data",
|
|
83
|
-
* "type": "ANALYTICS",
|
|
84
|
-
* "format": "iceberg",
|
|
85
|
-
* "created_at": "2024-05-22T22:26:05.100Z",
|
|
86
|
-
* "updated_at": "2024-05-22T22:26:05.100Z"
|
|
87
|
-
* },
|
|
88
|
-
* "error": null
|
|
89
|
-
* }
|
|
90
|
-
* ```
|
|
91
|
-
*/
|
|
92
|
-
createBucket(name: string): Promise<{
|
|
93
|
-
data: AnalyticBucket;
|
|
94
|
-
error: null;
|
|
95
|
-
} | {
|
|
96
|
-
data: null;
|
|
97
|
-
error: StorageError;
|
|
98
|
-
}>;
|
|
99
|
-
/**
|
|
100
|
-
* @alpha
|
|
101
|
-
*
|
|
102
|
-
* Retrieves the details of all Analytics Storage buckets within an existing project
|
|
103
|
-
* Only returns buckets of type 'ANALYTICS'
|
|
104
|
-
*
|
|
105
|
-
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
106
|
-
*
|
|
107
|
-
* @category Analytics Buckets
|
|
108
|
-
* @param options Query parameters for listing buckets
|
|
109
|
-
* @param options.limit Maximum number of buckets to return
|
|
110
|
-
* @param options.offset Number of buckets to skip
|
|
111
|
-
* @param options.sortColumn Column to sort by ('name', 'created_at', 'updated_at')
|
|
112
|
-
* @param options.sortOrder Sort order ('asc' or 'desc')
|
|
113
|
-
* @param options.search Search term to filter bucket names
|
|
114
|
-
* @returns Promise with response containing array of analytics buckets or error
|
|
115
|
-
*
|
|
116
|
-
* @example List analytics buckets
|
|
117
|
-
* ```js
|
|
118
|
-
* const { data, error } = await supabase
|
|
119
|
-
* .storage
|
|
120
|
-
* .analytics
|
|
121
|
-
* .listBuckets({
|
|
122
|
-
* limit: 10,
|
|
123
|
-
* offset: 0,
|
|
124
|
-
* sortColumn: 'created_at',
|
|
125
|
-
* sortOrder: 'desc'
|
|
126
|
-
* })
|
|
127
|
-
* ```
|
|
128
|
-
*
|
|
129
|
-
* Response:
|
|
130
|
-
* ```json
|
|
131
|
-
* {
|
|
132
|
-
* "data": [
|
|
133
|
-
* {
|
|
134
|
-
* "name": "analytics-data",
|
|
135
|
-
* "type": "ANALYTICS",
|
|
136
|
-
* "format": "iceberg",
|
|
137
|
-
* "created_at": "2024-05-22T22:26:05.100Z",
|
|
138
|
-
* "updated_at": "2024-05-22T22:26:05.100Z"
|
|
139
|
-
* }
|
|
140
|
-
* ],
|
|
141
|
-
* "error": null
|
|
142
|
-
* }
|
|
143
|
-
* ```
|
|
144
|
-
*/
|
|
145
|
-
listBuckets(options?: {
|
|
146
|
-
limit?: number;
|
|
147
|
-
offset?: number;
|
|
148
|
-
sortColumn?: 'name' | 'created_at' | 'updated_at';
|
|
149
|
-
sortOrder?: 'asc' | 'desc';
|
|
150
|
-
search?: string;
|
|
151
|
-
}): Promise<{
|
|
152
|
-
data: AnalyticBucket[];
|
|
153
|
-
error: null;
|
|
154
|
-
} | {
|
|
155
|
-
data: null;
|
|
156
|
-
error: StorageError;
|
|
157
|
-
}>;
|
|
158
|
-
/**
|
|
159
|
-
* @alpha
|
|
160
|
-
*
|
|
161
|
-
* Deletes an existing analytics bucket
|
|
162
|
-
* A bucket can't be deleted with existing objects inside it
|
|
163
|
-
* You must first empty the bucket before deletion
|
|
164
|
-
*
|
|
165
|
-
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
166
|
-
*
|
|
167
|
-
* @category Analytics Buckets
|
|
168
|
-
* @param bucketName The unique identifier of the bucket you would like to delete
|
|
169
|
-
* @returns Promise with response containing success message or error
|
|
170
|
-
*
|
|
171
|
-
* @example Delete analytics bucket
|
|
172
|
-
* ```js
|
|
173
|
-
* const { data, error } = await supabase
|
|
174
|
-
* .storage
|
|
175
|
-
* .analytics
|
|
176
|
-
* .deleteBucket('analytics-data')
|
|
177
|
-
* ```
|
|
178
|
-
*
|
|
179
|
-
* Response:
|
|
180
|
-
* ```json
|
|
181
|
-
* {
|
|
182
|
-
* "data": {
|
|
183
|
-
* "message": "Successfully deleted"
|
|
184
|
-
* },
|
|
185
|
-
* "error": null
|
|
186
|
-
* }
|
|
187
|
-
* ```
|
|
188
|
-
*/
|
|
189
|
-
deleteBucket(bucketName: string): Promise<{
|
|
190
|
-
data: {
|
|
191
|
-
message: string;
|
|
192
|
-
};
|
|
193
|
-
error: null;
|
|
194
|
-
} | {
|
|
195
|
-
data: null;
|
|
196
|
-
error: StorageError;
|
|
197
|
-
}>;
|
|
198
|
-
/**
|
|
199
|
-
* @alpha
|
|
200
|
-
*
|
|
201
|
-
* Get an Iceberg REST Catalog client configured for a specific analytics bucket
|
|
202
|
-
* Use this to perform advanced table and namespace operations within the bucket
|
|
203
|
-
* The returned client provides full access to the Apache Iceberg REST Catalog API
|
|
204
|
-
* with the Supabase `{ data, error }` pattern for consistent error handling on all operations.
|
|
205
|
-
*
|
|
206
|
-
* **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
|
|
207
|
-
*
|
|
208
|
-
* @category Analytics Buckets
|
|
209
|
-
* @param bucketName - The name of the analytics bucket (warehouse) to connect to
|
|
210
|
-
* @returns The wrapped Iceberg catalog client
|
|
211
|
-
* @throws {StorageError} If the bucket name is invalid
|
|
212
|
-
*
|
|
213
|
-
* @example Get catalog and create table
|
|
214
|
-
* ```js
|
|
215
|
-
* // First, create an analytics bucket
|
|
216
|
-
* const { data: bucket, error: bucketError } = await supabase
|
|
217
|
-
* .storage
|
|
218
|
-
* .analytics
|
|
219
|
-
* .createBucket('analytics-data')
|
|
220
|
-
*
|
|
221
|
-
* // Get the Iceberg catalog for that bucket
|
|
222
|
-
* const catalog = supabase.storage.analytics.from('analytics-data')
|
|
223
|
-
*
|
|
224
|
-
* // Create a namespace
|
|
225
|
-
* const { error: nsError } = await catalog.createNamespace({ namespace: ['default'] })
|
|
226
|
-
*
|
|
227
|
-
* // Create a table with schema
|
|
228
|
-
* const { data: tableMetadata, error: tableError } = await catalog.createTable(
|
|
229
|
-
* { namespace: ['default'] },
|
|
230
|
-
* {
|
|
231
|
-
* name: 'events',
|
|
232
|
-
* schema: {
|
|
233
|
-
* type: 'struct',
|
|
234
|
-
* fields: [
|
|
235
|
-
* { id: 1, name: 'id', type: 'long', required: true },
|
|
236
|
-
* { id: 2, name: 'timestamp', type: 'timestamp', required: true },
|
|
237
|
-
* { id: 3, name: 'user_id', type: 'string', required: false }
|
|
238
|
-
* ],
|
|
239
|
-
* 'schema-id': 0,
|
|
240
|
-
* 'identifier-field-ids': [1]
|
|
241
|
-
* },
|
|
242
|
-
* 'partition-spec': {
|
|
243
|
-
* 'spec-id': 0,
|
|
244
|
-
* fields: []
|
|
245
|
-
* },
|
|
246
|
-
* 'write-order': {
|
|
247
|
-
* 'order-id': 0,
|
|
248
|
-
* fields: []
|
|
249
|
-
* },
|
|
250
|
-
* properties: {
|
|
251
|
-
* 'write.format.default': 'parquet'
|
|
252
|
-
* }
|
|
253
|
-
* }
|
|
254
|
-
* )
|
|
255
|
-
* ```
|
|
256
|
-
*
|
|
257
|
-
* @example List tables in namespace
|
|
258
|
-
* ```js
|
|
259
|
-
* const catalog = supabase.storage.analytics.from('analytics-data')
|
|
260
|
-
*
|
|
261
|
-
* // List all tables in the default namespace
|
|
262
|
-
* const { data: tables, error: listError } = await catalog.listTables({ namespace: ['default'] })
|
|
263
|
-
* if (listError) {
|
|
264
|
-
* if (listError.isNotFound()) {
|
|
265
|
-
* console.log('Namespace not found')
|
|
266
|
-
* }
|
|
267
|
-
* return
|
|
268
|
-
* }
|
|
269
|
-
* console.log(tables) // [{ namespace: ['default'], name: 'events' }]
|
|
270
|
-
* ```
|
|
271
|
-
*
|
|
272
|
-
* @example Working with namespaces
|
|
273
|
-
* ```js
|
|
274
|
-
* const catalog = supabase.storage.analytics.from('analytics-data')
|
|
275
|
-
*
|
|
276
|
-
* // List all namespaces
|
|
277
|
-
* const { data: namespaces } = await catalog.listNamespaces()
|
|
278
|
-
*
|
|
279
|
-
* // Create namespace with properties
|
|
280
|
-
* await catalog.createNamespace(
|
|
281
|
-
* { namespace: ['production'] },
|
|
282
|
-
* { properties: { owner: 'data-team', env: 'prod' } }
|
|
283
|
-
* )
|
|
284
|
-
* ```
|
|
285
|
-
*
|
|
286
|
-
* @example Cleanup operations
|
|
287
|
-
* ```js
|
|
288
|
-
* const catalog = supabase.storage.analytics.from('analytics-data')
|
|
289
|
-
*
|
|
290
|
-
* // Drop table with purge option (removes all data)
|
|
291
|
-
* const { error: dropError } = await catalog.dropTable(
|
|
292
|
-
* { namespace: ['default'], name: 'events' },
|
|
293
|
-
* { purge: true }
|
|
294
|
-
* )
|
|
295
|
-
*
|
|
296
|
-
* if (dropError?.isNotFound()) {
|
|
297
|
-
* console.log('Table does not exist')
|
|
298
|
-
* }
|
|
299
|
-
*
|
|
300
|
-
* // Drop namespace (must be empty)
|
|
301
|
-
* await catalog.dropNamespace({ namespace: ['default'] })
|
|
302
|
-
* ```
|
|
303
|
-
*
|
|
304
|
-
* @remarks
|
|
305
|
-
* This method provides a bridge between Supabase's bucket management and the standard
|
|
306
|
-
* Apache Iceberg REST Catalog API. The bucket name maps to the Iceberg warehouse parameter.
|
|
307
|
-
* All authentication and configuration is handled automatically using your Supabase credentials.
|
|
308
|
-
*
|
|
309
|
-
* **Error Handling**: Invalid bucket names throw immediately. All catalog
|
|
310
|
-
* operations return `{ data, error }` where errors are `IcebergError` instances from iceberg-js.
|
|
311
|
-
* Use helper methods like `error.isNotFound()` or check `error.status` for specific error handling.
|
|
312
|
-
* Use `.throwOnError()` on the analytics client if you prefer exceptions for catalog operations.
|
|
313
|
-
*
|
|
314
|
-
* **Cleanup Operations**: When using `dropTable`, the `purge: true` option permanently
|
|
315
|
-
* deletes all table data. Without it, the table is marked as deleted but data remains.
|
|
316
|
-
*
|
|
317
|
-
* **Library Dependency**: The returned catalog wraps `IcebergRestCatalog` from iceberg-js.
|
|
318
|
-
* For complete API documentation and advanced usage, refer to the
|
|
319
|
-
* [iceberg-js documentation](https://supabase.github.io/iceberg-js/).
|
|
320
|
-
*/
|
|
321
|
-
from(bucketName: string): WrappedIcebergRestCatalog;
|
|
322
|
-
}
|
|
323
|
-
export {};
|
|
324
|
-
//# sourceMappingURL=StorageAnalyticsClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageAnalyticsClient.d.ts","sourceRoot":"","sources":["../../../src/packages/StorageAnalyticsClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE7D,OAAO,EAAkB,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,EAAqB,MAAM,cAAc,CAAA;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,KAAK,eAAe,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,GACtE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IAAE,IAAI,EAAE,CAAC,CAAC;IAAC,KAAK,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,YAAY,CAAA;CAAE,CAAC,GACvF,CAAC,CAAA;AAEL,MAAM,MAAM,yBAAyB,GAAG;KACrC,CAAC,IAAI,MAAM,kBAAkB,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;CACxE,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAsB;IACzC,SAAS,CAAC,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