rename SMTPConfigurations to EmailConfiguration
This commit is contained in:
parent
689b710c9e
commit
01103268c3
@ -21,6 +21,7 @@ import {
|
|||||||
CdnConfiguration,
|
CdnConfiguration,
|
||||||
ClientConfiguration,
|
ClientConfiguration,
|
||||||
DefaultsConfiguration,
|
DefaultsConfiguration,
|
||||||
|
EmailConfiguration,
|
||||||
EndpointConfiguration,
|
EndpointConfiguration,
|
||||||
ExternalTokensConfiguration,
|
ExternalTokensConfiguration,
|
||||||
GeneralConfiguration,
|
GeneralConfiguration,
|
||||||
@ -35,7 +36,6 @@ import {
|
|||||||
RegisterConfiguration,
|
RegisterConfiguration,
|
||||||
SecurityConfiguration,
|
SecurityConfiguration,
|
||||||
SentryConfiguration,
|
SentryConfiguration,
|
||||||
SMTPConfiguration,
|
|
||||||
TemplateConfiguration,
|
TemplateConfiguration,
|
||||||
} from "../config";
|
} from "../config";
|
||||||
|
|
||||||
@ -59,5 +59,5 @@ export class ConfigValue {
|
|||||||
sentry: SentryConfiguration = new SentryConfiguration();
|
sentry: SentryConfiguration = new SentryConfiguration();
|
||||||
defaults: DefaultsConfiguration = new DefaultsConfiguration();
|
defaults: DefaultsConfiguration = new DefaultsConfiguration();
|
||||||
external: ExternalTokensConfiguration = new ExternalTokensConfiguration();
|
external: ExternalTokensConfiguration = new ExternalTokensConfiguration();
|
||||||
smtp: SMTPConfiguration = new SMTPConfiguration();
|
email: EmailConfiguration = new EmailConfiguration();
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export class SMTPConfiguration {
|
export class EmailConfiguration {
|
||||||
host: string | null = null;
|
host: string | null = null;
|
||||||
port: number | null = null;
|
port: number | null = null;
|
||||||
secure: boolean | null = null;
|
secure: boolean | null = null;
|
@ -18,12 +18,13 @@
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
DateOfBirthConfiguration,
|
DateOfBirthConfiguration,
|
||||||
EmailConfiguration,
|
|
||||||
PasswordConfiguration,
|
PasswordConfiguration,
|
||||||
|
RegistrationEmailConfiguration,
|
||||||
} from ".";
|
} from ".";
|
||||||
|
|
||||||
export class RegisterConfiguration {
|
export class RegisterConfiguration {
|
||||||
email: EmailConfiguration = new EmailConfiguration();
|
email: RegistrationEmailConfiguration =
|
||||||
|
new RegistrationEmailConfiguration();
|
||||||
dateOfBirth: DateOfBirthConfiguration = new DateOfBirthConfiguration();
|
dateOfBirth: DateOfBirthConfiguration = new DateOfBirthConfiguration();
|
||||||
password: PasswordConfiguration = new PasswordConfiguration();
|
password: PasswordConfiguration = new PasswordConfiguration();
|
||||||
disabled: boolean = false;
|
disabled: boolean = false;
|
||||||
|
@ -20,6 +20,7 @@ export * from "./ApiConfiguration";
|
|||||||
export * from "./CdnConfiguration";
|
export * from "./CdnConfiguration";
|
||||||
export * from "./ClientConfiguration";
|
export * from "./ClientConfiguration";
|
||||||
export * from "./DefaultsConfiguration";
|
export * from "./DefaultsConfiguration";
|
||||||
|
export * from "./EmailConfiguration";
|
||||||
export * from "./EndpointConfiguration";
|
export * from "./EndpointConfiguration";
|
||||||
export * from "./ExternalTokensConfiguration";
|
export * from "./ExternalTokensConfiguration";
|
||||||
export * from "./GeneralConfiguration";
|
export * from "./GeneralConfiguration";
|
||||||
@ -34,6 +35,5 @@ export * from "./RegionConfiguration";
|
|||||||
export * from "./RegisterConfiguration";
|
export * from "./RegisterConfiguration";
|
||||||
export * from "./SecurityConfiguration";
|
export * from "./SecurityConfiguration";
|
||||||
export * from "./SentryConfiguration";
|
export * from "./SentryConfiguration";
|
||||||
export * from "./SMTPConfiguration";
|
|
||||||
export * from "./subconfigurations";
|
export * from "./subconfigurations";
|
||||||
export * from "./TemplateConfiguration";
|
export * from "./TemplateConfiguration";
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export class EmailConfiguration {
|
export class RegistrationEmailConfiguration {
|
||||||
required: boolean = false;
|
required: boolean = false;
|
||||||
allowlist: boolean = false;
|
allowlist: boolean = false;
|
||||||
blocklist: boolean = true;
|
blocklist: boolean = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user