@types/email-templates
Advanced tools
Comparing version 6.0.3 to 7.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for node-email-templates 6.0 | ||
// Type definitions for node-email-templates 7.0 | ||
// Project: https://github.com/niftylettuce/email-templates | ||
@@ -8,2 +8,3 @@ // Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher> | ||
// Philipp Katz <https://github.com/qqilihq> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -118,2 +119,8 @@ // TypeScript Version: 3.3 | ||
/** | ||
* defaults to false, unless you pass your own render function, | ||
* and in that case it will be automatically set to true. | ||
* @default false | ||
*/ | ||
customRender?: boolean; | ||
/** | ||
* Pass a custom render function if necessary | ||
@@ -145,2 +152,7 @@ */ | ||
juiceResources?: any; | ||
/** | ||
* a function that returns the path to a template file | ||
* @default (path: string, template: string) => string | ||
*/ | ||
getPath?: (path: string, template: string, locals: any) => string; | ||
} | ||
@@ -195,3 +207,3 @@ | ||
*/ | ||
send(options: EmailOptions<T>): any; | ||
send(options: EmailOptions<T>): Promise<any>; | ||
} | ||
@@ -198,0 +210,0 @@ |
{ | ||
"name": "@types/email-templates", | ||
"version": "6.0.3", | ||
"version": "7.0.0", | ||
"description": "TypeScript definitions for node-email-templates", | ||
@@ -31,2 +31,7 @@ "license": "MIT", | ||
"githubUsername": "qqilihq" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
} | ||
@@ -46,4 +51,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "e7d87f3d20974d676130c3d775f050a596afc236f3dff0ec1f6a8bb5cad7def1", | ||
"typesPublisherContentHash": "407df7fd086c756f74bd8269f7d92b0d4fd8420e5faaacb7aac0f8e2607b4f64", | ||
"typeScriptVersion": "3.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 30 Mar 2020 22:52:15 GMT | ||
* Last updated: Fri, 17 Apr 2020 21:28:58 GMT | ||
* Dependencies: [@types/nodemailer](https://npmjs.com/package/@types/nodemailer), [@types/html-to-text](https://npmjs.com/package/@types/html-to-text) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [Cyril Schumacher](https://github.com/cyrilschumacher), [Matus Gura](https://github.com/gurisko), [Jacob Copeland](https://github.com/blankstar85), [Vesa Poikajärvi](https://github.com/vesse), and [Philipp Katz](https://github.com/qqilihq). | ||
These definitions were written by [Cyril Schumacher](https://github.com/cyrilschumacher), [Matus Gura](https://github.com/gurisko), [Jacob Copeland](https://github.com/blankstar85), [Vesa Poikajärvi](https://github.com/vesse), [Philipp Katz](https://github.com/qqilihq), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10387
215