interface DigestHighlight

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

Properties

who: string

Who did it.

optional
target: { title: string; url: string | null; }

What they did it on, absent for a follow of the reader or the chat. Its url is null once it is deleted, and the title then shows unlinked.

optional
quote: string

The comment or message, flattened and shortened.

at: Date

Usage

import { type DigestHighlight } from "api/mail/digest.ts";