Fix more tests (#18287)

Improve mock in front tests
This commit is contained in:
Charles Bochet
2026-02-27 14:06:18 +01:00
committed by GitHub
parent 9667b3f369
commit 86fbf69e95
61 changed files with 35917 additions and 22333 deletions
@@ -1,50 +0,0 @@
import { type Company } from '@/companies/types/Company';
import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
import { isDefined } from 'twenty-shared/utils';
import { mockedCompanyRecords } from '~/testing/mock-data/generated/data/companies/mock-companies-data';
import { getMockObjectMetadataItemOrThrow } from '~/testing/utils/getMockObjectMetadataItemOrThrow';
const allMockedCompanyRecords = mockedCompanyRecords as ObjectRecord[];
export const getCompaniesMock = () => {
return [...allMockedCompanyRecords] as Company[];
};
export const getCompaniesRecordConnectionMock = () => {
return [...allMockedCompanyRecords];
};
export const getMockCompanyObjectMetadataItem = () => {
return getMockObjectMetadataItemOrThrow('company');
};
export const getCompanyDuplicateMock = () => {
return {
...allMockedCompanyRecords[0],
id: '8b40856a-2ec9-4c03-8bc0-c032c89e1824',
};
};
export const getMockCompanyRecord = (
overrides?: Partial<ObjectRecord>,
index = 0,
) => {
return {
...allMockedCompanyRecords[index],
...overrides,
};
};
export const findMockCompanyRecord = ({
id: queriedCompanyId,
}: Pick<ObjectRecord, 'id'>) => {
const company = allMockedCompanyRecords.find(
({ id: currentCompanyId }) => currentCompanyId === queriedCompanyId,
);
if (!isDefined(company)) {
throw new Error(`Could not find company with id, ${queriedCompanyId}`);
}
return company;
};
@@ -1,4 +1,4 @@
import { getCompaniesMock } from '~/testing/mock-data/companies';
import { mockedCompanyRecords } from '~/testing/mock-data/generated/data/companies/mock-companies-data';
import { mockedWorkspaceMemberData } from '~/testing/mock-data/users';
import { mockedViewsData } from '~/testing/mock-data/views';
@@ -18,8 +18,8 @@ export const mockedFavoritesData = [
workflowVersion: null,
forWorkspaceMemberId: mockedWorkspaceMemberData.id,
forWorkspaceMember: mockedWorkspaceMemberData,
companyId: getCompaniesMock()[0].id,
company: getCompaniesMock()[0],
companyId: mockedCompanyRecords[0].id,
company: mockedCompanyRecords[0],
viewId: null,
view: null,
taskId: null,
@@ -1,11 +1,11 @@
/* eslint-disable */
// @ts-nocheck
import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
// This file was automatically generated — do not edit manually.
// prettier-ignore
export const mockedCompanyRecords: Record<string, unknown>[] =
export const mockedCompanyRecords: ObjectRecord[] =
[
{
"__typename": "Company",
@@ -43,7 +43,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
@@ -179,10 +179,26 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"id": "20202020-0651-2001-8001-000021ea0001",
"name": "linked-task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000025d30001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-0000292f0001",
"name": "calendarEvent.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
@@ -235,7 +251,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "IMPORT",
@@ -376,13 +392,13 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-0000330b0001",
"id": "20202020-0751-2001-8001-000032750001",
"name": "message.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "IMPORT",
@@ -435,7 +451,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
@@ -571,34 +587,10 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"id": "20202020-0651-2001-8001-000021920001",
"name": "linked-task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000026f30001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000027d70001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-00002dd50001",
"name": "message.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
@@ -668,7 +660,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "EMAIL",
@@ -809,21 +801,13 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000026750001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-0000275b0001",
"id": "20202020-0701-2001-8001-000023e90001",
"name": "calendarEvent.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "EMAIL",
@@ -885,7 +869,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "WORKFLOW",
@@ -1026,7 +1010,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000026950001",
"id": "20202020-0701-2001-8001-000026df0001",
"name": "calendarEvent.linked"
}
},
@@ -1034,7 +1018,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000026cf0001",
"id": "20202020-0701-2001-8001-0000275d0001",
"name": "calendarEvent.linked"
}
},
@@ -1042,29 +1026,13 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-0000288f0001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-000030210001",
"name": "message.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-000030b90001",
"id": "20202020-0751-2001-8001-000033790001",
"name": "message.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "WORKFLOW",
@@ -1117,7 +1085,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "IMPORT",
@@ -1258,37 +1226,13 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000026d50001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000026eb0001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-00002d5d0001",
"name": "message.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-000034d30001",
"id": "20202020-0751-2001-8001-00002a470001",
"name": "message.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "IMPORT",
@@ -1341,7 +1285,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "API",
@@ -1482,7 +1426,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000025e50001",
"id": "20202020-0701-2001-8001-0000243d0001",
"name": "calendarEvent.linked"
}
},
@@ -1490,7 +1434,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000028130001",
"id": "20202020-0701-2001-8001-000025b50001",
"name": "calendarEvent.linked"
}
},
@@ -1498,21 +1442,13 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-00002c390001",
"name": "message.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-00002fdd0001",
"name": "message.linked"
"id": "20202020-0701-2001-8001-000028c30001",
"name": "calendarEvent.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "API",
@@ -1565,7 +1501,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "SYSTEM",
@@ -1706,7 +1642,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000025a70001",
"id": "20202020-0701-2001-8001-0000269f0001",
"name": "calendarEvent.linked"
}
},
@@ -1714,13 +1650,21 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-0000313b0001",
"id": "20202020-0751-2001-8001-000031290001",
"name": "message.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-000031af0001",
"name": "message.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "SYSTEM",
@@ -1773,7 +1717,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "IMPORT",
@@ -1909,10 +1853,58 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"id": "20202020-0651-2001-8001-000021aa0001",
"name": "linked-task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-0000245f0001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000025af0001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000025f30001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000026630001",
"name": "calendarEvent.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-000033a70001",
"name": "message.linked"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-000034b50001",
"name": "message.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "IMPORT",
@@ -1982,7 +1974,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "PetCareAgreementConnection",
"edges": []
},
"createdAt": "2026-02-26T11:55:19.497Z",
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "WEBHOOK",
@@ -2123,7 +2115,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-000026bb0001",
"id": "20202020-0701-2001-8001-000024930001",
"name": "calendarEvent.linked"
}
},
@@ -2131,7 +2123,7 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0701-2001-8001-0000276d0001",
"id": "20202020-0701-2001-8001-000025590001",
"name": "calendarEvent.linked"
}
},
@@ -2139,13 +2131,13 @@ export const mockedCompanyRecords: Record<string, unknown>[] =
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0751-2001-8001-00002b510001",
"name": "message.linked"
"id": "20202020-0701-2001-8001-000027ff0001",
"name": "calendarEvent.linked"
}
}
]
},
"updatedAt": "2026-02-26T11:55:19.497Z",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "WEBHOOK",
@@ -0,0 +1,840 @@
/* eslint-disable */
// @ts-nocheck
import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
// This file was automatically generated — do not edit manually.
// prettier-ignore
export const mockedNoteRecords: ObjectRecord[] =
[
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a1-4a7c-8001-123456789aba",
"name": "Source Code.zip"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-1\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Great conversation today about potential collaboration opportunities. Next steps discussed include proposal review and timeline planning.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Great conversation today about potential collaboration opportunities. Next steps discussed include proposal review and timeline planning."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0001-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0001-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0001-4e7c-8001-123456789abc",
"title": "Meeting Follow-up"
}
}
}
]
},
"position": 1,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000100000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-000007090001",
"name": "linked-note.created"
}
}
]
},
"title": "Meeting Follow-up",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a2-4a7c-8001-123456789aba",
"name": "Service Agreement.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-2\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Reviewed current project status and identified key deliverables for the upcoming quarter. Timeline adjustments may be needed.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Reviewed current project status and identified key deliverables for the upcoming quarter. Timeline adjustments may be needed."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0002-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0002-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0002-4e7c-8001-123456789abc",
"title": "Project Update Discussion"
}
}
}
]
},
"position": 2,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000200000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-0000070b0001",
"name": "linked-note.created"
}
}
]
},
"title": "Project Update Discussion",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a3-4a7c-8001-123456789aba",
"name": "NDA Document.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-3\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Impressive background in technology and leadership. Strong potential for senior roles in upcoming projects.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Impressive background in technology and leadership. Strong potential for senior roles in upcoming projects."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0003-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0003-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0003-4e7c-8001-123456789abc",
"title": "Skills & Experience Review"
}
}
}
]
},
"position": 3,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000300000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-0000070d0001",
"name": "linked-note.created"
}
}
]
},
"title": "Skills & Experience Review",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a4-4a7c-8001-123456789aba",
"name": "Project Proposal.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-4\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Made connection at industry conference. Shared interests in digital transformation and innovation strategies.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Made connection at industry conference. Shared interests in digital transformation and innovation strategies."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0004-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0004-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0004-4e7c-8001-123456789abc",
"title": "Networking Connection"
}
}
}
]
},
"position": 4,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000400000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-0000070f0001",
"name": "linked-note.created"
}
}
]
},
"title": "Networking Connection",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a5-4a7c-8001-123456789aba",
"name": "Invoice Q1 2024.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-5\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Strong candidate with relevant experience. Technical skills align well with team requirements. Positive cultural fit assessment.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Strong candidate with relevant experience. Technical skills align well with team requirements. Positive cultural fit assessment."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0005-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0005-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0005-4e7c-8001-123456789abc",
"title": "Interview Notes"
}
}
}
]
},
"position": 5,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000500000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-000007110001",
"name": "linked-note.created"
}
}
]
},
"title": "Interview Notes",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a6-4a7c-8001-123456789aba",
"name": "Meeting Notes.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-6\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Quarterly review completed. Exceeded targets in key areas. Discussed career development opportunities and growth plans.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Quarterly review completed. Exceeded targets in key areas. Discussed career development opportunities and growth plans."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0006-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0006-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0006-4e7c-8001-123456789abc",
"title": "Performance Check-in"
}
}
}
]
},
"position": 6,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000600000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-000007130001",
"name": "linked-note.created"
}
}
]
},
"title": "Performance Check-in",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a7-4a7c-8001-123456789aba",
"name": "Report Final.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-7\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Completed certification program successfully. Ready to take on expanded responsibilities in the next phase.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Completed certification program successfully. Ready to take on expanded responsibilities in the next phase."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0007-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0007-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0007-4e7c-8001-123456789abc",
"title": "Training & Development"
}
}
}
]
},
"position": 7,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000700000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-000007150001",
"name": "linked-note.created"
}
}
]
},
"title": "Training & Development",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a8-4a7c-8001-123456789aba",
"name": "Contract Signed.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-8\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Long-standing professional relationship. Reliable partner for complex initiatives. High satisfaction ratings.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Long-standing professional relationship. Reliable partner for complex initiatives. High satisfaction ratings."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0008-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0008-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0008-4e7c-8001-123456789abc",
"title": "Client Relationship Notes"
}
}
}
]
},
"position": 8,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000800000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-000007170001",
"name": "linked-note.created"
}
}
]
},
"title": "Client Relationship Notes",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00a9-4a7c-8001-123456789aba",
"name": "Financial Forecast.xlsx"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-9\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Great conversation today about potential collaboration opportunities. Next steps discussed include proposal review and timeline planning.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Great conversation today about potential collaboration opportunities. Next steps discussed include proposal review and timeline planning."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0009-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-0009-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-0009-4e7c-8001-123456789abc",
"title": "Meeting Follow-up"
}
}
}
]
},
"position": 9,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-000900000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-000007190001",
"name": "linked-note.created"
}
}
]
},
"title": "Meeting Follow-up",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Note",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00aa-4a7c-8001-123456789aba",
"name": "Sales Report Q4.xlsx"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-10\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Reviewed current project status and identified key deliverables for the upcoming quarter. Timeline adjustments may be needed.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Reviewed current project status and identified key deliverables for the upcoming quarter. Timeline adjustments may be needed."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-000a-4e7c-8001-123456789abc",
"noteTargets": {
"__typename": "NoteTargetConnection",
"edges": [
{
"__typename": "NoteTargetEdge",
"node": {
"__typename": "NoteTarget",
"id": "20202020-000a-4e7c-8001-123456789def",
"note": {
"__typename": "Note",
"id": "20202020-000a-4e7c-8001-123456789abc",
"title": "Project Update Discussion"
}
}
}
]
},
"position": 10,
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-4000-8001-001000000001",
"name": "note.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0601-1001-8001-0000071b0001",
"name": "linked-note.created"
}
}
]
},
"title": "Project Update Discussion",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
}
];
@@ -0,0 +1,960 @@
/* eslint-disable */
// @ts-nocheck
import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
// This file was automatically generated — do not edit manually.
// prettier-ignore
export const mockedTaskRecords: ObjectRecord[] =
[
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"assigneeId": "20202020-0687-4c41-b707-ed1bfca972a7",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00b5-4a7c-8001-123456789aba",
"name": "Product Photo.jpg"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-1\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Arrange a follow-up call to discuss project details and next steps.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Arrange a follow-up call to discuss project details and next steps."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-02T01:17:25.389Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0001-4e7c-8001-123456789def",
"position": 1,
"status": "TODO",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0001-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0001-4e7c-8001-123456789def",
"title": "Schedule follow-up call"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000100000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-000015180001",
"name": "linked-task.created"
}
}
]
},
"title": "Schedule follow-up call",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-1553-45c6-a028-5a9064cce07f",
"name": {
"__typename": "FullName",
"firstName": "Phil",
"lastName": "Schiler"
}
},
"assigneeId": "20202020-1553-45c6-a028-5a9064cce07f",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00b6-4a7c-8001-123456789aba",
"name": "Diagram.png"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-2\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Prepare and send the project proposal document with timeline and deliverables.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Prepare and send the project proposal document with timeline and deliverables."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-04T01:17:25.389Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0002-4e7c-8001-123456789def",
"position": 2,
"status": "IN_PROGRESS",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0002-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0002-4e7c-8001-123456789def",
"title": "Send project proposal"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000200000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-0000151a0001",
"name": "linked-task.created"
}
}
]
},
"title": "Send project proposal",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-1553-45c6-a028-5a9064cce07f",
"name": {
"__typename": "FullName",
"firstName": "Phil",
"lastName": "Schiler"
}
},
"assigneeId": "20202020-1553-45c6-a028-5a9064cce07f",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00b7-4a7c-8001-123456789aba",
"name": "Wireframe.png"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-3\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Review the contract terms and conditions before final approval.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Review the contract terms and conditions before final approval."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-06T01:17:25.389Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0003-4e7c-8001-123456789def",
"position": 3,
"status": "TODO",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0003-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0003-4e7c-8001-123456789def",
"title": "Review contract terms"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000300000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-0000151c0001",
"name": "linked-task.created"
}
}
]
},
"title": "Review contract terms",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-1553-45c6-a028-5a9064cce07f",
"name": {
"__typename": "FullName",
"firstName": "Phil",
"lastName": "Schiler"
}
},
"assigneeId": "20202020-1553-45c6-a028-5a9064cce07f",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00b8-4a7c-8001-123456789aba",
"name": "Mockup Design.png"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-4\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Create detailed agenda for upcoming strategy meeting.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Create detailed agenda for upcoming strategy meeting."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-01T01:17:25.389Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0004-4e7c-8001-123456789def",
"position": 4,
"status": "TODO",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0004-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0004-4e7c-8001-123456789def",
"title": "Prepare meeting agenda"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000400000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-0000151e0001",
"name": "linked-task.created"
}
}
]
},
"title": "Prepare meeting agenda",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"assigneeId": "20202020-0687-4c41-b707-ed1bfca972a7",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00b9-4a7c-8001-123456789aba",
"name": "Headshot.jpg"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-5\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Verify and update contact details in the system.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Verify and update contact details in the system."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": null,
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0005-4e7c-8001-123456789def",
"position": 5,
"status": "DONE",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0005-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0005-4e7c-8001-123456789def",
"title": "Update contact information"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000500000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-000015200001",
"name": "linked-task.created"
}
}
]
},
"title": "Update contact information",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"assigneeId": "20202020-0687-4c41-b707-ed1bfca972a7",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00ba-4a7c-8001-123456789aba",
"name": "Project Files.zip"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-6\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Complete reference verification for background check process.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Complete reference verification for background check process."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-03T01:17:25.389Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0006-4e7c-8001-123456789def",
"position": 6,
"status": "IN_PROGRESS",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0006-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0006-4e7c-8001-123456789def",
"title": "Conduct reference check"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000600000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-000015220001",
"name": "linked-task.created"
}
}
]
},
"title": "Conduct reference check",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-1553-45c6-a028-5a9064cce07f",
"name": {
"__typename": "FullName",
"firstName": "Phil",
"lastName": "Schiler"
}
},
"assigneeId": "20202020-1553-45c6-a028-5a9064cce07f",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00bb-4a7c-8001-123456789aba",
"name": "Backup Data.zip"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-7\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Send portfolio examples and case studies for review.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Send portfolio examples and case studies for review."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-05T01:17:25.390Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0007-4e7c-8001-123456789def",
"position": 7,
"status": "TODO",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0007-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0007-4e7c-8001-123456789def",
"title": "Share portfolio samples"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000700000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-000015240001",
"name": "linked-task.created"
}
}
]
},
"title": "Share portfolio samples",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"assigneeId": "20202020-0687-4c41-b707-ed1bfca972a7",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00bc-4a7c-8001-123456789aba",
"name": "Source Code.zip"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-8\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Prepare onboarding materials and schedule orientation session.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Prepare onboarding materials and schedule orientation session."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-07T01:17:25.390Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0008-4e7c-8001-123456789def",
"position": 8,
"status": "TODO",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0008-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0008-4e7c-8001-123456789def",
"title": "Set up onboarding process"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000800000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-000015260001",
"name": "linked-task.created"
}
}
]
},
"title": "Set up onboarding process",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-1553-45c6-a028-5a9064cce07f",
"name": {
"__typename": "FullName",
"firstName": "Phil",
"lastName": "Schiler"
}
},
"assigneeId": "20202020-1553-45c6-a028-5a9064cce07f",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00bd-4a7c-8001-123456789aba",
"name": "Service Agreement.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-9\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Arrange a follow-up call to discuss project details and next steps.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Arrange a follow-up call to discuss project details and next steps."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-02T01:17:25.390Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-0009-4e7c-8001-123456789def",
"position": 9,
"status": "TODO",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-0009-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-0009-4e7c-8001-123456789def",
"title": "Schedule follow-up call"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-000900000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-000015280001",
"name": "linked-task.created"
}
}
]
},
"title": "Schedule follow-up call",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
},
{
"__typename": "Task",
"assignee": {
"__typename": "WorkspaceMember",
"id": "20202020-77d5-4cb6-b60a-f4a835a85d61",
"name": {
"__typename": "FullName",
"firstName": "Jony",
"lastName": "Ive"
}
},
"assigneeId": "20202020-77d5-4cb6-b60a-f4a835a85d61",
"attachments": {
"__typename": "AttachmentConnection",
"edges": [
{
"__typename": "AttachmentEdge",
"node": {
"__typename": "Attachment",
"id": "20202020-00be-4a7c-8001-123456789aba",
"name": "NDA Document.pdf"
}
}
]
},
"bodyV2": {
"__typename": "RichTextV2",
"blocknote": "[{\"id\":\"block-10\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"Prepare and send the project proposal document with timeline and deliverables.\",\"styles\":{}}],\"children\":[]}]",
"markdown": "Prepare and send the project proposal document with timeline and deliverables."
},
"createdAt": "2026-02-27T01:17:29.464Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
},
"deletedAt": null,
"dueAt": "2026-03-04T01:17:25.390Z",
"favorites": {
"__typename": "FavoriteConnection",
"edges": []
},
"id": "20202020-000a-4e7c-8001-123456789def",
"position": 10,
"status": "IN_PROGRESS",
"taskTargets": {
"__typename": "TaskTargetConnection",
"edges": [
{
"__typename": "TaskTargetEdge",
"node": {
"__typename": "TaskTarget",
"id": "60606060-000a-4e7c-8001-123456789def",
"task": {
"__typename": "Task",
"id": "20202020-000a-4e7c-8001-123456789def",
"title": "Send project proposal"
}
}
}
]
},
"timelineActivities": {
"__typename": "TimelineActivityConnection",
"edges": [
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-4000-8001-001000000001",
"name": "task.created"
}
},
{
"__typename": "TimelineActivityEdge",
"node": {
"__typename": "TimelineActivity",
"id": "20202020-0651-1001-8001-0000152a0001",
"name": "linked-task.created"
}
}
]
},
"title": "Send project proposal",
"updatedAt": "2026-02-27T01:17:29.464Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": "Tim A",
"context": null
}
}
];
@@ -0,0 +1,790 @@
/* eslint-disable */
// @ts-nocheck
import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
// This file was automatically generated — do not edit manually.
// prettier-ignore
export const mockedTimelineActivityRecords: ObjectRecord[] =
[
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000100000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a305-41e7-8c72-ba44072a4c58",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a305-41e7-8c72-ba44072a4c58",
"city": "Mountain View",
"name": "Google",
"employees": 284571,
"domainName": "goo.gle"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a305-41e7-8c72-ba44072a4c58",
"name": "Google"
},
"targetCompanyId": "20202020-a305-41e7-8c72-ba44072a4c58",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000200000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a225-4b3d-a89c-7f6c30df998a",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a225-4b3d-a89c-7f6c30df998a",
"city": "Redmond",
"name": "Microsoft",
"employees": 226067,
"domainName": "microsoft.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a225-4b3d-a89c-7f6c30df998a",
"name": "Microsoft"
},
"targetCompanyId": "20202020-a225-4b3d-a89c-7f6c30df998a",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000300000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a8b0-422c-8fcf-5b7496f94975",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a8b0-422c-8fcf-5b7496f94975",
"city": "Menlo Park",
"name": "Meta",
"employees": 119511,
"domainName": "metacareers.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a8b0-422c-8fcf-5b7496f94975",
"name": "Meta"
},
"targetCompanyId": "20202020-a8b0-422c-8fcf-5b7496f94975",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000400000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-aaf7-41d6-87a9-7add07bebfd8",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-aaf7-41d6-87a9-7add07bebfd8",
"city": "Houston",
"name": "SLB",
"employees": 113151,
"domainName": "slb.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-aaf7-41d6-87a9-7add07bebfd8",
"name": "SLB"
},
"targetCompanyId": "20202020-aaf7-41d6-87a9-7add07bebfd8",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000500000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a19d-422b-9cb2-5f8382a56877",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a19d-422b-9cb2-5f8382a56877",
"city": "San Jose",
"name": "Cisco",
"employees": 99625,
"domainName": "cisco.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a19d-422b-9cb2-5f8382a56877",
"name": "Cisco"
},
"targetCompanyId": "20202020-a19d-422b-9cb2-5f8382a56877",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000600000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a39c-4644-867d-e8e1851b3ee8",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a39c-4644-867d-e8e1851b3ee8",
"city": "San Francisco",
"name": "Uber",
"employees": 90545,
"domainName": "uber.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a39c-4644-867d-e8e1851b3ee8",
"name": "Uber"
},
"targetCompanyId": "20202020-a39c-4644-867d-e8e1851b3ee8",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000700000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a0eb-4c51-aa03-c4cd2423d7cb",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a0eb-4c51-aa03-c4cd2423d7cb",
"city": "San Francisco",
"name": "Salesforce",
"employees": 71322,
"domainName": "salesforce.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a0eb-4c51-aa03-c4cd2423d7cb",
"name": "Salesforce"
},
"targetCompanyId": "20202020-a0eb-4c51-aa03-c4cd2423d7cb",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000800000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a9b5-48ec-97c0-dbbfcbe8df1b",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a9b5-48ec-97c0-dbbfcbe8df1b",
"city": "Chesterfield",
"name": "Amdocs",
"employees": 35731,
"domainName": "amdocs.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a9b5-48ec-97c0-dbbfcbe8df1b",
"name": "Amdocs"
},
"targetCompanyId": "20202020-a9b5-48ec-97c0-dbbfcbe8df1b",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-000900000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a89d-44f9-ac9c-25e462460cb0",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a89d-44f9-ac9c-25e462460cb0",
"city": "Palo Alto",
"name": "VMware",
"employees": 34759,
"domainName": "vmware.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a89d-44f9-ac9c-25e462460cb0",
"name": "VMware"
},
"targetCompanyId": "20202020-a89d-44f9-ac9c-25e462460cb0",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
},
{
"__typename": "TimelineActivity",
"createdAt": "2026-02-27T01:17:30.071Z",
"createdBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"deletedAt": null,
"happensAt": "2026-02-27T01:17:30.071Z",
"id": "20202020-0001-4000-8001-001000000001",
"linkedObjectMetadataId": null,
"linkedRecordCachedName": "",
"linkedRecordId": "20202020-a377-4693-a2d9-89dc9188a1dc",
"name": "company.created",
"position": 0,
"properties": {
"after": {
"id": "20202020-a377-4693-a2d9-89dc9188a1dc",
"city": "Santa Clara",
"name": "GlobalLogic",
"employees": 24461,
"domainName": "globallogic.com"
}
},
"targetCompany": {
"__typename": "Company",
"id": "20202020-a377-4693-a2d9-89dc9188a1dc",
"name": "GlobalLogic"
},
"targetCompanyId": "20202020-a377-4693-a2d9-89dc9188a1dc",
"targetDashboard": null,
"targetDashboardId": null,
"targetEmploymentHistory": null,
"targetEmploymentHistoryId": null,
"targetNote": null,
"targetNoteId": null,
"targetOpportunity": null,
"targetOpportunityId": null,
"targetPerson": null,
"targetPersonId": null,
"targetPet": null,
"targetPetCareAgreement": null,
"targetPetCareAgreementId": null,
"targetPetId": null,
"targetRocket": null,
"targetRocketId": null,
"targetSurveyResult": null,
"targetSurveyResultId": null,
"targetTask": null,
"targetTaskId": null,
"targetWorkflow": null,
"targetWorkflowId": null,
"targetWorkflowRun": null,
"targetWorkflowRunId": null,
"targetWorkflowVersion": null,
"targetWorkflowVersionId": null,
"updatedAt": "2026-02-27T01:17:30.071Z",
"updatedBy": {
"__typename": "Actor",
"source": "MANUAL",
"workspaceMemberId": null,
"name": "System",
"context": null
},
"workspaceMember": {
"__typename": "WorkspaceMember",
"id": "20202020-0687-4c41-b707-ed1bfca972a7",
"name": {
"__typename": "FullName",
"firstName": "Tim",
"lastName": "Apple"
}
},
"workspaceMemberId": "20202020-0687-4c41-b707-ed1bfca972a7"
}
];
@@ -1,130 +0,0 @@
import { type Note } from '@/activities/types/Note';
import { type NoteTarget } from '@/activities/types/NoteTarget';
type MockedNote = Partial<Note> & { __typename?: string };
export const mockedNotes: Array<MockedNote> = [
{
id: '3ecaa1be-aac7-463a-a38e-64078dd451d5',
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
title: 'My very first note',
bodyV2: {
blocknote: null,
markdown: null,
},
noteTargets: [
{
id: '89bb825c-171e-4bcc-9cf7-43448d6fb300',
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
targetObjectNameSingular: 'company',
personId: null,
companyId: '89bb825c-171e-4bcc-9cf7-43448d6fb280',
company: {
__typename: 'Company',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb280',
name: 'Airbnb',
domainName: 'airbnb.com',
},
person: null,
noteId: '89bb825c-171e-4bcc-9cf7-43448d6fb230',
note: {
__typename: 'Activity',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb230',
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
},
__typename: 'NoteTarget',
},
{
id: '89bb825c-171e-4bcc-9cf7-43448d6fb301',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
targetObjectNameSingular: 'company',
personId: null,
companyId: 'b396e6b9-dc5c-4643-bcff-61b6cf7523ae',
company: {
__typename: 'Company',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb278',
name: 'Aircall',
domainName: 'aircall.io',
},
person: null,
noteId: 'b396e6b9-dc5c-4643-bcff-61b6cf7523ae',
note: {
__typename: 'Note',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb231',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
},
__typename: 'NoteTarget',
},
] as Array<NoteTarget>,
},
{
id: '89bb825c-171e-4bcc-9cf7-43448d6fb278a',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
title: 'Another note',
bodyV2: {
blocknote: null,
markdown: null,
},
noteTargets: [
{
id: '89bb825c-171e-4bcc-9cf7-43448d6fb278t',
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
targetObjectNameSingular: 'person',
personId: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6b', // Alexandre
person: {
__typename: 'Person',
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6b',
name: {
firstName: 'Alexandre',
lastName: 'Test',
},
avatarUrl: '',
},
company: null,
companyId: null,
noteId: '89bb825c-171e-4bcc-9cf7-43448d6fb278a',
note: {
__typename: 'Note',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb278a',
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
},
__typename: 'NoteTarget',
},
{
id: '89bb825c-171e-4bcc-9cf7-43448d6fb279t',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
personId: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6d', // Jean d'Eau
companyId: null,
targetObjectNameSingular: 'person',
company: null,
person: {
__typename: 'Person',
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6d',
name: {
firstName: 'Jean',
lastName: "d'Eau",
},
avatarUrl: '',
},
noteId: '89bb825c-171e-4bcc-9cf7-43448d6fb278a',
note: {
__typename: 'Note',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb278a',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
},
__typename: 'NoteTarget',
},
] as Array<NoteTarget>,
__typename: 'Note',
},
];
File diff suppressed because it is too large Load Diff
@@ -1,82 +0,0 @@
import { PermissionFlagType, type Role } from '~/generated-metadata/graphql';
import { mockWorkspaceMembers } from '~/testing/mock-data/workspace-members';
const rolesMock: Role[] = [
{
__typename: 'Role',
id: '1',
label: 'Admin',
description: 'Full access to all workspace features and settings',
icon: 'IconSettings',
canDestroyAllObjectRecords: true,
canReadAllObjectRecords: true,
canSoftDeleteAllObjectRecords: true,
canUpdateAllObjectRecords: true,
canUpdateAllSettings: true,
canAccessAllTools: true,
isEditable: false,
canBeAssignedToUsers: true,
canBeAssignedToAgents: true,
canBeAssignedToApiKeys: true,
agents: [],
apiKeys: [],
workspaceMembers: [mockWorkspaceMembers[0]],
permissionFlags: [
{
__typename: 'PermissionFlag',
id: '94257a55-3211-489c-92d3-9e68061da400',
flag: PermissionFlagType.WORKSPACE_MEMBERS,
roleId: '1',
},
],
objectPermissions: [
{
__typename: 'ObjectPermission',
objectMetadataId: 'fac890af-68c5-4718-a16b-7401b1868429',
canReadObjectRecords: true,
canUpdateObjectRecords: true,
canSoftDeleteObjectRecords: true,
canDestroyObjectRecords: true,
},
],
rowLevelPermissionPredicateGroups: [],
rowLevelPermissionPredicates: [],
},
{
__typename: 'Role',
id: '2',
label: 'Guest',
description: 'Limited access with read-only permissions',
icon: 'IconUser',
canDestroyAllObjectRecords: false,
canReadAllObjectRecords: false,
canSoftDeleteAllObjectRecords: false,
canUpdateAllObjectRecords: false,
canUpdateAllSettings: false,
canAccessAllTools: false,
isEditable: true,
canBeAssignedToUsers: true,
canBeAssignedToAgents: true,
canBeAssignedToApiKeys: true,
agents: [],
apiKeys: [],
workspaceMembers: [mockWorkspaceMembers[1]],
permissionFlags: [],
objectPermissions: [
{
__typename: 'ObjectPermission',
objectMetadataId: 'fac890af-68c5-4718-a16b-7401b1868429',
canReadObjectRecords: false,
canUpdateObjectRecords: false,
canSoftDeleteObjectRecords: false,
canDestroyObjectRecords: false,
},
],
rowLevelPermissionPredicateGroups: [],
rowLevelPermissionPredicates: [],
},
];
export const getRolesMock = () => {
return rolesMock;
};
@@ -1,90 +0,0 @@
import { type Task } from '@/activities/types/Task';
import { type TaskTarget } from '@/activities/types/TaskTarget';
import { type WorkspaceMember } from '@/workspace-member/types/WorkspaceMember';
type MockedTask = Task & { __typename?: string };
const workspaceMember: WorkspaceMember = {
__typename: 'WorkspaceMember',
id: '374fe3a5-df1e-4119-afe0-2a62a2ba481e',
name: {
firstName: 'Charles',
lastName: 'Test',
},
avatarUrl: '',
locale: 'en',
createdAt: '2023-04-26T10:23:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
userId: 'e2409670-1088-46b4-858e-f20a598d9d0f',
userEmail: 'charles@test.com',
colorScheme: 'Light',
};
export const mockedTasks: Array<MockedTask> = [
{
id: '3ecaa1be-aac7-463a-a38e-64078dd451d5',
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
title: 'My very first task',
bodyV2: {
blocknote: null,
markdown: null,
},
dueAt: '2023-04-26T10:12:42.33625+00:00',
status: 'TODO',
assignee: workspaceMember,
assigneeId: workspaceMember.id,
taskTargets: [
{
id: '89bb825c-171e-4bcc-9cf7-43448d6fb300',
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
targetObjectNameSingular: 'company',
personId: null,
companyId: '89bb825c-171e-4bcc-9cf7-43448d6fb280',
company: {
__typename: 'Company',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb280',
name: 'Airbnb',
domainName: {
primaryLinkLabel: '',
primaryLinkUrl: 'https://www.airbnb.com',
},
},
person: null,
taskId: '89bb825c-171e-4bcc-9cf7-43448d6fb230',
task: {
__typename: 'Task',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb230',
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
},
__typename: 'TaskTarget',
},
{
id: '89bb825c-171e-4bcc-9cf7-43448d6fb301',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
targetObjectNameSingular: 'company',
personId: null,
companyId: 'b396e6b9-dc5c-4643-bcff-61b6cf7523ae',
company: {
__typename: 'Company',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb278',
name: 'Aircall',
domainName: 'aircall.io',
},
person: null,
taskId: 'b396e6b9-dc5c-4643-bcff-61b6cf7523ae',
task: {
__typename: 'Task',
id: '89bb825c-171e-4bcc-9cf7-43448d6fb231',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
},
__typename: 'TaskTarget',
},
] as Array<TaskTarget>,
__typename: 'Task',
},
];
@@ -1,142 +0,0 @@
import { type TimelineActivity } from '@/activities/timeline-activities/types/TimelineActivity';
export const mockedTimelineActivities: Array<TimelineActivity> = [
{
properties: null,
updatedAt: '2023-04-26T10:12:42.33625+00:00',
id: '79f84835-b2f9-4ab5-8ab9-17dbcc45dda3',
linkedObjectMetadataId: 'e7a5e974-affc-40d5-be9f-2ba2783c21be',
linkedRecordCachedName: '',
linkedRecordId: 'ce40eca0-8f4b-4bba-ba91-5cbd870c64d3',
name: 'calendarEvent.linked',
createdAt: '2023-04-26T10:12:42.33625+00:00',
workspaceMember: {
__typename: 'WorkspaceMember',
id: '20202020-0687-4c41-b707-ed1bfca972a7',
avatarUrl: '',
locale: 'en',
name: {
__typename: 'FullName',
firstName: 'Tim',
lastName: 'Apple',
},
userEmail: 'tim@apple.com',
colorScheme: 'Light',
},
workspaceMemberId: '20202020-0687-4c41-b707-ed1bfca972a7',
deletedAt: null,
__typename: 'TimelineActivity',
},
{
properties: null,
updatedAt: '2023-04-26T10:12:42.33625+00:00',
id: '79f84835-b2f9-4ab5-8ab9-17dbcc45dda3',
linkedObjectMetadataId: '3385d352-10a0-428f-9863-e52e7164b26c',
linkedRecordCachedName: '',
linkedRecordId: 'ce40eca0-8f4b-4bba-ba91-5cbd870c64d5',
name: 'message.linked',
createdAt: '2023-04-26T10:12:42.33625+00:00',
workspaceMember: {
__typename: 'WorkspaceMember',
id: '20202020-0687-4c41-b707-ed1bfca972a7',
avatarUrl: '',
locale: 'en',
name: {
__typename: 'FullName',
firstName: 'Tim',
lastName: 'Apple',
},
userEmail: 'tim@apple.com',
colorScheme: 'Light',
},
workspaceMemberId: '20202020-0687-4c41-b707-ed1bfca972a7',
deletedAt: null,
__typename: 'TimelineActivity',
},
{
properties: null,
updatedAt: '2023-04-26T10:12:42.33625+00:00',
id: '79f84835-b2f9-4ab5-8ab9-17dbcc45dda3',
linkedObjectMetadataId: '25e10253-f0e1-4a6d-90e3-ad62a4b20292',
linkedRecordCachedName: 'New Task',
linkedRecordId: 'ce40eca0-8f4b-4bba-ba91-5cbd870c64d2',
name: 'linked-task.created',
createdAt: '2023-04-26T10:12:42.33625+00:00',
workspaceMember: {
__typename: 'WorkspaceMember',
id: '20202020-0687-4c41-b707-ed1bfca972a7',
avatarUrl: '',
locale: 'en',
name: {
__typename: 'FullName',
firstName: 'Tim',
lastName: 'Apple',
},
userEmail: 'tim@apple.com',
colorScheme: 'Light',
},
workspaceMemberId: '20202020-0687-4c41-b707-ed1bfca972a7',
deletedAt: null,
__typename: 'TimelineActivity',
},
{
properties: {
diff: {
address: {
after: 'TEST',
before: '',
},
},
},
updatedAt: '2023-04-26T10:12:42.33625+00:00',
id: '79f84835-b2f9-4ab5-8ab9-17dbcc45dda3',
linkedObjectMetadataId: '1ad72a42-6ab4-4474-a62a-a57cae3c0298',
linkedRecordCachedName: 'Test',
linkedRecordId: 'ce40eca0-8f4b-4bba-ba91-5cbd870c64d0',
name: 'company.updated',
createdAt: '2023-04-26T10:12:42.33625+00:00',
workspaceMember: {
__typename: 'WorkspaceMember',
id: '20202020-463f-435b-828c-107e007a2711',
avatarUrl: '',
locale: 'en',
name: {
__typename: 'FullName',
firstName: 'Jane',
lastName: 'Doe',
},
userEmail: 'jane@doe.com',
colorScheme: 'Light',
},
workspaceMemberId: '20202020-463f-435b-828c-107e007a2711',
deletedAt: null,
__typename: 'TimelineActivity',
},
{
properties:
'{"after": {"id": "ce40eca0-8f4b-4bba-ba91-5cbd870c64d0", "name": "", "xLink": {"primaryLinkUrl": "", "primaryLinkLabel": ""}, "events": {"edges": [], "__typename": "eventConnection"}, "people": {"edges": [], "__typename": "personConnection"}, "address": "", "position": 0.5, "createdAt": "2024-03-24T21:33:45.765295", "employees": null, "favorites": {"edges": [], "__typename": "favoriteConnection"}, "updatedAt": "2024-03-24T21:33:45.765295", "__typename": "company", "domainName": "", "attachments": {"edges": [], "__typename": "attachmentConnection"}, "accountOwner": null, "linkedinLink": {"url": "", "label": ""}, "opportunities": {"edges": [], "__typename": "opportunityConnection"}, "accountOwnerId": null, "activityTargets": {"edges": [], "__typename": "activityTargetConnection"}, "idealCustomerProfile": false, "annualRecurringRevenue": {"amountMicros": null, "currencyCode": ""}}}',
updatedAt: '2023-05-26T10:12:42.33625+00:00',
id: '1ad72a42-6ab4-4474-a62a-a57cae3c0298',
name: 'company.created',
linkedObjectMetadataId: '1ad72a42-6ab4-4474-a62a-a57cae3c0298',
linkedRecordCachedName: 'Test',
linkedRecordId: 'ce40eca0-8f4b-4bba-ba91-5cbd870c64d0',
createdAt: '2022-05-26T10:12:42.33625+00:00',
workspaceMember: {
__typename: 'WorkspaceMember',
id: '20202020-0687-4c41-b707-ed1bfca972a7',
avatarUrl: '',
locale: 'en',
name: {
__typename: 'FullName',
firstName: 'Tim',
lastName: 'Apple',
},
userEmail: 'tim@apple.com',
colorScheme: 'Light',
},
workspaceMemberId: '20202020-0687-4c41-b707-ed1bfca972a7',
deletedAt: null,
__typename: 'TimelineActivity',
},
];