diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts b/packages/twenty-front/src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts index a09406773dd..421493c8b2d 100644 --- a/packages/twenty-front/src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts +++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts @@ -25,9 +25,10 @@ export const useFieldsWidgetGroups = ({ objectNameSingular, }); - const { inlineFieldMetadataItems } = useFieldsWidgetFieldMetadataItems({ - objectNameSingular, - }); + const { inlineFieldMetadataItems, legacyActivityTargetFieldMetadataItems } = + useFieldsWidgetFieldMetadataItems({ + objectNameSingular, + }); const groups = useMemo(() => { if (!isDefined(objectMetadataItem)) { @@ -118,7 +119,10 @@ export const useFieldsWidgetGroups = ({ } } - const fieldsToDisplay = inlineFieldMetadataItems; + const fieldsToDisplay = [ + ...inlineFieldMetadataItems, + ...legacyActivityTargetFieldMetadataItems, + ]; if (fieldsToDisplay.length === 0) { return []; @@ -190,6 +194,7 @@ export const useFieldsWidgetGroups = ({ t, view, inlineFieldMetadataItems, + legacyActivityTargetFieldMetadataItems, ]); const displayMode: FieldsWidgetDisplayMode = diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap index f6e072d28cc..fc17b3809c9 100644 --- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/__tests__/__snapshots__/get-standard-object-metadata-related-entity-ids.util.spec.ts.snap @@ -1945,7 +1945,7 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "id": "00000000-0000-0000-0000-000000000572", }, }, - "id": "00000000-0000-0000-0000-000000000591", + "id": "00000000-0000-0000-0000-000000000592", "views": { "allNotes": { "id": "00000000-0000-0000-0000-000000000583", @@ -1970,16 +1970,16 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "viewGroups": {}, }, "noteRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000590", + "id": "00000000-0000-0000-0000-000000000591", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000588", + "id": "00000000-0000-0000-0000-000000000589", }, "general": { - "id": "00000000-0000-0000-0000-000000000587", + "id": "00000000-0000-0000-0000-000000000588", }, "other": { - "id": "00000000-0000-0000-0000-000000000589", + "id": "00000000-0000-0000-0000-000000000590", }, }, "viewFields": { @@ -1989,6 +1989,9 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "createdBy": { "id": "00000000-0000-0000-0000-000000000586", }, + "noteTargets": { + "id": "00000000-0000-0000-0000-000000000587", + }, "title": { "id": "00000000-0000-0000-0000-000000000584", }, @@ -2000,62 +2003,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "noteTarget": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000593", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000600", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000595", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000592", - }, - "note": { - "id": "00000000-0000-0000-0000-000000000596", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000602", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000603", - }, - "targetCompany": { - "id": "00000000-0000-0000-0000-000000000598", - }, - "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000599", - }, - "targetPerson": { - "id": "00000000-0000-0000-0000-000000000597", - }, - "updatedAt": { "id": "00000000-0000-0000-0000-000000000594", }, - "updatedBy": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000601", }, + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000596", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000593", + }, + "note": { + "id": "00000000-0000-0000-0000-000000000597", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000603", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000604", + }, + "targetCompany": { + "id": "00000000-0000-0000-0000-000000000599", + }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000600", + }, + "targetPerson": { + "id": "00000000-0000-0000-0000-000000000598", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000595", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000602", + }, }, - "id": "00000000-0000-0000-0000-000000000610", + "id": "00000000-0000-0000-0000-000000000611", "views": { "allNoteTargets": { - "id": "00000000-0000-0000-0000-000000000609", + "id": "00000000-0000-0000-0000-000000000610", "viewFieldGroups": {}, "viewFields": { "id": { - "id": "00000000-0000-0000-0000-000000000604", - }, - "note": { "id": "00000000-0000-0000-0000-000000000605", }, - "targetCompany": { - "id": "00000000-0000-0000-0000-000000000607", + "note": { + "id": "00000000-0000-0000-0000-000000000606", }, - "targetOpportunity": { + "targetCompany": { "id": "00000000-0000-0000-0000-000000000608", }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000609", + }, "targetPerson": { - "id": "00000000-0000-0000-0000-000000000606", + "id": "00000000-0000-0000-0000-000000000607", }, }, "viewGroups": {}, @@ -2065,171 +2068,171 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "opportunity": { "fields": { "amount": { - "id": "00000000-0000-0000-0000-000000000616", - }, - "attachments": { - "id": "00000000-0000-0000-0000-000000000628", - }, - "closeDate": { "id": "00000000-0000-0000-0000-000000000617", }, - "company": { - "id": "00000000-0000-0000-0000-000000000623", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000612", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000620", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000614", - }, - "favorites": { - "id": "00000000-0000-0000-0000-000000000625", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000611", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000615", - }, - "noteTargets": { - "id": "00000000-0000-0000-0000-000000000627", - }, - "owner": { - "id": "00000000-0000-0000-0000-000000000624", - }, - "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000622", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000619", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000630", - }, - "stage": { - "id": "00000000-0000-0000-0000-000000000618", - }, - "taskTargets": { - "id": "00000000-0000-0000-0000-000000000626", - }, - "timelineActivities": { + "attachments": { "id": "00000000-0000-0000-0000-000000000629", }, - "updatedAt": { + "closeDate": { + "id": "00000000-0000-0000-0000-000000000618", + }, + "company": { + "id": "00000000-0000-0000-0000-000000000624", + }, + "createdAt": { "id": "00000000-0000-0000-0000-000000000613", }, - "updatedBy": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000621", }, + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000615", + }, + "favorites": { + "id": "00000000-0000-0000-0000-000000000626", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000612", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000616", + }, + "noteTargets": { + "id": "00000000-0000-0000-0000-000000000628", + }, + "owner": { + "id": "00000000-0000-0000-0000-000000000625", + }, + "pointOfContact": { + "id": "00000000-0000-0000-0000-000000000623", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000620", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000631", + }, + "stage": { + "id": "00000000-0000-0000-0000-000000000619", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000627", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000630", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000614", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000622", + }, }, - "id": "00000000-0000-0000-0000-000000000662", + "id": "00000000-0000-0000-0000-000000000663", "views": { "allOpportunities": { - "id": "00000000-0000-0000-0000-000000000637", + "id": "00000000-0000-0000-0000-000000000638", "viewFieldGroups": {}, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000632", - }, - "closeDate": { - "id": "00000000-0000-0000-0000-000000000634", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000635", - }, - "createdBy": { "id": "00000000-0000-0000-0000-000000000633", }, + "closeDate": { + "id": "00000000-0000-0000-0000-000000000635", + }, + "company": { + "id": "00000000-0000-0000-0000-000000000636", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000634", + }, "name": { - "id": "00000000-0000-0000-0000-000000000631", + "id": "00000000-0000-0000-0000-000000000632", }, "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000636", + "id": "00000000-0000-0000-0000-000000000637", }, }, "viewGroups": {}, }, "byStage": { - "id": "00000000-0000-0000-0000-000000000649", + "id": "00000000-0000-0000-0000-000000000650", "viewFieldGroups": {}, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000639", - }, - "closeDate": { - "id": "00000000-0000-0000-0000-000000000641", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000642", - }, - "createdBy": { "id": "00000000-0000-0000-0000-000000000640", }, + "closeDate": { + "id": "00000000-0000-0000-0000-000000000642", + }, + "company": { + "id": "00000000-0000-0000-0000-000000000643", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000641", + }, "name": { - "id": "00000000-0000-0000-0000-000000000638", + "id": "00000000-0000-0000-0000-000000000639", }, "pointOfContact": { - "id": "00000000-0000-0000-0000-000000000643", + "id": "00000000-0000-0000-0000-000000000644", }, }, "viewGroups": { "customer": { - "id": "00000000-0000-0000-0000-000000000648", + "id": "00000000-0000-0000-0000-000000000649", }, "meeting": { - "id": "00000000-0000-0000-0000-000000000646", - }, - "new": { - "id": "00000000-0000-0000-0000-000000000644", - }, - "proposal": { "id": "00000000-0000-0000-0000-000000000647", }, - "screening": { + "new": { "id": "00000000-0000-0000-0000-000000000645", }, + "proposal": { + "id": "00000000-0000-0000-0000-000000000648", + }, + "screening": { + "id": "00000000-0000-0000-0000-000000000646", + }, }, }, "opportunityRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000661", + "id": "00000000-0000-0000-0000-000000000662", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000659", + "id": "00000000-0000-0000-0000-000000000660", }, "general": { - "id": "00000000-0000-0000-0000-000000000658", + "id": "00000000-0000-0000-0000-000000000659", }, "other": { - "id": "00000000-0000-0000-0000-000000000660", + "id": "00000000-0000-0000-0000-000000000661", }, }, "viewFields": { "amount": { - "id": "00000000-0000-0000-0000-000000000650", - }, - "closeDate": { "id": "00000000-0000-0000-0000-000000000651", }, + "closeDate": { + "id": "00000000-0000-0000-0000-000000000652", + }, "company": { - "id": "00000000-0000-0000-0000-000000000653", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000656", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000657", - }, - "owner": { - "id": "00000000-0000-0000-0000-000000000655", - }, - "pointOfContact": { "id": "00000000-0000-0000-0000-000000000654", }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000657", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000658", + }, + "owner": { + "id": "00000000-0000-0000-0000-000000000656", + }, + "pointOfContact": { + "id": "00000000-0000-0000-0000-000000000655", + }, "stage": { - "id": "00000000-0000-0000-0000-000000000652", + "id": "00000000-0000-0000-0000-000000000653", }, }, "viewGroups": {}, @@ -2239,167 +2242,167 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "person": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000684", - }, - "avatarFile": { - "id": "00000000-0000-0000-0000-000000000675", - }, - "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000674", - }, - "calendarEventParticipants": { - "id": "00000000-0000-0000-0000-000000000686", - }, - "city": { - "id": "00000000-0000-0000-0000-000000000673", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000679", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000664", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000677", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000666", - }, - "emails": { - "id": "00000000-0000-0000-0000-000000000668", - }, - "favorites": { - "id": "00000000-0000-0000-0000-000000000683", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000663", - }, - "jobTitle": { - "id": "00000000-0000-0000-0000-000000000671", - }, - "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000669", - }, - "messageParticipants": { "id": "00000000-0000-0000-0000-000000000685", }, - "name": { - "id": "00000000-0000-0000-0000-000000000667", - }, - "noteTargets": { - "id": "00000000-0000-0000-0000-000000000682", - }, - "phones": { - "id": "00000000-0000-0000-0000-000000000672", - }, - "pointOfContactForOpportunities": { - "id": "00000000-0000-0000-0000-000000000680", - }, - "position": { + "avatarFile": { "id": "00000000-0000-0000-0000-000000000676", }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000688", + "avatarUrl": { + "id": "00000000-0000-0000-0000-000000000675", }, - "taskTargets": { - "id": "00000000-0000-0000-0000-000000000681", - }, - "timelineActivities": { + "calendarEventParticipants": { "id": "00000000-0000-0000-0000-000000000687", }, - "updatedAt": { + "city": { + "id": "00000000-0000-0000-0000-000000000674", + }, + "company": { + "id": "00000000-0000-0000-0000-000000000680", + }, + "createdAt": { "id": "00000000-0000-0000-0000-000000000665", }, - "updatedBy": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000678", }, - "xLink": { + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000667", + }, + "emails": { + "id": "00000000-0000-0000-0000-000000000669", + }, + "favorites": { + "id": "00000000-0000-0000-0000-000000000684", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000664", + }, + "jobTitle": { + "id": "00000000-0000-0000-0000-000000000672", + }, + "linkedinLink": { "id": "00000000-0000-0000-0000-000000000670", }, + "messageParticipants": { + "id": "00000000-0000-0000-0000-000000000686", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000668", + }, + "noteTargets": { + "id": "00000000-0000-0000-0000-000000000683", + }, + "phones": { + "id": "00000000-0000-0000-0000-000000000673", + }, + "pointOfContactForOpportunities": { + "id": "00000000-0000-0000-0000-000000000681", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000677", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000689", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000682", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000688", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000666", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000679", + }, + "xLink": { + "id": "00000000-0000-0000-0000-000000000671", + }, }, - "id": "00000000-0000-0000-0000-000000000714", + "id": "00000000-0000-0000-0000-000000000715", "views": { "allPeople": { - "id": "00000000-0000-0000-0000-000000000699", + "id": "00000000-0000-0000-0000-000000000700", "viewFieldGroups": {}, "viewFields": { "city": { - "id": "00000000-0000-0000-0000-000000000695", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000692", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000694", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000691", - }, - "emails": { - "id": "00000000-0000-0000-0000-000000000690", - }, - "jobTitle": { "id": "00000000-0000-0000-0000-000000000696", }, - "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000697", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000689", - }, - "phones": { + "company": { "id": "00000000-0000-0000-0000-000000000693", }, - "xLink": { + "createdAt": { + "id": "00000000-0000-0000-0000-000000000695", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000692", + }, + "emails": { + "id": "00000000-0000-0000-0000-000000000691", + }, + "jobTitle": { + "id": "00000000-0000-0000-0000-000000000697", + }, + "linkedinLink": { "id": "00000000-0000-0000-0000-000000000698", }, + "name": { + "id": "00000000-0000-0000-0000-000000000690", + }, + "phones": { + "id": "00000000-0000-0000-0000-000000000694", + }, + "xLink": { + "id": "00000000-0000-0000-0000-000000000699", + }, }, "viewGroups": {}, }, "personRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000713", + "id": "00000000-0000-0000-0000-000000000714", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000711", + "id": "00000000-0000-0000-0000-000000000712", }, "general": { - "id": "00000000-0000-0000-0000-000000000710", + "id": "00000000-0000-0000-0000-000000000711", }, "other": { - "id": "00000000-0000-0000-0000-000000000712", + "id": "00000000-0000-0000-0000-000000000713", }, }, "viewFields": { "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000707", - }, - "city": { - "id": "00000000-0000-0000-0000-000000000706", - }, - "company": { - "id": "00000000-0000-0000-0000-000000000702", - }, - "createdAt": { "id": "00000000-0000-0000-0000-000000000708", }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000709", + "city": { + "id": "00000000-0000-0000-0000-000000000707", }, - "emails": { - "id": "00000000-0000-0000-0000-000000000700", - }, - "jobTitle": { + "company": { "id": "00000000-0000-0000-0000-000000000703", }, - "linkedinLink": { - "id": "00000000-0000-0000-0000-000000000704", + "createdAt": { + "id": "00000000-0000-0000-0000-000000000709", }, - "phones": { + "createdBy": { + "id": "00000000-0000-0000-0000-000000000710", + }, + "emails": { "id": "00000000-0000-0000-0000-000000000701", }, - "xLink": { + "jobTitle": { + "id": "00000000-0000-0000-0000-000000000704", + }, + "linkedinLink": { "id": "00000000-0000-0000-0000-000000000705", }, + "phones": { + "id": "00000000-0000-0000-0000-000000000702", + }, + "xLink": { + "id": "00000000-0000-0000-0000-000000000706", + }, }, "viewGroups": {}, }, @@ -2408,194 +2411,197 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "task": { "fields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000728", - }, - "attachments": { - "id": "00000000-0000-0000-0000-000000000727", - }, - "bodyV2": { - "id": "00000000-0000-0000-0000-000000000721", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000716", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000724", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000718", - }, - "dueAt": { - "id": "00000000-0000-0000-0000-000000000722", - }, - "favorites": { - "id": "00000000-0000-0000-0000-000000000730", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000715", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000719", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000731", - }, - "status": { - "id": "00000000-0000-0000-0000-000000000723", - }, - "taskTargets": { - "id": "00000000-0000-0000-0000-000000000726", - }, - "timelineActivities": { "id": "00000000-0000-0000-0000-000000000729", }, - "title": { - "id": "00000000-0000-0000-0000-000000000720", + "attachments": { + "id": "00000000-0000-0000-0000-000000000728", }, - "updatedAt": { + "bodyV2": { + "id": "00000000-0000-0000-0000-000000000722", + }, + "createdAt": { "id": "00000000-0000-0000-0000-000000000717", }, - "updatedBy": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000725", }, + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000719", + }, + "dueAt": { + "id": "00000000-0000-0000-0000-000000000723", + }, + "favorites": { + "id": "00000000-0000-0000-0000-000000000731", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000716", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000720", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000732", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000724", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000727", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000730", + }, + "title": { + "id": "00000000-0000-0000-0000-000000000721", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000718", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000726", + }, }, - "id": "00000000-0000-0000-0000-000000000772", + "id": "00000000-0000-0000-0000-000000000774", "views": { "allTasks": { - "id": "00000000-0000-0000-0000-000000000740", + "id": "00000000-0000-0000-0000-000000000741", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000737", - }, - "bodyV2": { "id": "00000000-0000-0000-0000-000000000738", }, - "createdAt": { + "bodyV2": { "id": "00000000-0000-0000-0000-000000000739", }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000735", + "createdAt": { + "id": "00000000-0000-0000-0000-000000000740", }, - "dueAt": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000736", }, - "status": { - "id": "00000000-0000-0000-0000-000000000733", + "dueAt": { + "id": "00000000-0000-0000-0000-000000000737", }, - "taskTargets": { + "status": { "id": "00000000-0000-0000-0000-000000000734", }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000735", + }, "title": { - "id": "00000000-0000-0000-0000-000000000732", + "id": "00000000-0000-0000-0000-000000000733", }, }, "viewGroups": {}, }, "assignedToMe": { - "id": "00000000-0000-0000-0000-000000000752", + "id": "00000000-0000-0000-0000-000000000753", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000745", - }, - "bodyV2": { "id": "00000000-0000-0000-0000-000000000746", }, - "createdAt": { + "bodyV2": { "id": "00000000-0000-0000-0000-000000000747", }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000743", + "createdAt": { + "id": "00000000-0000-0000-0000-000000000748", }, - "dueAt": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000744", }, + "dueAt": { + "id": "00000000-0000-0000-0000-000000000745", + }, "taskTargets": { - "id": "00000000-0000-0000-0000-000000000742", + "id": "00000000-0000-0000-0000-000000000743", }, "title": { - "id": "00000000-0000-0000-0000-000000000741", + "id": "00000000-0000-0000-0000-000000000742", }, }, "viewGroups": { "done": { - "id": "00000000-0000-0000-0000-000000000750", - }, - "empty": { "id": "00000000-0000-0000-0000-000000000751", }, + "empty": { + "id": "00000000-0000-0000-0000-000000000752", + }, "inProgress": { - "id": "00000000-0000-0000-0000-000000000749", + "id": "00000000-0000-0000-0000-000000000750", }, "todo": { - "id": "00000000-0000-0000-0000-000000000748", + "id": "00000000-0000-0000-0000-000000000749", }, }, }, "byStatus": { - "id": "00000000-0000-0000-0000-000000000761", + "id": "00000000-0000-0000-0000-000000000762", "viewFieldGroups": {}, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000756", - }, - "createdAt": { "id": "00000000-0000-0000-0000-000000000757", }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000758", + }, "dueAt": { - "id": "00000000-0000-0000-0000-000000000755", + "id": "00000000-0000-0000-0000-000000000756", }, "status": { - "id": "00000000-0000-0000-0000-000000000754", + "id": "00000000-0000-0000-0000-000000000755", }, "title": { - "id": "00000000-0000-0000-0000-000000000753", + "id": "00000000-0000-0000-0000-000000000754", }, }, "viewGroups": { "done": { - "id": "00000000-0000-0000-0000-000000000760", + "id": "00000000-0000-0000-0000-000000000761", }, "inProgress": { - "id": "00000000-0000-0000-0000-000000000759", + "id": "00000000-0000-0000-0000-000000000760", }, "todo": { - "id": "00000000-0000-0000-0000-000000000758", + "id": "00000000-0000-0000-0000-000000000759", }, }, }, "taskRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000771", + "id": "00000000-0000-0000-0000-000000000773", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000769", + "id": "00000000-0000-0000-0000-000000000771", }, "general": { - "id": "00000000-0000-0000-0000-000000000768", + "id": "00000000-0000-0000-0000-000000000770", }, "other": { - "id": "00000000-0000-0000-0000-000000000770", + "id": "00000000-0000-0000-0000-000000000772", }, }, "viewFields": { "assignee": { - "id": "00000000-0000-0000-0000-000000000765", - }, - "createdAt": { "id": "00000000-0000-0000-0000-000000000766", }, - "createdBy": { + "createdAt": { "id": "00000000-0000-0000-0000-000000000767", }, - "dueAt": { - "id": "00000000-0000-0000-0000-000000000763", + "createdBy": { + "id": "00000000-0000-0000-0000-000000000768", }, - "status": { + "dueAt": { "id": "00000000-0000-0000-0000-000000000764", }, + "status": { + "id": "00000000-0000-0000-0000-000000000765", + }, + "taskTargets": { + "id": "00000000-0000-0000-0000-000000000769", + }, "title": { - "id": "00000000-0000-0000-0000-000000000762", + "id": "00000000-0000-0000-0000-000000000763", }, }, "viewGroups": {}, @@ -2605,62 +2611,62 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "taskTarget": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000774", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000781", - }, - "deletedAt": { "id": "00000000-0000-0000-0000-000000000776", }, - "id": { - "id": "00000000-0000-0000-0000-000000000773", - }, - "position": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000783", }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000784", - }, - "targetCompany": { - "id": "00000000-0000-0000-0000-000000000779", - }, - "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000780", - }, - "targetPerson": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000778", }, - "task": { - "id": "00000000-0000-0000-0000-000000000777", - }, - "updatedAt": { + "id": { "id": "00000000-0000-0000-0000-000000000775", }, - "updatedBy": { + "position": { + "id": "00000000-0000-0000-0000-000000000785", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000786", + }, + "targetCompany": { + "id": "00000000-0000-0000-0000-000000000781", + }, + "targetOpportunity": { "id": "00000000-0000-0000-0000-000000000782", }, + "targetPerson": { + "id": "00000000-0000-0000-0000-000000000780", + }, + "task": { + "id": "00000000-0000-0000-0000-000000000779", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000777", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000784", + }, }, - "id": "00000000-0000-0000-0000-000000000791", + "id": "00000000-0000-0000-0000-000000000793", "views": { "allTaskTargets": { - "id": "00000000-0000-0000-0000-000000000790", + "id": "00000000-0000-0000-0000-000000000792", "viewFieldGroups": {}, "viewFields": { "id": { - "id": "00000000-0000-0000-0000-000000000785", - }, - "targetCompany": { - "id": "00000000-0000-0000-0000-000000000788", - }, - "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000789", - }, - "targetPerson": { "id": "00000000-0000-0000-0000-000000000787", }, + "targetCompany": { + "id": "00000000-0000-0000-0000-000000000790", + }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000791", + }, + "targetPerson": { + "id": "00000000-0000-0000-0000-000000000789", + }, "task": { - "id": "00000000-0000-0000-0000-000000000786", + "id": "00000000-0000-0000-0000-000000000788", }, }, "viewGroups": {}, @@ -2670,125 +2676,125 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "timelineActivity": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000793", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000812", - }, - "deletedAt": { "id": "00000000-0000-0000-0000-000000000795", }, - "happensAt": { - "id": "00000000-0000-0000-0000-000000000796", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000792", - }, - "linkedObjectMetadataId": { - "id": "00000000-0000-0000-0000-000000000811", - }, - "linkedRecordCachedName": { - "id": "00000000-0000-0000-0000-000000000809", - }, - "linkedRecordId": { - "id": "00000000-0000-0000-0000-000000000810", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000797", - }, - "position": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000814", }, - "properties": { + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000797", + }, + "happensAt": { "id": "00000000-0000-0000-0000-000000000798", }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000815", - }, - "targetCompany": { - "id": "00000000-0000-0000-0000-000000000801", - }, - "targetDashboard": { - "id": "00000000-0000-0000-0000-000000000808", - }, - "targetNote": { - "id": "00000000-0000-0000-0000-000000000804", - }, - "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000802", - }, - "targetPerson": { - "id": "00000000-0000-0000-0000-000000000800", - }, - "targetTask": { - "id": "00000000-0000-0000-0000-000000000803", - }, - "targetWorkflow": { - "id": "00000000-0000-0000-0000-000000000805", - }, - "targetWorkflowRun": { - "id": "00000000-0000-0000-0000-000000000807", - }, - "targetWorkflowVersion": { - "id": "00000000-0000-0000-0000-000000000806", - }, - "updatedAt": { + "id": { "id": "00000000-0000-0000-0000-000000000794", }, - "updatedBy": { + "linkedObjectMetadataId": { "id": "00000000-0000-0000-0000-000000000813", }, - "workspaceMember": { + "linkedRecordCachedName": { + "id": "00000000-0000-0000-0000-000000000811", + }, + "linkedRecordId": { + "id": "00000000-0000-0000-0000-000000000812", + }, + "name": { "id": "00000000-0000-0000-0000-000000000799", }, + "position": { + "id": "00000000-0000-0000-0000-000000000816", + }, + "properties": { + "id": "00000000-0000-0000-0000-000000000800", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000817", + }, + "targetCompany": { + "id": "00000000-0000-0000-0000-000000000803", + }, + "targetDashboard": { + "id": "00000000-0000-0000-0000-000000000810", + }, + "targetNote": { + "id": "00000000-0000-0000-0000-000000000806", + }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000804", + }, + "targetPerson": { + "id": "00000000-0000-0000-0000-000000000802", + }, + "targetTask": { + "id": "00000000-0000-0000-0000-000000000805", + }, + "targetWorkflow": { + "id": "00000000-0000-0000-0000-000000000807", + }, + "targetWorkflowRun": { + "id": "00000000-0000-0000-0000-000000000809", + }, + "targetWorkflowVersion": { + "id": "00000000-0000-0000-0000-000000000808", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000796", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000815", + }, + "workspaceMember": { + "id": "00000000-0000-0000-0000-000000000801", + }, }, - "id": "00000000-0000-0000-0000-000000000831", + "id": "00000000-0000-0000-0000-000000000833", "views": { "allTimelineActivities": { - "id": "00000000-0000-0000-0000-000000000830", + "id": "00000000-0000-0000-0000-000000000832", "viewFieldGroups": {}, "viewFields": { "happensAt": { - "id": "00000000-0000-0000-0000-000000000817", + "id": "00000000-0000-0000-0000-000000000819", }, "linkedRecordCachedName": { - "id": "00000000-0000-0000-0000-000000000820", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000816", - }, - "properties": { - "id": "00000000-0000-0000-0000-000000000818", - }, - "targetCompany": { "id": "00000000-0000-0000-0000-000000000822", }, - "targetDashboard": { - "id": "00000000-0000-0000-0000-000000000829", + "name": { + "id": "00000000-0000-0000-0000-000000000818", }, - "targetNote": { - "id": "00000000-0000-0000-0000-000000000825", + "properties": { + "id": "00000000-0000-0000-0000-000000000820", }, - "targetOpportunity": { - "id": "00000000-0000-0000-0000-000000000823", - }, - "targetPerson": { - "id": "00000000-0000-0000-0000-000000000821", - }, - "targetTask": { + "targetCompany": { "id": "00000000-0000-0000-0000-000000000824", }, - "targetWorkflow": { - "id": "00000000-0000-0000-0000-000000000826", + "targetDashboard": { + "id": "00000000-0000-0000-0000-000000000831", }, - "targetWorkflowRun": { - "id": "00000000-0000-0000-0000-000000000828", - }, - "targetWorkflowVersion": { + "targetNote": { "id": "00000000-0000-0000-0000-000000000827", }, + "targetOpportunity": { + "id": "00000000-0000-0000-0000-000000000825", + }, + "targetPerson": { + "id": "00000000-0000-0000-0000-000000000823", + }, + "targetTask": { + "id": "00000000-0000-0000-0000-000000000826", + }, + "targetWorkflow": { + "id": "00000000-0000-0000-0000-000000000828", + }, + "targetWorkflowRun": { + "id": "00000000-0000-0000-0000-000000000830", + }, + "targetWorkflowVersion": { + "id": "00000000-0000-0000-0000-000000000829", + }, "workspaceMember": { - "id": "00000000-0000-0000-0000-000000000819", + "id": "00000000-0000-0000-0000-000000000821", }, }, "viewGroups": {}, @@ -2798,81 +2804,81 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflow": { "fields": { "attachments": { - "id": "00000000-0000-0000-0000-000000000845", - }, - "automatedTriggers": { - "id": "00000000-0000-0000-0000-000000000842", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000833", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000846", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000835", - }, - "favorites": { - "id": "00000000-0000-0000-0000-000000000843", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000832", - }, - "lastPublishedVersionId": { - "id": "00000000-0000-0000-0000-000000000837", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000836", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000839", - }, - "runs": { - "id": "00000000-0000-0000-0000-000000000841", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000848", - }, - "statuses": { - "id": "00000000-0000-0000-0000-000000000838", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000844", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000834", - }, - "updatedBy": { "id": "00000000-0000-0000-0000-000000000847", }, - "versions": { + "automatedTriggers": { + "id": "00000000-0000-0000-0000-000000000844", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000835", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000848", + }, + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000837", + }, + "favorites": { + "id": "00000000-0000-0000-0000-000000000845", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000834", + }, + "lastPublishedVersionId": { + "id": "00000000-0000-0000-0000-000000000839", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000838", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000841", + }, + "runs": { + "id": "00000000-0000-0000-0000-000000000843", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000850", + }, + "statuses": { "id": "00000000-0000-0000-0000-000000000840", }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000846", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000836", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000849", + }, + "versions": { + "id": "00000000-0000-0000-0000-000000000842", + }, }, - "id": "00000000-0000-0000-0000-000000000856", + "id": "00000000-0000-0000-0000-000000000858", "views": { "allWorkflows": { - "id": "00000000-0000-0000-0000-000000000855", + "id": "00000000-0000-0000-0000-000000000857", "viewFieldGroups": {}, "viewFields": { "createdBy": { - "id": "00000000-0000-0000-0000-000000000852", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000849", - }, - "runs": { "id": "00000000-0000-0000-0000-000000000854", }, - "statuses": { - "id": "00000000-0000-0000-0000-000000000850", - }, - "updatedAt": { + "name": { "id": "00000000-0000-0000-0000-000000000851", }, - "versions": { + "runs": { + "id": "00000000-0000-0000-0000-000000000856", + }, + "statuses": { + "id": "00000000-0000-0000-0000-000000000852", + }, + "updatedAt": { "id": "00000000-0000-0000-0000-000000000853", }, + "versions": { + "id": "00000000-0000-0000-0000-000000000855", + }, }, "viewGroups": {}, }, @@ -2881,79 +2887,79 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflowAutomatedTrigger": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000858", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000864", - }, - "deletedAt": { "id": "00000000-0000-0000-0000-000000000860", }, - "id": { - "id": "00000000-0000-0000-0000-000000000857", - }, - "position": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000866", }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000867", - }, - "settings": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000862", }, - "type": { - "id": "00000000-0000-0000-0000-000000000861", - }, - "updatedAt": { + "id": { "id": "00000000-0000-0000-0000-000000000859", }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000865", + "position": { + "id": "00000000-0000-0000-0000-000000000868", }, - "workflow": { + "searchVector": { + "id": "00000000-0000-0000-0000-000000000869", + }, + "settings": { + "id": "00000000-0000-0000-0000-000000000864", + }, + "type": { "id": "00000000-0000-0000-0000-000000000863", }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000861", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000867", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000865", + }, }, - "id": "00000000-0000-0000-0000-000000000879", + "id": "00000000-0000-0000-0000-000000000881", "views": { "allWorkflowAutomatedTriggers": { - "id": "00000000-0000-0000-0000-000000000871", + "id": "00000000-0000-0000-0000-000000000873", "viewFieldGroups": {}, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000870", + "id": "00000000-0000-0000-0000-000000000872", }, "type": { - "id": "00000000-0000-0000-0000-000000000868", + "id": "00000000-0000-0000-0000-000000000870", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000869", + "id": "00000000-0000-0000-0000-000000000871", }, }, "viewGroups": {}, }, "workflowAutomatedTriggerRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000878", + "id": "00000000-0000-0000-0000-000000000880", "viewFieldGroups": { "general": { - "id": "00000000-0000-0000-0000-000000000876", + "id": "00000000-0000-0000-0000-000000000878", }, "other": { - "id": "00000000-0000-0000-0000-000000000877", + "id": "00000000-0000-0000-0000-000000000879", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000874", + "id": "00000000-0000-0000-0000-000000000876", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000875", + "id": "00000000-0000-0000-0000-000000000877", }, "type": { - "id": "00000000-0000-0000-0000-000000000872", + "id": "00000000-0000-0000-0000-000000000874", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000873", + "id": "00000000-0000-0000-0000-000000000875", }, }, "viewGroups": {}, @@ -2963,131 +2969,131 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflowRun": { "fields": { "context": { - "id": "00000000-0000-0000-0000-000000000895", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000881", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000892", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000883", - }, - "endedAt": { - "id": "00000000-0000-0000-0000-000000000889", - }, - "enqueuedAt": { - "id": "00000000-0000-0000-0000-000000000887", - }, - "favorites": { "id": "00000000-0000-0000-0000-000000000897", }, - "id": { - "id": "00000000-0000-0000-0000-000000000880", + "createdAt": { + "id": "00000000-0000-0000-0000-000000000883", }, - "name": { - "id": "00000000-0000-0000-0000-000000000884", - }, - "output": { + "createdBy": { "id": "00000000-0000-0000-0000-000000000894", }, - "position": { - "id": "00000000-0000-0000-0000-000000000891", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000899", - }, - "startedAt": { - "id": "00000000-0000-0000-0000-000000000888", - }, - "state": { - "id": "00000000-0000-0000-0000-000000000896", - }, - "status": { - "id": "00000000-0000-0000-0000-000000000890", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000898", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000882", - }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000893", - }, - "workflow": { - "id": "00000000-0000-0000-0000-000000000886", - }, - "workflowVersion": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000885", }, + "endedAt": { + "id": "00000000-0000-0000-0000-000000000891", + }, + "enqueuedAt": { + "id": "00000000-0000-0000-0000-000000000889", + }, + "favorites": { + "id": "00000000-0000-0000-0000-000000000899", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000882", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000886", + }, + "output": { + "id": "00000000-0000-0000-0000-000000000896", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000893", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000901", + }, + "startedAt": { + "id": "00000000-0000-0000-0000-000000000890", + }, + "state": { + "id": "00000000-0000-0000-0000-000000000898", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000892", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000900", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000884", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000895", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000888", + }, + "workflowVersion": { + "id": "00000000-0000-0000-0000-000000000887", + }, }, - "id": "00000000-0000-0000-0000-000000000919", + "id": "00000000-0000-0000-0000-000000000921", "views": { "allWorkflowRuns": { - "id": "00000000-0000-0000-0000-000000000906", + "id": "00000000-0000-0000-0000-000000000908", "viewFieldGroups": {}, "viewFields": { "createdBy": { - "id": "00000000-0000-0000-0000-000000000904", + "id": "00000000-0000-0000-0000-000000000906", }, "name": { - "id": "00000000-0000-0000-0000-000000000900", - }, - "startedAt": { - "id": "00000000-0000-0000-0000-000000000903", - }, - "status": { "id": "00000000-0000-0000-0000-000000000902", }, + "startedAt": { + "id": "00000000-0000-0000-0000-000000000905", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000904", + }, "workflow": { - "id": "00000000-0000-0000-0000-000000000901", + "id": "00000000-0000-0000-0000-000000000903", }, "workflowVersion": { - "id": "00000000-0000-0000-0000-000000000905", + "id": "00000000-0000-0000-0000-000000000907", }, }, "viewGroups": {}, }, "workflowRunRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000918", + "id": "00000000-0000-0000-0000-000000000920", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000916", + "id": "00000000-0000-0000-0000-000000000918", }, "general": { - "id": "00000000-0000-0000-0000-000000000915", + "id": "00000000-0000-0000-0000-000000000917", }, "other": { - "id": "00000000-0000-0000-0000-000000000917", + "id": "00000000-0000-0000-0000-000000000919", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000913", + "id": "00000000-0000-0000-0000-000000000915", }, "createdBy": { - "id": "00000000-0000-0000-0000-000000000914", + "id": "00000000-0000-0000-0000-000000000916", }, "endedAt": { - "id": "00000000-0000-0000-0000-000000000912", + "id": "00000000-0000-0000-0000-000000000914", }, "name": { - "id": "00000000-0000-0000-0000-000000000907", - }, - "startedAt": { - "id": "00000000-0000-0000-0000-000000000911", - }, - "status": { - "id": "00000000-0000-0000-0000-000000000908", - }, - "workflow": { "id": "00000000-0000-0000-0000-000000000909", }, - "workflowVersion": { + "startedAt": { + "id": "00000000-0000-0000-0000-000000000913", + }, + "status": { "id": "00000000-0000-0000-0000-000000000910", }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000911", + }, + "workflowVersion": { + "id": "00000000-0000-0000-0000-000000000912", + }, }, "viewGroups": {}, }, @@ -3096,106 +3102,106 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workflowVersion": { "fields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000921", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000934", - }, - "deletedAt": { "id": "00000000-0000-0000-0000-000000000923", }, - "favorites": { - "id": "00000000-0000-0000-0000-000000000931", + "createdBy": { + "id": "00000000-0000-0000-0000-000000000936", }, - "id": { - "id": "00000000-0000-0000-0000-000000000920", - }, - "name": { - "id": "00000000-0000-0000-0000-000000000924", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000928", - }, - "runs": { - "id": "00000000-0000-0000-0000-000000000929", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000933", - }, - "status": { - "id": "00000000-0000-0000-0000-000000000927", - }, - "steps": { - "id": "00000000-0000-0000-0000-000000000930", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000932", - }, - "trigger": { - "id": "00000000-0000-0000-0000-000000000926", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000922", - }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000935", - }, - "workflow": { + "deletedAt": { "id": "00000000-0000-0000-0000-000000000925", }, + "favorites": { + "id": "00000000-0000-0000-0000-000000000933", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000922", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000926", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000930", + }, + "runs": { + "id": "00000000-0000-0000-0000-000000000931", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000935", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000929", + }, + "steps": { + "id": "00000000-0000-0000-0000-000000000932", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000934", + }, + "trigger": { + "id": "00000000-0000-0000-0000-000000000928", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000924", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000937", + }, + "workflow": { + "id": "00000000-0000-0000-0000-000000000927", + }, }, - "id": "00000000-0000-0000-0000-000000000951", + "id": "00000000-0000-0000-0000-000000000953", "views": { "allWorkflowVersions": { - "id": "00000000-0000-0000-0000-000000000941", + "id": "00000000-0000-0000-0000-000000000943", "viewFieldGroups": {}, "viewFields": { "name": { - "id": "00000000-0000-0000-0000-000000000936", - }, - "runs": { - "id": "00000000-0000-0000-0000-000000000940", - }, - "status": { "id": "00000000-0000-0000-0000-000000000938", }, + "runs": { + "id": "00000000-0000-0000-0000-000000000942", + }, + "status": { + "id": "00000000-0000-0000-0000-000000000940", + }, "updatedAt": { - "id": "00000000-0000-0000-0000-000000000939", + "id": "00000000-0000-0000-0000-000000000941", }, "workflow": { - "id": "00000000-0000-0000-0000-000000000937", + "id": "00000000-0000-0000-0000-000000000939", }, }, "viewGroups": {}, }, "workflowVersionRecordPageFields": { - "id": "00000000-0000-0000-0000-000000000950", + "id": "00000000-0000-0000-0000-000000000952", "viewFieldGroups": { "additional": { - "id": "00000000-0000-0000-0000-000000000948", + "id": "00000000-0000-0000-0000-000000000950", }, "general": { - "id": "00000000-0000-0000-0000-000000000947", + "id": "00000000-0000-0000-0000-000000000949", }, "other": { - "id": "00000000-0000-0000-0000-000000000949", + "id": "00000000-0000-0000-0000-000000000951", }, }, "viewFields": { "createdAt": { - "id": "00000000-0000-0000-0000-000000000946", + "id": "00000000-0000-0000-0000-000000000948", }, "name": { - "id": "00000000-0000-0000-0000-000000000942", + "id": "00000000-0000-0000-0000-000000000944", }, "status": { - "id": "00000000-0000-0000-0000-000000000943", - }, - "trigger": { "id": "00000000-0000-0000-0000-000000000945", }, + "trigger": { + "id": "00000000-0000-0000-0000-000000000947", + }, "workflow": { - "id": "00000000-0000-0000-0000-000000000944", + "id": "00000000-0000-0000-0000-000000000946", }, }, "viewGroups": {}, @@ -3205,128 +3211,128 @@ exports[`getStandardObjectMetadataRelatedEntityIds should return standard object "workspaceMember": { "fields": { "accountOwnerForCompanies": { - "id": "00000000-0000-0000-0000-000000000966", - }, - "assignedTasks": { - "id": "00000000-0000-0000-0000-000000000963", - }, - "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000960", - }, - "blocklist": { - "id": "00000000-0000-0000-0000-000000000969", - }, - "calendarEventParticipants": { - "id": "00000000-0000-0000-0000-000000000970", - }, - "calendarStartDay": { - "id": "00000000-0000-0000-0000-000000000976", - }, - "colorScheme": { - "id": "00000000-0000-0000-0000-000000000958", - }, - "connectedAccounts": { - "id": "00000000-0000-0000-0000-000000000967", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000953", - }, - "createdBy": { - "id": "00000000-0000-0000-0000-000000000978", - }, - "dateFormat": { - "id": "00000000-0000-0000-0000-000000000973", - }, - "deletedAt": { - "id": "00000000-0000-0000-0000-000000000955", - }, - "favorites": { - "id": "00000000-0000-0000-0000-000000000965", - }, - "id": { - "id": "00000000-0000-0000-0000-000000000952", - }, - "locale": { - "id": "00000000-0000-0000-0000-000000000959", - }, - "messageParticipants": { "id": "00000000-0000-0000-0000-000000000968", }, - "name": { - "id": "00000000-0000-0000-0000-000000000957", + "assignedTasks": { + "id": "00000000-0000-0000-0000-000000000965", }, - "numberFormat": { - "id": "00000000-0000-0000-0000-000000000977", - }, - "ownedOpportunities": { - "id": "00000000-0000-0000-0000-000000000964", - }, - "position": { - "id": "00000000-0000-0000-0000-000000000956", - }, - "searchVector": { - "id": "00000000-0000-0000-0000-000000000975", - }, - "timeFormat": { - "id": "00000000-0000-0000-0000-000000000974", - }, - "timeZone": { - "id": "00000000-0000-0000-0000-000000000972", - }, - "timelineActivities": { - "id": "00000000-0000-0000-0000-000000000971", - }, - "updatedAt": { - "id": "00000000-0000-0000-0000-000000000954", - }, - "updatedBy": { - "id": "00000000-0000-0000-0000-000000000979", - }, - "userEmail": { - "id": "00000000-0000-0000-0000-000000000961", - }, - "userId": { + "avatarUrl": { "id": "00000000-0000-0000-0000-000000000962", }, + "blocklist": { + "id": "00000000-0000-0000-0000-000000000971", + }, + "calendarEventParticipants": { + "id": "00000000-0000-0000-0000-000000000972", + }, + "calendarStartDay": { + "id": "00000000-0000-0000-0000-000000000978", + }, + "colorScheme": { + "id": "00000000-0000-0000-0000-000000000960", + }, + "connectedAccounts": { + "id": "00000000-0000-0000-0000-000000000969", + }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000955", + }, + "createdBy": { + "id": "00000000-0000-0000-0000-000000000980", + }, + "dateFormat": { + "id": "00000000-0000-0000-0000-000000000975", + }, + "deletedAt": { + "id": "00000000-0000-0000-0000-000000000957", + }, + "favorites": { + "id": "00000000-0000-0000-0000-000000000967", + }, + "id": { + "id": "00000000-0000-0000-0000-000000000954", + }, + "locale": { + "id": "00000000-0000-0000-0000-000000000961", + }, + "messageParticipants": { + "id": "00000000-0000-0000-0000-000000000970", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000959", + }, + "numberFormat": { + "id": "00000000-0000-0000-0000-000000000979", + }, + "ownedOpportunities": { + "id": "00000000-0000-0000-0000-000000000966", + }, + "position": { + "id": "00000000-0000-0000-0000-000000000958", + }, + "searchVector": { + "id": "00000000-0000-0000-0000-000000000977", + }, + "timeFormat": { + "id": "00000000-0000-0000-0000-000000000976", + }, + "timeZone": { + "id": "00000000-0000-0000-0000-000000000974", + }, + "timelineActivities": { + "id": "00000000-0000-0000-0000-000000000973", + }, + "updatedAt": { + "id": "00000000-0000-0000-0000-000000000956", + }, + "updatedBy": { + "id": "00000000-0000-0000-0000-000000000981", + }, + "userEmail": { + "id": "00000000-0000-0000-0000-000000000963", + }, + "userId": { + "id": "00000000-0000-0000-0000-000000000964", + }, }, - "id": "00000000-0000-0000-0000-000000000992", + "id": "00000000-0000-0000-0000-000000000994", "views": { "allWorkspaceMembers": { - "id": "00000000-0000-0000-0000-000000000991", + "id": "00000000-0000-0000-0000-000000000993", "viewFieldGroups": {}, "viewFields": { "assignedTasks": { - "id": "00000000-0000-0000-0000-000000000990", + "id": "00000000-0000-0000-0000-000000000992", }, "avatarUrl": { - "id": "00000000-0000-0000-0000-000000000982", - }, - "colorScheme": { - "id": "00000000-0000-0000-0000-000000000983", - }, - "createdAt": { - "id": "00000000-0000-0000-0000-000000000988", - }, - "dateFormat": { - "id": "00000000-0000-0000-0000-000000000986", - }, - "locale": { "id": "00000000-0000-0000-0000-000000000984", }, - "name": { - "id": "00000000-0000-0000-0000-000000000980", - }, - "ownedOpportunities": { - "id": "00000000-0000-0000-0000-000000000989", - }, - "timeFormat": { - "id": "00000000-0000-0000-0000-000000000987", - }, - "timeZone": { + "colorScheme": { "id": "00000000-0000-0000-0000-000000000985", }, + "createdAt": { + "id": "00000000-0000-0000-0000-000000000990", + }, + "dateFormat": { + "id": "00000000-0000-0000-0000-000000000988", + }, + "locale": { + "id": "00000000-0000-0000-0000-000000000986", + }, + "name": { + "id": "00000000-0000-0000-0000-000000000982", + }, + "ownedOpportunities": { + "id": "00000000-0000-0000-0000-000000000991", + }, + "timeFormat": { + "id": "00000000-0000-0000-0000-000000000989", + }, + "timeZone": { + "id": "00000000-0000-0000-0000-000000000987", + }, "userEmail": { - "id": "00000000-0000-0000-0000-000000000981", + "id": "00000000-0000-0000-0000-000000000983", }, }, "viewGroups": {}, diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-note-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-note-view-fields.util.ts index a7f4a3c6e9f..faec6a4ecb7 100644 --- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-note-view-fields.util.ts +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-note-view-fields.util.ts @@ -83,6 +83,19 @@ export const computeStandardNoteViewFields = ( viewFieldGroupName: 'general', }, }), + noteRecordPageFieldsNoteTargets: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'note', + context: { + viewName: 'noteRecordPageFields', + viewFieldName: 'noteTargets', + fieldName: 'noteTargets', + position: 1, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), noteRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({ ...args, objectName: 'note', diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-task-view-fields.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-task-view-fields.util.ts index 3e75457fd29..3df8a04c561 100644 --- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-task-view-fields.util.ts +++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/view-field/compute-standard-task-view-fields.util.ts @@ -307,6 +307,19 @@ export const computeStandardTaskViewFields = ( viewFieldGroupName: 'general', }, }), + taskRecordPageFieldsTaskTargets: createStandardViewFieldFlatMetadata({ + ...args, + objectName: 'task', + context: { + viewName: 'taskRecordPageFields', + viewFieldName: 'taskTargets', + fieldName: 'taskTargets', + position: 4, + isVisible: true, + size: 150, + viewFieldGroupName: 'general', + }, + }), taskRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({ ...args, objectName: 'task', diff --git a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts index 7146965067a..57ce30e6bae 100644 --- a/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts +++ b/packages/twenty-shared/src/metadata/constants/standard-object.constant.ts @@ -2027,6 +2027,9 @@ export const STANDARD_OBJECTS = { createdBy: { universalIdentifier: '20202020-af05-4a05-8a05-a0be5a115203', }, + noteTargets: { + universalIdentifier: '20202020-af05-4a05-8a05-a0be5a115204', + }, }, }, }, @@ -2625,6 +2628,9 @@ export const STANDARD_OBJECTS = { createdBy: { universalIdentifier: '20202020-af06-4a06-8a06-ba5ca11a6206', }, + taskTargets: { + universalIdentifier: '20202020-af06-4a06-8a06-ba5ca11a6207', + }, }, }, },