Renders the weekly digest and the monthly recap, as the drafts approved them: the weekly one has four sections (what happened to the reader, what the people and playlists they follow posted, the period's top dumps, and the community), the monthly one only the last two. digest-service.ts gathers a DigestContent and sends what this returns, drawn in the reader's own style and scheme.

Functions

f
renderDigestEmail(
content: DigestContent,
look: EmailLook
): RenderedEmail

Returns the digest content describes, written as Markdown and drawn in look, with its subject and hidden preheader.

Interfaces

I
DigestDump

A dump in a digest's lists, with its links made absolute.

I
DigestHighlight

One line of the weekly digest's "For you", made from a notification.

Type Aliases