mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
export { createStorage } from './factory';
|
|
export type {
|
|
IStorage,
|
|
IStorageOptions,
|
|
IAwsS3CompatibleStorageOptions,
|
|
IOssStorageOptions,
|
|
ICosStorageOptions,
|
|
ICommonStorageOptions
|
|
} from './interface';
|
|
export type {
|
|
StorageBucketName,
|
|
StorageObjectKey,
|
|
StorageObjectMetadata,
|
|
StorageUploadBody,
|
|
EnsureBucketResult,
|
|
ExistsObjectParams,
|
|
ExistsObjectResult,
|
|
UploadObjectParams,
|
|
UploadObjectResult,
|
|
DownloadObjectParams,
|
|
DownloadObjectResult,
|
|
DeleteObjectParams,
|
|
DeleteObjectResult,
|
|
DeleteObjectsParams,
|
|
DeleteObjectsResult,
|
|
DeleteObjectsByPrefixParams,
|
|
PresignedPutUrlParams,
|
|
PresignedPutUrlResult,
|
|
PresignedGetUrlParams,
|
|
PresignedGetUrlResult,
|
|
ListObjectsParams,
|
|
ListObjectsResult,
|
|
GetObjectMetadataParams,
|
|
GetObjectMetadataResult
|
|
} from './types';
|
|
export { NoSuchBucketError, NoBucketReadPermissionError, EmptyObjectError } from './errors';
|
|
export { AwsS3StorageAdapter } from './adapters/aws-s3.adapter';
|
|
export { CosStorageAdapter } from './adapters/cos.adapter';
|
|
export { MinioStorageAdapter } from './adapters/minio.adapter';
|
|
export { OosStorageAdapter } from './adapters/oss.adapter';
|