Skip to content

v0.3.0

Latest

Choose a tag to compare

@khatabwedaa khatabwedaa released this 25 Mar 17:01
315928a

v0.3.0 — Export Decorators + Storage Drivers

Export Decorators

  • @Exportable() — Class decorator to mark entities/DTOs as exportable with optional title, auto-filter, auto-size, frozen rows/columns, and column widths
  • @ExportColumn() — Property decorator to configure column order, header, format, width, and value mapping
  • @ExportIgnore() — Property decorator to exclude a property from the export
  • buildExportFromEntity() — Reads decorator metadata and builds a concern-compatible export object
  • ExcelService — New entity-based methods: downloadFromEntity(), downloadFromEntityAsStream(), storeFromEntity(), rawFromEntity()
  • Full inheritance support: child classes inherit, override, or ignore parent columns

Storage Drivers

  • StorageDriver — Pluggable interface with put(), get(), delete(), exists() methods
  • LocalDriver — Local filesystem storage (default, zero-config)
  • S3Driver — AWS S3 and S3-compatible services (MinIO, R2, DigitalOcean Spaces)
  • GCSDriver — Google Cloud Storage
  • AzureDriver — Azure Blob Storage
  • DiskManager — Injectable service to manage named storage backends with lazy instantiation and caching
  • store(), storeFromEntity(), import(), toArray(), toCollection() now accept an optional disk parameter
  • Three credential strategies: SDK default chains, inline config, pre-configured client injection
  • All cloud SDKs are optional peer dependencies — only install what you use