mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-06 16:07:14 +08:00
feat: 支持创建邮箱 API 的子域名后缀匹配开关 (#929)
* feat: 支持创建邮箱 API 的子域名后缀匹配开关 * fix: 修复 review 提到的开关三态与域名校验问题 * fix: 补充域名归一化与子域名匹配回归测试 * fix: 修复后台开关跟随 env 回退与 account_settings 半成功保存 * fix: 收口账号设置刷新提示与子域名状态重复读取 * fix: 拦截超长域名并透传账号设置刷新失败
This commit is contained in:
@@ -119,6 +119,16 @@ export class UserSettings {
|
||||
}
|
||||
}
|
||||
|
||||
export class AddressCreationSettings {
|
||||
|
||||
enableSubdomainMatch: boolean | undefined;
|
||||
|
||||
constructor(data: AddressCreationSettings | undefined | null) {
|
||||
const { enableSubdomainMatch } = data || {};
|
||||
this.enableSubdomainMatch = enableSubdomainMatch;
|
||||
}
|
||||
}
|
||||
|
||||
export class UserInfo {
|
||||
|
||||
geoData: GeoData;
|
||||
|
||||
Reference in New Issue
Block a user