fix(portal): checks map includes the autodiscovery kind
ci / changes (push) Successful in 4s
ci / tc_booking (push) Has been skipped
ci / tc_operator (push) Has been skipped
ci / tc_website (push) Has been skipped
ci / tc_platform_api (push) Has been skipped
ci / test_platform_api (push) Has been skipped
ci / build_booking (push) Has been skipped
ci / build_operator (push) Has been skipped
ci / tc_portal (push) Successful in 22s
ci / build_portal (push) Successful in 44s
ci / build_platform_api (push) Has been skipped
ci / deploy (push) Successful in 40s

DomainView.checks was a hardcoded five-kind union, so indexing it with the
new autodiscovery RecordKey failed the portal typecheck (CI red on
f6bac10). Use Record<RecordKind, RecordStatus>.
This commit is contained in:
Ronni Baslund
2026-06-10 22:20:33 +02:00
parent f6bac10ff3
commit 38fb0f586e
+1 -1
View File
@@ -31,7 +31,7 @@ export interface DomainView {
stalwartProvisioned: boolean
stalwartError?: string
mailboxes: number
checks: Record<'ownership' | 'mx' | 'spf' | 'dkim' | 'dmarc', RecordStatus>
checks: Record<RecordKind, RecordStatus>
records: DomainRecordView[]
lastCheckedAt?: string
}