function logActivity
logActivity(
message: string,
listing?: ListingRef | null,
attendeeId?: number | null,
transaction?: TxScope,
): Promise<ActivityLogEntry>

Log one activity, through the shared many-activity write. Optionally associate it with a listing and/or attendee so admin views can filter the log by either.

Parameters

message: string
optional
listing: ListingRef | null
optional
attendeeId: number | null
optional
transaction: TxScope

Return Type

Usage

import { logActivity } from "docs/database.ts";