adminforth 2.58.5 → 2.58.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,14 +11,14 @@ export interface EmailAdapter {
|
|
|
11
11
|
* @param from - The sender's email address
|
|
12
12
|
* @param to - The recipient's email address
|
|
13
13
|
* @param text - The plain text version of the email
|
|
14
|
-
* @param html - The HTML version of the email
|
|
14
|
+
* @param html - The optional HTML version of the email
|
|
15
15
|
* @param subject - The subject of the email
|
|
16
16
|
*/
|
|
17
17
|
sendEmail(
|
|
18
18
|
from: string,
|
|
19
19
|
to: string,
|
|
20
20
|
text: string,
|
|
21
|
-
html: string,
|
|
21
|
+
html: string | undefined,
|
|
22
22
|
subject: string
|
|
23
23
|
): Promise<{
|
|
24
24
|
error?: string;
|
|
@@ -9,10 +9,10 @@ export interface EmailAdapter {
|
|
|
9
9
|
* @param from - The sender's email address
|
|
10
10
|
* @param to - The recipient's email address
|
|
11
11
|
* @param text - The plain text version of the email
|
|
12
|
-
* @param html - The HTML version of the email
|
|
12
|
+
* @param html - The optional HTML version of the email
|
|
13
13
|
* @param subject - The subject of the email
|
|
14
14
|
*/
|
|
15
|
-
sendEmail(from: string, to: string, text: string, html: string, subject: string): Promise<{
|
|
15
|
+
sendEmail(from: string, to: string, text: string, html: string | undefined, subject: string): Promise<{
|
|
16
16
|
error?: string;
|
|
17
17
|
ok?: boolean;
|
|
18
18
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailAdapter.d.ts","sourceRoot":"","sources":["../../../types/adapters/EmailAdapter.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAE3B;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1B;;;;;;;OAOG;IACH,SAAS,CACP,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"EmailAdapter.d.ts","sourceRoot":"","sources":["../../../types/adapters/EmailAdapter.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAE3B;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1B;;;;;;;OAOG;IACH,SAAS,CACP,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC;QACT,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,EAAE,CAAC,EAAE,OAAO,CAAC;KACd,CAAC,CAAC;CACJ"}
|