@vendure/email-plugin 3.1.0-next.3 → 3.1.0
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.
- package/lib/src/types.d.ts +8 -1
- package/package.json +4 -4
package/lib/src/types.d.ts
CHANGED
|
@@ -467,7 +467,14 @@ export type SetOptionalAddressFieldsFn<Event> = (event: Event) => OptionalAddres
|
|
|
467
467
|
* @since 3.1.0
|
|
468
468
|
* @docsCategory core plugins/EmailPlugin
|
|
469
469
|
* @docsPage Email Plugin Types
|
|
470
|
-
*
|
|
471
470
|
*/
|
|
472
471
|
export type SetMetadataFn<Event> = (event: Event) => EmailMetadata | Promise<EmailMetadata>;
|
|
472
|
+
/**
|
|
473
|
+
* @description
|
|
474
|
+
* Metadata that can be attached to an email via the {@link EmailEventHandler}`.setMetadata()` method.
|
|
475
|
+
*
|
|
476
|
+
* @since 3.1.0
|
|
477
|
+
* @docsCategory core plugins/EmailPlugin
|
|
478
|
+
* @docsPage Email Plugin Types
|
|
479
|
+
*/
|
|
473
480
|
export type EmailMetadata = Record<string, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/email-plugin",
|
|
3
|
-
"version": "3.1.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@types/express": "^4.17.21",
|
|
35
35
|
"@types/fs-extra": "^11.0.4",
|
|
36
36
|
"@types/mjml": "^4.7.4",
|
|
37
|
-
"@vendure/common": "3.1.0
|
|
38
|
-
"@vendure/core": "3.1.0
|
|
37
|
+
"@vendure/common": "^3.1.0",
|
|
38
|
+
"@vendure/core": "^3.1.0",
|
|
39
39
|
"rimraf": "^5.0.5",
|
|
40
40
|
"typescript": "5.3.3"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "9d7e367c4f98c9106df5b872593099b9fc780edd"
|
|
43
43
|
}
|