Skip to content
@archipel/platform-blob-storage Auto-generated

@breadstone/archipel-platform-blob-storage

Classes

ClassDescription
AwsS3BlobStorageStrategyProvides a blob storage strategy backed by Amazon S3.
AzureBlobStorageStrategyProvides a blob storage strategy backed by Microsoft Azure Blob Storage.
BlobHealthIndicatorHealth indicator for blob storage service.
BlobModuleNestJS module responsible for providing blob storage services. Uses a strategy pattern to support pluggable storage backends.
BlobObjectPersistencePortAbstract port for persisting blob object metadata. Consuming projects must provide a concrete implementation (e.g. backed by Prisma, Mongo, etc.) and register it via BlobModule.forRoot({ objectPersistence: MyAdapter }).
BlobServiceProvides a generic abstraction for blob storage operations independent of the underlying provider.
BlobStorageStrategyBaseAbstract base class for blob storage strategies. Every concrete provider (AWS S3, Azure, Vercel, Local, etc.) must extend this class. Serves as both the type contract and the NestJS DI token type reference.
BlobVariantPersistencePortAbstract port for persisting blob variant metadata. Consuming projects must provide a concrete implementation and register it via BlobModule.forRoot({ variantPersistence: MyAdapter }).
EmptyBlobStorageStrategyProvides a blob storage strategy backed by the local filesystem.
LocalBlobStorageStrategyProvides a blob storage strategy backed by the local filesystem.
VercelBlobStorageStrategyProvides a blob storage strategy backed by the Vercel Blob API.

Interfaces

InterfaceDescription
IBlobDeleteRequest-
IBlobDownloadRequest-
IBlobDownloadResult-
IBlobModuleOptions-
IBlobObjectMetadata-
IBlobSignedUrlRequest-
IBlobUploadRequest-
IBlobUploadResult-

Type Aliases

Type AliasDescription
BlobDownloadResponseType-
BlobUploadBody-

Variables

VariableDescription
AWS_S3_ACCESS_KEY_IDAWS S3 access key ID.
AWS_S3_BUCKETAWS S3 bucket name.
AWS_S3_CONFIG_ENTRIESConfiguration entries required by the AWS S3 blob storage strategy.
AWS_S3_ENDPOINTAWS S3 custom endpoint (for S3-compatible providers).
AWS_S3_REGIONAWS S3 region.
AWS_S3_SECRET_ACCESS_KEYAWS S3 secret access key.
AZURE_BLOB_CONNECTION_STRINGAzure Blob Storage connection string.
AZURE_BLOB_CONTAINER_NAMEAzure Blob Storage container name.
AZURE_CONFIG_ENTRIESConfiguration entries required by the Azure blob storage strategy.
BLOB_STORAGE_STRATEGY_TOKEN-
BlobDownloadResponseTypes-
LOCAL_BLOB_BASE_PATHLocal blob storage base path.
LOCAL_BLOB_BUCKETLocal blob storage bucket (subdirectory).
LOCAL_CONFIG_ENTRIESConfiguration entries required by the local blob storage strategy.
PLATFORM_BLOB_STORAGE_CONFIG_ENTRIESAll configuration entries for platform-blob-storage. All keys are optional at the aggregate level.
VERCEL_BLOB_BUCKETVercel Blob bucket name.
VERCEL_BLOB_PUBLIC_URLVercel Blob public URL.
VERCEL_BLOB_READ_WRITE_TOKENVercel Blob read/write access token.
VERCEL_BLOB_REGIONVercel Blob region.
VERCEL_BLOB_URLVercel Blob API URL.
VERCEL_CONFIG_ENTRIESConfiguration entries required by the Vercel blob storage strategy.

Released under the MIT License.