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

Description

Provides the infrastructure layer for object storage of uploaded documents using an S3-compatible provider or Vercel Blob. Generates presigned upload and download URLs with configurable expiry, enforces per-organization storage quotas, and manages lifecycle policies for audit-required document retention. Ensures no large binary payloads traverse the API server.

Feature: Document Attachment to Activities

document-storage

Responsibilities

  • Generate short-lived signed PUT URLs for direct client-to-storage uploads
  • Generate signed GET URLs for secure, time-limited file downloads
  • Enforce retention policies for compliance and audit requirements
  • Manage bucket/container configuration and access control policies

Interfaces

generateUploadUrl(String storageKey, String mimeType, int ttlSeconds)
generateDownloadUrl(String storageKey, int ttlSeconds)
deleteObject(String storageKey)
objectExists(String storageKey)
getObjectMetadata(String storageKey)
listObjects(String prefix)

Relationships

Dependents (1)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component