150 lines
4.3 KiB
TypeScript
150 lines
4.3 KiB
TypeScript
export const mockPage =
|
|
{
|
|
"descriptionKey": "mock.ak-ui-01.inbox.description",
|
|
"id": "ak-ui-01-email-inbox-interim",
|
|
"registries": {
|
|
"breadcrumbs": [
|
|
{
|
|
"href": "/mock",
|
|
"id": "mock",
|
|
"labelKey": "mock.root"
|
|
},
|
|
{
|
|
"href": "/mock/ak-ui-01/emails",
|
|
"id": "ak-ui-01-email-inbox",
|
|
"labelKey": "mock.ak-ui-01.inbox.label"
|
|
}
|
|
]
|
|
},
|
|
"route": "/mock/ak-ui-01/emails",
|
|
"state": {
|
|
"data": {
|
|
"activity": [
|
|
{
|
|
"labelKey": "mock.ak-ui-01.inbox.activity.filters",
|
|
"meta": "filters"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-01.inbox.activity.bulk",
|
|
"meta": "bulk"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-01.inbox.activity.archiveDialog",
|
|
"meta": "dialog"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-01.inbox.activity.states",
|
|
"meta": "states"
|
|
}
|
|
],
|
|
"cards": [
|
|
{
|
|
"labelKey": "mock.ak-ui-01.inbox.metrics.rows",
|
|
"trend": "flat",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-01.inbox.metrics.mailboxes",
|
|
"trend": "flat",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-01.inbox.metrics.designStatus",
|
|
"trend": "flat",
|
|
"value": "interim"
|
|
}
|
|
],
|
|
"designStatus": "interim",
|
|
"screenRoute": "/emails",
|
|
"viewModel": {
|
|
"data": {
|
|
"canWrite": true,
|
|
"composeHref": "/mock/ak-ui-01/emails/new",
|
|
"emptyBodyKey": "emailInbox.list.empty.body",
|
|
"emptyHeadlineKey": "emailInbox.list.empty.headline",
|
|
"filters": {
|
|
"direction": "all",
|
|
"linked": "all",
|
|
"mailboxId": null,
|
|
"q": "",
|
|
"read": "all",
|
|
"showArchived": false
|
|
},
|
|
"hasAnyMailbox": true,
|
|
"mailboxOptions": [
|
|
{
|
|
"emailAddress": "sales@demo-pro.example",
|
|
"id": "mailbox-1"
|
|
},
|
|
{
|
|
"emailAddress": "office@demo-pro.example",
|
|
"id": "mailbox-2"
|
|
}
|
|
],
|
|
"nextCursor": "2026-07-01T10:00:00.000Z~msg-2",
|
|
"noMailboxBodyKey": "emailInbox.list.noMailbox.body",
|
|
"noMailboxHeadlineKey": "emailInbox.list.noMailbox.headline",
|
|
"rows": [
|
|
{
|
|
"detailHref": "/mock/ak-ui-01/emails/msg-1",
|
|
"direction": "inbound",
|
|
"fromAddress": "buero@demo-pro.example",
|
|
"fromName": "Sandra Vogel",
|
|
"hasAttachments": true,
|
|
"id": "msg-1",
|
|
"isNewsletter": false,
|
|
"isRead": false,
|
|
"links": [
|
|
{
|
|
"href": "/mock/ak-ui-01/contacts/contact-1",
|
|
"id": "contact-1",
|
|
"type": "kontakt"
|
|
}
|
|
],
|
|
"mailbox": {
|
|
"emailAddress": "sales@demo-pro.example",
|
|
"id": "mailbox-1",
|
|
"provider": "gmail"
|
|
},
|
|
"sentAt": "2026-07-02T09:30:00.000Z",
|
|
"snippet": "Anbei das aktualisierte Angebot mit den besprochenen Positionen.",
|
|
"subject": "Fixture offer subject"
|
|
},
|
|
{
|
|
"detailHref": "/mock/ak-ui-01/emails/msg-2",
|
|
"direction": "inbound",
|
|
"fromAddress": "newsletter@demo-pro.example",
|
|
"fromName": null,
|
|
"hasAttachments": false,
|
|
"id": "msg-2",
|
|
"isNewsletter": true,
|
|
"isRead": true,
|
|
"links": [
|
|
{
|
|
"href": "/mock/ak-ui-01/leads/lead-1",
|
|
"id": "lead-1",
|
|
"type": "lead"
|
|
}
|
|
],
|
|
"mailbox": {
|
|
"emailAddress": "office@demo-pro.example",
|
|
"id": "mailbox-2",
|
|
"provider": "microsoft"
|
|
},
|
|
"sentAt": "2026-07-01T10:00:00.000Z",
|
|
"snippet": null,
|
|
"subject": null
|
|
}
|
|
],
|
|
"settingsHref": "/mock/ak-ui-01/settings/integrations/email"
|
|
},
|
|
"status": "ready"
|
|
}
|
|
},
|
|
"status": "ready"
|
|
},
|
|
"titleKey": "mock.ak-ui-01.inbox.title"
|
|
}
|
|
;
|
|
export default mockPage;
|