Infrastructure medium complexity backend
0
Dependencies
1
Dependents
2
Entities
0
Integrations

Description

Thin adapter over Vercel Blob (primary) and S3 (fallback) for storing completed Bufdir export files. Generates signed download URLs with a 24 h TTL and abstracts the storage provider so the backend can switch providers without touching the export service.

Feature: Bufdir Export

object-storage-adapter

Responsibilities

  • Upload export file buffers to configured object storage bucket
  • Generate signed download URLs with configurable TTL (default 24 h)
  • Delete expired export files on a scheduled basis
  • Abstract Vercel Blob and S3 behind a common interface

Interfaces

upload(key: string, data: Buffer, contentType: string): Promise<string>
getSignedUrl(key: string, ttlSeconds: number): Promise<string>
delete(key: string): Promise<void>
isUrlStillValid(key: string): Promise<boolean>

Relationships

Dependents (1)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component