function createdBookingEntries
createdBookingEntries(
attendees: Attendee[],
listingById: Map<number, ListingWithCount>,
): EmailEntry[]

The notification entries for the booking rows a create just wrote: one per real booking line, each paired with its listing. A quantity-0 ghost line books nothing, so it never notifies.

Parameters

attendees: Attendee[]
listingById: Map<number, ListingWithCount>

Return Type

EmailEntry[]

Usage

import { createdBookingEntries } from "docs/payments.ts";