diff --git a/client.ts b/client.ts index d012295..35c9e21 100644 --- a/client.ts +++ b/client.ts @@ -122,8 +122,10 @@ export interface CommonPrefix { prefix: string; } +/** + * Additional properties provided by `statObject` compared to `listObjects`. + */ export interface ObjectStatus extends S3Object { - // In addition to the data provided by "listObjects()", statObject() provides: versionId: string | null; metadata: ObjectMetadata; } diff --git a/mod.ts b/mod.ts index c34fa86..c827ad5 100644 --- a/mod.ts +++ b/mod.ts @@ -3,5 +3,15 @@ * A lightweight client for connecting to S3-compatible object storage services. */ -export { Client as S3Client } from "./client.ts"; +export { + Client as S3Client, + type ClientOptions as S3ClientOptions, + type CommonPrefix as S3CommonPrefix, + type CopiedObjectInfo as S3CopiedObjectInfo, + type ObjectMetadata as S3ObjectMetadata, + type ObjectStatus as S3ObjectStatus, + type ResponseOverrideParams as S3ResponseOverrideParams, + type S3Object, + type UploadedObjectInfo as S3UploadedObjectInfo, +} from "./client.ts"; export * as S3Errors from "./errors.ts";