@serve.zone/dcrouter 13.11.0 → 13.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_serve/bundle.js +67 -61
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/db/documents/classes.email-domain.doc.d.ts +1 -0
- package/dist_ts/db/documents/classes.email-domain.doc.js +8 -2
- package/dist_ts/email/classes.email-domain.manager.d.ts +1 -0
- package/dist_ts/email/classes.email-domain.manager.js +6 -2
- package/dist_ts/opsserver/handlers/email-domain.handler.js +2 -1
- package/dist_ts_interfaces/data/email-domain.d.ts +3 -1
- package/dist_ts_interfaces/requests/email-domains.d.ts +2 -0
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/appstate.d.ts +1 -0
- package/dist_ts_web/appstate.js +1 -1
- package/dist_ts_web/elements/email/ops-view-email-domains.js +8 -1
- package/package.json +2 -2
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/db/documents/classes.email-domain.doc.ts +3 -0
- package/ts/email/classes.email-domain.manager.ts +6 -1
- package/ts/opsserver/handlers/email-domain.handler.ts +1 -0
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/appstate.ts +1 -0
- package/ts_web/elements/email/ops-view-email-domains.ts +7 -0
package/ts_web/appstate.ts
CHANGED
|
@@ -2422,6 +2422,7 @@ export const fetchEmailDomainsAction = emailDomainsStatePart.createAction(
|
|
|
2422
2422
|
|
|
2423
2423
|
export const createEmailDomainAction = emailDomainsStatePart.createAction<{
|
|
2424
2424
|
linkedDomainId: string;
|
|
2425
|
+
subdomain?: string;
|
|
2425
2426
|
dkimSelector?: string;
|
|
2426
2427
|
dkimKeySize?: number;
|
|
2427
2428
|
rotateKeys?: boolean;
|
|
@@ -276,6 +276,11 @@ export class OpsViewEmailDomains extends DeesElement {
|
|
|
276
276
|
.options=${domainOptions}
|
|
277
277
|
.required=${true}
|
|
278
278
|
></dees-input-dropdown>
|
|
279
|
+
<dees-input-text
|
|
280
|
+
.key=${'subdomain'}
|
|
281
|
+
.label=${'Subdomain'}
|
|
282
|
+
.description=${'Leave empty for bare domain, e.g. "mail" for mail.example.com'}
|
|
283
|
+
></dees-input-text>
|
|
279
284
|
<dees-input-text
|
|
280
285
|
.key=${'dkimSelector'}
|
|
281
286
|
.label=${'DKIM Selector'}
|
|
@@ -316,10 +321,12 @@ export class OpsViewEmailDomains extends DeesElement {
|
|
|
316
321
|
? parseInt(data.dkimKeySize.key, 10)
|
|
317
322
|
: parseInt(data.dkimKeySize || '2048', 10);
|
|
318
323
|
|
|
324
|
+
const subdomain = data.subdomain?.trim() || undefined;
|
|
319
325
|
await appstate.emailDomainsStatePart.dispatchAction(
|
|
320
326
|
appstate.createEmailDomainAction,
|
|
321
327
|
{
|
|
322
328
|
linkedDomainId,
|
|
329
|
+
subdomain,
|
|
323
330
|
dkimSelector: data.dkimSelector || 'default',
|
|
324
331
|
dkimKeySize: keySize,
|
|
325
332
|
rotateKeys: Boolean(data.rotateKeys),
|