mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-15 06:58:53 +09:00
16 lines
363 B
TypeScript
16 lines
363 B
TypeScript
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
import type {IEmailService} from '@pkgs/email/src/IEmailService';
|
|
|
|
export interface SentEmailRecord {
|
|
to: string;
|
|
type: string;
|
|
timestamp: Date;
|
|
metadata: Record<string, string>;
|
|
}
|
|
|
|
export interface ITestEmailService extends IEmailService {
|
|
listSentEmails(): Array<SentEmailRecord>;
|
|
clearSentEmails(): void;
|
|
}
|