160 lines
4.9 KiB
TypeScript
160 lines
4.9 KiB
TypeScript
export const mockPage =
|
|
{
|
|
"descriptionKey": "mock.va-p26c.interim.description",
|
|
"id": "va-p26c-customer-portal-domain-interim",
|
|
"registries": {
|
|
"breadcrumbs": [
|
|
{
|
|
"href": "/:tenant/settings",
|
|
"id": "settings",
|
|
"labelKey": "settings.title"
|
|
},
|
|
{
|
|
"href": "/:tenant/settings/customer-portal",
|
|
"id": "customer-portal",
|
|
"labelKey": "customerPortal.admin.title"
|
|
},
|
|
{
|
|
"href": "/:tenant/settings/customer-portal/domain",
|
|
"id": "domain",
|
|
"labelKey": "customerPortal.domain.title"
|
|
}
|
|
],
|
|
"sidebar": [
|
|
{
|
|
"href": "/:tenant/settings/customer-portal/domain",
|
|
"id": "va-p26c-domain-admin",
|
|
"labelKey": "mock.va-p26c.interim.nav.domain",
|
|
"permission": "portal.admin"
|
|
}
|
|
]
|
|
},
|
|
"route": "/:tenant/settings/customer-portal/domain",
|
|
"state": {
|
|
"data": {
|
|
"activity": [
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.activity.checkout",
|
|
"meta": "recurring + claim-bound one-off"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.activity.dns",
|
|
"meta": "TXT + CNAME"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.activity.fallback",
|
|
"meta": "standard-host"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.activity.killSwitch",
|
|
"meta": "fail-safe"
|
|
}
|
|
],
|
|
"cards": [
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.metrics.entitlement",
|
|
"trend": "flat",
|
|
"value": "base_plan"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.metrics.domain",
|
|
"trend": "flat",
|
|
"value": "cooldown"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.metrics.switch",
|
|
"trend": "flat",
|
|
"value": "dns_verified"
|
|
}
|
|
],
|
|
"designStatus": "interim",
|
|
"screenRoute": "/:tenant/settings/customer-portal/domain",
|
|
"viewModel": {
|
|
"data": {
|
|
"actions": {
|
|
"canActivateSwitch": true,
|
|
"canBuyDomainSetup": false,
|
|
"canBuyPortal": false,
|
|
"canCancelPortal": false,
|
|
"canClaimDomain": false,
|
|
"canReissueProof": false,
|
|
"canRemove": false,
|
|
"canRetry": false,
|
|
"canSwitch": false,
|
|
"canVerifyDns": false
|
|
},
|
|
"domain": {
|
|
"certificateExpiresAt": null,
|
|
"claimId": "claim-current",
|
|
"cnameRecordName": "portal.alt-acme.de",
|
|
"cnameRecordValue": "portal.hivegrid.de",
|
|
"cnameVerified": true,
|
|
"cooldownUntil": "2026-08-15T08:00:00.000Z",
|
|
"customPortalUrl": null,
|
|
"failureMessageKey": null,
|
|
"generation": 3,
|
|
"hostname": "portal.alt-acme.de",
|
|
"killSwitchEnabled": false,
|
|
"nextRetryAt": null,
|
|
"nextRevalidationAt": null,
|
|
"status": "cooldown",
|
|
"txtRecordName": "_hivegrid-portal.portal.alt-acme.de",
|
|
"txtRecordValue": null,
|
|
"txtVerified": true
|
|
},
|
|
"domainSetup": {
|
|
"active": true,
|
|
"amountCents": 29999,
|
|
"currency": "EUR",
|
|
"includedByContract": false,
|
|
"required": false,
|
|
"scopeKey": "portal-domain:claim-switch"
|
|
},
|
|
"monthlyAddOn": {
|
|
"active": true,
|
|
"amountCents": 1999,
|
|
"currency": "EUR",
|
|
"required": false
|
|
},
|
|
"pendingSwitch": {
|
|
"billingScopeKey": "portal-domain:claim-switch",
|
|
"claimId": "claim-switch",
|
|
"cnameRecordName": "portal.acme.de",
|
|
"cnameRecordValue": "portal.hivegrid.de",
|
|
"cnameVerified": true,
|
|
"hostname": "portal.acme.de",
|
|
"status": "dns_verified",
|
|
"txtRecordName": "_hivegrid-portal.portal.acme.de",
|
|
"txtRecordValue": "hivegrid-verification-proof-once",
|
|
"txtVerified": true,
|
|
"verificationExpiresAt": "2026-07-18T08:00:00.000Z"
|
|
},
|
|
"portalEntitled": true,
|
|
"portalEntitlementSource": "base_plan",
|
|
"readOnly": false,
|
|
"standardPortalUrl": "https://portal.hivegrid.de/acme",
|
|
"timeline": [
|
|
{
|
|
"id": "event-dns",
|
|
"labelKey": "customerPortal.domain.timeline.dnsVerified",
|
|
"occurredAt": "2026-07-16T08:30:00.000Z",
|
|
"tone": "positive"
|
|
},
|
|
{
|
|
"id": "event-claim",
|
|
"labelKey": "customerPortal.domain.timeline.claimed",
|
|
"occurredAt": "2026-07-16T08:00:00.000Z",
|
|
"tone": "neutral"
|
|
}
|
|
]
|
|
},
|
|
"status": "ready"
|
|
}
|
|
},
|
|
"status": "ready"
|
|
},
|
|
"titleKey": "mock.va-p26c.interim.title"
|
|
}
|
|
;
|
|
export default mockPage;
|