File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
packages/core/storage-js/src Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11import StorageFileApi from './packages/StorageFileApi'
22import StorageBucketApi from './packages/StorageBucketApi'
3- import StorageAnalyticsApi from './packages/StorageAnalyticsApi '
3+ import StorageAnalyticsClient from './packages/StorageAnalyticsClient '
44import { Fetch } from './lib/fetch'
55import { StorageVectorsClient } from './lib/vectors'
66
@@ -71,7 +71,7 @@ export class StorageClient extends StorageBucketApi {
7171 * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
7272 *
7373 * @category Analytics Buckets
74- * @returns A StorageAnalyticsApi instance configured with the current storage settings.
74+ * @returns A StorageAnalyticsClient instance configured with the current storage settings.
7575 * @example
7676 * ```typescript
7777 * const client = createClient(url, key)
@@ -87,7 +87,7 @@ export class StorageClient extends StorageBucketApi {
8787 * await analytics.deleteBucket('old-analytics-bucket')
8888 * ```
8989 */
90- get analytics ( ) : StorageAnalyticsApi {
91- return new StorageAnalyticsApi ( this . url + '/iceberg' , this . headers , this . fetch )
90+ get analytics ( ) : StorageAnalyticsClient {
91+ return new StorageAnalyticsClient ( this . url + '/iceberg' , this . headers , this . fetch )
9292 }
9393}
Original file line number Diff line number Diff line change 11export { StorageClient } from './StorageClient'
22export type { StorageClientOptions } from './StorageClient'
3- export { default as StorageAnalyticsApi } from './packages/StorageAnalyticsApi '
3+ export { default as StorageAnalyticsClient } from './packages/StorageAnalyticsClient '
44export * from './lib/types'
55export * from './lib/errors'
66export * from './lib/vectors'
Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ import { resolveFetch } from '../lib/helpers'
55import { AnalyticBucket } from '../lib/types'
66
77/**
8- * API class for managing Analytics Buckets using Iceberg tables
8+ * Client class for managing Analytics Buckets using Iceberg tables
99 * Provides methods for creating, listing, and deleting analytics buckets
1010 */
11- export default class StorageAnalyticsApi {
11+ export default class StorageAnalyticsClient {
1212 protected url : string
1313 protected headers : { [ key : string ] : string }
1414 protected fetch : Fetch
1515 protected shouldThrowOnError = false
1616
1717 /**
18- * Creates a new StorageAnalyticsApi instance
18+ * Creates a new StorageAnalyticsClient instance
1919 *
2020 * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
2121 *
@@ -26,7 +26,7 @@ export default class StorageAnalyticsApi {
2626 *
2727 * @example
2828 * ```typescript
29- * const client = new StorageAnalyticsApi (url, headers)
29+ * const client = new StorageAnalyticsClient (url, headers)
3030 * ```
3131 */
3232 constructor ( url : string , headers : { [ key : string ] : string } = { } , fetch ?: Fetch ) {
You can’t perform that action at this time.
0 commit comments