Start implementing smtp
This commit is contained in:
@@ -35,6 +35,7 @@ import {
|
||||
RegisterConfiguration,
|
||||
SecurityConfiguration,
|
||||
SentryConfiguration,
|
||||
SMTPConfiguration,
|
||||
TemplateConfiguration,
|
||||
} from "../config";
|
||||
|
||||
@@ -58,4 +59,5 @@ export class ConfigValue {
|
||||
sentry: SentryConfiguration = new SentryConfiguration();
|
||||
defaults: DefaultsConfiguration = new DefaultsConfiguration();
|
||||
external: ExternalTokensConfiguration = new ExternalTokensConfiguration();
|
||||
smtp: SMTPConfiguration = new SMTPConfiguration();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
export class SMTPConfiguration {
|
||||
host: string | null = null;
|
||||
port: number | null = null;
|
||||
secure: boolean | null = null;
|
||||
username: string | null = null;
|
||||
password: string | null = null;
|
||||
}
|
||||
@@ -34,5 +34,6 @@ export * from "./RegionConfiguration";
|
||||
export * from "./RegisterConfiguration";
|
||||
export * from "./SecurityConfiguration";
|
||||
export * from "./SentryConfiguration";
|
||||
export * from "./TemplateConfiguration";
|
||||
export * from "./SMTPConfiguration";
|
||||
export * from "./subconfigurations";
|
||||
export * from "./TemplateConfiguration";
|
||||
|
||||
Reference in New Issue
Block a user