UNPKG

@elimeleth/vct-flow

Version:

Crea un archivo app.ts, coloca el codigo de abajo alli y luego puedes correrlo con `npx tsx src/app.ts`

15 lines (14 loc) 472 B
import SMTPTransport from "nodemailer/lib/smtp-transport"; import { Database } from "../database/database"; export declare function send_metrics_mail(transport: Partial<SMTPTransport.Options>, args: { to: string[]; from?: string; subject: string; body?: string; direct_to: string; path_metrics?: string; data?: { key_value_sheets: Record<string, string>; queries: Record<string, string>; }; }, bd: Database): Promise<void>;