init app resources

This commit is contained in:
dswbx
2025-06-14 16:59:03 +02:00
parent 3338804c34
commit b87696a0db
13 changed files with 659 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
export type TEmailResponse<Data = unknown> = {
success: boolean;
data?: Data;
};
export interface IEmailDriver<Data = unknown, Options = object> {
send(
to: string,
subject: string,
body: string | { text: string; html: string },
options?: Options,
): Promise<TEmailResponse<Data>>;
}