100 lines
2.5 KiB
TypeScript
100 lines
2.5 KiB
TypeScript
export const mockPage =
|
|
{
|
|
"descriptionKey": "mock.r-p11a.search.description",
|
|
"id": "r-p11a-spotlight-interim",
|
|
"registries": {
|
|
"portals": [
|
|
{
|
|
"id": "r-p11a-spotlight",
|
|
"labelKey": "mock.r-p11a.search.label",
|
|
"order": 1,
|
|
"permission": "search.use",
|
|
"slot": "shell.commandPalette"
|
|
}
|
|
]
|
|
},
|
|
"route": "/mock/r-p11a/spotlight",
|
|
"state": {
|
|
"data": {
|
|
"activity": [
|
|
{
|
|
"labelKey": "mock.r-p11a.search.items.contact",
|
|
"meta": "contact"
|
|
},
|
|
{
|
|
"labelKey": "mock.r-p11a.search.items.project",
|
|
"meta": "project"
|
|
}
|
|
],
|
|
"cards": [
|
|
{
|
|
"labelKey": "mock.r-p11a.search.groups.contact",
|
|
"trend": "flat",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"labelKey": "mock.r-p11a.search.groups.project",
|
|
"trend": "flat",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"designStatus": "interim",
|
|
"groups": [
|
|
{
|
|
"entityType": "contact",
|
|
"items": [
|
|
{
|
|
"entityType": "contact",
|
|
"href": "/mock/r-p11a/contacts/contact-1",
|
|
"id": "contact-1",
|
|
"key": "contact:contact-1",
|
|
"searchValue": "Solaris GmbH info@solaris.test contact",
|
|
"subtitle": "info@solaris.test",
|
|
"title": "Solaris GmbH",
|
|
"updatedAt": "2026-07-12T08:00:00.000Z"
|
|
}
|
|
],
|
|
"labelKey": "search.entities.contact"
|
|
},
|
|
{
|
|
"entityType": "project",
|
|
"items": [
|
|
{
|
|
"entityType": "project",
|
|
"href": "/mock/r-p11a/projects/project-1",
|
|
"id": "project-1",
|
|
"key": "project:project-1",
|
|
"searchValue": "Solar roof P-100 project",
|
|
"subtitle": "P-100",
|
|
"title": "Solar roof",
|
|
"updatedAt": "2026-07-12T07:30:00.000Z"
|
|
}
|
|
],
|
|
"labelKey": "search.entities.project"
|
|
}
|
|
],
|
|
"initialResultLimit": 20,
|
|
"maxResultLimit": 50,
|
|
"query": "solar",
|
|
"recentSearches": [
|
|
{
|
|
"entityTypes": [
|
|
"project",
|
|
"task"
|
|
],
|
|
"queryText": "heat pump",
|
|
"resultCount": 4
|
|
}
|
|
],
|
|
"surfaces": {
|
|
"desktop": "modal",
|
|
"mobile": "viewport"
|
|
}
|
|
},
|
|
"status": "ready"
|
|
},
|
|
"titleKey": "mock.r-p11a.search.title"
|
|
}
|
|
;
|
|
export default mockPage;
|