Skip to content

Commit

Permalink
docs(email-plugin): Fix some docs tags
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jul 17, 2024
1 parent 5f39e10 commit 36248af
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/email-plugin/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export type EventWithAsyncData<Event extends EventWithContext, R> = Event & { da
*
* @docsCategory core plugins/EmailPlugin
* @docsPage EmailPluginOptions
* @docsWeight 0
* @since 2.3.0
*/
export type GlobalTemplateVarsFn = (
ctx: RequestContext,
Expand All @@ -72,6 +72,7 @@ export type GlobalTemplateVarsFn = (
*
* @docsCategory core plugins/EmailPlugin
* @docsPage EmailPluginOptions
* @docsWeight 0
* */
export interface EmailPluginOptions {
/**
Expand Down Expand Up @@ -431,7 +432,11 @@ export type SetAttachmentsFn<Event> = (event: Event) => EmailAttachment[] | Prom
* @docsCategory core plugins/EmailPlugin
* @docsPage Email Plugin Types
*/
export type SetSubjectFn<Event> = (event: Event, ctx: RequestContext, injector: Injector) => string | Promise<string>;
export type SetSubjectFn<Event> = (
event: Event,
ctx: RequestContext,
injector: Injector,
) => string | Promise<string>;

/**
* @description
Expand Down

0 comments on commit 36248af

Please sign in to comment.