Commit 7335759 1 parent 97c77ff commit 7335759 Copy full SHA for 7335759
File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -121,18 +121,19 @@ export type CredentialsProviderType = "Credentials"
121
121
122
122
/** Email Provider */
123
123
124
+ export interface EmailConfigServerOptions {
125
+ host : string
126
+ port : number
127
+ auth : {
128
+ user : string
129
+ pass : string
130
+ }
131
+ }
132
+
124
133
export interface EmailConfig extends CommonProviderOptions {
125
134
type : "email"
126
- server :
127
- | string
128
- | {
129
- host : string
130
- port : number
131
- auth : {
132
- user : string
133
- pass : string
134
- }
135
- }
135
+ // TODO: Make use of https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html
136
+ server : string | EmailConfigServerOptions
136
137
from ?: string
137
138
maxAge ?: number
138
139
sendVerificationRequest ( params : {
You can’t perform that action at this time.
0 commit comments