Lead Radar: исходный код

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
yuriandClaude Opus 5.5 committed 2026-10-25 23:11:04 +04:00
commit 9749da5ae7
201 files changed
+97685

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
export interface Mail {
to: string;
subject: string;
text: string;
}
/** Отправка писем. Почтовый сервис ещё не выбран — пока письма пишутся в лог. */
export interface Mailer {
send(mail: Mail): Promise<void>;
}
export const consoleMailer: Mailer = {
async send(mail) {
console.log(`[mail → ${mail.to}] ${mail.subject}\n${mail.text}`);
},
};