GeneratedCardDto
@raizfc/contracts / GeneratedCardDto
Type Alias: GeneratedCardDto
GeneratedCardDto =
Readonly<{cardId:ID;fallback:ShareFallbackDto;status:Extract<ShareableCardStatus,"generated"|"failed">; }>
Defined in: share/share.dto.ts:187
Real image composition happens entirely client-side (canvas on web, view-capture adapters on
mobile — "MVP prioriza geração client-side... server generation pode entrar depois",
SPEC-UX-SHARE-VISUAL-001). The server never receives or stores pixel data; generate only
records that generation was attempted (audit-light, idempotent) and always returns the fallback
text/link the client can show immediately or on capture failure.