Activity timeline refactoring followup (#5835)

Following https://github.com/twentyhq/twenty/pull/5697, addressing
review
This commit is contained in:
Weiko
2024-06-12 16:21:30 +02:00
committed by GitHub
parent bd22bfce2e
commit ad6547948b
31 changed files with 607 additions and 293 deletions

View File

@ -3638,7 +3638,7 @@ export const getObjectMetadataItemsMock = () => {
},
{
__typename: 'object',
id: '20202020-049d-4d0c-9e7c-e74fee3f88b2',
id: '20202020-6736-4337-b5c4-8b39fae325a5',
dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
nameSingular: 'timelineActivity',
namePlural: 'timelineActivities',
@ -3654,6 +3654,24 @@ export const getObjectMetadataItemsMock = () => {
updatedAt: '2023-11-30T11:13:15.206Z',
fields: [],
},
{
__typename: 'object',
id: '20202020-3f6b-4425-80ab-e468899ab4b2',
dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
nameSingular: 'message',
namePlural: 'messages',
labelSingular: 'Message',
labelPlural: 'Messages',
description: 'A message',
icon: 'IconMessage',
isCustom: false,
isRemote: false,
isActive: true,
isSystem: true,
createdAt: '2023-11-30T11:13:15.206Z',
updatedAt: '2023-11-30T11:13:15.206Z',
fields: [],
},
];
// Todo fix typing here (the backend is not in sync with the frontend)