Service Layer high complexity backend
1
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Backend service responsible for generating static shareable assets (PNG image card or PDF) from a peer mentor's annual summary. Renders a privacy-safe, visually branded output server-side and returns a temporary signed URL for download by the mobile client. Ensures no sensitive contact or personal data leaks into the shareable output.

Feature: Annual Activity Summary (Peer Mentor Wrapped)

summary-share-asset-service

Responsibilities

  • Render a branded summary image or PDF from summary data
  • Enforce privacy rules to exclude sensitive personal data from shared output
  • Generate a temporary signed download URL for the asset
  • Cache generated assets keyed by summaryId and format to avoid redundant regeneration

Interfaces

generateAsset(summaryId, format, privacySettings)
getAssetUrl(summaryId, format)
invalidateAsset(summaryId)
renderSummaryCard(summaryData)
renderSummaryPdf(summaryData)

Relationships

Dependencies (1)

Components this component depends on

Related Data Entities (1)

Data entities managed by this component