From b7d5c05a74fa608cfb179fc67eb1dc9966525946 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Wed, 30 Oct 2024 15:50:56 +0100 Subject: [PATCH 01/24] Fix front tests (#8207) --- packages/twenty-front/nyc.config.cjs | 2 +- .../hooks/__tests__/useCompleteTask.test.tsx | 2 + .../favorites/hooks/__mocks__/useFavorites.ts | 284 +- .../hooks/__tests__/useFavorites.test.tsx | 3 +- .../mapSoftDeleteFieldsToGraphQLQuery.ts | 9 +- .../useDeleteOneRecordMutation.test.tsx | 2 +- ...bjectRecordsSpreasheetImportDialog.test.ts | 5 + .../__tests__/useSpreadsheetImport.test.tsx | 3 +- .../generated/mock-metadata-query-result.ts | 42014 ++++++++-------- 9 files changed, 20821 insertions(+), 21503 deletions(-) diff --git a/packages/twenty-front/nyc.config.cjs b/packages/twenty-front/nyc.config.cjs index 8ae501c691..b4c04651ec 100644 --- a/packages/twenty-front/nyc.config.cjs +++ b/packages/twenty-front/nyc.config.cjs @@ -10,7 +10,7 @@ const modulesCoverage = { branches: 25, statements: 49, lines: 50, - functions: 40, + functions: 38, include: ['src/modules/**/*'], exclude: ['src/**/*.ts'], }; diff --git a/packages/twenty-front/src/modules/activities/tasks/hooks/__tests__/useCompleteTask.test.tsx b/packages/twenty-front/src/modules/activities/tasks/hooks/__tests__/useCompleteTask.test.tsx index 4f1efa5b01..f99668b33a 100644 --- a/packages/twenty-front/src/modules/activities/tasks/hooks/__tests__/useCompleteTask.test.tsx +++ b/packages/twenty-front/src/modules/activities/tasks/hooks/__tests__/useCompleteTask.test.tsx @@ -94,6 +94,8 @@ const mocks: MockedResponse[] = [ updatedAt viewId workflowId + workflowRunId + workflowVersionId workspaceMemberId } } diff --git a/packages/twenty-front/src/modules/favorites/hooks/__mocks__/useFavorites.ts b/packages/twenty-front/src/modules/favorites/hooks/__mocks__/useFavorites.ts index 9a9a17fd20..181f162fe0 100644 --- a/packages/twenty-front/src/modules/favorites/hooks/__mocks__/useFavorites.ts +++ b/packages/twenty-front/src/modules/favorites/hooks/__mocks__/useFavorites.ts @@ -84,237 +84,59 @@ export const mocks = [ query: gql` mutation CreateOneFavorite($input: FavoriteCreateInput!) { createFavorite(data: $input) { - __typename - company { - __typename - accountOwnerId - address { - addressStreet1 - addressStreet2 - addressCity - addressState - addressCountry - addressPostcode - addressLat - addressLng - } - annualRecurringRevenue { - amountMicros - currencyCode - } - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - domainName { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - employees - id - idealCustomerProfile - introVideo { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - linkedinLink { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - name - position - tagline - updatedAt - visaSponsorship - workPolicy - xLink { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - } - companyId - createdAt - deletedAt - id - note { - __typename - body - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - id - position - title - updatedAt - } - noteId - opportunity { - __typename - amount { - amountMicros - currencyCode - } - closeDate - companyId - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - id - name - pointOfContactId - position - stage - updatedAt - } - opportunityId - person { - __typename - avatarUrl - city - companyId - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - emails { - primaryEmail - additionalEmails - } - id - intro - jobTitle - linkedinLink { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - name { - firstName - lastName - } - performanceRating - phones { - primaryPhoneNumber - primaryPhoneCountryCode - additionalPhones - } - position - updatedAt - whatsapp { - primaryPhoneNumber - primaryPhoneCountryCode - additionalPhones - } - workPreference - xLink { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - } - personId - position - rocket { - __typename - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - id - name - position - updatedAt - } - rocketId - task { - __typename - assigneeId - body - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - dueAt - id - position - status - title - updatedAt - } - taskId - updatedAt - view { - __typename - createdAt - deletedAt - icon - id - isCompact - kanbanFieldMetadataId - key - name - objectMetadataId - position - type - updatedAt - } - viewId - workflow { - __typename - createdAt - deletedAt - id - lastPublishedVersionId - name - position - statuses - updatedAt - } - workflowId - workspaceMember { - __typename - avatarUrl - colorScheme - createdAt - dateFormat - deletedAt - id - locale - name { - firstName - lastName - } - timeFormat - timeZone - updatedAt - userEmail - userId - } + __typename + company { + __typename + accountOwnerId + address { + addressStreet1 + addressStreet2 + addressCity + addressState + addressCountry + addressPostcode + addressLat + addressLng + } + annualRecurringRevenue { + amountMicros + currencyCode + } + createdAt + createdBy { + source workspaceMemberId + name + } + deletedAt + domainName { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + employees + id + idealCustomerProfile + introVideo { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + linkedinLink { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + name + position + tagline + updatedAt + visaSponsorship + workPolicy + xLink { + primaryLinkUrl + primaryLinkLabel + secondaryLinks } } companyId @@ -554,8 +376,8 @@ export const mocks = [ mutation DeleteOneFavorite($idToDelete: ID!) { deleteFavorite(id: $idToDelete) { __typename - id deletedAt + id } } `, diff --git a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx index 9c984ececa..7192c58655 100644 --- a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx +++ b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx @@ -1,5 +1,5 @@ import { DropResult, ResponderProvided } from '@hello-pangea/dnd'; -import { act, renderHook, waitFor } from '@testing-library/react'; +import { renderHook, waitFor } from '@testing-library/react'; import { useSetRecoilState } from 'recoil'; import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; @@ -7,6 +7,7 @@ import { useFavorites } from '@/favorites/hooks/useFavorites'; import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { act } from 'react'; import { getJestMetadataAndApolloMocksWrapper } from '~/testing/jest/getJestMetadataAndApolloMocksWrapper'; import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems'; import { diff --git a/packages/twenty-front/src/modules/object-metadata/utils/mapSoftDeleteFieldsToGraphQLQuery.ts b/packages/twenty-front/src/modules/object-metadata/utils/mapSoftDeleteFieldsToGraphQLQuery.ts index 09c23b5b15..cbe0fd7db5 100644 --- a/packages/twenty-front/src/modules/object-metadata/utils/mapSoftDeleteFieldsToGraphQLQuery.ts +++ b/packages/twenty-front/src/modules/object-metadata/utils/mapSoftDeleteFieldsToGraphQLQuery.ts @@ -5,9 +5,12 @@ export const mapSoftDeleteFieldsToGraphQLQuery = ( ): string => { const softDeleteFields = ['deletedAt', 'id']; - const fieldsThatShouldBeQueried = objectMetadataItem.fields.filter( - (field) => field.isActive && softDeleteFields.includes(field.name), - ); + const fieldsThatShouldBeQueried = objectMetadataItem.fields + .filter((field) => field.isActive && softDeleteFields.includes(field.name)) + .sort( + (a, b) => + softDeleteFields.indexOf(a.name) - softDeleteFields.indexOf(b.name), + ); return `{ __typename diff --git a/packages/twenty-front/src/modules/object-record/hooks/__tests__/useDeleteOneRecordMutation.test.tsx b/packages/twenty-front/src/modules/object-record/hooks/__tests__/useDeleteOneRecordMutation.test.tsx index 86ca29d5ab..859355818a 100644 --- a/packages/twenty-front/src/modules/object-record/hooks/__tests__/useDeleteOneRecordMutation.test.tsx +++ b/packages/twenty-front/src/modules/object-record/hooks/__tests__/useDeleteOneRecordMutation.test.tsx @@ -8,8 +8,8 @@ const expectedQueryTemplate = ` mutation DeleteOnePerson($idToDelete: ID!) { deletePerson(id: $idToDelete) { __typename - id deletedAt + id } } `.replace(/\s/g, ''); diff --git a/packages/twenty-front/src/modules/object-record/spreadsheet-import/hooks/__tests__/useOpenObjectRecordsSpreasheetImportDialog.test.ts b/packages/twenty-front/src/modules/object-record/spreadsheet-import/hooks/__tests__/useOpenObjectRecordsSpreasheetImportDialog.test.ts index 25660a9f98..76835664ff 100644 --- a/packages/twenty-front/src/modules/object-record/spreadsheet-import/hooks/__tests__/useOpenObjectRecordsSpreasheetImportDialog.test.ts +++ b/packages/twenty-front/src/modules/object-record/spreadsheet-import/hooks/__tests__/useOpenObjectRecordsSpreasheetImportDialog.test.ts @@ -111,6 +111,8 @@ const companyMocks = [ updatedAt viewId workflowId + workflowRunId + workflowVersionId workspaceMemberId } } @@ -260,6 +262,9 @@ const companyMocks = [ rocketId taskId updatedAt + workflowId + workflowRunId + workflowVersionId workspaceMemberId } } diff --git a/packages/twenty-front/src/modules/spreadsheet-import/hooks/__tests__/useSpreadsheetImport.test.tsx b/packages/twenty-front/src/modules/spreadsheet-import/hooks/__tests__/useSpreadsheetImport.test.tsx index dc1d67124a..bec306a77d 100644 --- a/packages/twenty-front/src/modules/spreadsheet-import/hooks/__tests__/useSpreadsheetImport.test.tsx +++ b/packages/twenty-front/src/modules/spreadsheet-import/hooks/__tests__/useSpreadsheetImport.test.tsx @@ -1,4 +1,4 @@ -import { act, renderHook } from '@testing-library/react'; +import { renderHook } from '@testing-library/react'; import { RecoilRoot, useRecoilState } from 'recoil'; import { useOpenSpreadsheetImportDialog } from '@/spreadsheet-import/hooks/useOpenSpreadsheetImportDialog'; @@ -8,6 +8,7 @@ import { ImportedRow, SpreadsheetImportDialogOptions, } from '@/spreadsheet-import/types'; +import { act } from 'react'; const Wrapper = ({ children }: { children: React.ReactNode }) => ( {children} diff --git a/packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts b/packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts index d68927458c..4c40df9f47 100644 --- a/packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts +++ b/packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts @@ -1,21272 +1,20756 @@ -import { ObjectMetadataItemsQuery } from '~/generated-metadata/graphql'; +import { FieldMetadataType, IndexType, ObjectMetadataItemsQuery, RelationDefinitionType } from '~/generated-metadata/graphql'; // This file is not designed to be manually edited. // It's an extract from the dev seeded environment metadata call // TODO: automate the generation of this file // ⚠️ WARNING ⚠️: Be sure to activate the workflow feature flag (IsWorkflowEnabled) before updating that mock. export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery = - { - objects: { - __typename: 'ObjectConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjM2', - }, - edges: [ - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - labelSingular: 'Note Target', - labelPlural: 'Note Targets', - description: 'A note target', - icon: 'IconCheckbox', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'fec280d4-58dd-410f-addf-be34060d9f90', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'e0cacb65-c2ea-44b7-8d5c-508176b44ec7', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_19ea95ddb39f610f7dcad4c4336', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '15d4514a-0c1f-461d-bd8c-cf57010c6979', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'f7c177a2-a730-4571-8c06-b16b26476d69', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '9eb89e9b-422d-4f81-83a9-0395e5916c8e', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '8d01445d-36e3-45b1-8804-a3e27e177cbc', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '9974574d-2f7c-4666-88b5-40982e1fa0bb', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_241f0cca089399c8c5954086b8d', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '7e45c242-ba08-4ce7-8521-ddaa16ac1387', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_68bce49f4de05facd5365a3a797', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '838dc5e9-c28e-4530-b380-525df2ebbbff', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'b152c814-d0f9-44da-8bf0-b8772e7fe4f8', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'cfbcdd2e-63cd-41c4-b1b1-e90b9aad7078', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_56454973bce16e65ee1ae3d2e40', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'cd268504-7b0c-48da-902d-0b4935be93b5', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '78a0334d-e28e-4b6e-a529-da28c4e73d89', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '2f776bc0-22cc-463b-a1a7-2986b1691b30', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '8d01445d-36e3-45b1-8804-a3e27e177cbc', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEz', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a87c2280-8913-4e89-b6a3-4403b70087d4', - type: 'RELATION', - name: 'rocket', - label: 'Rocket', - description: 'NoteTarget Rocket', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.725Z', - updatedAt: '2024-10-10T15:05:42.725Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'bd9974b4-9210-4ef3-892d-4adc2d40feb6', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'a87c2280-8913-4e89-b6a3-4403b70087d4', - name: 'rocket', - }, - targetObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'b3186db8-8ea1-49b6-8922-82e4bdc06eb9', - name: 'noteTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '78a0334d-e28e-4b6e-a529-da28c4e73d89', - type: 'UUID', - name: 'personId', - label: 'Person id (foreign key)', - description: 'NoteTarget person id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4f3ed77c-73e0-41ba-9519-dbaba2e5f571', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b152c814-d0f9-44da-8bf0-b8772e7fe4f8', - type: 'UUID', - name: 'companyId', - label: 'Company id (foreign key)', - description: 'NoteTarget company id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '63ae8928-a35e-4053-bf6c-ee548e3614c4', - type: 'RELATION', - name: 'person', - label: 'Person', - description: 'NoteTarget person', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '9eac5248-f58a-49d3-ab69-376c12f71680', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '63ae8928-a35e-4053-bf6c-ee548e3614c4', - name: 'person', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'b0200630-5587-4c10-b5ca-1d1344ee2343', - name: 'noteTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '145a910b-bd70-42f6-bb62-2fd1424af4e8', - type: 'UUID', - name: 'rocketId', - label: 'Rocket ID (foreign key)', - description: 'NoteTarget Rocket id foreign key', - icon: null, - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.724Z', - updatedAt: '2024-10-10T15:05:42.724Z', - defaultValue: null, - options: null, - settings: { - isForeignKey: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f7c177a2-a730-4571-8c06-b16b26476d69', - type: 'UUID', - name: 'opportunityId', - label: 'Opportunity id (foreign key)', - description: 'NoteTarget opportunity id foreign key', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '67bfa361-4269-4494-b2eb-3a9f26f992fd', - type: 'RELATION', - name: 'company', - label: 'Company', - description: 'NoteTarget company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '99a8cc42-5f5d-41f2-9d5a-44e18f8412e4', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '67bfa361-4269-4494-b2eb-3a9f26f992fd', - name: 'company', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: '408a7fce-1980-48b2-9c0e-9e23b58b5e07', - name: 'noteTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fa189561-0de7-478f-8673-9f6b68527bed', - type: 'RELATION', - name: 'opportunity', - label: 'Opportunity', - description: 'NoteTarget opportunity', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '48b33f6e-6f79-4990-9d3a-7bc3ae6020bb', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'fa189561-0de7-478f-8673-9f6b68527bed', - name: 'opportunity', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '9637bff7-b622-48f7-8f6c-2ea7ee18edef', - name: 'noteTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f23b5bd0-ceff-4741-a250-2fa1c10bb315', - type: 'UUID', - name: 'noteId', - label: 'Note id (foreign key)', - description: 'NoteTarget note id foreign key', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8d01445d-36e3-45b1-8804-a3e27e177cbc', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fec280d4-58dd-410f-addf-be34060d9f90', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3f1365a0-a273-4d82-9c58-0095c8590541', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5ea37b6c-76b5-4cc3-981e-fefebaa91607', - type: 'RELATION', - name: 'note', - label: 'Note', - description: 'NoteTarget note', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7be32a73-9b29-422b-b5aa-1933cf5ad254', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '5ea37b6c-76b5-4cc3-981e-fefebaa91607', - name: 'note', - }, - targetObjectMetadata: { - __typename: 'object', - id: '6a09bc08-33ae-4321-868a-30064279097f', - nameSingular: 'note', - namePlural: 'notes', - }, - targetFieldMetadata: { - __typename: 'field', - id: '45d38878-cca8-4c8c-b7e4-539adf09c5b1', - name: 'noteTargets', - }, - }, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'f98ea433-1b70-46d3-aefa-43eb369925d2', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'messageThread', - namePlural: 'messageThreads', - labelSingular: 'Message Thread', - labelPlural: 'Message Threads', - description: 'Message Thread', - icon: 'IconMessage', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '063a1df3-99e1-478e-9be4-7935cad6dc84', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjQ=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '45323df4-a610-484e-a9cf-bac16dd4f085', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '68d0646f-9477-4c8e-8d60-22ac5d665f91', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '84b1f586-7867-4cd9-b793-4826d4d99cf5', - type: 'RELATION', - name: 'messages', - label: 'Messages', - description: 'Messages from the thread.', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'fcbbe4ce-01e3-4332-8424-16709c40d819', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f98ea433-1b70-46d3-aefa-43eb369925d2', - nameSingular: 'messageThread', - namePlural: 'messageThreads', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '84b1f586-7867-4cd9-b793-4826d4d99cf5', - name: 'messages', - }, - targetObjectMetadata: { - __typename: 'object', - id: '673b8cb8-44c1-4c20-9834-7c35d44fd180', - nameSingular: 'message', - namePlural: 'messages', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'efdfbd70-a365-4e96-9fb0-095eb91e061a', - name: 'messageThread', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e521c5e0-67d6-4a3c-b4e3-3a767f4237dd', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '063a1df3-99e1-478e-9be4-7935cad6dc84', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - labelSingular: 'Workspace Member', - labelPlural: 'Workspace Members', - description: 'A workspace member', - icon: 'IconUserCircle', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '948959ff-3aee-4617-aa03-042285cd342b', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjI1', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bae3fa70-47b5-495b-9f52-6724f5823bca', - type: 'RELATION', - name: 'connectedAccounts', - label: 'Connected accounts', - description: 'Connected accounts', - icon: 'IconAt', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1ba150ca-e985-4ac5-9f0a-055022bab4eb', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'bae3fa70-47b5-495b-9f52-6724f5823bca', - name: 'connectedAccounts', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd828bda6-68e2-47f0-b0aa-b810b1f33981', - nameSingular: 'connectedAccount', - namePlural: 'connectedAccounts', - }, - targetFieldMetadata: { - __typename: 'field', - id: '94ca1303-d7ef-4ee0-a661-14e64f16d8d0', - name: 'accountOwner', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '948959ff-3aee-4617-aa03-042285cd342b', - type: 'FULL_NAME', - name: 'name', - label: 'Name', - description: 'Workspace member name', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - lastName: "''", - firstName: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5f482f83-ad70-448c-b612-a4bcc25cfc2c', - type: 'TEXT', - name: 'timeZone', - label: 'Time zone', - description: 'User time zone', - icon: 'IconTimezone', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'system'", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f2012359-cf46-43e7-8577-0dfc2615eb4e', - type: 'SELECT', - name: 'timeFormat', - label: 'Time format', - description: "User's preferred time format", - icon: 'IconClock2', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'SYSTEM'", - options: [ - { - id: 'd8aac04a-a1c6-4660-9557-950dbe0ebfe0', - color: 'sky', - label: 'System', - value: 'SYSTEM', - position: 0, - }, - { - id: '221dbdac-72a5-4dc0-99aa-07fd656963f6', - color: 'red', - label: '24HRS', - value: 'HOUR_24', - position: 1, - }, - { - id: '77a20632-42f6-4d82-a296-7de278743bdc', - color: 'purple', - label: '12HRS', - value: 'HOUR_12', - position: 2, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0d89e67d-e021-4fb7-9022-5b91d22706d4', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '95aa4a80-fab0-4ffa-ab6b-a0213b94cdbd', - type: 'RELATION', - name: 'authoredComments', - label: 'Authored comments', - description: 'Authored comments', - icon: 'IconComment', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '45553fd2-1f4d-4b1b-8536-e41307b80cf7', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '95aa4a80-fab0-4ffa-ab6b-a0213b94cdbd', - name: 'authoredComments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'eda936a5-97b9-4b9f-986a-d8e19e8ea882', - nameSingular: 'comment', - namePlural: 'comments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '50d416ef-6abd-4329-b51e-7dae0193ce33', - name: 'author', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8e4da134-4b27-4f18-9fae-dddee6c6f3e9', - type: 'RELATION', - name: 'authoredActivities', - label: 'Authored activities', - description: 'Activities created by the workspace member', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'c07499e3-5511-4e95-82de-5d2490c89470', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '8e4da134-4b27-4f18-9fae-dddee6c6f3e9', - name: 'authoredActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '1b094a8b-20f7-4402-8fdc-40af2405186f', - name: 'author', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '792d296b-22ae-4f57-a2a0-f7dad5cfd4a2', - type: 'TEXT', - name: 'avatarUrl', - label: 'Avatar Url', - description: 'Workspace member avatar', - icon: 'IconFileUpload', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'cf9c06a1-f820-476d-95ad-ebc12598a5f0', - type: 'UUID', - name: 'userId', - label: 'User Id', - description: 'Associated User Id', - icon: 'IconCircleUsers', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '174dc37b-4a28-4789-8f72-5d3782b32b06', - type: 'TEXT', - name: 'userEmail', - label: 'User Email', - description: 'Related user email address', - icon: 'IconMail', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4af78cad-69c5-4190-a23f-6db322f80f27', - type: 'RELATION', - name: 'auditLogs', - label: 'Audit Logs', - description: 'Audit Logs linked to the workspace member', - icon: 'IconTimelineEvent', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1aef1a4d-f090-4f5a-8e39-f7d21d465199', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '4af78cad-69c5-4190-a23f-6db322f80f27', - name: 'auditLogs', - }, - targetObjectMetadata: { - __typename: 'object', - id: '2590029a-05d7-4908-8b7a-a253967068a1', - nameSingular: 'auditLog', - namePlural: 'auditLogs', - }, - targetFieldMetadata: { - __typename: 'field', - id: '1475304d-4734-4b66-96a8-ed7d84727fe6', - name: 'workspaceMember', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '07667783-a2b1-4eb5-8e3b-86ec786993fa', - type: 'RELATION', - name: 'messageParticipants', - label: 'Message Participants', - description: 'Message Participants', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1c4db1ed-209f-4274-bf95-004e0cb74404', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '07667783-a2b1-4eb5-8e3b-86ec786993fa', - name: 'messageParticipants', - }, - targetObjectMetadata: { - __typename: 'object', - id: '6edf5dd8-ee31-42ec-80f9-728b01c50ff4', - nameSingular: 'messageParticipant', - namePlural: 'messageParticipants', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'edc0cbe6-9c05-48a7-8cf5-6ff782ad055d', - name: 'workspaceMember', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c5797fa5-1ff4-403f-896a-eb45447b468f', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b391761f-fedd-4a1d-acd1-497c21a615ba', - type: 'RELATION', - name: 'blocklist', - label: 'Blocklist', - description: 'Blocklisted handles', - icon: 'IconForbid2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1185289f-ef64-4b23-a7ef-c16303bea50f', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'b391761f-fedd-4a1d-acd1-497c21a615ba', - name: 'blocklist', - }, - targetObjectMetadata: { - __typename: 'object', - id: '8ae98b12-2ef6-4c20-adc6-240857dd7343', - nameSingular: 'blocklist', - namePlural: 'blocklists', - }, - targetFieldMetadata: { - __typename: 'field', - id: '84b616f8-2db3-472d-93dd-a8e89b9db810', - name: 'workspaceMember', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5233906b-4d12-4e40-9081-436ff5c6cefe', - type: 'RELATION', - name: 'assignedTasks', - label: 'Assigned tasks', - description: 'Tasks assigned to the workspace member', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '970f0f7f-a30d-4a6f-b023-c3bc5a1b412c', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '5233906b-4d12-4e40-9081-436ff5c6cefe', - name: 'assignedTasks', - }, - targetObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - targetFieldMetadata: { - __typename: 'field', - id: '0400e2ae-05e4-46f5-b7e1-3fd8e7c15731', - name: 'assignee', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5ef8d68c-516d-42b4-a727-612b1619ae55', - type: 'TEXT', - name: 'locale', - label: 'Language', - description: 'Preferred language', - icon: 'IconLanguage', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'en'", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3687c43a-dab2-4043-b2c5-ba090cb9f46d', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites linked to the workspace member', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '09d87091-a73a-440d-9ef0-11f4639dbd64', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '3687c43a-dab2-4043-b2c5-ba090cb9f46d', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: '37bb5979-9521-434c-8fca-84a84a545314', - name: 'workspaceMember', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6d033705-c48b-43e0-9cc1-5191c0f9ecd2', - type: 'RELATION', - name: 'timelineActivities', - label: 'Events', - description: 'Events linked to the workspace member', - icon: 'IconTimelineEvent', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '5622d0fd-cbf2-4baa-8be9-bc5ea20d321b', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '6d033705-c48b-43e0-9cc1-5191c0f9ecd2', - name: 'timelineActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '93e24db5-c860-420d-90eb-782c3855a36d', - name: 'workspaceMember', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a308f6ca-1a9b-46f2-9215-f184cd7d53d6', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'be802643-0a4b-42d1-a87c-606fce69f9f7', - type: 'RELATION', - name: 'assignedActivities', - label: 'Assigned activities', - description: 'Activities assigned to the workspace member', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1756bbce-2212-4ec2-b1e3-5053810abdb1', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'be802643-0a4b-42d1-a87c-606fce69f9f7', - name: 'assignedActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'd2f57ffe-0cbd-40a0-b83a-1939aaeac560', - name: 'assignee', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e167ca8f-66e1-4d49-8a2f-eb8c96c2285d', - type: 'RELATION', - name: 'calendarEventParticipants', - label: 'Calendar Event Participants', - description: 'Calendar Event Participants', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '15a3fcda-90b1-4599-a31c-bd0807184401', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'e167ca8f-66e1-4d49-8a2f-eb8c96c2285d', - name: 'calendarEventParticipants', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'af56ee43-5666-482f-a980-434fefac00c7', - nameSingular: 'calendarEventParticipant', - namePlural: 'calendarEventParticipants', - }, - targetFieldMetadata: { - __typename: 'field', - id: '409c079f-742a-4bf5-a710-c782544fa21b', - name: 'workspaceMember', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '80303ac9-b0f9-4f44-8e31-3aa4fec4b0ed', - type: 'SELECT', - name: 'dateFormat', - label: 'Date format', - description: "User's preferred date format", - icon: 'IconCalendarEvent', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'SYSTEM'", - options: [ - { - id: 'fc002c8e-9bde-4057-b5aa-61d40e5d90e6', - color: 'turquoise', - label: 'System', - value: 'SYSTEM', - position: 0, - }, - { - id: '1c89f46a-edbf-4c72-b796-8c04caad4a5c', - color: 'red', - label: 'Month First', - value: 'MONTH_FIRST', - position: 1, - }, - { - id: '1ccb080d-9d1e-47ba-affa-ceade664bc83', - color: 'purple', - label: 'Day First', - value: 'DAY_FIRST', - position: 2, - }, - { - id: '39d1d19a-2788-427a-ba61-0be5bea94e63', - color: 'sky', - label: 'Year First', - value: 'YEAR_FIRST', - position: 3, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '579d2711-4edc-4645-99bb-3ecbb45ebf06', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8f1ea273-7d99-442e-94cc-1f77d494edf7', - type: 'TEXT', - name: 'colorScheme', - label: 'Color Scheme', - description: 'Preferred color scheme', - icon: 'IconColorSwatch', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'Light'", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b6b66a3c-6c39-4e93-b940-836aced4de12', - type: 'RELATION', - name: 'accountOwnerForCompanies', - label: 'Account Owner For Companies', - description: 'Account owner for companies', - icon: 'IconBriefcase', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '9b71c7ff-5d2e-43c4-a524-611e309e6f45', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'b6b66a3c-6c39-4e93-b940-836aced4de12', - name: 'accountOwnerForCompanies', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: '09e066b4-d809-49c8-908b-51b8b8724a4c', - name: 'accountOwner', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4c6c8adf-6958-48d6-b7e6-0bbab57e2dd1', - type: 'RELATION', - name: 'authoredAttachments', - label: 'Authored attachments', - description: 'Attachments created by the workspace member', - icon: 'IconFileImport', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7a297555-158b-4bcb-a751-18e30aac5f3d', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '4c6c8adf-6958-48d6-b7e6-0bbab57e2dd1', - name: 'authoredAttachments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '3faea476-e6f7-450d-a699-5f58da0f0a09', - name: 'author', - }, - }, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'f04a7171-564a-44ec-a061-63938e29f0c5', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'apiKey', - namePlural: 'apiKeys', - labelSingular: 'API Key', - labelPlural: 'API Keys', - description: 'An API key', - icon: 'IconRobot', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '51abf943-f933-446f-932e-3c7b2dc4c8c6', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjY=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '51abf943-f933-446f-932e-3c7b2dc4c8c6', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'ApiKey name', - icon: 'IconLink', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '19346f2e-1c93-4d28-bb1b-85f232a0a65a', - type: 'DATE_TIME', - name: 'expiresAt', - label: 'Expiration date', - description: 'ApiKey expiration date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b9268707-467d-42b0-875e-dbccd5974263', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c41f695a-568b-43de-a41c-4f617b51e4e2', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '18649d38-e8ea-47ff-8109-89920b2f8fc5', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ad8dc420-e7a8-4bf6-9d31-01f43c21ff53', - type: 'DATE_TIME', - name: 'revokedAt', - label: 'Revocation date', - description: 'ApiKey revocation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd0d69076-3369-4672-923c-736b71263a1c', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - labelSingular: 'Task Target', - labelPlural: 'Task Targets', - description: 'An task target', - icon: 'IconCheckbox', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '94e86beb-7c83-4779-b723-c9696eca0c4c', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '195e34dd-24b9-48bc-99ae-66ef1a239ea2', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_4e929e3af362914c41035c4d438', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '670e311e-a705-4e3d-a599-d44826329501', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '81ac8880-d8ea-4794-b87b-77b89b5e5141', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '16f945fd-63b1-4609-a31d-de06265893a2', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '28ca5b60-d78e-4cb3-a142-742ef928631c', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'e34fc97b-d91f-4aa3-b353-a36806a4fa51', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_627d4437c96f22d5d46cc9a85bb', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'd76441f4-8236-45eb-b1f2-40ed4a738439', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'f933b4e1-d1d3-404e-8ef8-ab666fba9d35', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '93be2dfb-e46f-42dc-a37d-5d550a2658ff', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_cf12e6c92058f11b59852ffdfe3', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '4de510a8-25b7-4435-b248-79a5df020a52', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '81ac8880-d8ea-4794-b87b-77b89b5e5141', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '887ecf80-a073-4d15-b42e-8f4290537fd0', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '1e2d2291-460a-4ed8-94e8-d3c1f2bbd74f', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'cf162c2b-2ec8-4385-98ff-6049e7e968d0', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_b0ba7efcd8c529922bf6e858bc1', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'be0c4484-eb8b-47e3-ad6d-4a0663d81af7', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '81ac8880-d8ea-4794-b87b-77b89b5e5141', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEz', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '80b77505-9340-45f2-8c9e-931754da1192', - type: 'RELATION', - name: 'person', - label: 'Person', - description: 'TaskTarget person', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7fd53175-abb0-470e-a394-9c1de590b24e', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '80b77505-9340-45f2-8c9e-931754da1192', - name: 'person', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: '80092f7e-405b-4a94-b767-cdf877b2ef41', - name: 'taskTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f0adc079-73ce-4316-80e0-90295a7192f1', - type: 'RELATION', - name: 'opportunity', - label: 'Opportunity', - description: 'TaskTarget opportunity', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '3edc0e3a-d735-4b9c-ac34-352b48a6e705', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'f0adc079-73ce-4316-80e0-90295a7192f1', - name: 'opportunity', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'db2d038b-73d8-4c99-a709-8737e7e6658c', - name: 'taskTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4c42e3b9-26a9-4ce1-a37a-9606da0bc12a', - type: 'RELATION', - name: 'rocket', - label: 'Rocket', - description: 'TaskTarget Rocket', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.731Z', - updatedAt: '2024-10-10T15:05:42.731Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7df72299-c1f4-4575-98bf-24156cb3e5b8', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '4c42e3b9-26a9-4ce1-a37a-9606da0bc12a', - name: 'rocket', - }, - targetObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'f3e444fc-afa9-45d7-b885-5000c2fa2b7d', - name: 'taskTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1e2d2291-460a-4ed8-94e8-d3c1f2bbd74f', - type: 'UUID', - name: 'personId', - label: 'Person id (foreign key)', - description: 'TaskTarget person id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '298b6f3b-4c03-4583-bbcc-8d43b742903e', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '94e86beb-7c83-4779-b723-c9696eca0c4c', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f933b4e1-d1d3-404e-8ef8-ab666fba9d35', - type: 'UUID', - name: 'taskId', - label: 'Task id (foreign key)', - description: 'TaskTarget task id foreign key', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '24a17b5b-e5cd-43c9-bcd8-422a00b0ebf6', - type: 'RELATION', - name: 'company', - label: 'Company', - description: 'TaskTarget company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'e38b7482-42bb-43b3-a36f-9c7eec06d59e', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '24a17b5b-e5cd-43c9-bcd8-422a00b0ebf6', - name: 'company', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'eafdfdda-7cda-4fe4-bcaa-be49232fbfd4', - name: 'taskTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '81ac8880-d8ea-4794-b87b-77b89b5e5141', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '61963eea-7040-4cba-be90-031464ad1e69', - type: 'RELATION', - name: 'task', - label: 'Task', - description: 'TaskTarget task', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '2cb467d4-4e91-459c-a145-5f276f6186e1', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '61963eea-7040-4cba-be90-031464ad1e69', - name: 'task', - }, - targetObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - targetFieldMetadata: { - __typename: 'field', - id: '74bf0e2d-9fc5-4609-b180-a50e18f5f9ca', - name: 'taskTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '28ca5b60-d78e-4cb3-a142-742ef928631c', - type: 'UUID', - name: 'companyId', - label: 'Company id (foreign key)', - description: 'TaskTarget company id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9338cb5b-62e3-4636-a544-c872350ef691', - type: 'UUID', - name: 'rocketId', - label: 'Rocket ID (foreign key)', - description: 'TaskTarget Rocket id foreign key', - icon: null, - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.730Z', - updatedAt: '2024-10-10T15:05:42.730Z', - defaultValue: null, - options: null, - settings: { - isForeignKey: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ae4f0b40-33c6-429b-bfca-84812311bfbe', - type: 'UUID', - name: 'opportunityId', - label: 'Opportunity id (foreign key)', - description: 'TaskTarget opportunity id foreign key', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9fcd7cb0-7f2f-473b-ab03-8f604f9c5d69', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'eda936a5-97b9-4b9f-986a-d8e19e8ea882', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'comment', - namePlural: 'comments', - labelSingular: 'Comment', - labelPlural: 'Comments', - description: 'A comment', - icon: 'IconMessageCircle', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'bf3832d9-cdfd-4d88-bd77-2058fbd81447', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '7ee50853-aacd-49da-8d15-cba48b38a353', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_13404a209dc268d64d59e458f86', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '1d8f2dac-d481-4ac1-9e14-ee2e901b5a6f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '506fa74d-51eb-4160-8dba-3166aa4d2301', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '127f01e8-a06c-479e-8aab-129b21eea852', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'c91d7ffc-5a65-4e57-b5e7-1de26022617b', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '19dbdfa2-259f-4aaf-b4ee-3d22231ff3fe', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_59b3acef02e58676e983e724ae1', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'f9a1e7a6-7cc0-48dd-84bb-226e6959b4a3', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'e36ca5db-8217-4aff-8c62-eeefcfac1691', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjg=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c91d7ffc-5a65-4e57-b5e7-1de26022617b', - type: 'UUID', - name: 'activityId', - label: 'Activity id (foreign key)', - description: 'Comment activity id foreign key', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '506fa74d-51eb-4160-8dba-3166aa4d2301', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e36ca5db-8217-4aff-8c62-eeefcfac1691', - type: 'UUID', - name: 'authorId', - label: 'Author id (foreign key)', - description: 'Comment author id foreign key', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '87d27084-f6b5-420d-b17e-0cd16628437f', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4bfa0272-145c-4f0e-8c38-54ce1e01fea6', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd010344a-e348-47ef-b8c3-a7da39b3285d', - type: 'TEXT', - name: 'body', - label: 'Body', - description: 'Comment body', - icon: 'IconLink', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '50d416ef-6abd-4329-b51e-7dae0193ce33', - type: 'RELATION', - name: 'author', - label: 'Author', - description: 'Comment author', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '45553fd2-1f4d-4b1b-8536-e41307b80cf7', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'eda936a5-97b9-4b9f-986a-d8e19e8ea882', - nameSingular: 'comment', - namePlural: 'comments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '50d416ef-6abd-4329-b51e-7dae0193ce33', - name: 'author', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: '95aa4a80-fab0-4ffa-ab6b-a0213b94cdbd', - name: 'authoredComments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '04e07930-a3f1-4f57-9265-7364f18f2651', - type: 'RELATION', - name: 'activity', - label: 'Activity', - description: 'Comment activity', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'ed3d480f-cc49-4fee-ae36-94e6edd64940', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'eda936a5-97b9-4b9f-986a-d8e19e8ea882', - nameSingular: 'comment', - namePlural: 'comments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '04e07930-a3f1-4f57-9265-7364f18f2651', - name: 'activity', - }, - targetObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'ccd81283-2fcb-445c-af6f-c2ac27a42824', - name: 'comments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bf3832d9-cdfd-4d88-bd77-2058fbd81447', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'e5915d30-4425-4c4c-a9c4-1b4bff20c469', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'workflowVersion', - namePlural: 'workflowVersions', - labelSingular: 'Workflow Version', - labelPlural: 'Workflow Versions', - description: 'A workflow version', - icon: 'IconVersions', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '01a5ead6-66ab-4188-87b7-55662b90b318', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '093a3d04-734a-4461-93ad-39cc75e79c9e', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_a362c5eff4a28fcdffdd3bdff16', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '475f6fe5-3025-4ba7-a243-2e0cffa82820', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'c7a5fd23-5b6f-4f84-bae6-e51aeb6ce3b2', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '8882dd98-35e5-441c-8f1d-f83496078d73', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '0f5844fe-f16b-4218-9ece-a4631efcc4a9', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEx', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd067b570-d85f-4c24-9341-70d0fd8534e9', - type: 'RAW_JSON', - name: 'trigger', - label: 'Version trigger', - description: 'Json object to provide trigger', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'edfd48ca-31da-4872-8d23-f18671916ae4', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Workflow version position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0f5844fe-f16b-4218-9ece-a4631efcc4a9', - type: 'UUID', - name: 'workflowId', - label: 'Workflow id (foreign key)', - description: 'WorkflowVersion workflow id foreign key', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '54150a7d-80b4-4deb-a09e-e5b57f57fda1', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '928bb407-6191-4cb3-95df-a75cd34d11c3', - type: 'SELECT', - name: 'status', - label: 'Version status', - description: 'The workflow version status', - icon: 'IconStatusChange', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'DRAFT'", - options: [ - { - id: '70cd7090-c978-4428-88e3-b03269310eaf', - color: 'yellow', - label: 'Draft', - value: 'DRAFT', - position: 0, - }, - { - id: '1185beb6-82c3-4429-b12e-a6831ae52c4e', - color: 'green', - label: 'Active', - value: 'ACTIVE', - position: 1, - }, - { - id: '15def951-8fd6-41bb-8a6f-d1c3ecc55e15', - color: 'red', - label: 'Deactivated', - value: 'DEACTIVATED', - position: 2, - }, - { - id: 'bc1f10f9-b0b5-4b76-bc20-e8d7fbfac7a1', - color: 'grey', - label: 'Archived', - value: 'ARCHIVED', - position: 3, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2f2b9ae4-4755-4dd3-a465-1e5ca585df8a', - type: 'RAW_JSON', - name: 'steps', - label: 'Version steps', - description: 'Json object to provide steps', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '754a62dc-6d46-41f6-9a61-603e19b44ff8', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5c088faa-7d48-44e0-bc61-a338fe597395', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c7a5fd23-5b6f-4f84-bae6-e51aeb6ce3b2', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8afee0ef-f4da-41bf-824a-e7cb357d8fc7', - type: 'RELATION', - name: 'runs', - label: 'Runs', - description: 'Workflow runs linked to the version.', - icon: 'IconVersions', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '5a8466a5-1aa6-48e2-a415-878bcb28eb0e', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'e5915d30-4425-4c4c-a9c4-1b4bff20c469', - nameSingular: 'workflowVersion', - namePlural: 'workflowVersions', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '8afee0ef-f4da-41bf-824a-e7cb357d8fc7', - name: 'runs', - }, - targetObjectMetadata: { - __typename: 'object', - id: '45b7e1cf-792c-45fa-8d6a-0d5e67e1fa42', - nameSingular: 'workflowRun', - namePlural: 'workflowRuns', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'ff72aee0-1e66-4493-a057-4f4455f6b738', - name: 'workflowVersion', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '69e06184-8fa4-4df5-95dc-7563936ed95f', - type: 'RELATION', - name: 'workflow', - label: 'Workflow', - description: 'WorkflowVersion workflow', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '5e09f62f-3f3a-4b9a-a2f8-434e7ac69969', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'e5915d30-4425-4c4c-a9c4-1b4bff20c469', - nameSingular: 'workflowVersion', - namePlural: 'workflowVersions', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '69e06184-8fa4-4df5-95dc-7563936ed95f', - name: 'workflow', - }, - targetObjectMetadata: { - __typename: 'object', - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - nameSingular: 'workflow', - namePlural: 'workflows', - }, - targetFieldMetadata: { - __typename: 'field', - id: '46f260da-54b5-4739-90c3-b6aab057e442', - name: 'versions', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '01a5ead6-66ab-4188-87b7-55662b90b318', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'The workflow version name', - icon: 'IconVersions', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'd828bda6-68e2-47f0-b0aa-b810b1f33981', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'connectedAccount', - namePlural: 'connectedAccounts', - labelSingular: 'Connected Account', - labelPlural: 'Connected Accounts', - description: 'A connected account', - icon: 'IconAt', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'ab45908f-63c2-4158-b89e-13cec2cfa8fb', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '9dafdc07-412c-49ab-9fb3-c22755bf1002', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_7d1b454b2a538273bdb947e848f', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '04fb0407-046b-4412-a4c6-6392e979dabf', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '76f53ec3-f021-4a75-8886-3916234ada48', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'e84dbe39-c202-438b-ba33-9688cfc96ca6', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '7ae566f5-11c4-447a-ba00-dab85eda1d09', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjE1', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7ae566f5-11c4-447a-ba00-dab85eda1d09', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ab45908f-63c2-4158-b89e-13cec2cfa8fb', - type: 'TEXT', - name: 'handle', - label: 'handle', - description: - 'The account handle (email, username, phone number, etc.)', - icon: 'IconMail', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '94ca1303-d7ef-4ee0-a661-14e64f16d8d0', - type: 'RELATION', - name: 'accountOwner', - label: 'Account Owner', - description: 'Account Owner', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1ba150ca-e985-4ac5-9f0a-055022bab4eb', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd828bda6-68e2-47f0-b0aa-b810b1f33981', - nameSingular: 'connectedAccount', - namePlural: 'connectedAccounts', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '94ca1303-d7ef-4ee0-a661-14e64f16d8d0', - name: 'accountOwner', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'bae3fa70-47b5-495b-9f52-6724f5823bca', - name: 'connectedAccounts', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6f5b80bc-d041-4b93-902c-cf5bc3429a82', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5d207989-c76c-49db-add7-a988ba0cd9f6', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7eedbbe1-3395-436a-8409-b8b95e5c5bea', - type: 'TEXT', - name: 'lastSyncHistoryId', - label: 'Last sync history ID', - description: 'Last sync history ID', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '76f53ec3-f021-4a75-8886-3916234ada48', - type: 'UUID', - name: 'accountOwnerId', - label: 'Account Owner id (foreign key)', - description: 'Account Owner id foreign key', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '44aa8b95-c247-4507-bf76-17ff3449b4cb', - type: 'RELATION', - name: 'calendarChannels', - label: 'Calendar Channels', - description: 'Calendar Channels', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '38ead7c5-b8c5-40a1-9db4-088a93b3c798', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'd828bda6-68e2-47f0-b0aa-b810b1f33981', - nameSingular: 'connectedAccount', - namePlural: 'connectedAccounts', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '44aa8b95-c247-4507-bf76-17ff3449b4cb', - name: 'calendarChannels', - }, - targetObjectMetadata: { - __typename: 'object', - id: '8cceadc4-de6b-4ecf-8324-82c6b4eec077', - nameSingular: 'calendarChannel', - namePlural: 'calendarChannels', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'fe2812bf-cf28-4ab1-9c52-1e8598224947', - name: 'connectedAccount', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7036df84-657d-4e56-bb7b-48a8c72df2be', - type: 'RELATION', - name: 'messageChannels', - label: 'Message Channels', - description: 'Message Channels', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '4b072b41-d4e4-4bb0-b64b-51b17887b5a3', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'd828bda6-68e2-47f0-b0aa-b810b1f33981', - nameSingular: 'connectedAccount', - namePlural: 'connectedAccounts', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '7036df84-657d-4e56-bb7b-48a8c72df2be', - name: 'messageChannels', - }, - targetObjectMetadata: { - __typename: 'object', - id: '92b529f1-b82b-4352-a0d5-18f32f8e47ab', - nameSingular: 'messageChannel', - namePlural: 'messageChannels', - }, - targetFieldMetadata: { - __typename: 'field', - id: '4a315b5d-ec77-47cf-9467-cc3d86328f02', - name: 'connectedAccount', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e760de08-161b-4772-8261-a4f13234bd46', - type: 'TEXT', - name: 'accessToken', - label: 'Access Token', - description: 'Messaging provider access token', - icon: 'IconKey', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4e191733-69a2-496c-9c1c-2b8f164c86fe', - type: 'TEXT', - name: 'handleAliases', - label: 'Handle Aliases', - description: 'Handle Aliases', - icon: 'IconMail', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4290f6df-ce65-49e4-a428-246422f12ac7', - type: 'ARRAY', - name: 'scopes', - label: 'Scopes', - description: 'Scopes', - icon: 'IconSettings', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'cdfa99d0-fb44-4527-9851-874e3a0da145', - type: 'TEXT', - name: 'provider', - label: 'provider', - description: 'The account provider', - icon: 'IconSettings', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '384762e8-f9ee-4a98-8990-dfcf89293d60', - type: 'DATE_TIME', - name: 'authFailedAt', - label: 'Auth failed at', - description: 'Auth failed at', - icon: 'IconX', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5d845a06-0f8b-4ffd-9abe-d277a2eaf367', - type: 'TEXT', - name: 'refreshToken', - label: 'Refresh Token', - description: 'Messaging provider refresh token', - icon: 'IconKey', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '20848b35-b160-470f-a467-8fda3e7f28ef', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'attachment', - namePlural: 'attachments', - labelSingular: 'Attachment', - labelPlural: 'Attachments', - description: 'An attachment', - icon: 'IconFileImport', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '7ea64783-b660-4ade-b155-012c66810d45', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'c2b4689a-1592-4ec9-963a-9f646b709e92', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_30f969e0ec549acca94396d3efe', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '63ec8514-11f6-48fe-85cd-c81b5ffbec0a', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '48681c53-aac1-4971-bb56-58bbdd97e7b1', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '07bed533-2603-40bc-bb3f-1f4c6ee46863', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_2055e4e583e9a2e5b4c239fd992', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '3c035e56-b3a8-42c2-bc54-1a2ec53e9b23', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '8fad0250-f884-4a20-9bbc-03f95a213e06', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '4fe9fa6f-110a-4f43-a470-d179d91cd1ad', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '48681c53-aac1-4971-bb56-58bbdd97e7b1', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'f2338a67-5927-4dec-9baa-eb1b0f9b112b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_0698fed0e67005b7051b5d353b6', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '8760c9f0-03be-4d4a-9277-7494329a5d3a', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '48681c53-aac1-4971-bb56-58bbdd97e7b1', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'a47bad55-3b7d-48ba-9c63-4948e06a8a1d', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'e2a8c344-0c1e-4f49-afdc-7b2cc4d09a54', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'ccfda9d5-7d59-46a1-b5ba-0579fbbab49b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_3ca1d5243ff67f58c7c65c9a8a2', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'd0d55a3a-a721-40ae-8074-69e922e9bc24', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'c524abb7-af5f-4ac7-9add-a944b6765a0f', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '92b95079-df52-4840-bfe1-f0bf8a729066', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '48681c53-aac1-4971-bb56-58bbdd97e7b1', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'eb88ae97-325a-4182-bfff-451285fc8599', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_63f7d3dda8101b0fde171835da6', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '45fbb56c-9349-494f-851e-96bd210b809e', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '61793dd1-8f80-4b0b-bea7-d59bd26667a1', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'fe574c74-845f-4ebc-8b8a-e04fa66b599b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '48681c53-aac1-4971-bb56-58bbdd97e7b1', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '130c2f7f-be71-44d5-876b-8d38cc7998b0', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_73615a6bdc972b013956b19c59e', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '7c6e3992-e68e-4ebb-884f-d685c958a712', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '48681c53-aac1-4971-bb56-58bbdd97e7b1', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '433e113f-de68-4662-992b-fe6b126408ba', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'a6656d59-63e1-4ec0-afbc-3fd5c509b74e', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'f014e3b3-5b7d-4b23-a5ec-9a3516afaec1', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_91e687ea21123af4e02c9a07a43', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjIy', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a6656d59-63e1-4ec0-afbc-3fd5c509b74e', - type: 'UUID', - name: 'opportunityId', - label: 'Opportunity id (foreign key)', - description: 'Attachment opportunity id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9907dc47-5e02-4966-91f8-5df22fafaaa4', - type: 'RELATION', - name: 'task', - label: 'Task', - description: 'Attachment task', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '4a95e7b4-8bdc-49ca-b6d3-ae3d86a6e040', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '9907dc47-5e02-4966-91f8-5df22fafaaa4', - name: 'task', - }, - targetObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - targetFieldMetadata: { - __typename: 'field', - id: '1bb59b31-1c7d-4697-98d5-9f984cc9ea9c', - name: 'attachments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5c2e25df-c9e1-4f06-81ca-7b64251ee6e0', - type: 'UUID', - name: 'rocketId', - label: 'Rocket ID (foreign key)', - description: 'Attachment Rocket id foreign key', - icon: null, - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.721Z', - updatedAt: '2024-10-10T15:05:42.721Z', - defaultValue: null, - options: null, - settings: { - isForeignKey: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '61793dd1-8f80-4b0b-bea7-d59bd26667a1', - type: 'UUID', - name: 'activityId', - label: 'Activity id (foreign key)', - description: 'Attachment activity id foreign key', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c524abb7-af5f-4ac7-9add-a944b6765a0f', - type: 'UUID', - name: 'personId', - label: 'Person id (foreign key)', - description: 'Attachment person id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3faea476-e6f7-450d-a699-5f58da0f0a09', - type: 'RELATION', - name: 'author', - label: 'Author', - description: 'Attachment author', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7a297555-158b-4bcb-a751-18e30aac5f3d', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '3faea476-e6f7-450d-a699-5f58da0f0a09', - name: 'author', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: '4c6c8adf-6958-48d6-b7e6-0bbab57e2dd1', - name: 'authoredAttachments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8fad0250-f884-4a20-9bbc-03f95a213e06', - type: 'UUID', - name: 'taskId', - label: 'Task id (foreign key)', - description: 'Attachment task id foreign key', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '144087ac-d621-4897-8172-14578d80a07b', - type: 'RELATION', - name: 'person', - label: 'Person', - description: 'Attachment person', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0a89048f-6e64-4a8d-ad24-51ab63af3a85', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '144087ac-d621-4897-8172-14578d80a07b', - name: 'person', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: '561cbb88-39b8-47e2-9f48-6ed929f6ca2a', - name: 'attachments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7592ab0d-a3bd-459f-a2cb-8220148b7cc6', - type: 'RELATION', - name: 'activity', - label: 'Activity', - description: 'Attachment activity', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '58616cac-8d7a-4148-9051-a6878ca7e361', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '7592ab0d-a3bd-459f-a2cb-8220148b7cc6', - name: 'activity', - }, - targetObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'ab39f722-059b-4804-8683-a75f58db81c3', - name: 'attachments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '619eb737-7e83-4f2b-958d-8098bf95c91e', - type: 'UUID', - name: 'companyId', - label: 'Company id (foreign key)', - description: 'Attachment company id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2f907f04-3122-4b7b-bd83-c192cacc4a83', - type: 'RELATION', - name: 'company', - label: 'Company', - description: 'Attachment company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'c9ce54d1-cb4a-4492-879f-be86056fcce5', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '2f907f04-3122-4b7b-bd83-c192cacc4a83', - name: 'company', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: '1b548bb0-c4fc-4232-a18f-b7882b6a1ddf', - name: 'attachments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '99ab5575-ac5d-4284-8621-7e4ac98a5e51', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '01b00bde-0e1f-4e47-ad06-9df00dd1c7a3', - type: 'RELATION', - name: 'rocket', - label: 'Rocket', - description: 'Attachment Rocket', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.722Z', - updatedAt: '2024-10-10T15:05:42.722Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '07793950-4b19-4d72-afda-f1815ec8e5e4', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '01b00bde-0e1f-4e47-ad06-9df00dd1c7a3', - name: 'rocket', - }, - targetObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'c2721d06-ae7f-40e4-b061-d96179f0be97', - name: 'attachments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f84f5b1b-70b1-4d06-9093-d4be29917d3e', - type: 'RELATION', - name: 'opportunity', - label: 'Opportunity', - description: 'Attachment opportunity', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0984e2b5-1ba8-46d8-ade2-11bf79f52557', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'f84f5b1b-70b1-4d06-9093-d4be29917d3e', - name: 'opportunity', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'f2b2e717-0c19-417c-b81a-98d95cadcc67', - name: 'attachments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '10689971-5c26-4b38-ace8-bab4bca531a7', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '48681c53-aac1-4971-bb56-58bbdd97e7b1', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e2a8c344-0c1e-4f49-afdc-7b2cc4d09a54', - type: 'UUID', - name: 'noteId', - label: 'Note id (foreign key)', - description: 'Attachment note id foreign key', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c3bd28b7-06b4-448a-9a25-9fffcc4c856f', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '052cd77c-3540-4c77-a571-e0144b944351', - type: 'RELATION', - name: 'note', - label: 'Note', - description: 'Attachment note', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'fc78e196-db67-41d8-8d95-b1da605f98d5', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '052cd77c-3540-4c77-a571-e0144b944351', - name: 'note', - }, - targetObjectMetadata: { - __typename: 'object', - id: '6a09bc08-33ae-4321-868a-30064279097f', - nameSingular: 'note', - namePlural: 'notes', - }, - targetFieldMetadata: { - __typename: 'field', - id: '20646869-ca0e-49a0-9344-fe9272d64f6d', - name: 'attachments', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2df006ae-0867-475d-b5db-15b8152c5e87', - type: 'TEXT', - name: 'fullPath', - label: 'Full path', - description: 'Attachment full path', - icon: 'IconLink', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a0e86fca-ff82-4d04-be4b-13918686feba', - type: 'UUID', - name: 'authorId', - label: 'Author id (foreign key)', - description: 'Attachment author id foreign key', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '35ff7d4f-78f1-4ac7-b6f6-c1f76c177648', - type: 'TEXT', - name: 'type', - label: 'Type', - description: 'Attachment type', - icon: 'IconList', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7ea64783-b660-4ade-b155-012c66810d45', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'Attachment name', - icon: 'IconFileUpload', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'favorite', - namePlural: 'favorites', - labelSingular: 'Favorite', - labelPlural: 'Favorites', - description: 'A favorite', - icon: 'IconHeart', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '4cf1af4a-e7c7-40c9-88e5-c1bbb79776d0', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'd71f5aa2-0433-4b1e-a5f5-001efc908018', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_505a1fccd2804f2472bd92e8720', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '666cb283-0e48-4982-9a10-b8bd813e93da', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '66cbb849-1798-424d-8924-701491da5955', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'bf689f43-2536-4bda-9e44-49794722c47e', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_e14b3424016bea8b7fe220f7761', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '3aadce0a-04ce-4e5e-8ca3-6ed6534fd449', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '31d02158-ff64-4da7-adc8-0b170418bae5', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '8c32e5f8-c510-4400-a298-9225d7c16274', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '66cbb849-1798-424d-8924-701491da5955', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '6f30b5f2-f039-4e58-840d-daaa1b14d6eb', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_21d905e0adf19e835f6059a9f3d', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'b13cd64b-486f-4dcd-9bcd-06632dee78a5', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'eea55a50-4866-4e40-b4ee-55cfc8f24f37', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '941a0458-02b1-46e7-97b8-df46b23da17e', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '66cbb849-1798-424d-8924-701491da5955', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '3830e581-4114-4914-9858-06cdaf072777', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_eecddc968e93b9b8ebbfd85dad3', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'f747d40f-bf6e-465f-92b8-c0cd8384109f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '66cbb849-1798-424d-8924-701491da5955', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '4b9718e7-4bf4-4c18-b77d-3982bc066c0b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'e3d4db69-e331-4db1-b26c-5714900c2996', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '23f93471-7dd4-418f-8ba6-566493294692', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_a900d9f809273abe54dc5e166fa', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'f67e1247-7831-4b70-b656-faeac8e86d34', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'de785063-55a9-433d-866f-7b219c8a605e', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '4cb8c460-5fd2-47f6-8023-058e1efbf59f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_1f7e4cb168e77496349c8cefed6', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'ae8f9213-825e-4a9f-9b00-704c338d9e58', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '66cbb849-1798-424d-8924-701491da5955', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '3b43ed22-9ff3-4752-b865-1362201acd96', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_c3ee83d51bc99ba99fe1998c508', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '373a9183-07ca-47e6-a43e-870fe50f30c5', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '66cbb849-1798-424d-8924-701491da5955', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '8baea079-e5c6-4ec3-afa1-821e8b4a8eca', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_85f024f9ec673d530d14cf75fe5', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'ef971ebb-ad07-4d92-8667-b51318ce4b3b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '7da1d1c6-8ea5-4aac-abea-831483bd204a', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjIy', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f7905ef7-a551-41eb-877f-bd2feef547e0', - type: 'RELATION', - name: 'view', - label: 'View', - description: 'Favorite view', - icon: 'IconLayoutCollage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '415982de-24e3-4428-a0cc-784d91a4a41c', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'f7905ef7-a551-41eb-877f-bd2feef547e0', - name: 'view', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - nameSingular: 'view', - namePlural: 'views', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'f82b5a4c-e41c-4d92-b36a-c18b5387d373', - name: 'favorites', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2c985750-bb37-4974-ace6-0f3d65846524', - type: 'UUID', - name: 'rocketId', - label: 'Rocket ID (foreign key)', - description: 'Favorite Rocket id foreign key', - icon: null, - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.717Z', - updatedAt: '2024-10-10T15:05:42.717Z', - defaultValue: null, - options: null, - settings: { - isForeignKey: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '23e21a62-5a1f-4fe5-b5f0-1a5949d622f1', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c19bfc7c-f7a6-47ac-bd5b-a352ce7ff74b', - type: 'UUID', - name: 'workspaceMemberId', - label: 'Workspace Member id (foreign key)', - description: 'Favorite workspace member id foreign key', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'eea55a50-4866-4e40-b4ee-55cfc8f24f37', - type: 'UUID', - name: 'noteId', - label: 'Note id (foreign key)', - description: 'Favorite note id foreign key', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7da1d1c6-8ea5-4aac-abea-831483bd204a', - type: 'UUID', - name: 'opportunityId', - label: 'Opportunity id (foreign key)', - description: 'Favorite opportunity id foreign key', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'cfcd1a8f-e40e-49cb-a711-c92aab1e4158', - type: 'NUMBER', - name: 'position', - label: 'Position', - description: 'Favorite position', - icon: 'IconList', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 0, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0d9f922f-d7db-485e-b5ff-1293a0b51dc9', - type: 'RELATION', - name: 'opportunity', - label: 'Opportunity', - description: 'Favorite opportunity', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '85086085-d6fb-4f1c-9f77-1edd0b07adcb', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '0d9f922f-d7db-485e-b5ff-1293a0b51dc9', - name: 'opportunity', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '30756ebf-d27c-4ffb-a30f-8a04b909839f', - name: 'favorites', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '31d02158-ff64-4da7-adc8-0b170418bae5', - type: 'UUID', - name: 'taskId', - label: 'Task id (foreign key)', - description: 'Favorite task id foreign key', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4cf1af4a-e7c7-40c9-88e5-c1bbb79776d0', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '71e4555a-9fcc-41bd-a8f0-248d1605567e', - type: 'RELATION', - name: 'workflow', - label: 'Workflow', - description: 'Favorite workflow', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'fa6c3b55-5fe4-4406-89a8-9474ca539769', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '71e4555a-9fcc-41bd-a8f0-248d1605567e', - name: 'workflow', - }, - targetObjectMetadata: { - __typename: 'object', - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - nameSingular: 'workflow', - namePlural: 'workflows', - }, - targetFieldMetadata: { - __typename: 'field', - id: '05d6227a-bc2d-4e08-8390-cfcec921e4a4', - name: 'favorites', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5569602d-cf0d-4b49-ac90-f5d1fc18bde7', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3f7749a5-7d4e-4b3c-b5ae-12b8ea631676', - type: 'RELATION', - name: 'company', - label: 'Company', - description: 'Favorite company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '3e2f75b9-76aa-436f-8d24-129798ca4090', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '3f7749a5-7d4e-4b3c-b5ae-12b8ea631676', - name: 'company', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: '134b368a-cf99-438e-8105-9150a2827fd4', - name: 'favorites', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'de785063-55a9-433d-866f-7b219c8a605e', - type: 'UUID', - name: 'companyId', - label: 'Company id (foreign key)', - description: 'Favorite company id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '89fe6ca9-b01e-4f73-8fe2-f51ba3a67024', - type: 'RELATION', - name: 'rocket', - label: 'Rocket', - description: 'Favorite Rocket', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.718Z', - updatedAt: '2024-10-10T15:05:42.718Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '9a12826d-783a-4411-89ac-a2a2369e5eb2', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '89fe6ca9-b01e-4f73-8fe2-f51ba3a67024', - name: 'rocket', - }, - targetObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '4d64de07-68da-42c9-b169-d5adf91ae282', - name: 'favorites', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ea2ca48b-3fa6-4b65-9fb2-eb0a194385f5', - type: 'UUID', - name: 'viewId', - label: 'View id (foreign key)', - description: 'Favorite view id foreign key', - icon: 'IconLayoutCollage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '60db3d95-7824-4335-9a49-eec97888c068', - type: 'RELATION', - name: 'task', - label: 'Task', - description: 'Favorite task', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '14f171b6-2a7e-4ae3-adc6-1721e91b791f', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '60db3d95-7824-4335-9a49-eec97888c068', - name: 'task', - }, - targetObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - targetFieldMetadata: { - __typename: 'field', - id: '0111a4d1-f387-4f21-bc99-94b80139ff7f', - name: 'favorites', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '85779625-b591-4436-bcee-4e69f937a2ea', - type: 'UUID', - name: 'personId', - label: 'Person id (foreign key)', - description: 'Favorite person id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e3d4db69-e331-4db1-b26c-5714900c2996', - type: 'UUID', - name: 'workflowId', - label: 'Workflow id (foreign key)', - description: 'Favorite workflow id foreign key', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7626da40-ddb4-4cbc-8554-441f9785ef5e', - type: 'RELATION', - name: 'person', - label: 'Person', - description: 'Favorite person', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '033e99d2-7a1a-405c-950d-06031b93a773', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '7626da40-ddb4-4cbc-8554-441f9785ef5e', - name: 'person', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: '42052d18-6fab-4d08-bb69-667683392617', - name: 'favorites', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '53790b28-fd71-4f0f-994d-72e9cb8b018b', - type: 'RELATION', - name: 'note', - label: 'Note', - description: 'Favorite note', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '8206c6dd-98d8-4526-9836-bad9f2b065bb', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '53790b28-fd71-4f0f-994d-72e9cb8b018b', - name: 'note', - }, - targetObjectMetadata: { - __typename: 'object', - id: '6a09bc08-33ae-4321-868a-30064279097f', - nameSingular: 'note', - namePlural: 'notes', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'f86335f9-07e3-4108-a2a2-cafa6820e85e', - name: 'favorites', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '66cbb849-1798-424d-8924-701491da5955', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '37bb5979-9521-434c-8fca-84a84a545314', - type: 'RELATION', - name: 'workspaceMember', - label: 'Workspace Member', - description: 'Favorite workspace member', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '09d87091-a73a-440d-9ef0-11f4639dbd64', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '37bb5979-9521-434c-8fca-84a84a545314', - name: 'workspaceMember', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: '3687c43a-dab2-4043-b2c5-ba090cb9f46d', - name: 'favorites', - }, - }, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'c55193eb-042d-42d5-a6a7-8263fd1433a2', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'viewSort', - namePlural: 'viewSorts', - labelSingular: 'View Sort', - labelPlural: 'View Sorts', - description: '(System) View Sorts', - icon: 'IconArrowsSort', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '2416e698-40fa-4a3f-9190-fed51819cd7e', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'a4e03ada-488b-4c7b-bcbb-ed2f76d4f82f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_a01889a3e5b30d56447736329aa', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'a7c3045f-a5b7-4409-9d85-0d71e1e7ee1d', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '5505a8ee-ac5f-4b0a-bf90-87f80307d8d8', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '5512c691-fa4f-4d75-a0bc-06ca74dd5666', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '6aeb1851-3091-4fb9-9aa5-c2a3e3d3aea3', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '274f0fa6-16c3-49e2-a033-72b0e7fa4310', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_9564690e029f3f186dff29c9c88', - indexWhereClause: '"deletedAt" IS NULL', - indexType: 'BTREE', - isUnique: true, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'a6632868-3a90-4dcb-909d-905deee50405', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '5505a8ee-ac5f-4b0a-bf90-87f80307d8d8', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '674e69ba-749c-4fd1-925a-9a9498177af6', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '9dd7a1fc-bda5-4452-810c-6a966757e1f1', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjc=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'dc1b5993-36b2-45eb-be43-506965789902', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'aa5a8453-0d51-4f10-98b2-0a15fcc723c1', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6aeb1851-3091-4fb9-9aa5-c2a3e3d3aea3', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9dd7a1fc-bda5-4452-810c-6a966757e1f1', - type: 'UUID', - name: 'fieldMetadataId', - label: 'Field Metadata Id', - description: 'View Sort target field', - icon: 'IconTag', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd0bce78c-57eb-48c1-9a66-5e0de3d63a61', - type: 'RELATION', - name: 'view', - label: 'View', - description: 'View Sort related view', - icon: 'IconLayoutCollage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '05ae03d1-1a38-4c4e-bbe1-f46ca40ece76', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'c55193eb-042d-42d5-a6a7-8263fd1433a2', - nameSingular: 'viewSort', - namePlural: 'viewSorts', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'd0bce78c-57eb-48c1-9a66-5e0de3d63a61', - name: 'view', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - nameSingular: 'view', - namePlural: 'views', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'db666f56-a9ac-41a3-9a41-bb172dbc9cae', - name: 'viewSorts', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1e5c3440-e396-44ed-9616-c603c514a96e', - type: 'TEXT', - name: 'direction', - label: 'Direction', - description: 'View Sort direction', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'asc'", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5505a8ee-ac5f-4b0a-bf90-87f80307d8d8', - type: 'UUID', - name: 'viewId', - label: 'View id (foreign key)', - description: 'View Sort related view id foreign key', - icon: 'IconLayoutCollage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2416e698-40fa-4a3f-9190-fed51819cd7e', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'view', - namePlural: 'views', - labelSingular: 'View', - labelPlural: 'Views', - description: '(System) Views', - icon: 'IconLayoutCollage', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '6cefd31f-49fd-4e11-b306-3017ca5a653d', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjE1', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bbb3ca4e-a73c-45a4-9040-d062c94dd8fa', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '712a82cd-43fd-429d-83c5-8b1b2c8e90c0', - type: 'TEXT', - name: 'kanbanFieldMetadataId', - label: 'kanbanfieldMetadataId', - description: 'View Kanban column field', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1c2ddd98-f8e7-4c61-ba6a-5508383d4702', - type: 'BOOLEAN', - name: 'isCompact', - label: 'Compact View', - description: 'Describes if the view is in compact mode', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: false, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '312163f0-9b2f-4c59-8473-9eb1906b8f41', - type: 'RELATION', - name: 'viewFilters', - label: 'View Filters', - description: 'View Filters', - icon: 'IconFilterBolt', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '678c1f91-1825-4eb5-9960-bea05bd2ca87', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - nameSingular: 'view', - namePlural: 'views', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '312163f0-9b2f-4c59-8473-9eb1906b8f41', - name: 'viewFilters', - }, - targetObjectMetadata: { - __typename: 'object', - id: '88f29168-a15b-4330-89a1-680581a2e86b', - nameSingular: 'viewFilter', - namePlural: 'viewFilters', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'd3db3f5c-49f7-4008-b8a4-cec85ac3505e', - name: 'view', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4f39ff46-1298-4408-8db7-47ac99750ff9', - type: 'TEXT', - name: 'icon', - label: 'Icon', - description: 'View icon', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '90203b84-6898-4ced-976f-cfdb2c3aa691', - type: 'TEXT', - name: 'type', - label: 'Type', - description: 'View type', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'table'", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f82b5a4c-e41c-4d92-b36a-c18b5387d373', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites linked to the view', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '415982de-24e3-4428-a0cc-784d91a4a41c', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - nameSingular: 'view', - namePlural: 'views', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'f82b5a4c-e41c-4d92-b36a-c18b5387d373', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'f7905ef7-a551-41eb-877f-bd2feef547e0', - name: 'view', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2833387e-799c-44b9-a751-87acdefbd502', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'View position', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '763a455b-2f04-41be-b4d6-cc0c381bc7e9', - type: 'SELECT', - name: 'key', - label: 'Key', - description: 'View key', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'INDEX'", - options: [ - { - id: 'f425b635-b0f5-461b-a321-96e621c25a5d', - color: 'red', - label: 'Index', - value: 'INDEX', - position: 0, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8c46a404-3ed7-4a94-8a02-e9b03197de5e', - type: 'RELATION', - name: 'viewFields', - label: 'View Fields', - description: 'View Fields', - icon: 'IconTag', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7184d260-316e-4e2c-af72-431957b1af98', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - nameSingular: 'view', - namePlural: 'views', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '8c46a404-3ed7-4a94-8a02-e9b03197de5e', - name: 'viewFields', - }, - targetObjectMetadata: { - __typename: 'object', - id: '50f61b05-868d-425b-ab3f-c085e1652d82', - nameSingular: 'viewField', - namePlural: 'viewFields', - }, - targetFieldMetadata: { - __typename: 'field', - id: '911faf74-aef1-4b31-a5a3-f1ed80496f18', - name: 'view', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'db666f56-a9ac-41a3-9a41-bb172dbc9cae', - type: 'RELATION', - name: 'viewSorts', - label: 'View Sorts', - description: 'View Sorts', - icon: 'IconArrowsSort', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '05ae03d1-1a38-4c4e-bbe1-f46ca40ece76', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - nameSingular: 'view', - namePlural: 'views', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'db666f56-a9ac-41a3-9a41-bb172dbc9cae', - name: 'viewSorts', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'c55193eb-042d-42d5-a6a7-8263fd1433a2', - nameSingular: 'viewSort', - namePlural: 'viewSorts', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'd0bce78c-57eb-48c1-9a66-5e0de3d63a61', - name: 'view', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '46ed3f5f-46da-4475-acae-0d91a634d7e2', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3bc56d31-4180-49d8-9aab-a5de97a6d180', - type: 'UUID', - name: 'objectMetadataId', - label: 'Object Metadata Id', - description: 'View target object', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6cefd31f-49fd-4e11-b306-3017ca5a653d', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'View name', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '196ec541-c7a6-49d3-bc76-138511d47263', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9802ccbc-bfab-42eb-b8f3-1f4cb61d3a26', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'opportunity', - namePlural: 'opportunities', - labelSingular: 'Opportunity', - labelPlural: 'Opportunities', - description: 'An opportunity', - icon: 'IconTargetArrow', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '08f7b793-78cc-4cc8-b0d3-19d9b7f61370', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '5c9d3acc-4705-4cc5-960e-73e436a0fad2', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_9f96d65260c4676faac27cb6bf3', - indexWhereClause: null, - indexType: 'GIN', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '7535eeab-940b-4f4f-a541-8a32da4b80a2', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_425ac6c73ecb993cf9cbc2c2b00', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '27564152-a4a9-4e1e-804e-541cfb4318a7', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_82cdf247553f960093baa7c6635', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'defacb32-eb1f-4538-a17b-6032425ad870', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'a6152400-37e6-4cb1-91e0-50d2e9f88801', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'd269e2cd-5b30-4252-90ff-ee583e2be728', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '665675f5-e856-489e-8f05-0233a3c40507', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '0d3d7f9e-cce7-4eef-8c7d-381d12fc4606', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_4f469d3a7ee08aefdc099836364', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '06af04f3-4899-460b-be19-2a821c327eec', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '368d7023-7d0d-4c18-98f5-b83b2633e689', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'ac9fa71b-6751-4f9d-93b1-8321aff03e6f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '665675f5-e856-489e-8f05-0233a3c40507', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjIw', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9637bff7-b622-48f7-8f6c-2ea7ee18edef', - type: 'RELATION', - name: 'noteTargets', - label: 'Notes', - description: 'Notes tied to the opportunity', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '48b33f6e-6f79-4990-9d3a-7bc3ae6020bb', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '9637bff7-b622-48f7-8f6c-2ea7ee18edef', - name: 'noteTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'fa189561-0de7-478f-8673-9f6b68527bed', - name: 'opportunity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6e66cbc4-5e29-4bea-85ce-2dd4eda73a73', - type: 'TS_VECTOR', - name: 'searchVector', - label: 'Search vector', - description: 'Field used for full-text search', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a6152400-37e6-4cb1-91e0-50d2e9f88801', - type: 'UUID', - name: 'pointOfContactId', - label: 'Point of Contact id (foreign key)', - description: 'Opportunity point of contact id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '788977f3-a7c3-4686-8d46-a915649d524d', - type: 'ACTOR', - name: 'createdBy', - label: 'Created by', - description: 'The creator of the record', - icon: 'IconCreativeCommonsSa', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - name: "''", - source: "'MANUAL'", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '23df41ee-2db8-4901-bab4-7ebbc763f5b7', - type: 'CURRENCY', - name: 'amount', - label: 'Amount', - description: 'Opportunity amount', - icon: 'IconCurrencyDollar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - amountMicros: null, - currencyCode: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c7d6d50c-3677-4639-8c2e-801ac13be879', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a679e0f1-1766-4814-ac8e-64b82329cdb9', - type: 'RELATION', - name: 'company', - label: 'Company', - description: 'Opportunity company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'c2fcfb71-1f23-47b7-a818-27371a165214', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'a679e0f1-1766-4814-ac8e-64b82329cdb9', - name: 'company', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: '8323137c-6b37-4ec2-9977-accefa773841', - name: 'opportunities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '30756ebf-d27c-4ffb-a30f-8a04b909839f', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites linked to the opportunity', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '85086085-d6fb-4f1c-9f77-1edd0b07adcb', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '30756ebf-d27c-4ffb-a30f-8a04b909839f', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: '0d9f922f-d7db-485e-b5ff-1293a0b51dc9', - name: 'opportunity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ed057590-4d06-4159-a153-48f124dfed73', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '08f7b793-78cc-4cc8-b0d3-19d9b7f61370', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'The opportunity name', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '665675f5-e856-489e-8f05-0233a3c40507', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd560e379-92da-454c-9f4a-1be6d5543816', - type: 'RELATION', - name: 'timelineActivities', - label: 'Timeline Activities', - description: - 'Timeline Activities linked to the opportunity.', - icon: 'IconTimelineEvent', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0f840679-a025-4d20-9bc0-102e5865dda0', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'd560e379-92da-454c-9f4a-1be6d5543816', - name: 'timelineActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '58dbba6f-4a0c-4db7-883a-8a99618be069', - name: 'opportunity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3d67a957-e029-4f7d-b04d-8fedb77a4c57', - type: 'DATE_TIME', - name: 'closeDate', - label: 'Close date', - description: 'Opportunity close date', - icon: 'IconCalendarEvent', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd9ca2742-9b92-47b2-8af3-63121919d3e6', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Opportunity record position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ba574a70-ed4f-450b-be6b-71907d7264cd', - type: 'RELATION', - name: 'activityTargets', - label: 'Activities', - description: 'Activities tied to the opportunity', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'a0f78a63-3342-48c2-966d-2de9111ef8ca', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'ba574a70-ed4f-450b-be6b-71907d7264cd', - name: 'activityTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '36de1418-2c3d-4444-b88f-606993e3d796', - name: 'opportunity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'db2d038b-73d8-4c99-a709-8737e7e6658c', - type: 'RELATION', - name: 'taskTargets', - label: 'Tasks', - description: 'Tasks tied to the opportunity', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '3edc0e3a-d735-4b9c-ac34-352b48a6e705', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'db2d038b-73d8-4c99-a709-8737e7e6658c', - name: 'taskTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'f0adc079-73ce-4316-80e0-90295a7192f1', - name: 'opportunity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '368d7023-7d0d-4c18-98f5-b83b2633e689', - type: 'SELECT', - name: 'stage', - label: 'Stage', - description: 'Opportunity stage', - icon: 'IconProgressCheck', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'NEW'", - options: [ - { - id: '1127a5a1-03ee-4cfd-8319-4b33603f93d7', - color: 'red', - label: 'New', - value: 'NEW', - position: 0, - }, - { - id: '5d04982d-f01c-4ad4-8487-d0a12998fbb5', - color: 'purple', - label: 'Screening', - value: 'SCREENING', - position: 1, - }, - { - id: 'ec927e11-84b1-4d43-a948-cb6ed0642a52', - color: 'sky', - label: 'Meeting', - value: 'MEETING', - position: 2, - }, - { - id: 'f92507db-1c45-496f-9647-ca3d9014d1f1', - color: 'turquoise', - label: 'Proposal', - value: 'PROPOSAL', - position: 3, - }, - { - id: 'ca5dea89-f5d5-42e2-b623-c43663338c0a', - color: 'yellow', - label: 'Customer', - value: 'CUSTOMER', - position: 4, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f2b2e717-0c19-417c-b81a-98d95cadcc67', - type: 'RELATION', - name: 'attachments', - label: 'Attachments', - description: 'Attachments linked to the opportunity', - icon: 'IconFileImport', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0984e2b5-1ba8-46d8-ade2-11bf79f52557', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'f2b2e717-0c19-417c-b81a-98d95cadcc67', - name: 'attachments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'f84f5b1b-70b1-4d06-9093-d4be29917d3e', - name: 'opportunity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '24a6beff-2f9f-4dd6-8d77-728080e72adb', - type: 'RELATION', - name: 'pointOfContact', - label: 'Point of Contact', - description: 'Opportunity point of contact', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'cdcedc94-c874-441c-a3ee-9d787cc67cce', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '24a6beff-2f9f-4dd6-8d77-728080e72adb', - name: 'pointOfContact', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'fd058bb2-7fee-4d8c-8cce-031cb50e7bfe', - name: 'pointOfContactForOpportunities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5defb8ea-aeae-4f30-a5de-86a67f285c8e', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '20d9ac99-1460-4382-ba48-1a2fd242b4f9', - type: 'UUID', - name: 'companyId', - label: 'Company id (foreign key)', - description: 'Opportunity company id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'person', - namePlural: 'people', - labelSingular: 'Person', - labelPlural: 'People', - description: 'A person', - icon: 'IconUser', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '7da10df3-f210-421f-9003-533fe5a19dee', - imageIdentifierFieldMetadataId: - '4c3340cd-5177-41e3-a76a-12bd85f413b8', - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '88deeb4f-02da-4415-9b86-c706e1f9018f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_UNIQUE_87914cd3ce963115f8cb943e2ac', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: true, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'c691cb88-ca83-418f-8b47-a0781ef6be3c', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_6a862a788ac6ce967afa06df812', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'd26f789a-9291-4e84-8e9e-4d8cb2cb0a8e', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '9733d9e6-cfea-45ca-b8e3-2368c72c6c22', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'f021ef99-96fc-46aa-8c92-0fea7900e780', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_bbd7aec1976fc684a0a5e4816c9', - indexWhereClause: null, - indexType: 'GIN', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'd80aa4d1-5fbe-4921-8dda-b69d6fbe4a38', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '7b699b17-5d81-41cd-a16c-a9e678a6ab40', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjI5', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0dec9acf-ed41-4b67-8722-a16296bd79aa', - type: 'RELATION', - name: 'calendarEventParticipants', - label: 'Calendar Event Participants', - description: 'Calendar Event Participants', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'd0aca517-d1b2-4923-a374-65c899bf677d', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '0dec9acf-ed41-4b67-8722-a16296bd79aa', - name: 'calendarEventParticipants', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'af56ee43-5666-482f-a980-434fefac00c7', - nameSingular: 'calendarEventParticipant', - namePlural: 'calendarEventParticipants', - }, - targetFieldMetadata: { - __typename: 'field', - id: '3ffb6e9f-600b-40bd-90b8-d042607b3c64', - name: 'person', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '561cbb88-39b8-47e2-9f48-6ed929f6ca2a', - type: 'RELATION', - name: 'attachments', - label: 'Attachments', - description: 'Attachments linked to the contact.', - icon: 'IconFileImport', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0a89048f-6e64-4a8d-ad24-51ab63af3a85', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '561cbb88-39b8-47e2-9f48-6ed929f6ca2a', - name: 'attachments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '144087ac-d621-4897-8172-14578d80a07b', - name: 'person', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b0200630-5587-4c10-b5ca-1d1344ee2343', - type: 'RELATION', - name: 'noteTargets', - label: 'Notes', - description: 'Notes tied to the contact', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '9eac5248-f58a-49d3-ab69-376c12f71680', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'b0200630-5587-4c10-b5ca-1d1344ee2343', - name: 'noteTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '63ae8928-a35e-4053-bf6c-ee548e3614c4', - name: 'person', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6eed0523-94de-4b4b-8c11-8173b1efbd84', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '81f8a863-1a7a-40ed-a6bc-c1217122a9e4', - type: 'RATING', - name: 'performanceRating', - label: 'Performance Rating', - description: "Person's Performance Rating", - icon: 'IconStars', - isCustom: true, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.600Z', - updatedAt: '2024-10-10T15:05:42.600Z', - defaultValue: null, - options: [ - { - id: '1a96cbbe-4d42-4796-b1cc-d7d57f64af0d', - label: '1', - value: 'RATING_1', - position: 0, - }, - { - id: '4357a50c-5ce4-4b21-b667-cf330053dd2b', - label: '2', - value: 'RATING_2', - position: 1, - }, - { - id: 'a884885a-1eba-4c22-84f2-28d4b60387af', - label: '3', - value: 'RATING_3', - position: 2, - }, - { - id: '4336f387-6651-4be8-8c3d-5e4e21091087', - label: '4', - value: 'RATING_4', - position: 3, - }, - { - id: 'b7a661cc-67b1-4c40-a8bf-bcab4912d086', - label: '5', - value: 'RATING_5', - position: 4, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '40d5dd09-08b0-4b6b-af56-2983d6437941', - type: 'TEXT', - name: 'city', - label: 'City', - description: 'Contact’s city', - icon: 'IconMap', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '418c54ba-a0da-4feb-8198-9287bf38e31c', - type: 'RELATION', - name: 'activityTargets', - label: 'Activities', - description: 'Activities tied to the contact', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '85634196-b66b-4921-b30f-c4e078b58926', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '418c54ba-a0da-4feb-8198-9287bf38e31c', - name: 'activityTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '54a9d278-cf83-4152-bdfb-f26245d39d65', - name: 'person', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2b4a6b30-b62d-4c77-a0ee-c4107d999451', - type: 'EMAILS', - name: 'emails', - label: 'Emails', - description: 'Contact’s Emails', - icon: 'IconMail', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - primaryEmail: "''", - additionalEmails: null, - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c502a91b-fde5-426b-aa27-a856ad28fc71', - type: 'RELATION', - name: 'messageParticipants', - label: 'Message Participants', - description: 'Message Participants', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '89f811eb-6211-4b53-bc32-1acf1241a5dd', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'c502a91b-fde5-426b-aa27-a856ad28fc71', - name: 'messageParticipants', - }, - targetObjectMetadata: { - __typename: 'object', - id: '6edf5dd8-ee31-42ec-80f9-728b01c50ff4', - nameSingular: 'messageParticipant', - namePlural: 'messageParticipants', - }, - targetFieldMetadata: { - __typename: 'field', - id: '8507c38d-6f90-4b15-afa1-19b749774092', - name: 'person', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b9d318fd-1f3c-45eb-afcc-1f0a4133e2a4', - type: 'MULTI_SELECT', - name: 'workPreference', - label: 'Work Preference', - description: "Person's Work Preference", - icon: 'IconHome', - isCustom: true, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.497Z', - updatedAt: '2024-10-10T15:05:42.497Z', - defaultValue: null, - options: [ - { - id: 'd93d744c-999d-44ce-b374-cedffe58a570', - color: 'green', - label: 'On-Site', - value: 'ON_SITE', - position: 0, - }, - { - id: '0c1c6f5c-e2ad-4330-9855-06982c930095', - color: 'turquoise', - label: 'Hybrid', - value: 'HYBRID', - position: 1, - }, - { - id: '56ab2069-89ce-491e-8743-6260ad4e906c', - color: 'sky', - label: 'Remote Work', - value: 'REMOTE_WORK', - position: 2, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '812d8e31-43da-429c-8189-391e7492e6f5', - type: 'PHONES', - name: 'whatsapp', - label: 'Whatsapp', - description: "Contact's Whatsapp Number", - icon: 'IconBrandWhatsapp', - isCustom: true, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:42.397Z', - updatedAt: '2024-10-10T15:05:42.397Z', - defaultValue: [ - { - additionalPhones: {}, - primaryPhoneNumber: '', - primaryPhoneCountryCode: '', - }, - ], - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9f20ae61-c8c6-40a9-b1c0-c4e1417affee', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Person record Position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f62802b9-ef34-4186-8db9-ab2d365aa51a', - type: 'ACTOR', - name: 'createdBy', - label: 'Created by', - description: 'The creator of the record', - icon: 'IconCreativeCommonsSa', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - name: "''", - source: "'MANUAL'", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7b699b17-5d81-41cd-a16c-a9e678a6ab40', - type: 'TS_VECTOR', - name: 'searchVector', - label: 'Search vector', - description: 'Field used for full-text search', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '60664773-e0eb-4376-8d17-543eca22b19d', - type: 'PHONES', - name: 'phones', - label: 'Phones', - description: 'Contact’s phone numbers', - icon: 'IconPhone', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - additionalPhones: null, - primaryPhoneNumber: "''", - primaryPhoneCountryCode: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '89da564c-2cb7-4ffa-9bfb-b067222d167c', - type: 'LINKS', - name: 'linkedinLink', - label: 'Linkedin', - description: 'Contact’s Linkedin account', - icon: 'IconBrandLinkedin', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - primaryLinkUrl: "''", - secondaryLinks: null, - primaryLinkLabel: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fd058bb2-7fee-4d8c-8cce-031cb50e7bfe', - type: 'RELATION', - name: 'pointOfContactForOpportunities', - label: 'Linked Opportunities', - description: - 'List of opportunities for which that person is the point of contact', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'cdcedc94-c874-441c-a3ee-9d787cc67cce', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'fd058bb2-7fee-4d8c-8cce-031cb50e7bfe', - name: 'pointOfContactForOpportunities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '24a6beff-2f9f-4dd6-8d77-728080e72adb', - name: 'pointOfContact', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '90040907-df23-4e64-a35e-b1f109b730b5', - type: 'TEXT', - name: 'jobTitle', - label: 'Job Title', - description: 'Contact’s job title', - icon: 'IconBriefcase', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4c3340cd-5177-41e3-a76a-12bd85f413b8', - type: 'TEXT', - name: 'avatarUrl', - label: 'Avatar', - description: 'Contact’s avatar', - icon: 'IconFileUpload', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '06a69687-dab0-4edd-ba1b-1e23c01ddd11', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7da10df3-f210-421f-9003-533fe5a19dee', - type: 'FULL_NAME', - name: 'name', - label: 'Name', - description: 'Contact’s name', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - lastName: "''", - firstName: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9733d9e6-cfea-45ca-b8e3-2368c72c6c22', - type: 'UUID', - name: 'companyId', - label: 'Company id (foreign key)', - description: 'Contact’s company id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '80092f7e-405b-4a94-b767-cdf877b2ef41', - type: 'RELATION', - name: 'taskTargets', - label: 'Tasks', - description: 'Tasks tied to the contact', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7fd53175-abb0-470e-a394-9c1de590b24e', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '80092f7e-405b-4a94-b767-cdf877b2ef41', - name: 'taskTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '80b77505-9340-45f2-8c9e-931754da1192', - name: 'person', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '42052d18-6fab-4d08-bb69-667683392617', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites linked to the contact', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '033e99d2-7a1a-405c-950d-06031b93a773', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '42052d18-6fab-4d08-bb69-667683392617', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: '7626da40-ddb4-4cbc-8554-441f9785ef5e', - name: 'person', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7d307698-eece-4e31-8c4c-7d5d596eb542', - type: 'RELATION', - name: 'company', - label: 'Company', - description: 'Contact’s company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '659373cb-ab85-4d36-aed2-58789be66d23', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '7d307698-eece-4e31-8c4c-7d5d596eb542', - name: 'company', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: '7fbd8d22-49a3-4c55-a80b-1876129eee86', - name: 'people', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '81bb2a30-e02d-48ff-925d-14a6c84d535c', - type: 'RELATION', - name: 'timelineActivities', - label: 'Events', - description: 'Events linked to the person', - icon: 'IconTimelineEvent', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '66a4759e-f5f3-4979-9891-f7c8c60143df', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '81bb2a30-e02d-48ff-925d-14a6c84d535c', - name: 'timelineActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'ac01d46e-e6da-42d7-aa8b-16eb964485fa', - name: 'person', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '17fc5491-8def-413f-8f02-e1e70bcacbb2', - type: 'TEXT', - name: 'intro', - label: 'Intro', - description: "Contact's Intro", - icon: 'IconNote', - isCustom: true, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:42.312Z', - updatedAt: '2024-10-10T15:05:42.312Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1144f285-5116-49ac-91c1-347877888fcf', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '745f585b-7ac3-45c1-9d3a-c984f420c32a', - type: 'LINKS', - name: 'xLink', - label: 'X', - description: 'Contact’s X/Twitter account', - icon: 'IconBrandX', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - primaryLinkUrl: "''", - secondaryLinks: null, - primaryLinkLabel: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1929a65e-2e30-4b56-8f85-5c18d9948b57', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - labelSingular: 'Timeline Activity', - labelPlural: 'Timeline Activities', - description: - 'Aggregated / filtered event to be displayed on the timeline', - icon: 'IconIconTimelineEvent', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '86139958-429c-4d36-80b6-a6faa4ed80ef', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'd019f884-cea1-4b6a-a1c7-cb75a63a8bb1', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_a98bc2277b52c6dd52303e52c21', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '766b1864-0ba4-4b3d-b8df-a35c81af7f35', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'a1c53a03-7e99-4d03-bab4-7c7f04f6790e', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '956842c7-621e-41a9-95de-8c68f16e3136', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'd9162917-c820-4002-8241-0de6ad5ad8d7', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '645073b7-e8e5-49de-8b3f-3f9720296159', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_84b1e01cb0480e514a6e7ec0095', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'ada56d55-9814-424e-83da-9b584ea0a94b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'a1c53a03-7e99-4d03-bab4-7c7f04f6790e', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '98810481-bd9a-4ab1-bc2c-2c81e4880f50', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'e0415588-ce4c-4715-8027-73e4f59ce40b', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '6620b20c-e1c7-48c3-a949-4ddd7e121fd0', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_7e0d952730f13369e3bd9c2f1a9', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'd9ca91ee-6794-4c20-b691-74f0f4091e62', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'a1c53a03-7e99-4d03-bab4-7c7f04f6790e', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'f559be97-9dae-416c-99df-399a3196f84c', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '27af584b-7869-48cd-82bf-b7cea235cfbb', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'b0a44268-a8cc-4d34-b6ac-2c4f41daa993', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_a930d316a6b4f3b81d3f026dd16', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'd7209fa3-c69a-4999-9e19-ae7e7ceee1c0', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'ced82236-eddf-45f8-8378-6a84b285c8ba', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '0bb617e3-ede3-40d2-b4f6-617bba617132', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_b292fe34a9e2d55884febd07e93', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '173120ce-b190-45d5-9fe5-c2324268c4ed', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'a1c53a03-7e99-4d03-bab4-7c7f04f6790e', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '9876795c-3bdc-4f96-9500-a078d118117f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '0af727ed-8edf-438f-ad53-b9b8b4af8bc1', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '68babc5a-ed9a-4b27-b2a9-b20224b46f9a', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_daf6592d1dff4cff3401bf23c67', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '7b157673-8b45-479e-a460-6dca57c36204', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'a1c53a03-7e99-4d03-bab4-7c7f04f6790e', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '3e40e0d6-d4c1-4a34-a9c1-df89ee8cd6d4', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'fe1628ec-c28d-4fcb-9e43-b9335be3ef81', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjIz', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a1c53a03-7e99-4d03-bab4-7c7f04f6790e', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '58dbba6f-4a0c-4db7-883a-8a99618be069', - type: 'RELATION', - name: 'opportunity', - label: 'Opportunity', - description: 'Event opportunity', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0f840679-a025-4d20-9bc0-102e5865dda0', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '58dbba6f-4a0c-4db7-883a-8a99618be069', - name: 'opportunity', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'd560e379-92da-454c-9f4a-1be6d5543816', - name: 'timelineActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3156baf4-4034-4c43-bba6-345807b15bc3', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '93e24db5-c860-420d-90eb-782c3855a36d', - type: 'RELATION', - name: 'workspaceMember', - label: 'Workspace Member', - description: 'Event workspace member', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '5622d0fd-cbf2-4baa-8be9-bc5ea20d321b', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '93e24db5-c860-420d-90eb-782c3855a36d', - name: 'workspaceMember', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: '6d033705-c48b-43e0-9cc1-5191c0f9ecd2', - name: 'timelineActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd9162917-c820-4002-8241-0de6ad5ad8d7', - type: 'UUID', - name: 'noteId', - label: 'Note id (foreign key)', - description: 'Event note id foreign key', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8376c21d-fd88-4006-b8d7-40d1f27692ac', - type: 'RELATION', - name: 'note', - label: 'Note', - description: 'Event note', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '49ad3d9a-01a3-4c82-b6bc-a8d21398e51a', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '8376c21d-fd88-4006-b8d7-40d1f27692ac', - name: 'note', - }, - targetObjectMetadata: { - __typename: 'object', - id: '6a09bc08-33ae-4321-868a-30064279097f', - nameSingular: 'note', - namePlural: 'notes', - }, - targetFieldMetadata: { - __typename: 'field', - id: '325aafc9-525a-457e-9f67-15a8994bd6b8', - name: 'timelineActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2d6776a4-7f43-46a6-9fbf-cf1fa21cd13f', - type: 'DATE_TIME', - name: 'happensAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a8323586-5ff9-491c-a067-ae4a348adaf5', - type: 'TEXT', - name: 'linkedRecordCachedName', - label: 'Linked Record cached name', - description: 'Cached record name', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f4341a81-fcba-4480-a757-929635181162', - type: 'UUID', - name: 'rocketId', - label: 'Rocket ID (foreign key)', - description: 'Timeline Activity Rocket id foreign key', - icon: null, - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.708Z', - updatedAt: '2024-10-10T15:05:42.708Z', - defaultValue: null, - options: null, - settings: { - isForeignKey: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '86139958-429c-4d36-80b6-a6faa4ed80ef', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '41761644-f778-43cb-a5d8-80286d7dee8c', - type: 'TEXT', - name: 'name', - label: 'Event name', - description: 'Event name', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fe1628ec-c28d-4fcb-9e43-b9335be3ef81', - type: 'UUID', - name: 'personId', - label: 'Person id (foreign key)', - description: 'Event person id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7d14aef8-f63c-47cd-8ce7-29806518d6ca', - type: 'RELATION', - name: 'rocket', - label: 'Rocket', - description: 'Timeline Activity Rocket', - icon: 'IconTimeline', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.709Z', - updatedAt: '2024-10-10T15:05:42.709Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'f8ddd621-26f4-4fa8-b426-3f545094bd5f', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '7d14aef8-f63c-47cd-8ce7-29806518d6ca', - name: 'rocket', - }, - targetObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'baea02d1-1817-4df3-b9eb-c8020452f3e0', - name: 'timelineActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5096824c-bd72-488b-902e-e5768070e736', - type: 'RELATION', - name: 'company', - label: 'Company', - description: 'Event company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0f9bad06-3762-4797-9079-d7d190da55e5', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '5096824c-bd72-488b-902e-e5768070e736', - name: 'company', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: '50c723e9-af8c-455e-a9c6-0dbd591b0258', - name: 'timelineActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e0415588-ce4c-4715-8027-73e4f59ce40b', - type: 'UUID', - name: 'companyId', - label: 'Company id (foreign key)', - description: 'Event company id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4e1bab9b-3855-42c5-b0ea-7fcc119949fe', - type: 'UUID', - name: 'linkedObjectMetadataId', - label: 'Linked Object Metadata Id', - description: 'inked Object Metadata Id', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ced82236-eddf-45f8-8378-6a84b285c8ba', - type: 'UUID', - name: 'workspaceMemberId', - label: 'Workspace Member id (foreign key)', - description: 'Event workspace member id foreign key', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '49b48088-8d98-4d8d-a9a8-c4f8f462aa72', - type: 'RELATION', - name: 'task', - label: 'Task', - description: 'Event task', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'e940e46a-ab1a-4e0c-82a4-1af978adcc2c', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '49b48088-8d98-4d8d-a9a8-c4f8f462aa72', - name: 'task', - }, - targetObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - targetFieldMetadata: { - __typename: 'field', - id: '77726d5f-43e6-4011-952a-d9585dc14597', - name: 'timelineActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ac01d46e-e6da-42d7-aa8b-16eb964485fa', - type: 'RELATION', - name: 'person', - label: 'Person', - description: 'Event person', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '66a4759e-f5f3-4979-9891-f7c8c60143df', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'ac01d46e-e6da-42d7-aa8b-16eb964485fa', - name: 'person', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: '81bb2a30-e02d-48ff-925d-14a6c84d535c', - name: 'timelineActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c1522e3e-e03f-43d3-971c-af60e584ca7a', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1a313c5f-8fbe-4986-9d1c-933e9ed4053c', - type: 'RAW_JSON', - name: 'properties', - label: 'Event details', - description: 'Json value for event details', - icon: 'IconListDetails', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0af727ed-8edf-438f-ad53-b9b8b4af8bc1', - type: 'UUID', - name: 'taskId', - label: 'Task id (foreign key)', - description: 'Event task id foreign key', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0a5469c0-341b-4085-bc79-a75bae50a278', - type: 'UUID', - name: 'linkedRecordId', - label: 'Linked Record id', - description: 'Linked Record id', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '27af584b-7869-48cd-82bf-b7cea235cfbb', - type: 'UUID', - name: 'opportunityId', - label: 'Opportunity id (foreign key)', - description: 'Event opportunity id foreign key', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: 'af56ee43-5666-482f-a980-434fefac00c7', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'calendarEventParticipant', - namePlural: 'calendarEventParticipants', - labelSingular: 'Calendar event participant', - labelPlural: 'Calendar event participants', - description: 'Calendar event participants', - icon: 'IconCalendar', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'cfcd1013-a7a8-492d-acbe-c5266baed6cd', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '6c2da5c4-b0b0-41d1-967b-7dfc0fac7a06', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_0da422bbe7adbabb8144c696ebd', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '8ffd767f-2987-402f-8a27-13245a019583', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '5434e1fa-b089-4dd2-ba71-230ec323236f', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '8c3e1ee1-755e-4984-8ee0-15468d599b5f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_dd22aee9059fd7002165df6d8cc', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '8de5e4bc-53ba-44ee-821c-d4ec87ef7997', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'af004cd3-1b68-41be-a50a-6e406c979968', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '914d1b2f-2ff6-40ad-94fe-e64b4eda1dae', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_2bf094726f6d91639302c1c143d', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '6d19cbcf-1260-4188-a3bb-dd6360f89851', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'ab0136fe-6d3a-469a-81ef-a3c5f4426226', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '0de99eff-7da0-4dbd-a5be-823464ed6522', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'af004cd3-1b68-41be-a50a-6e406c979968', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEz', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3c4d9816-97f2-4528-ab9b-47013dd6fa12', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '733e467e-f258-4d83-aa99-2db4674a9c10', - type: 'SELECT', - name: 'responseStatus', - label: 'Response Status', - description: 'Response Status', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'NEEDS_ACTION'", - options: [ - { - id: 'f42abc88-10a8-4e85-8beb-22c099372e83', - color: 'orange', - label: 'Needs Action', - value: 'NEEDS_ACTION', - position: 0, - }, - { - id: '4ba52cef-ccdb-4e62-a811-6f7db31fb836', - color: 'red', - label: 'Declined', - value: 'DECLINED', - position: 1, - }, - { - id: '790aa598-64bc-4be7-a1f1-c87380fbcc36', - color: 'yellow', - label: 'Tentative', - value: 'TENTATIVE', - position: 2, - }, - { - id: '777111bf-a14a-4e36-9626-647c75978155', - color: 'green', - label: 'Accepted', - value: 'ACCEPTED', - position: 3, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '77115ac7-f8d1-486f-9c8d-020532f996c1', - type: 'TEXT', - name: 'displayName', - label: 'Display Name', - description: 'Display Name', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '409c079f-742a-4bf5-a710-c782544fa21b', - type: 'RELATION', - name: 'workspaceMember', - label: 'Workspace Member', - description: 'Workspace Member', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '15a3fcda-90b1-4599-a31c-bd0807184401', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'af56ee43-5666-482f-a980-434fefac00c7', - nameSingular: 'calendarEventParticipant', - namePlural: 'calendarEventParticipants', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '409c079f-742a-4bf5-a710-c782544fa21b', - name: 'workspaceMember', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'e167ca8f-66e1-4d49-8a2f-eb8c96c2285d', - name: 'calendarEventParticipants', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f75ef0a1-23d5-4504-8ccf-5729806d14b5', - type: 'RELATION', - name: 'calendarEvent', - label: 'Event ID', - description: 'Event ID', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'cd9d90ae-65c2-49b4-ac70-76335498e9f1', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'af56ee43-5666-482f-a980-434fefac00c7', - nameSingular: 'calendarEventParticipant', - namePlural: 'calendarEventParticipants', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'f75ef0a1-23d5-4504-8ccf-5729806d14b5', - name: 'calendarEvent', - }, - targetObjectMetadata: { - __typename: 'object', - id: '981fd8a9-37a2-4742-98c1-08509d995bd3', - nameSingular: 'calendarEvent', - namePlural: 'calendarEvents', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'db316e57-6812-40b7-8c9f-e85f0f492ca8', - name: 'calendarEventParticipants', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'cfcd1013-a7a8-492d-acbe-c5266baed6cd', - type: 'TEXT', - name: 'handle', - label: 'Handle', - description: 'Handle', - icon: 'IconMail', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'af004cd3-1b68-41be-a50a-6e406c979968', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f3a2d134-0b23-4bc6-a857-cbaeb85a54d8', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ab0136fe-6d3a-469a-81ef-a3c5f4426226', - type: 'UUID', - name: 'workspaceMemberId', - label: 'Workspace Member id (foreign key)', - description: 'Workspace Member id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3ffb6e9f-600b-40bd-90b8-d042607b3c64', - type: 'RELATION', - name: 'person', - label: 'Person', - description: 'Person', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'd0aca517-d1b2-4923-a374-65c899bf677d', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: 'af56ee43-5666-482f-a980-434fefac00c7', - nameSingular: 'calendarEventParticipant', - namePlural: 'calendarEventParticipants', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '3ffb6e9f-600b-40bd-90b8-d042607b3c64', - name: 'person', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: '0dec9acf-ed41-4b67-8722-a16296bd79aa', - name: 'calendarEventParticipants', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '57fa6b52-2169-4ecf-ab1a-6c5a5983dbb4', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5434e1fa-b089-4dd2-ba71-230ec323236f', - type: 'UUID', - name: 'personId', - label: 'Person id (foreign key)', - description: 'Person id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '40d7bc5e-2d27-4fb4-afd8-99434799e144', - type: 'BOOLEAN', - name: 'isOrganizer', - label: 'Is Organizer', - description: 'Is Organizer', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: false, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f5a2f8c3-aff4-484e-9dc6-5a649031dc5f', - type: 'UUID', - name: 'calendarEventId', - label: 'Event ID id (foreign key)', - description: 'Event ID id foreign key', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '981fd8a9-37a2-4742-98c1-08509d995bd3', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'calendarEvent', - namePlural: 'calendarEvents', - labelSingular: 'Calendar event', - labelPlural: 'Calendar events', - description: 'Calendar events', - icon: 'IconCalendar', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '49a3400e-e71f-40cb-86b0-bfa8d2ef02ca', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjE3', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9d659849-ffbb-4550-9590-e6fa9967b586', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2d337999-7468-4f6f-bce0-87679dcb5e2f', - type: 'RELATION', - name: 'calendarChannelEventAssociations', - label: 'Calendar Channel Event Associations', - description: 'Calendar Channel Event Associations', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'daa269f7-c111-492e-88c8-1bfe82e3d637', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '981fd8a9-37a2-4742-98c1-08509d995bd3', - nameSingular: 'calendarEvent', - namePlural: 'calendarEvents', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '2d337999-7468-4f6f-bce0-87679dcb5e2f', - name: 'calendarChannelEventAssociations', - }, - targetObjectMetadata: { - __typename: 'object', - id: '149f1a0d-f528-48a3-a3f8-0203926d07f5', - nameSingular: 'calendarChannelEventAssociation', - namePlural: 'calendarChannelEventAssociations', - }, - targetFieldMetadata: { - __typename: 'field', - id: '1dc48a6a-270b-466a-8e11-9efd02729791', - name: 'calendarEvent', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd83e0bfc-1879-4a13-92b1-e639f58b2d20', - type: 'TEXT', - name: 'description', - label: 'Description', - description: 'Description', - icon: 'IconFileDescription', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9dcd16f4-35f6-4cd3-b13a-6d9f18d6ef3c', - type: 'TEXT', - name: 'conferenceSolution', - label: 'Conference Solution', - description: 'Conference Solution', - icon: 'IconScreenShare', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0500721b-4273-4d6b-be4c-3458ac521ef5', - type: 'BOOLEAN', - name: 'isFullDay', - label: 'Is Full Day', - description: 'Is Full Day', - icon: 'Icon24Hours', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: false, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '747dc06a-73f3-43cc-ac03-6195edd77034', - type: 'DATE_TIME', - name: 'startsAt', - label: 'Start Date', - description: 'Start Date', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd2e9755f-4593-452b-b3c0-8debd51153d6', - type: 'TEXT', - name: 'iCalUID', - label: 'iCal UID', - description: 'iCal UID', - icon: 'IconKey', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'db316e57-6812-40b7-8c9f-e85f0f492ca8', - type: 'RELATION', - name: 'calendarEventParticipants', - label: 'Event Participants', - description: 'Event Participants', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'cd9d90ae-65c2-49b4-ac70-76335498e9f1', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '981fd8a9-37a2-4742-98c1-08509d995bd3', - nameSingular: 'calendarEvent', - namePlural: 'calendarEvents', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'db316e57-6812-40b7-8c9f-e85f0f492ca8', - name: 'calendarEventParticipants', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'af56ee43-5666-482f-a980-434fefac00c7', - nameSingular: 'calendarEventParticipant', - namePlural: 'calendarEventParticipants', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'f75ef0a1-23d5-4504-8ccf-5729806d14b5', - name: 'calendarEvent', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c7a5ce10-8ca8-40ec-a989-45cb53475d4a', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '82922b98-0f27-421a-8b70-0b845fc827e7', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6edaa2aa-617d-4f54-906e-885682bd6d1c', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '918e7bcf-0afb-4857-9b35-ec307ccfb1ac', - type: 'DATE_TIME', - name: 'externalCreatedAt', - label: 'Creation DateTime', - description: 'Creation DateTime', - icon: 'IconCalendarPlus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '02e208a0-45cc-429b-ba83-32406e20cb2e', - type: 'DATE_TIME', - name: 'endsAt', - label: 'End Date', - description: 'End Date', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c0383d68-3275-4827-9350-f7a117869e16', - type: 'LINKS', - name: 'conferenceLink', - label: 'Meet Link', - description: 'Meet Link', - icon: 'IconLink', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - primaryLinkUrl: "''", - secondaryLinks: null, - primaryLinkLabel: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7bbecfaa-b414-40b7-b72e-e5285ff61818', - type: 'BOOLEAN', - name: 'isCanceled', - label: 'Is canceled', - description: 'Is canceled', - icon: 'IconCalendarCancel', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: false, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7a6164bc-0594-40de-94b6-b79065dadaca', - type: 'TEXT', - name: 'location', - label: 'Location', - description: 'Location', - icon: 'IconMapPin', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '49a3400e-e71f-40cb-86b0-bfa8d2ef02ca', - type: 'TEXT', - name: 'title', - label: 'Title', - description: 'Title', - icon: 'IconH1', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ba5611be-cafc-41bb-bdfc-a4881b6adb25', - type: 'DATE_TIME', - name: 'externalUpdatedAt', - label: 'Update DateTime', - description: 'Update DateTime', - icon: 'IconCalendarCog', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '92b529f1-b82b-4352-a0d5-18f32f8e47ab', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'messageChannel', - namePlural: 'messageChannels', - labelSingular: 'Message Channel', - labelPlural: 'Message Channels', - description: 'Message Channels', - icon: 'IconMessage', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'c6b9967f-3bf3-4de8-a0f7-1a5d8404068f', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'f45f65e3-0387-4af1-be3e-162dc3c77a62', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_c3af632ce35236d21f8ae1f4cfd', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '98488b85-c958-4fa4-9f8b-5b0387eee9e8', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '7365f80a-9b92-4aeb-81aa-0a25be7f0e97', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjIw', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4a315b5d-ec77-47cf-9467-cc3d86328f02', - type: 'RELATION', - name: 'connectedAccount', - label: 'Connected Account', - description: 'Connected Account', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '4b072b41-d4e4-4bb0-b64b-51b17887b5a3', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '92b529f1-b82b-4352-a0d5-18f32f8e47ab', - nameSingular: 'messageChannel', - namePlural: 'messageChannels', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '4a315b5d-ec77-47cf-9467-cc3d86328f02', - name: 'connectedAccount', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd828bda6-68e2-47f0-b0aa-b810b1f33981', - nameSingular: 'connectedAccount', - namePlural: 'connectedAccounts', - }, - targetFieldMetadata: { - __typename: 'field', - id: '7036df84-657d-4e56-bb7b-48a8c72df2be', - name: 'messageChannels', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b38ce87f-490e-4787-b665-096ca83ea9d7', - type: 'DATE_TIME', - name: 'syncStageStartedAt', - label: 'Sync stage started at', - description: 'Sync stage started at', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'df4c1a6b-ed46-4ca5-baf7-6f0fb053e1bf', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2db95ca6-4d28-46a1-aef8-7e947244bf17', - type: 'SELECT', - name: 'type', - label: 'Type', - description: 'Channel Type', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'email'", - options: [ - { - id: 'dda1da8b-785f-4d7f-8f42-8e9f48c3ba7d', - color: 'green', - label: 'Email', - value: 'email', - position: 0, - }, - { - id: '72d3ec38-a442-442b-bea8-34252a14769b', - color: 'blue', - label: 'SMS', - value: 'sms', - position: 1, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '58657610-ed68-4735-933e-390cfa3b448a', - type: 'TEXT', - name: 'syncCursor', - label: 'Last sync cursor', - description: 'Last sync cursor', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '18c6892b-8723-41fd-b414-5fbd14e59fd4', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c6b9967f-3bf3-4de8-a0f7-1a5d8404068f', - type: 'TEXT', - name: 'handle', - label: 'Handle', - description: 'Handle', - icon: 'IconAt', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6a0dc17c-504f-4f37-b423-7e4a806b89df', - type: 'BOOLEAN', - name: 'excludeNonProfessionalEmails', - label: 'Exclude non professional emails', - description: 'Exclude non professional emails', - icon: 'IconBriefcase', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: true, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5e01dcbf-ed18-43e9-a2d0-ee3286d9d0bf', - type: 'UUID', - name: 'connectedAccountId', - label: 'Connected Account id (foreign key)', - description: 'Connected Account id foreign key', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '79232ac7-685b-4591-978c-7ce86bd10aec', - type: 'BOOLEAN', - name: 'isContactAutoCreationEnabled', - label: 'Is Contact Auto Creation Enabled', - description: 'Is Contact Auto Creation Enabled', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: true, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7365f80a-9b92-4aeb-81aa-0a25be7f0e97', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '90648e68-2f7c-4d0c-ab8a-79e6eec769ee', - type: 'RELATION', - name: 'messageChannelMessageAssociations', - label: 'Message Channel Association', - description: 'Messages from the channel.', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '612d689f-eb0d-4e6b-b72e-82acb8ae76e2', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '92b529f1-b82b-4352-a0d5-18f32f8e47ab', - nameSingular: 'messageChannel', - namePlural: 'messageChannels', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '90648e68-2f7c-4d0c-ab8a-79e6eec769ee', - name: 'messageChannelMessageAssociations', - }, - targetObjectMetadata: { - __typename: 'object', - id: '631882fd-28e8-4a87-8ceb-f8217006a620', - nameSingular: 'messageChannelMessageAssociation', - namePlural: 'messageChannelMessageAssociations', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'aac54567-521e-4fe8-a0bc-116f2aabf592', - name: 'messageChannel', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ee91dcdd-90d4-4258-9575-cf5a49c2c67c', - type: 'BOOLEAN', - name: 'excludeGroupEmails', - label: 'Exclude group emails', - description: 'Exclude group emails', - icon: 'IconUsersGroup', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: true, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b5da4f14-5aca-4311-bf0c-06a0678388a1', - type: 'BOOLEAN', - name: 'isSyncEnabled', - label: 'Is Sync Enabled', - description: 'Is Sync Enabled', - icon: 'IconRefresh', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: true, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3b99363d-b465-47ee-b7d6-8f9776c5aa84', - type: 'SELECT', - name: 'visibility', - label: 'Visibility', - description: 'Visibility', - icon: 'IconEyeglass', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'SHARE_EVERYTHING'", - options: [ - { - id: 'ab451f3e-e3c0-4695-bcdb-f4e1d4d80d9a', - color: 'green', - label: 'Metadata', - value: 'METADATA', - position: 0, - }, - { - id: '9b543bcd-1a4d-4daf-ac80-1bf6a10451e8', - color: 'blue', - label: 'Subject', - value: 'SUBJECT', - position: 1, - }, - { - id: '036d2ea4-5333-4131-9c07-6f59796388f3', - color: 'orange', - label: 'Share Everything', - value: 'SHARE_EVERYTHING', - position: 2, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2547a346-f71c-4f28-a7fd-6181ac26ea98', - type: 'NUMBER', - name: 'throttleFailureCount', - label: 'Throttle Failure Count', - description: 'Throttle Failure Count', - icon: 'IconX', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 0, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9b7e0a88-b635-4ce3-a401-0bd9429aec84', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6cc31dce-2ad0-443f-b4ba-54f2fdf11bb3', - type: 'SELECT', - name: 'contactAutoCreationPolicy', - label: 'Contact auto creation policy', - description: - 'Automatically create People records when receiving or sending emails', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'SENT'", - options: [ - { - id: '631a81c3-ac67-48c7-879f-f09e17696387', - color: 'green', - label: 'Sent and Received', - value: 'SENT_AND_RECEIVED', - position: 0, - }, - { - id: '229a6e5b-3299-4b75-ada7-7512be411ba5', - color: 'blue', - label: 'Sent', - value: 'SENT', - position: 1, - }, - { - id: '9cc86698-3cc4-439e-b1db-c7f3fcb57039', - color: 'red', - label: 'None', - value: 'NONE', - position: 2, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '01f7fe00-ee96-4c2e-a7e8-568cf750ee1e', - type: 'DATE_TIME', - name: 'syncedAt', - label: 'Last sync date', - description: 'Last sync date', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7ebfb686-ecb8-422b-b0e0-f657876f54ae', - type: 'SELECT', - name: 'syncStatus', - label: 'Sync status', - description: 'Sync status', - icon: 'IconStatusChange', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: [ - { - id: '0401fe59-2ba4-4fb7-987f-f034cc320dc0', - color: 'yellow', - label: 'Ongoing', - value: 'ONGOING', - position: 1, - }, - { - id: '39e83b69-9c92-40dc-9d56-108c0cc503df', - color: 'blue', - label: 'Not Synced', - value: 'NOT_SYNCED', - position: 2, - }, - { - id: '9add7229-e120-492f-bb55-2331213d816e', - color: 'green', - label: 'Active', - value: 'ACTIVE', - position: 3, - }, - { - id: '2f387da6-5621-4a98-a393-2afbb6dca0cc', - color: 'red', - label: 'Failed Insufficient Permissions', - value: 'FAILED_INSUFFICIENT_PERMISSIONS', - position: 4, - }, - { - id: 'e7ae1d24-0d7b-47bf-b9f5-37c58f339b19', - color: 'red', - label: 'Failed Unknown', - value: 'FAILED_UNKNOWN', - position: 5, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6b5d2d3d-7f2c-473c-a480-72f0118a94fe', - type: 'SELECT', - name: 'syncStage', - label: 'Sync stage', - description: 'Sync stage', - icon: 'IconStatusChange', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'FULL_MESSAGE_LIST_FETCH_PENDING'", - options: [ - { - id: 'a1249249-c073-4722-9959-9080e9f280e8', - color: 'blue', - label: 'Full messages list fetch pending', - value: 'FULL_MESSAGE_LIST_FETCH_PENDING', - position: 0, - }, - { - id: '4ce4e92c-a3e2-43ae-a1bf-c99fd6e58155', - color: 'blue', - label: 'Partial messages list fetch pending', - value: 'PARTIAL_MESSAGE_LIST_FETCH_PENDING', - position: 1, - }, - { - id: '2953ac47-534a-49e3-9c78-4577db774dd0', - color: 'orange', - label: 'Messages list fetch ongoing', - value: 'MESSAGE_LIST_FETCH_ONGOING', - position: 2, - }, - { - id: '7518c99f-9d8d-4a94-b747-e527e4579dbe', - color: 'blue', - label: 'Messages import pending', - value: 'MESSAGES_IMPORT_PENDING', - position: 3, - }, - { - id: '98ace89b-8b49-4e7a-8d75-d8a4b9648c51', - color: 'orange', - label: 'Messages import ongoing', - value: 'MESSAGES_IMPORT_ONGOING', - position: 4, - }, - { - id: '89909514-399d-41c7-97c0-260f087a3a56', - color: 'red', - label: 'Failed', - value: 'FAILED', - position: 5, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '8cceadc4-de6b-4ecf-8324-82c6b4eec077', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'calendarChannel', - namePlural: 'calendarChannels', - labelSingular: 'Calendar Channel', - labelPlural: 'Calendar Channels', - description: 'Calendar Channels', - icon: 'IconCalendar', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '72762a31-80cf-45cf-bc6c-49609d4c940e', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'e342f766-c2f8-4ad5-8c91-c2a5bca9590f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_3465c79448bacd2f1268e5f6310', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '352f65a9-6b7e-4b12-a29a-d9b9800297d9', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '1b7e194e-4b39-40ab-a91c-eb06cf6d6ddc', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '3e73f944-1df9-4e7c-9ceb-13a6add8fe23', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '41fef682-fda8-488a-baa6-a58e38d5b71a', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjE3', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e9781587-1419-4700-bc53-ed815b69d169', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1acd47f7-2ddf-434a-876a-683f602dcfbd', - type: 'SELECT', - name: 'syncStatus', - label: 'Sync status', - description: 'Sync status', - icon: 'IconStatusChange', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: [ - { - id: '2a678cd8-8077-4fc0-bc7e-68dfd9d58668', - color: 'yellow', - label: 'Ongoing', - value: 'ONGOING', - position: 1, - }, - { - id: '142f711d-95ba-4707-9e83-209c50d93e85', - color: 'blue', - label: 'Not Synced', - value: 'NOT_SYNCED', - position: 2, - }, - { - id: 'bac0648b-9b3b-4bce-b59c-bc5afedd2012', - color: 'green', - label: 'Active', - value: 'ACTIVE', - position: 3, - }, - { - id: '365a2ee9-e467-4cd9-b74f-045c2b832560', - color: 'red', - label: 'Failed Insufficient Permissions', - value: 'FAILED_INSUFFICIENT_PERMISSIONS', - position: 4, - }, - { - id: 'a372985e-5404-45ce-9265-510552007505', - color: 'red', - label: 'Failed Unknown', - value: 'FAILED_UNKNOWN', - position: 5, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6689ffa2-6e50-4a72-8574-3e91469976b6', - type: 'NUMBER', - name: 'throttleFailureCount', - label: 'Throttle Failure Count', - description: 'Throttle Failure Count', - icon: 'IconX', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 0, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '72ea3e4e-79c9-40ff-b83d-e413d86d7781', - type: 'DATE_TIME', - name: 'syncStageStartedAt', - label: 'Sync stage started at', - description: 'Sync stage started at', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '72b79103-2228-4530-8481-68504790bfcd', - type: 'BOOLEAN', - name: 'isContactAutoCreationEnabled', - label: 'Is Contact Auto Creation Enabled', - description: 'Is Contact Auto Creation Enabled', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: true, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1b7e194e-4b39-40ab-a91c-eb06cf6d6ddc', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '674a0bad-ff98-40d2-a711-47a92d7b3a46', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6c212aec-f637-4abc-84e4-9328ec4f454a', - type: 'BOOLEAN', - name: 'isSyncEnabled', - label: 'Is Sync Enabled', - description: 'Is Sync Enabled', - icon: 'IconRefresh', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: true, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2d3cece4-46f8-4b2d-bff7-381591429995', - type: 'SELECT', - name: 'visibility', - label: 'Visibility', - description: 'Visibility', - icon: 'IconEyeglass', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'SHARE_EVERYTHING'", - options: [ - { - id: '0fd14471-aa1c-4637-91a6-0917614dfe35', - color: 'green', - label: 'Metadata', - value: 'METADATA', - position: 0, - }, - { - id: 'b95b0238-fdb2-4b63-8b3f-908a156cb6ee', - color: 'orange', - label: 'Share Everything', - value: 'SHARE_EVERYTHING', - position: 1, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c845dede-582d-47c8-a631-34862f5e9c87', - type: 'DATE_TIME', - name: 'syncedAt', - label: 'Last sync date', - description: 'Last sync date', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '75fba4a8-ddf9-46e3-a6f0-4da74d180dc4', - type: 'TEXT', - name: 'syncCursor', - label: 'Sync Cursor', - description: - 'Sync Cursor. Used for syncing events from the calendar provider', - icon: 'IconReload', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fe2812bf-cf28-4ab1-9c52-1e8598224947', - type: 'RELATION', - name: 'connectedAccount', - label: 'Connected Account', - description: 'Connected Account', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '38ead7c5-b8c5-40a1-9db4-088a93b3c798', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '8cceadc4-de6b-4ecf-8324-82c6b4eec077', - nameSingular: 'calendarChannel', - namePlural: 'calendarChannels', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'fe2812bf-cf28-4ab1-9c52-1e8598224947', - name: 'connectedAccount', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd828bda6-68e2-47f0-b0aa-b810b1f33981', - nameSingular: 'connectedAccount', - namePlural: 'connectedAccounts', - }, - targetFieldMetadata: { - __typename: 'field', - id: '44aa8b95-c247-4507-bf76-17ff3449b4cb', - name: 'calendarChannels', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7ec1ea5f-c98f-4569-91ef-8797294cf183', - type: 'RELATION', - name: 'calendarChannelEventAssociations', - label: 'Calendar Channel Event Associations', - description: 'Calendar Channel Event Associations', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'c040d959-808f-4b7d-8844-ac87a45c0b04', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '8cceadc4-de6b-4ecf-8324-82c6b4eec077', - nameSingular: 'calendarChannel', - namePlural: 'calendarChannels', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '7ec1ea5f-c98f-4569-91ef-8797294cf183', - name: 'calendarChannelEventAssociations', - }, - targetObjectMetadata: { - __typename: 'object', - id: '149f1a0d-f528-48a3-a3f8-0203926d07f5', - nameSingular: 'calendarChannelEventAssociation', - namePlural: 'calendarChannelEventAssociations', - }, - targetFieldMetadata: { - __typename: 'field', - id: '5d68a9e6-9e85-4ae4-8601-43e685dcf90b', - name: 'calendarChannel', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '41fef682-fda8-488a-baa6-a58e38d5b71a', - type: 'UUID', - name: 'connectedAccountId', - label: 'Connected Account id (foreign key)', - description: 'Connected Account id foreign key', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'eeb8bb8b-85b7-46f8-a434-ab35704f1afa', - type: 'SELECT', - name: 'contactAutoCreationPolicy', - label: 'Contact auto creation policy', - description: - 'Automatically create records for people you participated with in an event.', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'AS_PARTICIPANT_AND_ORGANIZER'", - options: [ - { - id: '6632b738-012f-4841-ac54-7bc6593cd551', - color: 'green', - label: 'As Participant and Organizer', - value: 'AS_PARTICIPANT_AND_ORGANIZER', - position: 0, - }, - { - id: 'c0b6918d-925c-4f80-a900-c374833e2c40', - color: 'orange', - label: 'As Participant', - value: 'AS_PARTICIPANT', - position: 1, - }, - { - id: '639ded55-04c3-4068-b340-ad8eb6137cee', - color: 'blue', - label: 'As Organizer', - value: 'AS_ORGANIZER', - position: 2, - }, - { - id: '2493394c-ca24-4600-8caf-fff75eae583a', - color: 'red', - label: 'None', - value: 'NONE', - position: 3, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5b646ee9-aa3d-41ff-b786-3f9cfad7ee12', - type: 'SELECT', - name: 'syncStage', - label: 'Sync stage', - description: 'Sync stage', - icon: 'IconStatusChange', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'FULL_CALENDAR_EVENT_LIST_FETCH_PENDING'", - options: [ - { - id: '9ddbe48c-b6b5-4582-8079-b97ab459dc05', - color: 'blue', - label: 'Full calendar event list fetch pending', - value: 'FULL_CALENDAR_EVENT_LIST_FETCH_PENDING', - position: 0, - }, - { - id: 'b632a8f0-ab5d-4c39-954e-4b0a5b7bce35', - color: 'blue', - label: 'Partial calendar event list fetch pending', - value: 'PARTIAL_CALENDAR_EVENT_LIST_FETCH_PENDING', - position: 1, - }, - { - id: '9591ff35-9a14-4f04-b25c-482d84f57e6a', - color: 'orange', - label: 'Calendar event list fetch ongoing', - value: 'CALENDAR_EVENT_LIST_FETCH_ONGOING', - position: 2, - }, - { - id: 'f64e01f4-de1e-4b2c-99ee-31f649b65dcd', - color: 'blue', - label: 'Calendar events import pending', - value: 'CALENDAR_EVENTS_IMPORT_PENDING', - position: 3, - }, - { - id: 'c56a146f-88fe-4676-a69f-5b22e75c8376', - color: 'orange', - label: 'Calendar events import ongoing', - value: 'CALENDAR_EVENTS_IMPORT_ONGOING', - position: 4, - }, - { - id: '084344f8-fa0c-45a2-ac45-0526b9afc004', - color: 'red', - label: 'Failed', - value: 'FAILED', - position: 5, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '72762a31-80cf-45cf-bc6c-49609d4c940e', - type: 'TEXT', - name: 'handle', - label: 'Handle', - description: 'Handle', - icon: 'IconAt', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6a3003ce-1041-451b-8e66-f69d9b0dd2ab', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '8ae98b12-2ef6-4c20-adc6-240857dd7343', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'blocklist', - namePlural: 'blocklists', - labelSingular: 'Blocklist', - labelPlural: 'Blocklists', - description: 'Blocklist', - icon: 'IconForbid2', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '50f7918f-c677-4e34-baae-3012e3b6d5a8', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '7a223e05-f418-496a-b258-1df57a7c4acf', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_76a190ab8a6f439791358d63d60', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '8e1db228-ee1a-455f-a00d-b32d69aeb309', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'fd3f4444-1951-4869-a25c-f6198d9d37a2', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjY=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c1ba16b8-45a1-48b3-a945-eb9390421d4c', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '50f7918f-c677-4e34-baae-3012e3b6d5a8', - type: 'TEXT', - name: 'handle', - label: 'Handle', - description: 'Handle', - icon: 'IconAt', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd3588b81-9a6d-49c9-8c1f-66006c5bbf40', - type: 'UUID', - name: 'workspaceMemberId', - label: 'WorkspaceMember id (foreign key)', - description: 'WorkspaceMember id foreign key', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c7856143-ebb9-425b-8e13-1be7b63387a6', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fd3f4444-1951-4869-a25c-f6198d9d37a2', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fe6a4945-0e11-43b8-b052-a8b433f341ea', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '84b616f8-2db3-472d-93dd-a8e89b9db810', - type: 'RELATION', - name: 'workspaceMember', - label: 'WorkspaceMember', - description: 'WorkspaceMember', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1185289f-ef64-4b23-a7ef-c16303bea50f', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '8ae98b12-2ef6-4c20-adc6-240857dd7343', - nameSingular: 'blocklist', - namePlural: 'blocklists', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '84b616f8-2db3-472d-93dd-a8e89b9db810', - name: 'workspaceMember', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'b391761f-fedd-4a1d-acd1-497c21a615ba', - name: 'blocklist', - }, - }, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '88f29168-a15b-4330-89a1-680581a2e86b', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'viewFilter', - namePlural: 'viewFilters', - labelSingular: 'View Filter', - labelPlural: 'View Filters', - description: '(System) View Filters', - icon: 'IconFilterBolt', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'f036575d-bd0d-43da-bbcc-545384a75b64', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'd9778e2a-e57a-4117-83f1-5da2c78036e2', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_5653b106ee9a9e3d5c1c790419a', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'efb10056-7029-43c4-a074-4504eca5c775', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'cb05eb84-b336-494a-b3d9-eb9cf64dba10', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjk=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '31efb6ce-3571-4786-99bf-40b9f22e4678', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '70f8731d-006a-4a1e-9391-e5f180c63d24', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8180c369-8f83-4244-9ae5-ebed178d3601', - type: 'TEXT', - name: 'operand', - label: 'Operand', - description: 'View Filter operand', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'Contains'", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '961fcf39-4973-49e0-8686-715d1c6f8f7f', - type: 'TEXT', - name: 'value', - label: 'Value', - description: 'View Filter value', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f036575d-bd0d-43da-bbcc-545384a75b64', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'cb05eb84-b336-494a-b3d9-eb9cf64dba10', - type: 'UUID', - name: 'viewId', - label: 'View id (foreign key)', - description: 'View Filter related view id foreign key', - icon: 'IconLayoutCollage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '854ce53f-9073-4cc2-b3f3-2f8467afccc1', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '356029e0-d8e9-4d36-8921-936265c27d90', - type: 'TEXT', - name: 'displayValue', - label: 'Display Value', - description: 'View Filter Display Value', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2004362c-52c5-4a3f-99e7-ddef7eeaf9af', - type: 'UUID', - name: 'fieldMetadataId', - label: 'Field Metadata Id', - description: 'View Filter target field', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd3db3f5c-49f7-4008-b8a4-cec85ac3505e', - type: 'RELATION', - name: 'view', - label: 'View', - description: 'View Filter related view', - icon: 'IconLayoutCollage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '678c1f91-1825-4eb5-9960-bea05bd2ca87', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '88f29168-a15b-4330-89a1-680581a2e86b', - nameSingular: 'viewFilter', - namePlural: 'viewFilters', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'd3db3f5c-49f7-4008-b8a4-cec85ac3505e', - name: 'view', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - nameSingular: 'view', - namePlural: 'views', - }, - targetFieldMetadata: { - __typename: 'field', - id: '312163f0-9b2f-4c59-8473-9eb1906b8f41', - name: 'viewFilters', - }, - }, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '823e8b9d-1947-48f9-9f43-116a2cbceba3', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'webhook', - namePlural: 'webhooks', - labelSingular: 'Webhook', - labelPlural: 'Webhooks', - description: 'A webhook', - icon: 'IconRobot', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '9f7e51c5-d296-4a59-ad04-82c92b5b26fd', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjY=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'df862ab4-9901-4a1e-87ae-231f783f9647', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'af92d573-4e0e-409c-be39-d6756f5ac540', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e1890810-5257-4bf8-9f56-e1c801424462', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fb283e72-3e58-4509-aa8a-f5e364bc6862', - type: 'TEXT', - name: 'operation', - label: 'Operation', - description: 'Webhook operation', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'defedbc6-cf37-4bed-9594-0eba58fb3b0f', - type: 'TEXT', - name: 'description', - label: 'Description', - description: null, - icon: 'IconInfo', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4b835f28-6706-49df-8399-5ba87cb02d0f', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9f7e51c5-d296-4a59-ad04-82c92b5b26fd', - type: 'TEXT', - name: 'targetUrl', - label: 'Target Url', - description: 'Webhook target url', - icon: 'IconLink', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'workflow', - namePlural: 'workflows', - labelSingular: 'Workflow', - labelPlural: 'Workflows', - description: 'A workflow', - icon: 'IconSettingsAutomation', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'aba08838-a25b-4e59-b634-c3bbd4e38c47', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEx', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ef5457d1-77ad-4c68-87aa-31a108160922', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '05d6227a-bc2d-4e08-8390-cfcec921e4a4', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites linked to the contact', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'fa6c3b55-5fe4-4406-89a8-9474ca539769', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - nameSingular: 'workflow', - namePlural: 'workflows', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '05d6227a-bc2d-4e08-8390-cfcec921e4a4', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: '71e4555a-9fcc-41bd-a8f0-248d1605567e', - name: 'workflow', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '561bdfd7-91b4-426c-a7ff-30c5469e7d54', - type: 'MULTI_SELECT', - name: 'statuses', - label: 'Statuses', - description: - 'The current statuses of the workflow versions', - icon: 'IconStatusChange', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: [ - { - color: 'yellow', - label: 'Draft', - value: 'DRAFT', - position: 0, - }, - { - color: 'green', - label: 'Active', - value: 'ACTIVE', - position: 1, - }, - { - color: 'grey', - label: 'Deactivated', - value: 'DEACTIVATED', - position: 2, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1f691bcc-0b90-452c-b922-54a6f39e9e37', - type: 'RELATION', - name: 'runs', - label: 'Runs', - description: 'Workflow runs linked to the workflow.', - icon: 'IconVersions', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'e73cc998-6f8b-4968-a56f-504738c4aa71', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - nameSingular: 'workflow', - namePlural: 'workflows', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '1f691bcc-0b90-452c-b922-54a6f39e9e37', - name: 'runs', - }, - targetObjectMetadata: { - __typename: 'object', - id: '45b7e1cf-792c-45fa-8d6a-0d5e67e1fa42', - nameSingular: 'workflowRun', - namePlural: 'workflowRuns', - }, - targetFieldMetadata: { - __typename: 'field', - id: '1e1810ae-6ebf-49a1-b7e4-2b217c3a5a13', - name: 'workflow', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '330683fa-283d-4e2a-b351-88ded0749f48', - type: 'TEXT', - name: 'lastPublishedVersionId', - label: 'Last published Version Id', - description: 'The workflow last published version id', - icon: 'IconVersions', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '427e9c03-19df-4f8a-89d7-af0bcdbe8a38', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Workflow record position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0cf97b57-1c48-48a3-bccb-c1e4557e1de0', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bd955f7c-c827-477e-9aaa-f46fc9cc09a1', - type: 'RELATION', - name: 'eventListeners', - label: 'Event Listeners', - description: - 'Workflow event listeners linked to the workflow.', - icon: 'IconVersions', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'dc06be4a-4d8f-45ed-b331-4a353a080894', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - nameSingular: 'workflow', - namePlural: 'workflows', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'bd955f7c-c827-477e-9aaa-f46fc9cc09a1', - name: 'eventListeners', - }, - targetObjectMetadata: { - __typename: 'object', - id: '65cce76e-0f4c-4de1-a68a-6cadce4d000e', - nameSingular: 'workflowEventListener', - namePlural: 'workflowEventListeners', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'de496463-da61-4d9d-8d14-730a48c66f45', - name: 'workflow', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'aba08838-a25b-4e59-b634-c3bbd4e38c47', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'The workflow name', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '46f260da-54b5-4739-90c3-b6aab057e442', - type: 'RELATION', - name: 'versions', - label: 'Versions', - description: 'Workflow versions linked to the workflow.', - icon: 'IconVersions', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '5e09f62f-3f3a-4b9a-a2f8-434e7ac69969', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - nameSingular: 'workflow', - namePlural: 'workflows', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '46f260da-54b5-4739-90c3-b6aab057e442', - name: 'versions', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'e5915d30-4425-4c4c-a9c4-1b4bff20c469', - nameSingular: 'workflowVersion', - namePlural: 'workflowVersions', - }, - targetFieldMetadata: { - __typename: 'field', - id: '69e06184-8fa4-4df5-95dc-7563936ed95f', - name: 'workflow', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '97f377f3-7d31-486d-8a59-fad17484efcf', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'de537cba-0660-4a43-872a-8a5c867f3638', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '6edf5dd8-ee31-42ec-80f9-728b01c50ff4', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'messageParticipant', - namePlural: 'messageParticipants', - labelSingular: 'Message Participant', - labelPlural: 'Message Participants', - description: 'Message Participants', - icon: 'IconUserCircle', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '78a29a18-74ca-4d90-81bc-563916d82017', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'b4a9798c-a77f-443b-9a68-4f105affbed2', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_6d9700e5ae2ab8c294d614e72f6', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '89bb196f-6678-4b21-a527-4753a6830cff', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_8d0144e4074d86d0cb7094f40c2', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'aca3173e-3128-402e-9c4c-7c0f126b7626', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '6b5429cd-116b-4470-95e6-bb4a15269715', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'f588e813-71dc-4cf9-96d9-d7443bb11cbf', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_8c4f617db0813d41aef587e49ea', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '665ff0a5-e5b6-4fc3-8a04-670078815cf6', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '90325846-5bd5-4867-ad09-a2dd66b569b3', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEy', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '76780c2e-a012-4ff7-8c5f-1dee290dd458', - type: 'SELECT', - name: 'role', - label: 'Role', - description: 'Role', - icon: 'IconAt', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'from'", - options: [ - { - id: '37c322cd-7db3-4bcd-9b57-00c6e99a2e95', - color: 'green', - label: 'From', - value: 'from', - position: 0, - }, - { - id: 'd1bcffe7-9417-4580-98ed-6f3202713057', - color: 'blue', - label: 'To', - value: 'to', - position: 1, - }, - { - id: '6e4bb3b8-7ba1-48bb-9a4d-a5027f7e1283', - color: 'orange', - label: 'Cc', - value: 'cc', - position: 2, - }, - { - id: '51527ffd-620b-4b53-859c-93714cddc508', - color: 'red', - label: 'Bcc', - value: 'bcc', - position: 3, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '90325846-5bd5-4867-ad09-a2dd66b569b3', - type: 'UUID', - name: 'workspaceMemberId', - label: 'Workspace Member id (foreign key)', - description: 'Workspace member id foreign key', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6f328351-fb72-43a2-bf91-ef7c98972589', - type: 'UUID', - name: 'personId', - label: 'Person id (foreign key)', - description: 'Person id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e497dbce-a48a-4ea8-82c9-5f8a38ca26dc', - type: 'TEXT', - name: 'displayName', - label: 'Display Name', - description: 'Display Name', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'edc0cbe6-9c05-48a7-8cf5-6ff782ad055d', - type: 'RELATION', - name: 'workspaceMember', - label: 'Workspace Member', - description: 'Workspace member', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1c4db1ed-209f-4274-bf95-004e0cb74404', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '6edf5dd8-ee31-42ec-80f9-728b01c50ff4', - nameSingular: 'messageParticipant', - namePlural: 'messageParticipants', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'edc0cbe6-9c05-48a7-8cf5-6ff782ad055d', - name: 'workspaceMember', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: '07667783-a2b1-4eb5-8e3b-86ec786993fa', - name: 'messageParticipants', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0b579046-7846-4d34-a22a-21c64991e776', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '78a29a18-74ca-4d90-81bc-563916d82017', - type: 'TEXT', - name: 'handle', - label: 'Handle', - description: 'Handle', - icon: 'IconAt', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6b5429cd-116b-4470-95e6-bb4a15269715', - type: 'UUID', - name: 'messageId', - label: 'Message id (foreign key)', - description: 'Message id foreign key', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8afc59b9-a712-4158-9103-910312d481e5', - type: 'RELATION', - name: 'message', - label: 'Message', - description: 'Message', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '2433b7ad-ce4f-4ea3-a572-910b6e2ce66f', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '6edf5dd8-ee31-42ec-80f9-728b01c50ff4', - nameSingular: 'messageParticipant', - namePlural: 'messageParticipants', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '8afc59b9-a712-4158-9103-910312d481e5', - name: 'message', - }, - targetObjectMetadata: { - __typename: 'object', - id: '673b8cb8-44c1-4c20-9834-7c35d44fd180', - nameSingular: 'message', - namePlural: 'messages', - }, - targetFieldMetadata: { - __typename: 'field', - id: '8791bc22-6d54-4267-9b2f-758946e99bbf', - name: 'messageParticipants', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2bb51505-1b04-43c7-8e81-74c33911f4f8', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ef9604ad-a71d-444c-936f-bbd8e4a18997', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8507c38d-6f90-4b15-afa1-19b749774092', - type: 'RELATION', - name: 'person', - label: 'Person', - description: 'Person', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '89f811eb-6211-4b53-bc32-1acf1241a5dd', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '6edf5dd8-ee31-42ec-80f9-728b01c50ff4', - nameSingular: 'messageParticipant', - namePlural: 'messageParticipants', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '8507c38d-6f90-4b15-afa1-19b749774092', - name: 'person', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'c502a91b-fde5-426b-aa27-a856ad28fc71', - name: 'messageParticipants', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3f2d6322-f612-4c7c-8329-42de4a988867', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '6a09bc08-33ae-4321-868a-30064279097f', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'note', - namePlural: 'notes', - labelSingular: 'Note', - labelPlural: 'Notes', - description: 'A note', - icon: 'IconNotes', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'c9c0b35e-a84c-449a-b6ca-69efc8f71a52', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEx', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '14bcdb46-70ad-4947-92d6-2b981a01d8dc', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Note record position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '20646869-ca0e-49a0-9344-fe9272d64f6d', - type: 'RELATION', - name: 'attachments', - label: 'Attachments', - description: 'Note attachments', - icon: 'IconFileImport', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'fc78e196-db67-41d8-8d95-b1da605f98d5', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '6a09bc08-33ae-4321-868a-30064279097f', - nameSingular: 'note', - namePlural: 'notes', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '20646869-ca0e-49a0-9344-fe9272d64f6d', - name: 'attachments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '052cd77c-3540-4c77-a571-e0144b944351', - name: 'note', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '45d38878-cca8-4c8c-b7e4-539adf09c5b1', - type: 'RELATION', - name: 'noteTargets', - label: 'Relations', - description: 'Note targets', - icon: 'IconArrowUpRight', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7be32a73-9b29-422b-b5aa-1933cf5ad254', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '6a09bc08-33ae-4321-868a-30064279097f', - nameSingular: 'note', - namePlural: 'notes', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '45d38878-cca8-4c8c-b7e4-539adf09c5b1', - name: 'noteTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '5ea37b6c-76b5-4cc3-981e-fefebaa91607', - name: 'note', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '20718057-bac8-4dc8-b755-d547d461ddf2', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '94bd02c5-733a-466f-8525-e4b53a221533', - type: 'ACTOR', - name: 'createdBy', - label: 'Created by', - description: 'The creator of the record', - icon: 'IconCreativeCommonsSa', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - name: "''", - source: "'MANUAL'", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f86335f9-07e3-4108-a2a2-cafa6820e85e', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites linked to the note', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '8206c6dd-98d8-4526-9836-bad9f2b065bb', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '6a09bc08-33ae-4321-868a-30064279097f', - nameSingular: 'note', - namePlural: 'notes', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'f86335f9-07e3-4108-a2a2-cafa6820e85e', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: '53790b28-fd71-4f0f-994d-72e9cb8b018b', - name: 'note', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2f11215d-436b-4cf6-ab77-7bb582af633c', - type: 'RICH_TEXT', - name: 'body', - label: 'Body', - description: 'Note body', - icon: 'IconFilePencil', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c9c0b35e-a84c-449a-b6ca-69efc8f71a52', - type: 'TEXT', - name: 'title', - label: 'Title', - description: 'Note title', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fb8df7bd-0b5b-42cf-9f62-1e0b05a06286', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '325aafc9-525a-457e-9f67-15a8994bd6b8', - type: 'RELATION', - name: 'timelineActivities', - label: 'Timeline Activities', - description: 'Timeline Activities linked to the note.', - icon: 'IconTimelineEvent', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '49ad3d9a-01a3-4c82-b6bc-a8d21398e51a', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '6a09bc08-33ae-4321-868a-30064279097f', - nameSingular: 'note', - namePlural: 'notes', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '325aafc9-525a-457e-9f67-15a8994bd6b8', - name: 'timelineActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '8376c21d-fd88-4006-b8d7-40d1f27692ac', - name: 'note', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9c8f3988-16e1-40be-abc1-4ab3e03822f6', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e94bf127-bdef-4d9e-a703-5202d624bc5b', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'task', - namePlural: 'tasks', - labelSingular: 'Task', - labelPlural: 'Tasks', - description: 'A task', - icon: 'IconCheckbox', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '5691876e-1463-4117-a7ef-2d0b089fa1ff', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '0d1fcd80-02e2-4bbe-80c5-bc0c09f9241d', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_ee5298b25512b38b29390e084f7', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '4afbc310-7760-4e36-9796-7590c75c902b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '559b6272-f96c-4f39-883e-a01b4741b2ed', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '39a9a119-fbfe-4a02-9b32-cb805fa52791', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'e99d0dcd-4e33-46bd-9bd7-d80a957003f8', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjE1', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '46331eb9-1722-4cfa-8d2e-fdbc87e6d879', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e3e5b381-059f-49f9-acc6-38d92ca70bd7', - type: 'ACTOR', - name: 'createdBy', - label: 'Created by', - description: 'The creator of the record', - icon: 'IconCreativeCommonsSa', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - name: "''", - source: "'MANUAL'", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '61700dc0-7a07-4421-a85f-50d1b40ef66e', - type: 'DATE_TIME', - name: 'dueAt', - label: 'Due Date', - description: 'Task due date', - icon: 'IconCalendarEvent', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0a0a3b30-46a9-476b-ab0c-a4b9a91a0456', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd6ad1859-b68e-4363-8bba-7db17b61fca5', - type: 'SELECT', - name: 'status', - label: 'Status', - description: 'Task status', - icon: 'IconCheck', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'TODO'", - options: [ - { - id: 'af1e2cda-b54d-4014-b1ec-dc8237098028', - color: 'sky', - label: 'To do', - value: 'TODO', - position: 0, - }, - { - id: 'e2c18902-9ba6-4d35-9036-22d8c04985fd', - color: 'purple', - label: 'In progress', - value: 'IN_PROGESS', - position: 1, - }, - { - id: 'b0f06a1d-7821-46ae-9eb9-1a13201d0a2f', - color: 'green', - label: 'Done', - value: 'DONE', - position: 1, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e99d0dcd-4e33-46bd-9bd7-d80a957003f8', - type: 'UUID', - name: 'assigneeId', - label: 'Assignee id (foreign key)', - description: 'Task assignee id foreign key', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1bb59b31-1c7d-4697-98d5-9f984cc9ea9c', - type: 'RELATION', - name: 'attachments', - label: 'Attachments', - description: 'Task attachments', - icon: 'IconFileImport', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '4a95e7b4-8bdc-49ca-b6d3-ae3d86a6e040', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '1bb59b31-1c7d-4697-98d5-9f984cc9ea9c', - name: 'attachments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '9907dc47-5e02-4966-91f8-5df22fafaaa4', - name: 'task', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0400e2ae-05e4-46f5-b7e1-3fd8e7c15731', - type: 'RELATION', - name: 'assignee', - label: 'Assignee', - description: 'Task assignee', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '970f0f7f-a30d-4a6f-b023-c3bc5a1b412c', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '0400e2ae-05e4-46f5-b7e1-3fd8e7c15731', - name: 'assignee', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: '5233906b-4d12-4e40-9081-436ff5c6cefe', - name: 'assignedTasks', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9fd18cc3-10c9-4017-91a6-ee42e1955e29', - type: 'RICH_TEXT', - name: 'body', - label: 'Body', - description: 'Task body', - icon: 'IconFilePencil', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '77726d5f-43e6-4011-952a-d9585dc14597', - type: 'RELATION', - name: 'timelineActivities', - label: 'Timeline Activities', - description: 'Timeline Activities linked to the task.', - icon: 'IconTimelineEvent', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'e940e46a-ab1a-4e0c-82a4-1af978adcc2c', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '77726d5f-43e6-4011-952a-d9585dc14597', - name: 'timelineActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '49b48088-8d98-4d8d-a9a8-c4f8f462aa72', - name: 'task', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0111a4d1-f387-4f21-bc99-94b80139ff7f', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites linked to the task', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '14f171b6-2a7e-4ae3-adc6-1721e91b791f', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '0111a4d1-f387-4f21-bc99-94b80139ff7f', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: '60db3d95-7824-4335-9a49-eec97888c068', - name: 'task', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5691876e-1463-4117-a7ef-2d0b089fa1ff', - type: 'TEXT', - name: 'title', - label: 'Title', - description: 'Task title', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ceef7231-1933-4c8b-a2d1-a0e9749cd69a', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Task record position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '74bf0e2d-9fc5-4609-b180-a50e18f5f9ca', - type: 'RELATION', - name: 'taskTargets', - label: 'Relations', - description: 'Task targets', - icon: 'IconArrowUpRight', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '2cb467d4-4e91-459c-a145-5f276f6186e1', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '681f89d7-0581-42b0-b97d-870e3b2a8359', - nameSingular: 'task', - namePlural: 'tasks', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '74bf0e2d-9fc5-4609-b180-a50e18f5f9ca', - name: 'taskTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '61963eea-7040-4cba-be90-031464ad1e69', - name: 'task', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bec117bf-86b7-4531-b192-d8917777a9c6', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '559b6272-f96c-4f39-883e-a01b4741b2ed', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '673b8cb8-44c1-4c20-9834-7c35d44fd180', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'message', - namePlural: 'messages', - labelSingular: 'Message', - labelPlural: 'Messages', - description: 'Message', - icon: 'IconMessage', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '8624c6f2-87b6-4bb5-b90a-4fd63230c2fd', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'ccd3d99a-7422-40f1-9eb7-39fd739613bf', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_78fa73d661d632619e17de211e6', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'dbb0a4c8-7607-474c-a360-56ee92260e7c', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '373b653f-399a-4fe2-940e-b10efe9973b1', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEx', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '373b653f-399a-4fe2-940e-b10efe9973b1', - type: 'UUID', - name: 'messageThreadId', - label: 'Message Thread Id id (foreign key)', - description: 'Message Thread Id id foreign key', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '34f11a4b-3fab-4402-a1dd-e5ba6eb57a40', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '129b9862-08af-4424-b313-2b38dae6c003', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8791bc22-6d54-4267-9b2f-758946e99bbf', - type: 'RELATION', - name: 'messageParticipants', - label: 'Message Participants', - description: 'Message Participants', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '2433b7ad-ce4f-4ea3-a572-910b6e2ce66f', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '673b8cb8-44c1-4c20-9834-7c35d44fd180', - nameSingular: 'message', - namePlural: 'messages', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '8791bc22-6d54-4267-9b2f-758946e99bbf', - name: 'messageParticipants', - }, - targetObjectMetadata: { - __typename: 'object', - id: '6edf5dd8-ee31-42ec-80f9-728b01c50ff4', - nameSingular: 'messageParticipant', - namePlural: 'messageParticipants', - }, - targetFieldMetadata: { - __typename: 'field', - id: '8afc59b9-a712-4158-9103-910312d481e5', - name: 'message', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c2396aae-ce94-4dc2-b0b1-45c595bbb067', - type: 'TEXT', - name: 'text', - label: 'Text', - description: 'Text', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '82974b3e-72cf-47d4-9b1d-52008c370b14', - type: 'DATE_TIME', - name: 'receivedAt', - label: 'Received At', - description: 'The date the message was received', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'efdfbd70-a365-4e96-9fb0-095eb91e061a', - type: 'RELATION', - name: 'messageThread', - label: 'Message Thread Id', - description: 'Message Thread Id', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'fcbbe4ce-01e3-4332-8424-16709c40d819', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '673b8cb8-44c1-4c20-9834-7c35d44fd180', - nameSingular: 'message', - namePlural: 'messages', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'efdfbd70-a365-4e96-9fb0-095eb91e061a', - name: 'messageThread', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f98ea433-1b70-46d3-aefa-43eb369925d2', - nameSingular: 'messageThread', - namePlural: 'messageThreads', - }, - targetFieldMetadata: { - __typename: 'field', - id: '84b1f586-7867-4cd9-b793-4826d4d99cf5', - name: 'messages', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b5d8a70e-5e7c-4ec1-bcdd-d29ce5ce31bf', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a1050506-9f21-47d5-be1f-2ae25b974c1c', - type: 'TEXT', - name: 'headerMessageId', - label: 'Header message Id', - description: 'Message id from the message header', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9a32cb5a-af34-4c27-9e66-a741674b0701', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8624c6f2-87b6-4bb5-b90a-4fd63230c2fd', - type: 'TEXT', - name: 'subject', - label: 'Subject', - description: 'Subject', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1be8e5e6-167b-49cd-9a37-224969040f28', - type: 'RELATION', - name: 'messageChannelMessageAssociations', - label: 'Message Channel Association', - description: 'Messages from the channel.', - icon: 'IconMessage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'f7d4519f-c655-4cb4-a371-c7bf44451fd4', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '673b8cb8-44c1-4c20-9834-7c35d44fd180', - nameSingular: 'message', - namePlural: 'messages', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '1be8e5e6-167b-49cd-9a37-224969040f28', - name: 'messageChannelMessageAssociations', - }, - targetObjectMetadata: { - __typename: 'object', - id: '631882fd-28e8-4a87-8ceb-f8217006a620', - nameSingular: 'messageChannelMessageAssociation', - namePlural: 'messageChannelMessageAssociations', - }, - targetFieldMetadata: { - __typename: 'field', - id: '310ff925-20c8-4525-9343-9c243efeb8df', - name: 'message', - }, - }, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '65cce76e-0f4c-4de1-a68a-6cadce4d000e', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'workflowEventListener', - namePlural: 'workflowEventListeners', - labelSingular: 'WorkflowEventListener', - labelPlural: 'WorkflowEventListeners', - description: 'A workflow event listener', - icon: null, - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'bc61037f-5ab1-48c4-9565-5b743b45bc1e', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '74da0929-df7b-429d-93dc-5658aeb95a87', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_9d6a1fb98ccde16ede8c5949d40', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'b6983178-9322-4010-aa89-61d2860af688', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '1e7c94c5-c013-4924-aa6c-cb67d45b33a3', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjY=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8cf7ceee-898f-4835-b966-eaf2c1429798', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6f46ad82-ecec-472d-9a1b-dbabbda3c339', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '18c59e83-4a1a-406b-b1cc-8b7706c9a661', - type: 'UUID', - name: 'workflowId', - label: 'Workflow id (foreign key)', - description: - 'WorkflowEventListener workflow id foreign key', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1e7c94c5-c013-4924-aa6c-cb67d45b33a3', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'de496463-da61-4d9d-8d14-730a48c66f45', - type: 'RELATION', - name: 'workflow', - label: 'Workflow', - description: 'WorkflowEventListener workflow', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'dc06be4a-4d8f-45ed-b331-4a353a080894', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '65cce76e-0f4c-4de1-a68a-6cadce4d000e', - nameSingular: 'workflowEventListener', - namePlural: 'workflowEventListeners', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'de496463-da61-4d9d-8d14-730a48c66f45', - name: 'workflow', - }, - targetObjectMetadata: { - __typename: 'object', - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - nameSingular: 'workflow', - namePlural: 'workflows', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'bd955f7c-c827-477e-9aaa-f46fc9cc09a1', - name: 'eventListeners', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bc61037f-5ab1-48c4-9565-5b743b45bc1e', - type: 'TEXT', - name: 'eventName', - label: 'Name', - description: 'The workflow event listener name', - icon: 'IconPhoneCheck', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3b08bd66-e033-4c78-befd-5a7e19be4ebe', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '631882fd-28e8-4a87-8ceb-f8217006a620', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'messageChannelMessageAssociation', - namePlural: 'messageChannelMessageAssociations', - labelSingular: 'Message Channel Message Association', - labelPlural: 'Message Channel Message Associations', - description: 'Message Synced with a Message Channel', - icon: 'IconMessage', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '87d926ac-0aab-4ea6-b41f-7ab64cbdd65b', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'f6c85d6e-6efb-43bb-bb4e-47a3b98856f9', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_671dd9e01a80d1e4c89fc166c3b', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'ce685d06-92ee-4612-9cb1-dbd6bb9fa713', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'c44b95ee-3e23-48c0-864f-eb693a46719d', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '48bde8b2-0629-4028-bb59-cc1634902000', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'c6659e96-78c1-4a71-b927-5d5c0d852248', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'd1d32a0f-692a-4dce-8abf-cc11c26fbc07', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_63953e5f88351922043480b8801', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '4490d296-7ef7-46b5-b76a-20797916881b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'c44b95ee-3e23-48c0-864f-eb693a46719d', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'b029d0fa-593e-4000-a708-b7263f338e77', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'bdb6b50a-a084-4717-83d4-cdf7d36a056e', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEw', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5ae16290-e931-4be5-b155-343044540f60', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c6659e96-78c1-4a71-b927-5d5c0d852248', - type: 'UUID', - name: 'messageId', - label: 'Message Id id (foreign key)', - description: 'Message Id id foreign key', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bdb6b50a-a084-4717-83d4-cdf7d36a056e', - type: 'UUID', - name: 'messageChannelId', - label: 'Message Channel Id id (foreign key)', - description: 'Message Channel Id id foreign key', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '310ff925-20c8-4525-9343-9c243efeb8df', - type: 'RELATION', - name: 'message', - label: 'Message Id', - description: 'Message Id', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'f7d4519f-c655-4cb4-a371-c7bf44451fd4', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '631882fd-28e8-4a87-8ceb-f8217006a620', - nameSingular: 'messageChannelMessageAssociation', - namePlural: 'messageChannelMessageAssociations', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '310ff925-20c8-4525-9343-9c243efeb8df', - name: 'message', - }, - targetObjectMetadata: { - __typename: 'object', - id: '673b8cb8-44c1-4c20-9834-7c35d44fd180', - nameSingular: 'message', - namePlural: 'messages', - }, - targetFieldMetadata: { - __typename: 'field', - id: '1be8e5e6-167b-49cd-9a37-224969040f28', - name: 'messageChannelMessageAssociations', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '490611ce-ddb6-4dee-a2c1-159bdf0ab5a9', - type: 'TEXT', - name: 'messageThreadExternalId', - label: 'Thread External Id', - description: 'Thread id from the messaging provider', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'aac54567-521e-4fe8-a0bc-116f2aabf592', - type: 'RELATION', - name: 'messageChannel', - label: 'Message Channel Id', - description: 'Message Channel Id', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '612d689f-eb0d-4e6b-b72e-82acb8ae76e2', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '631882fd-28e8-4a87-8ceb-f8217006a620', - nameSingular: 'messageChannelMessageAssociation', - namePlural: 'messageChannelMessageAssociations', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'aac54567-521e-4fe8-a0bc-116f2aabf592', - name: 'messageChannel', - }, - targetObjectMetadata: { - __typename: 'object', - id: '92b529f1-b82b-4352-a0d5-18f32f8e47ab', - nameSingular: 'messageChannel', - namePlural: 'messageChannels', - }, - targetFieldMetadata: { - __typename: 'field', - id: '90648e68-2f7c-4d0c-ab8a-79e6eec769ee', - name: 'messageChannelMessageAssociations', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c44b95ee-3e23-48c0-864f-eb693a46719d', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '316e028e-acbf-4d5e-a7ad-28ba9ae41938', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '87d926ac-0aab-4ea6-b41f-7ab64cbdd65b', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '139c4436-2b14-41f0-a29f-64da3c7f46cf', - type: 'TEXT', - name: 'messageExternalId', - label: 'Message External Id', - description: 'Message id from the messaging provider', - icon: 'IconHash', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '16d3b512-51f7-451a-8531-666b7ad80bcb', - type: 'SELECT', - name: 'direction', - label: 'Direction', - description: 'Message Direction', - icon: 'IconDirection', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'INCOMING'", - options: [ - { - id: 'de903213-75ec-464b-b4ea-29b636638475', - color: 'green', - label: 'Incoming', - value: 'INCOMING', - position: 0, - }, - { - id: '2d0e7921-4cb4-41ac-87a6-263957a0f037', - color: 'blue', - label: 'Outgoing', - value: 'OUTGOING', - position: 1, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'activity', - namePlural: 'activities', - labelSingular: 'Activity', - labelPlural: 'Activities', - description: 'An activity', - icon: 'IconCheckbox', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'e865ea21-e17e-47e3-8d14-6b3e4aa8b6a9', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'f5874304-d8ee-4cba-93dc-4f8f3d4826c7', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_29e3cc1255fe5ae28e61841001c', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'c858a5d9-2120-460a-9006-827014ce7de5', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'f64fd8c3-ce7d-462f-b12d-1437434cd614', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '26f6e296-e919-4239-985e-d9c26ada07f1', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_4fd6a4b57c6237b197275440102', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '2914f54a-0fd1-4467-b8b7-b3564ea2eeb5', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'a5636fee-d403-4824-b2fd-bfdc1144927c', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '5e838e0c-73c2-4e9c-abed-b4e117ec5ef0', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '9d00fec5-f501-4c12-831d-78936dca9c4f', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjE2', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ccd81283-2fcb-445c-af6f-c2ac27a42824', - type: 'RELATION', - name: 'comments', - label: 'Comments', - description: 'Activity comments', - icon: 'IconComment', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'ed3d480f-cc49-4fee-ae36-94e6edd64940', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'ccd81283-2fcb-445c-af6f-c2ac27a42824', - name: 'comments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'eda936a5-97b9-4b9f-986a-d8e19e8ea882', - nameSingular: 'comment', - namePlural: 'comments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '04e07930-a3f1-4f57-9265-7364f18f2651', - name: 'activity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'eac47cad-333f-40d9-bb57-0f9239520875', - type: 'DATE_TIME', - name: 'reminderAt', - label: 'Reminder Date', - description: 'Activity reminder date', - icon: 'IconCalendarEvent', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9c2c3c63-b1ef-4065-b314-93d812db936e', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e865ea21-e17e-47e3-8d14-6b3e4aa8b6a9', - type: 'TEXT', - name: 'title', - label: 'Title', - description: 'Activity title', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd2f57ffe-0cbd-40a0-b83a-1939aaeac560', - type: 'RELATION', - name: 'assignee', - label: 'Assignee', - description: 'Activity assignee', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1756bbce-2212-4ec2-b1e3-5053810abdb1', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'd2f57ffe-0cbd-40a0-b83a-1939aaeac560', - name: 'assignee', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'be802643-0a4b-42d1-a87c-606fce69f9f7', - name: 'assignedActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '054b0615-518b-4b65-84ec-8663b07bff43', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9d00fec5-f501-4c12-831d-78936dca9c4f', - type: 'UUID', - name: 'assigneeId', - label: 'Assignee id (foreign key)', - description: 'Activity assignee id foreign key', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1b094a8b-20f7-4402-8fdc-40af2405186f', - type: 'RELATION', - name: 'author', - label: 'Author', - description: 'Activity author', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'c07499e3-5511-4e95-82de-5d2490c89470', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '1b094a8b-20f7-4402-8fdc-40af2405186f', - name: 'author', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: '8e4da134-4b27-4f18-9fae-dddee6c6f3e9', - name: 'authoredActivities', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a5636fee-d403-4824-b2fd-bfdc1144927c', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'df718d85-fe6c-4740-8397-e7b3d3809ce8', - type: 'TEXT', - name: 'body', - label: 'Body', - description: 'Activity body', - icon: 'IconList', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7d84599b-e518-4dcf-8719-1b7a78843303', - type: 'DATE_TIME', - name: 'dueAt', - label: 'Due Date', - description: 'Activity due date', - icon: 'IconCalendarEvent', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '247a39b1-477f-4727-abe3-11f17a816611', - type: 'RELATION', - name: 'activityTargets', - label: 'Targets', - description: 'Activity targets', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '2ed29dba-4fa9-47d4-b5cb-7cdf6912267f', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '247a39b1-477f-4727-abe3-11f17a816611', - name: 'activityTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '89b493ae-6316-4de6-894b-e65566e3ca3a', - name: 'activity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fe4cb329-682f-426b-b367-08f7ae5f3e10', - type: 'TEXT', - name: 'type', - label: 'Type', - description: 'Activity type', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'Note'", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f64fd8c3-ce7d-462f-b12d-1437434cd614', - type: 'UUID', - name: 'authorId', - label: 'Author id (foreign key)', - description: 'Activity author id foreign key', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ab39f722-059b-4804-8683-a75f58db81c3', - type: 'RELATION', - name: 'attachments', - label: 'Attachments', - description: 'Activity attachments', - icon: 'IconFileImport', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '58616cac-8d7a-4148-9051-a6878ca7e361', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'ab39f722-059b-4804-8683-a75f58db81c3', - name: 'attachments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '7592ab0d-a3bd-459f-a2cb-8220148b7cc6', - name: 'activity', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'aacc33bd-7ba4-4885-a43a-761c48826279', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '657693c8-662d-4679-b89e-d930d0c04ad9', - type: 'DATE_TIME', - name: 'completedAt', - label: 'Completion Date', - description: 'Activity completion date', - icon: 'IconCheck', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '50f61b05-868d-425b-ab3f-c085e1652d82', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'viewField', - namePlural: 'viewFields', - labelSingular: 'View Field', - labelPlural: 'View Fields', - description: '(System) View Fields', - icon: 'IconTag', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '9561ae08-0209-4d26-ade1-04fcf0b5ee55', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'a6ec8c2f-707f-4bf8-a3de-51d7424f7f53', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_260f80ae1d2ccc67388995d6d05', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'b0ea4747-200b-4948-a5a0-10f6b7150d72', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_6d269465206d2f3e283ce479b2e', - indexWhereClause: '"deletedAt" IS NULL', - indexType: 'BTREE', - isUnique: true, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '6584884e-629c-4a0c-9531-1e5f9606efc5', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '2e706f77-92fe-40e2-847e-f9d03c4e8762', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '5088ff87-fa9f-494b-8052-f30b42a9d54b', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '779c3768-2387-4954-ac78-eac2266b879c', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjk=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9561ae08-0209-4d26-ade1-04fcf0b5ee55', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2e706f77-92fe-40e2-847e-f9d03c4e8762', - type: 'UUID', - name: 'viewId', - label: 'View id (foreign key)', - description: 'View Field related view id foreign key', - icon: 'IconLayoutCollage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '779c3768-2387-4954-ac78-eac2266b879c', - type: 'UUID', - name: 'fieldMetadataId', - label: 'Field Metadata Id', - description: 'View Field target field', - icon: 'IconTag', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '03e37726-2233-4ff6-ac40-423aad045e61', - type: 'NUMBER', - name: 'position', - label: 'Position', - description: 'View Field position', - icon: 'IconList', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 0, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a292d9ab-60ac-4483-89a7-4473f1f7faa4', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd6a609c8-f596-46a2-acfc-086adea1744f', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '639e87d6-fbfd-4cd0-9b61-c374f2b0f816', - type: 'BOOLEAN', - name: 'isVisible', - label: 'Visible', - description: 'View Field visibility', - icon: 'IconEye', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: true, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a6aec827-c50d-4079-aff3-a7b4632d74ea', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'adffcf84-60be-48b3-bb3e-a13d5451cc84', - type: 'NUMBER', - name: 'size', - label: 'Size', - description: 'View Field size', - icon: 'IconEye', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 0, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '911faf74-aef1-4b31-a5a3-f1ed80496f18', - type: 'RELATION', - name: 'view', - label: 'View', - description: 'View Field related view', - icon: 'IconLayoutCollage', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7184d260-316e-4e2c-af72-431957b1af98', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '50f61b05-868d-425b-ab3f-c085e1652d82', - nameSingular: 'viewField', - namePlural: 'viewFields', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '911faf74-aef1-4b31-a5a3-f1ed80496f18', - name: 'view', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'c46916fc-0528-4331-9766-6ac2247a70fb', - nameSingular: 'view', - namePlural: 'views', - }, - targetFieldMetadata: { - __typename: 'field', - id: '8c46a404-3ed7-4a94-8a02-e9b03197de5e', - name: 'viewFields', - }, - }, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '45b7e1cf-792c-45fa-8d6a-0d5e67e1fa42', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'workflowRun', - namePlural: 'workflowRuns', - labelSingular: 'Workflow Run', - labelPlural: 'Workflow Runs', - description: 'A workflow run', - icon: 'IconHistory', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'a93f8b7c-6f7b-434f-9c7c-c316640d959a', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'babe87a1-7a4d-41a3-b53b-4b0e388a0724', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_eee970874f46ff99eefc0015001', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'e5983670-2cb1-43d9-96a4-423e039570d3', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '986ce5ad-1381-4fd4-84ba-a91e2582d0ca', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '1b77049d-6e10-4dce-a985-f76540e522a4', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_faa5772594c4ce15b9305919f2f', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '075185d5-c0ec-4b02-8fe0-266cca150361', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '6b7c15a7-bc2e-4ebd-9083-9e561573f4b2', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjE0', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6b7c15a7-bc2e-4ebd-9083-9e561573f4b2', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b5683731-4a83-493a-b0f6-5a521b1fdc65', - type: 'RAW_JSON', - name: 'output', - label: 'Output', - description: - 'Json object to provide output of the workflow run', - icon: null, - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e0e5b711-ccda-4616-98e2-736d43e3b0b1', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0b00ed15-16de-44da-801d-29633021ceaa', - type: 'DATE_TIME', - name: 'startedAt', - label: 'Workflow run started at', - description: 'Workflow run started at', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a93f8b7c-6f7b-434f-9c7c-c316640d959a', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'Name of the workflow run', - icon: 'IconText', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '986ce5ad-1381-4fd4-84ba-a91e2582d0ca', - type: 'UUID', - name: 'workflowId', - label: 'Workflow id (foreign key)', - description: 'Workflow linked to the run. id foreign key', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '351e2e90-ca93-4e66-9733-811998b116d1', - type: 'SELECT', - name: 'status', - label: 'Workflow run status', - description: 'Workflow run status', - icon: 'IconStatusChange', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "'NOT_STARTED'", - options: [ - { - id: '79559b6a-641c-423a-8d76-bfb6f571da2e', - color: 'grey', - label: 'Not started', - value: 'NOT_STARTED', - position: 0, - }, - { - id: 'd2443780-e320-435f-b7ba-9b17a77d401c', - color: 'yellow', - label: 'Running', - value: 'RUNNING', - position: 1, - }, - { - id: 'e6eb98ea-9413-49d0-a7ef-1f04980890c6', - color: 'green', - label: 'Completed', - value: 'COMPLETED', - position: 2, - }, - { - id: '85887608-fd25-4798-a91e-90f44d2c91e1', - color: 'red', - label: 'Failed', - value: 'FAILED', - position: 3, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1e1810ae-6ebf-49a1-b7e4-2b217c3a5a13', - type: 'RELATION', - name: 'workflow', - label: 'Workflow', - description: 'Workflow linked to the run.', - icon: 'IconSettingsAutomation', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'e73cc998-6f8b-4968-a56f-504738c4aa71', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '45b7e1cf-792c-45fa-8d6a-0d5e67e1fa42', - nameSingular: 'workflowRun', - namePlural: 'workflowRuns', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '1e1810ae-6ebf-49a1-b7e4-2b217c3a5a13', - name: 'workflow', - }, - targetObjectMetadata: { - __typename: 'object', - id: '7cab9c82-929f-4ea3-98e1-5c221a12263d', - nameSingular: 'workflow', - namePlural: 'workflows', - }, - targetFieldMetadata: { - __typename: 'field', - id: '1f691bcc-0b90-452c-b922-54a6f39e9e37', - name: 'runs', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '3c44c451-c804-49f0-8505-1b6cd9b9ff8d', - type: 'UUID', - name: 'workflowVersionId', - label: 'Workflow version id (foreign key)', - description: - 'Workflow version linked to the run. id foreign key', - icon: 'IconVersions', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2df11dc4-8ac5-4832-840d-391487e2743b', - type: 'ACTOR', - name: 'createdBy', - label: 'Created by', - description: 'The creator of the record', - icon: 'IconCreativeCommonsSa', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - name: "''", - source: "'MANUAL'", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ca88a1c5-f009-46e7-8350-640d4154c203', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Workflow run position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'aed8a050-3ad5-4db6-b8e3-ec207e5e381e', - type: 'DATE_TIME', - name: 'endedAt', - label: 'Workflow run ended at', - description: 'Workflow run ended at', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ff72aee0-1e66-4493-a057-4f4455f6b738', - type: 'RELATION', - name: 'workflowVersion', - label: 'Workflow version', - description: 'Workflow version linked to the run.', - icon: 'IconVersions', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '5a8466a5-1aa6-48e2-a415-878bcb28eb0e', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '45b7e1cf-792c-45fa-8d6a-0d5e67e1fa42', - nameSingular: 'workflowRun', - namePlural: 'workflowRuns', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'ff72aee0-1e66-4493-a057-4f4455f6b738', - name: 'workflowVersion', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'e5915d30-4425-4c4c-a9c4-1b4bff20c469', - nameSingular: 'workflowVersion', - namePlural: 'workflowVersions', - }, - targetFieldMetadata: { - __typename: 'field', - id: '8afee0ef-f4da-41bf-824a-e7cb357d8fc7', - name: 'runs', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bcd5dc97-b168-4c12-9624-9a6de51d5497', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8f462d3d-8f64-4ebb-a4a3-b0b89ff804ce', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - labelSingular: 'Activity Target', - labelPlural: 'Activity Targets', - description: 'An activity target', - icon: 'IconCheckbox', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'd065441d-308f-4fc9-845d-30c634328802', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'f130efec-e85d-4aae-9178-4d3a7043f155', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_899f0157b7ab84de320daec7041', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '88d0bdd6-b736-4e77-ac0d-ae165ae66db5', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'd4cc7cf0-d1b1-4be9-af85-de8d8e184ed1', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'be1d11f7-41e8-470d-bac8-1da9e1c06cd4', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_45db58e96a1bb9769a13a02c828', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '915aa8e3-2bd6-440f-a8b5-ba746caf88cb', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'dc199543-c1a2-44d6-861b-70631e9ba86a', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'a188d050-017d-4863-8ac8-0bcdac2fe36c', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'adf5b30e-3dad-46d9-b69b-caf13743a69c', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '422e32e1-5431-4946-be58-eac598431d29', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_6eb4b6d76fb7806d24d08bb1766', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '497ab28c-706d-4b61-befe-9823b5a140f3', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'bb01f3ff-e3d2-4f56-98b6-7cb8e41b17a5', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'aa082553-f078-48b1-976f-47d477a8ee11', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'dc199543-c1a2-44d6-861b-70631e9ba86a', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'd8d0f396-224e-4d9e-8d44-f96044ff6378', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_224c121e7e3114e53f42b5774cb', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '5b205e1b-9c11-49a8-917b-a0ae7695e0e2', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '949994a2-dedb-4b12-967a-bf8646549ec2', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEz', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd065441d-308f-4fc9-845d-30c634328802', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '54a9d278-cf83-4152-bdfb-f26245d39d65', - type: 'RELATION', - name: 'person', - label: 'Person', - description: 'ActivityTarget person', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '85634196-b66b-4921-b30f-c4e078b58926', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '54a9d278-cf83-4152-bdfb-f26245d39d65', - name: 'person', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: '418c54ba-a0da-4feb-8198-9287bf38e31c', - name: 'activityTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8972d18f-9c46-4d11-bffb-f77278a17b99', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b3d96a62-4d15-433d-bd4f-caf3c62d1876', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd4cc7cf0-d1b1-4be9-af85-de8d8e184ed1', - type: 'UUID', - name: 'companyId', - label: 'Company id (foreign key)', - description: 'ActivityTarget company id foreign key', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9b42b1c9-98e0-4893-9ae9-3e9195dc904a', - type: 'UUID', - name: 'rocketId', - label: 'Rocket ID (foreign key)', - description: 'ActivityTarget Rocket id foreign key', - icon: null, - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.713Z', - updatedAt: '2024-10-10T15:05:42.713Z', - defaultValue: null, - options: null, - settings: { - isForeignKey: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '89b493ae-6316-4de6-894b-e65566e3ca3a', - type: 'RELATION', - name: 'activity', - label: 'Activity', - description: 'ActivityTarget activity', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '2ed29dba-4fa9-47d4-b5cb-7cdf6912267f', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '89b493ae-6316-4de6-894b-e65566e3ca3a', - name: 'activity', - }, - targetObjectMetadata: { - __typename: 'object', - id: '5a1aa92b-1ee9-4a7e-ab08-ca8c1e462d16', - nameSingular: 'activity', - namePlural: 'activities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '247a39b1-477f-4727-abe3-11f17a816611', - name: 'activityTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '36de1418-2c3d-4444-b88f-606993e3d796', - type: 'RELATION', - name: 'opportunity', - label: 'Opportunity', - description: 'ActivityTarget opportunity', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'a0f78a63-3342-48c2-966d-2de9111ef8ca', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '36de1418-2c3d-4444-b88f-606993e3d796', - name: 'opportunity', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'ba574a70-ed4f-450b-be6b-71907d7264cd', - name: 'activityTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a0752532-9ed5-4ba1-8ee4-eb7393d36a62', - type: 'RELATION', - name: 'company', - label: 'Company', - description: 'ActivityTarget company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '75f42dd7-0c3a-4658-98d2-7af163fbcf6a', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'a0752532-9ed5-4ba1-8ee4-eb7393d36a62', - name: 'company', - }, - targetObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'b9c2d94a-41dd-4a59-8266-76973d472a09', - name: 'activityTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9deff6cb-fd97-4d2a-9c5b-be2fd90d5d7e', - type: 'RELATION', - name: 'rocket', - label: 'Rocket', - description: 'ActivityTarget Rocket', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.714Z', - updatedAt: '2024-10-10T15:05:42.714Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0b9d9ac1-f853-4df1-be0e-1b2f6fce2d4f', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '9deff6cb-fd97-4d2a-9c5b-be2fd90d5d7e', - name: 'rocket', - }, - targetObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '2951011a-6c7b-4a4c-bded-f212f70ca93a', - name: 'activityTargets', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bb01f3ff-e3d2-4f56-98b6-7cb8e41b17a5', - type: 'UUID', - name: 'opportunityId', - label: 'Opportunity id (foreign key)', - description: 'ActivityTarget opportunity id foreign key', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '949994a2-dedb-4b12-967a-bf8646549ec2', - type: 'UUID', - name: 'activityId', - label: 'Activity id (foreign key)', - description: 'ActivityTarget activity id foreign key', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'adf5b30e-3dad-46d9-b69b-caf13743a69c', - type: 'UUID', - name: 'personId', - label: 'Person id (foreign key)', - description: 'ActivityTarget person id foreign key', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'dc199543-c1a2-44d6-861b-70631e9ba86a', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'company', - namePlural: 'companies', - labelSingular: 'Company', - labelPlural: 'Companies', - description: 'A company', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - 'bed55285-cec4-4a78-ba3a-a70febd66dc6', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '371d89ea-c6b5-41b6-a190-1ab22566b8d0', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_UNIQUE_2a32339058d0b6910b0834ddf81', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: true, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '229ae450-d9c8-40fa-ad58-fefe1925b806', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - 'c41db169-bd37-442d-a8ce-61a60307587c', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'ba420185-6ce2-4162-8705-7e7fb4ceb3b5', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_fb1f4905546cfc6d70a971c76f7', - indexWhereClause: null, - indexType: 'GIN', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '296575a1-21ac-4821-96b5-3cfc4fda0486', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '6e131b8b-27b6-4b00-8a41-8e35ccca14ae', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'd2c39785-3dfb-41e3-8d72-93438715b82f', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_123501237187c835ede626367b7', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'cf214e76-2c21-408d-a397-fd86f7e77d06', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '68df0343-db1c-46ee-a142-8694d291827a', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjI4', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4da6fb76-9f16-4fd9-baf9-3fe93dd93002', - type: 'ACTOR', - name: 'createdBy', - label: 'Created by', - description: 'The creator of the record', - icon: 'IconCreativeCommonsSa', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - name: "''", - source: "'MANUAL'", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '31df49f2-d793-462e-aca6-be5ac250f069', - type: 'MULTI_SELECT', - name: 'workPolicy', - label: 'Work Policy', - description: "Company's Work Policy", - icon: 'IconHome', - isCustom: true, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.123Z', - updatedAt: '2024-10-10T15:05:42.123Z', - defaultValue: null, - options: [ - { - id: '4a5d069c-706e-497a-9a22-23a1ff870cc6', - color: 'green', - label: 'On-Site', - value: 'ON_SITE', - position: 0, - }, - { - id: 'c8a21cdc-220f-45aa-ad42-506f0e3a0ae8', - color: 'turquoise', - label: 'Hybrid', - value: 'HYBRID', - position: 1, - }, - { - id: '3eb0c16b-e0a6-4991-a65d-5b972b12c4da', - color: 'sky', - label: 'Remote Work', - value: 'REMOTE_WORK', - position: 2, - }, - ], - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '77cdca6a-51fd-42d2-bb1c-5e423f721fff', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a4758b6c-4a48-4ec7-8898-d1f91eec75d9', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Company record position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '50c723e9-af8c-455e-a9c6-0dbd591b0258', - type: 'RELATION', - name: 'timelineActivities', - label: 'Timeline Activities', - description: 'Timeline Activities linked to the company', - icon: 'IconIconTimelineEvent', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0f9bad06-3762-4797-9079-d7d190da55e5', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '50c723e9-af8c-455e-a9c6-0dbd591b0258', - name: 'timelineActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '5096824c-bd72-488b-902e-e5768070e736', - name: 'company', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a19a3726-642e-4b1f-a8e0-0d05ce62dcd4', - type: 'BOOLEAN', - name: 'idealCustomerProfile', - label: 'ICP', - description: - 'Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you', - icon: 'IconTarget', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: false, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7fbd8d22-49a3-4c55-a80b-1876129eee86', - type: 'RELATION', - name: 'people', - label: 'People', - description: 'People linked to the company.', - icon: 'IconUsers', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '659373cb-ab85-4d36-aed2-58789be66d23', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '7fbd8d22-49a3-4c55-a80b-1876129eee86', - name: 'people', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b74e80b0-7132-469f-bbd9-6e6fc12f04f8', - nameSingular: 'person', - namePlural: 'people', - }, - targetFieldMetadata: { - __typename: 'field', - id: '7d307698-eece-4e31-8c4c-7d5d596eb542', - name: 'company', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '77add2d7-09c4-4648-b202-f7909fd11442', - type: 'NUMBER', - name: 'employees', - label: 'Employees', - description: 'Number of employees in the company', - icon: 'IconUsers', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8caf11d2-f8c7-41df-948b-10c6e702459c', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ef38e2d0-9369-4744-840d-85e5841f36dc', - type: 'LINKS', - name: 'xLink', - label: 'X', - description: 'The company Twitter/X account', - icon: 'IconBrandX', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - primaryLinkUrl: "''", - secondaryLinks: null, - primaryLinkLabel: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '585ee60d-cc7d-4500-8db9-e38ab8f90a60', - type: 'ADDRESS', - name: 'address', - label: 'Address', - description: 'Address of the company', - icon: 'IconMap', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - addressLat: null, - addressLng: null, - addressCity: "''", - addressState: "''", - addressCountry: "''", - addressStreet1: "''", - addressStreet2: "''", - addressPostcode: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'bed55285-cec4-4a78-ba3a-a70febd66dc6', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'The company name', - icon: 'IconBuildingSkyscraper', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b9c2d94a-41dd-4a59-8266-76973d472a09', - type: 'RELATION', - name: 'activityTargets', - label: 'Activities', - description: 'Activities tied to the company', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '75f42dd7-0c3a-4658-98d2-7af163fbcf6a', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'b9c2d94a-41dd-4a59-8266-76973d472a09', - name: 'activityTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'a0752532-9ed5-4ba1-8ee4-eb7393d36a62', - name: 'company', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '395bfecf-e9ce-46d2-9612-3d8840ee3f59', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '8323137c-6b37-4ec2-9977-accefa773841', - type: 'RELATION', - name: 'opportunities', - label: 'Opportunities', - description: 'Opportunities linked to the company.', - icon: 'IconTargetArrow', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'c2fcfb71-1f23-47b7-a818-27371a165214', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '8323137c-6b37-4ec2-9977-accefa773841', - name: 'opportunities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'be13cda6-aff5-4003-8fe9-e936011b3325', - nameSingular: 'opportunity', - namePlural: 'opportunities', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'a679e0f1-1766-4814-ac8e-64b82329cdb9', - name: 'company', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c41db169-bd37-442d-a8ce-61a60307587c', - type: 'LINKS', - name: 'domainName', - label: 'Domain Name', - description: - 'The company website URL. We use this url to fetch the company icon', - icon: 'IconLink', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - primaryLinkUrl: "''", - secondaryLinks: null, - primaryLinkLabel: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '9aa7c531-5fcc-4a24-a149-a28daf8d11a3', - type: 'LINKS', - name: 'linkedinLink', - label: 'Linkedin', - description: 'The company Linkedin account', - icon: 'IconBrandLinkedin', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - primaryLinkUrl: "''", - secondaryLinks: null, - primaryLinkLabel: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '09e066b4-d809-49c8-908b-51b8b8724a4c', - type: 'RELATION', - name: 'accountOwner', - label: 'Account Owner', - description: - 'Your team member responsible for managing the company account', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '9b71c7ff-5d2e-43c4-a524-611e309e6f45', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '09e066b4-d809-49c8-908b-51b8b8724a4c', - name: 'accountOwner', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'b6b66a3c-6c39-4e93-b940-836aced4de12', - name: 'accountOwnerForCompanies', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '408a7fce-1980-48b2-9c0e-9e23b58b5e07', - type: 'RELATION', - name: 'noteTargets', - label: 'Notes', - description: 'Notes tied to the company', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '99a8cc42-5f5d-41f2-9d5a-44e18f8412e4', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '408a7fce-1980-48b2-9c0e-9e23b58b5e07', - name: 'noteTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '67bfa361-4269-4494-b2eb-3a9f26f992fd', - name: 'company', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '328a0398-9023-4f24-b4df-ba56f5efcc0e', - type: 'TEXT', - name: 'tagline', - label: 'Tagline', - description: "Company's Tagline", - icon: 'IconAdCircle', - isCustom: true, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:41.897Z', - updatedAt: '2024-10-10T15:05:41.897Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '134b368a-cf99-438e-8105-9150a2827fd4', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites linked to the company', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '3e2f75b9-76aa-436f-8d24-129798ca4090', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '134b368a-cf99-438e-8105-9150a2827fd4', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: '3f7749a5-7d4e-4b3c-b5ae-12b8ea631676', - name: 'company', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1b548bb0-c4fc-4232-a18f-b7882b6a1ddf', - type: 'RELATION', - name: 'attachments', - label: 'Attachments', - description: 'Attachments linked to the company', - icon: 'IconFileImport', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'c9ce54d1-cb4a-4492-879f-be86056fcce5', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '1b548bb0-c4fc-4232-a18f-b7882b6a1ddf', - name: 'attachments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '2f907f04-3122-4b7b-bd83-c192cacc4a83', - name: 'company', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '7d98e29b-96a1-4f6b-973e-dac0b3477f03', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'e79f5c59-356b-473d-97f6-69fc4e075134', - type: 'LINKS', - name: 'introVideo', - label: 'Intro Video', - description: "Company's Intro Video", - icon: 'IconVideo', - isCustom: true, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.009Z', - updatedAt: '2024-10-10T15:05:42.009Z', - defaultValue: { - primaryLinkUrl: "''", - secondaryLinks: null, - primaryLinkLabel: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'eafdfdda-7cda-4fe4-bcaa-be49232fbfd4', - type: 'RELATION', - name: 'taskTargets', - label: 'Tasks', - description: 'Tasks tied to the company', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'e38b7482-42bb-43b3-a36f-9c7eec06d59e', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '39d5f2b7-03ce-41e7-afe9-7710aeb766a2', - nameSingular: 'company', - namePlural: 'companies', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'eafdfdda-7cda-4fe4-bcaa-be49232fbfd4', - name: 'taskTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '24a17b5b-e5cd-43c9-bcd8-422a00b0ebf6', - name: 'company', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6e131b8b-27b6-4b00-8a41-8e35ccca14ae', - type: 'TS_VECTOR', - name: 'searchVector', - label: 'Search vector', - description: 'Field used for full-text search', - icon: 'IconUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'dbcb6817-a87a-4d76-8b1c-eca83d525c5d', - type: 'CURRENCY', - name: 'annualRecurringRevenue', - label: 'ARR', - description: - 'Annual Recurring Revenue: The actual or estimated annual revenue of the company', - icon: 'IconMoneybag', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: { - amountMicros: null, - currencyCode: "''", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '68df0343-db1c-46ee-a142-8694d291827a', - type: 'UUID', - name: 'accountOwnerId', - label: 'Account Owner id (foreign key)', - description: - 'Your team member responsible for managing the company account id foreign key', - icon: 'IconUserCircle', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5e0a25f0-fe8b-42f3-af2b-423766333ab2', - type: 'BOOLEAN', - name: 'visaSponsorship', - label: 'Visa Sponsorship', - description: "Company's Visa Sponsorship Policy", - icon: 'IconBrandVisa', - isCustom: true, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.226Z', - updatedAt: '2024-10-10T15:05:42.226Z', - defaultValue: false, - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '2590029a-05d7-4908-8b7a-a253967068a1', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'auditLog', - namePlural: 'auditLogs', - labelSingular: 'Audit Log', - labelPlural: 'Audit Logs', - description: 'An audit log of actions performed in the system', - icon: 'IconIconTimelineEvent', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '4fdcef64-197f-438c-8b92-a6712a80e747', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'd0f42493-dfe8-43a9-9c2f-bb0f63759210', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_ca389a7ad7595bb15d733535998', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '8115bdeb-f099-464f-b438-5ac80d23637a', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - 'c89083d6-f45d-4fd0-8149-9c3a9e71eb1f', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEx', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '743142f7-9e4d-4f92-beae-7d7040233009', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a8ebb52f-95f7-4c65-bd68-b9d2372907c8', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'be533c19-a031-4c6d-86cf-3e2fb2defb2f', - type: 'UUID', - name: 'workspaceMemberId', - label: 'Workspace Member id (foreign key)', - description: 'Event workspace member id foreign key', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c89083d6-f45d-4fd0-8149-9c3a9e71eb1f', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1475304d-4734-4b66-96a8-ed7d84727fe6', - type: 'RELATION', - name: 'workspaceMember', - label: 'Workspace Member', - description: 'Event workspace member', - icon: 'IconCircleUser', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '1aef1a4d-f090-4f5a-8e39-f7d21d465199', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '2590029a-05d7-4908-8b7a-a253967068a1', - nameSingular: 'auditLog', - namePlural: 'auditLogs', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '1475304d-4734-4b66-96a8-ed7d84727fe6', - name: 'workspaceMember', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'f2414140-86ea-4fa3-bc63-ca5dab9f9044', - nameSingular: 'workspaceMember', - namePlural: 'workspaceMembers', - }, - targetFieldMetadata: { - __typename: 'field', - id: '4af78cad-69c5-4190-a23f-6db322f80f27', - name: 'auditLogs', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '86e941ea-a43a-412c-8197-479adbb09a15', - type: 'RAW_JSON', - name: 'context', - label: 'Event context', - description: - 'Json object to provide context (user, device, workspace, etc.)', - icon: 'IconListDetails', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'ab8ea51d-bc10-426c-9e5c-65c09c09f5bd', - type: 'TEXT', - name: 'objectMetadataId', - label: 'Object metadata id', - description: 'Object metadata id', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4fdcef64-197f-438c-8b92-a6712a80e747', - type: 'TEXT', - name: 'name', - label: 'Event name', - description: 'Event name/type', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd6812840-4b41-46f8-a5c0-6ad697d00fe3', - type: 'UUID', - name: 'recordId', - label: 'Record id', - description: 'Record id', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0b88c2e2-68a1-488a-ae3c-32f1919ba8b8', - type: 'TEXT', - name: 'objectName', - label: 'Object name', - description: 'Object name', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'be183254-da94-4664-a8d4-b72a26ba115d', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5e414096-d916-4d3f-9710-54a4932078a8', - type: 'RAW_JSON', - name: 'properties', - label: 'Event details', - description: 'Json value for event details', - icon: 'IconListDetails', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'rocket', - namePlural: 'rockets', - labelSingular: 'Rocket', - labelPlural: 'Rockets', - description: 'A rocket', - icon: 'IconRocket', - isCustom: true, - isRemote: false, - isActive: true, - isSystem: false, - createdAt: '2024-10-10T15:05:42.702Z', - updatedAt: '2024-10-10T15:05:42.702Z', - labelIdentifierFieldMetadataId: null, - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: 'ee1a3903-9f40-4789-a61c-90716bce789d', - createdAt: '2024-10-10T15:05:42.750Z', - updatedAt: '2024-10-10T15:05:42.750Z', - name: 'IDX_530792e4278e7696c4e3e3e55f8', - indexWhereClause: null, - indexType: 'GIN', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'b6b09e0f-38a7-4c1a-b80b-46e392accdd8', - createdAt: '2024-10-10T15:05:42.750Z', - updatedAt: '2024-10-10T15:05:42.750Z', - order: 0, - fieldMetadataId: - 'c2df610f-40a0-4c0f-9c24-dd3356f5f871', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjEz', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '4d64de07-68da-42c9-b169-d5adf91ae282', - type: 'RELATION', - name: 'favorites', - label: 'Favorites', - description: 'Favorites tied to the Rocket', - icon: 'IconHeart', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.718Z', - updatedAt: '2024-10-10T15:05:42.718Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '9a12826d-783a-4411-89ac-a2a2369e5eb2', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '4d64de07-68da-42c9-b169-d5adf91ae282', - name: 'favorites', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'cb8c8d67-16c0-4a38-a919-b375845abf42', - nameSingular: 'favorite', - namePlural: 'favorites', - }, - targetFieldMetadata: { - __typename: 'field', - id: '89fe6ca9-b01e-4f73-8fe2-f51ba3a67024', - name: 'rocket', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '38556e40-979a-4c6a-9328-a99b1392d98f', - type: 'POSITION', - name: 'position', - label: 'Position', - description: 'Position', - icon: 'IconHierarchy2', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.702Z', - updatedAt: '2024-10-10T15:05:42.702Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c2df610f-40a0-4c0f-9c24-dd3356f5f871', - type: 'TS_VECTOR', - name: 'searchVector', - label: 'Search vector', - description: 'Field used for full-text search', - icon: null, - isCustom: false, - isActive: false, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.747Z', - updatedAt: '2024-10-10T15:05:42.747Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '492bf0fb-85ee-4805-a41d-6ad94b1bd904', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:42.702Z', - updatedAt: '2024-10-10T15:05:42.702Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'd4700cc4-14a1-4264-96c9-0d87ebeeb482', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Deletion date', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.702Z', - updatedAt: '2024-10-10T15:05:42.702Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'c2721d06-ae7f-40e4-b061-d96179f0be97', - type: 'RELATION', - name: 'attachments', - label: 'Attachments', - description: 'Attachments tied to the Rocket', - icon: 'IconFileImport', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.722Z', - updatedAt: '2024-10-10T15:05:42.722Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '07793950-4b19-4d72-afda-f1815ec8e5e4', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'c2721d06-ae7f-40e4-b061-d96179f0be97', - name: 'attachments', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'd00ff1e9-774a-4b08-87fb-03d37c24f174', - nameSingular: 'attachment', - namePlural: 'attachments', - }, - targetFieldMetadata: { - __typename: 'field', - id: '01b00bde-0e1f-4e47-ad06-9df00dd1c7a3', - name: 'rocket', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b3186db8-8ea1-49b6-8922-82e4bdc06eb9', - type: 'RELATION', - name: 'noteTargets', - label: 'Notes', - description: 'Notes tied to the Rocket', - icon: 'IconNotes', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.725Z', - updatedAt: '2024-10-10T15:05:42.725Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'bd9974b4-9210-4ef3-892d-4adc2d40feb6', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'b3186db8-8ea1-49b6-8922-82e4bdc06eb9', - name: 'noteTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'fd99213f-1b50-4d72-8708-75ba80097736', - nameSingular: 'noteTarget', - namePlural: 'noteTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: 'a87c2280-8913-4e89-b6a3-4403b70087d4', - name: 'rocket', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '2951011a-6c7b-4a4c-bded-f212f70ca93a', - type: 'RELATION', - name: 'activityTargets', - label: 'Activities', - description: 'Activities tied to the Rocket', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.714Z', - updatedAt: '2024-10-10T15:05:42.714Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '0b9d9ac1-f853-4df1-be0e-1b2f6fce2d4f', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '2951011a-6c7b-4a4c-bded-f212f70ca93a', - name: 'activityTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: '43fe0e45-b323-4b6e-ab98-1d9fe30c9af9', - nameSingular: 'activityTarget', - namePlural: 'activityTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '9deff6cb-fd97-4d2a-9c5b-be2fd90d5d7e', - name: 'rocket', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'baea02d1-1817-4df3-b9eb-c8020452f3e0', - type: 'RELATION', - name: 'timelineActivities', - label: 'Timeline Activities', - description: 'Timeline Activities tied to the Rocket', - icon: 'IconIconTimelineEvent', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.709Z', - updatedAt: '2024-10-10T15:05:42.709Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'f8ddd621-26f4-4fa8-b426-3f545094bd5f', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'baea02d1-1817-4df3-b9eb-c8020452f3e0', - name: 'timelineActivities', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'b6e22795-68e7-4d18-a242-545afea5a8a9', - nameSingular: 'timelineActivity', - namePlural: 'timelineActivities', - }, - targetFieldMetadata: { - __typename: 'field', - id: '7d14aef8-f63c-47cd-8ce7-29806518d6ca', - name: 'rocket', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'fd7a600a-93e7-4139-b944-4cd2022f07c6', - type: 'ACTOR', - name: 'createdBy', - label: 'Created by', - description: 'The creator of the record', - icon: 'IconCreativeCommonsSa', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:42.702Z', - updatedAt: '2024-10-10T15:05:42.702Z', - defaultValue: { - name: "''", - source: "'MANUAL'", - }, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1fb5fc79-28b2-419f-87cf-ecb498d7d3dd', - type: 'TEXT', - name: 'name', - label: 'Name', - description: 'Name', - icon: 'IconAbc', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:42.702Z', - updatedAt: '2024-10-10T15:05:42.702Z', - defaultValue: "'Untitled'", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'f3e444fc-afa9-45d7-b885-5000c2fa2b7d', - type: 'RELATION', - name: 'taskTargets', - label: 'Tasks', - description: 'Tasks tied to the Rocket', - icon: 'IconCheckbox', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:42.731Z', - updatedAt: '2024-10-10T15:05:42.731Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: '7df72299-c1f4-4575-98bf-24156cb3e5b8', - direction: 'ONE_TO_MANY', - sourceObjectMetadata: { - __typename: 'object', - id: '1e5ee6b2-67e5-4549-bebc-8d35bc6bc649', - nameSingular: 'rocket', - namePlural: 'rockets', - }, - sourceFieldMetadata: { - __typename: 'field', - id: 'f3e444fc-afa9-45d7-b885-5000c2fa2b7d', - name: 'taskTargets', - }, - targetObjectMetadata: { - __typename: 'object', - id: 'edfd2da3-26e4-4e84-b490-c0790848dc23', - nameSingular: 'taskTarget', - namePlural: 'taskTargets', - }, - targetFieldMetadata: { - __typename: 'field', - id: '4c42e3b9-26a9-4ce1-a37a-9606da0bc12a', - name: 'rocket', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '22ea99a0-3835-4e6a-b3ef-af40ec618326', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:42.702Z', - updatedAt: '2024-10-10T15:05:42.702Z', - defaultValue: 'now', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '6ba199c2-44a2-4cee-b9f2-ee6d6686b6f8', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:42.702Z', - updatedAt: '2024-10-10T15:05:42.702Z', - defaultValue: 'now', - options: null, - settings: null, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - { - __typename: 'objectEdge', - node: { - __typename: 'object', - isLabelSyncedWithName: true, - id: '149f1a0d-f528-48a3-a3f8-0203926d07f5', - dataSourceId: 'd8a38ce6-6ac9-4c10-b55f-408386f86290', - nameSingular: 'calendarChannelEventAssociation', - namePlural: 'calendarChannelEventAssociations', - labelSingular: 'Calendar Channel Event Association', - labelPlural: 'Calendar Channel Event Associations', - description: 'Calendar Channel Event Associations', - icon: 'IconCalendar', - isCustom: false, - isRemote: false, - isActive: true, - isSystem: true, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - labelIdentifierFieldMetadataId: - '0687870d-58fb-45ee-ad5f-9c35bea78a70', - imageIdentifierFieldMetadataId: null, - indexMetadatas: { - __typename: 'ObjectIndexMetadatasConnection', - edges: [ - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '7e192f75-5a94-4914-a60a-58d324a76ae4', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_a88c3ab301c25202d4b52fb4b1b', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '71fa278a-a8a3-4129-bdaf-8ee244ce5257', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '72a89c96-8301-46b5-b2ba-b05c418a9863', - }, - }, - ], - }, - }, - }, - { - __typename: 'indexEdge', - node: { - __typename: 'index', - id: '90fc8a97-03c9-4bf3-8de0-7a9bc6417579', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - name: 'IDX_92a888b681107c4f78926820db7', - indexWhereClause: null, - indexType: 'BTREE', - isUnique: false, - indexFieldMetadatas: { - __typename: 'IndexIndexFieldMetadatasConnection', - edges: [ - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: '632e255a-abbf-466c-96e1-f9b9c160cfc0', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 1, - fieldMetadataId: - '045d4eed-8f9f-463d-9ee0-4b579c090121', - }, - }, - { - __typename: 'indexFieldEdge', - node: { - __typename: 'indexField', - id: 'e7a0d7d5-0006-4795-b9e4-3ab822aa16e1', - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - order: 0, - fieldMetadataId: - '90e949eb-5d48-4a77-8496-71aa56184df7', - }, - }, - ], - }, - }, - }, - ], - }, - fields: { - __typename: 'ObjectFieldsConnection', - pageInfo: { - __typename: 'PageInfo', - hasNextPage: false, - hasPreviousPage: false, - startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', - endCursor: 'YXJyYXljb25uZWN0aW9uOjk=', - }, - edges: [ - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '045d4eed-8f9f-463d-9ee0-4b579c090121', - type: 'DATE_TIME', - name: 'deletedAt', - label: 'Deleted at', - description: 'Date when the record was deleted', - icon: 'IconCalendarMinus', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '1dc48a6a-270b-466a-8e11-9efd02729791', - type: 'RELATION', - name: 'calendarEvent', - label: 'Event ID', - description: 'Event ID', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'daa269f7-c111-492e-88c8-1bfe82e3d637', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '149f1a0d-f528-48a3-a3f8-0203926d07f5', - nameSingular: 'calendarChannelEventAssociation', - namePlural: 'calendarChannelEventAssociations', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '1dc48a6a-270b-466a-8e11-9efd02729791', - name: 'calendarEvent', - }, - targetObjectMetadata: { - __typename: 'object', - id: '981fd8a9-37a2-4742-98c1-08509d995bd3', - nameSingular: 'calendarEvent', - namePlural: 'calendarEvents', - }, - targetFieldMetadata: { - __typename: 'field', - id: '2d337999-7468-4f6f-bce0-87679dcb5e2f', - name: 'calendarChannelEventAssociations', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a407c6e4-c9ea-4dd4-838a-230893118ab8', - type: 'TEXT', - name: 'recurringEventExternalId', - label: 'Recurring Event ID', - description: 'Recurring Event ID', - icon: 'IconHistory', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0687870d-58fb-45ee-ad5f-9c35bea78a70', - type: 'UUID', - name: 'id', - label: 'Id', - description: 'Id', - icon: 'Icon123', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'uuid', - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '0b649b56-2018-4645-b6d1-3dbb44125b50', - type: 'TEXT', - name: 'eventExternalId', - label: 'Event external ID', - description: 'Event external ID', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: "''", - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '5d68a9e6-9e85-4ae4-8601-43e685dcf90b', - type: 'RELATION', - name: 'calendarChannel', - label: 'Channel ID', - description: 'Channel ID', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: true, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: { - __typename: 'RelationDefinition', - relationId: 'c040d959-808f-4b7d-8844-ac87a45c0b04', - direction: 'MANY_TO_ONE', - sourceObjectMetadata: { - __typename: 'object', - id: '149f1a0d-f528-48a3-a3f8-0203926d07f5', - nameSingular: 'calendarChannelEventAssociation', - namePlural: 'calendarChannelEventAssociations', - }, - sourceFieldMetadata: { - __typename: 'field', - id: '5d68a9e6-9e85-4ae4-8601-43e685dcf90b', - name: 'calendarChannel', - }, - targetObjectMetadata: { - __typename: 'object', - id: '8cceadc4-de6b-4ecf-8324-82c6b4eec077', - nameSingular: 'calendarChannel', - namePlural: 'calendarChannels', - }, - targetFieldMetadata: { - __typename: 'field', - id: '7ec1ea5f-c98f-4569-91ef-8797294cf183', - name: 'calendarChannelEventAssociations', - }, - }, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '90e949eb-5d48-4a77-8496-71aa56184df7', - type: 'UUID', - name: 'calendarEventId', - label: 'Event ID id (foreign key)', - description: 'Event ID id foreign key', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'a4b46b44-3ff6-46cd-b354-2ae81e3298e8', - type: 'DATE_TIME', - name: 'updatedAt', - label: 'Last update', - description: 'Last time the record was changed', - icon: 'IconCalendarClock', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: '72a89c96-8301-46b5-b2ba-b05c418a9863', - type: 'UUID', - name: 'calendarChannelId', - label: 'Channel ID id (foreign key)', - description: 'Channel ID id foreign key', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: true, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: null, - options: null, - settings: null, - relationDefinition: null, - }, - }, - { - __typename: 'fieldEdge', - node: { - __typename: 'field', - id: 'b7acd3f1-6921-4a7a-92a6-fbf48572bbc2', - type: 'DATE_TIME', - name: 'createdAt', - label: 'Creation date', - description: 'Creation date', - icon: 'IconCalendar', - isCustom: false, - isActive: true, - isSystem: false, - isNullable: false, - isUnique: false, - createdAt: '2024-10-10T15:05:37.064Z', - updatedAt: '2024-10-10T15:05:37.064Z', - defaultValue: 'now', - options: null, - settings: { - displayAsRelativeDate: true, - }, - relationDefinition: null, - }, - }, - ], - }, - }, - }, - ], +{ + "objects": { + "__typename": "ObjectConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjM1" }, - } as ObjectMetadataItemsQuery; + "edges": [ + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions", + "labelSingular": "Workflow Version", + "labelPlural": "Workflow Versions", + "description": "A workflow version", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "eb5556b8-c1a2-4878-99b8-5672899a4991", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "982e771e-36b5-43d7-8311-9e0147413c37", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline activities linked to the version", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "db8b3588-fc2e-4809-83da-585d5a7c7b94", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "982e771e-36b5-43d7-8311-9e0147413c37", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "971d7e6e-8ac5-45ee-8e8b-2fe38f3ee305", + "name": "workflowVersion" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eb5556b8-c1a2-4878-99b8-5672899a4991", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "The workflow version name", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e7f40f5e-c67a-488b-aa6b-52769a752df7", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the workflow version", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "2871058e-3264-4ab3-8b57-2f35cd39c676", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e7f40f5e-c67a-488b-aa6b-52769a752df7", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "efe57404-33f2-4fc6-9966-4eb401268efb", + "name": "workflowVersion" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "899c0065-cf52-4db7-91e0-c1b92367f348", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0acb3058-0980-4c66-a04a-84b0992ddc9e", + "type": FieldMetadataType.Uuid, + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "WorkflowVersion workflow id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "aa6e1d88-b8a9-4ffa-b7db-22cc28f1173b", + "type": FieldMetadataType.Relation, + "name": "runs", + "label": "Runs", + "description": "Workflow runs linked to the version.", + "icon": "IconRun", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6ab227db-4062-4786-a249-05df1ba98190", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "aa6e1d88-b8a9-4ffa-b7db-22cc28f1173b", + "name": "runs" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "28876be2-7039-438d-937b-2c0026413ee8", + "name": "workflowVersion" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "912d096f-9285-4dcc-8f5f-33745c47dd7f", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Workflow version position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "00a18b73-d749-4be2-b804-682b9c368a38", + "type": FieldMetadataType.RawJson, + "name": "trigger", + "label": "Version trigger", + "description": "Json object to provide trigger", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2fb0d062-21fb-474e-8f52-c71ea56f2cce", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7d349714-b35a-4aa6-8974-792e79f51e74", + "type": FieldMetadataType.Select, + "name": "status", + "label": "Version status", + "description": "The workflow version status", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'DRAFT'", + "options": [ + { + "id": "478ff8ba-744f-4ef8-b5b4-7c4d2a9e5959", + "color": "yellow", + "label": "Draft", + "value": "DRAFT", + "position": 0 + }, + { + "id": "2ded99ef-1eaf-4096-8f8c-9f635518c399", + "color": "green", + "label": "Active", + "value": "ACTIVE", + "position": 1 + }, + { + "id": "9c770342-99e0-4c65-ae01-c21b3c03bfd1", + "color": "red", + "label": "Deactivated", + "value": "DEACTIVATED", + "position": 2 + }, + { + "id": "e78a983d-5195-430f-84a1-09c2c80d9109", + "color": "grey", + "label": "Archived", + "value": "ARCHIVED", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ec9e0d24-a088-412b-a8d7-1dda6e366ae6", + "type": FieldMetadataType.RawJson, + "name": "steps", + "label": "Version steps", + "description": "Json object to provide steps", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2b8f293d-d90c-4796-8324-8a6fef5334fb", + "type": FieldMetadataType.Relation, + "name": "workflow", + "label": "Workflow", + "description": "WorkflowVersion workflow", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6425441d-49f2-4cb5-a9e2-f4acce604da4", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2b8f293d-d90c-4796-8324-8a6fef5334fb", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "01508898-496f-4256-bc88-a907faedc424", + "name": "versions" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ce353034-a10e-4ead-8ae9-acffcc5f4bd9", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "10880377-0ba7-4e4b-8e9b-2970d457791c", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "81760bd0-5d19-42bc-a68a-c9771f3c1d94", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_a362c5eff4a28fcdffdd3bdff16", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "dce1e1f3-c31e-4c99-a19e-83541aa38767", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "0acb3058-0980-4c66-a04a-84b0992ddc9e" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "f46b3fd8-c78d-4203-acf3-dec44e6a0330", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "viewGroup", + "namePlural": "viewGroups", + "labelSingular": "View Group", + "labelPlural": "View Groups", + "description": "(System) View Groups", + "icon": "IconTag", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "a6d801ab-86c2-4927-9514-15941ceb3f01", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9609d742-854b-48cd-86cc-582ac1b83ded", + "type": FieldMetadataType.Boolean, + "name": "isVisible", + "label": "Visible", + "description": "View Group visibility", + "icon": "IconEye", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "70bbfd52-de22-4616-9b15-95934fc9750f", + "type": FieldMetadataType.Number, + "name": "position", + "label": "Position", + "description": "View Field position", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "de0b33e4-7e73-4f4e-b010-6f8343b0e510", + "type": FieldMetadataType.Text, + "name": "fieldValue", + "label": "Field Value", + "description": "Group by this field value", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0fabe03d-9be8-49ac-aa59-03e36c836790", + "type": FieldMetadataType.Uuid, + "name": "fieldMetadataId", + "label": "Field Metadata Id", + "description": "View Group target field", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "46e04019-dc99-4cbd-a313-0b8603230692", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3db34f42-2dde-4a5f-9607-60b319aad24d", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "66a8054a-4d36-49af-bd29-c48c63383c95", + "type": FieldMetadataType.Relation, + "name": "view", + "label": "View", + "description": "View Group related view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "af260d5e-13f4-4e6a-bf9f-9790d4335ea4", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "f46b3fd8-c78d-4203-acf3-dec44e6a0330", + "nameSingular": "viewGroup", + "namePlural": "viewGroups" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "66a8054a-4d36-49af-bd29-c48c63383c95", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "1c0d42dd-1339-4228-9e7c-1fd00d6913f4", + "name": "viewGroups" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "432000f7-c86f-4e85-8ba0-67d2c6b24735", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a6d801ab-86c2-4927-9514-15941ceb3f01", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "35e01744-4117-4f1f-91b5-6e91a014cff9", + "type": FieldMetadataType.Uuid, + "name": "viewId", + "label": "View id (foreign key)", + "description": "View Group related view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "9a2af221-ff70-462a-9a0d-273294f76b11", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_3819ec73f42c743a0d3700ae8e4", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "227f458e-c34d-4edc-a0cd-724b8d8198fb", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "35e01744-4117-4f1f-91b5-6e91a014cff9" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations", + "labelSingular": "Calendar Channel Event Association", + "labelPlural": "Calendar Channel Event Associations", + "description": "Calendar Channel Event Associations", + "icon": "IconCalendar", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "56c8c695-a08b-406f-8a9a-5c3b7682a355", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ac8bb4f0-4fb9-4d98-8649-fd32dae2ec7e", + "type": FieldMetadataType.Relation, + "name": "calendarEvent", + "label": "Event ID", + "description": "Event ID", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8a9dd19e-e31a-4743-adbc-5570bdde4748", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "ac8bb4f0-4fb9-4d98-8649-fd32dae2ec7e", + "name": "calendarEvent" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "67a1dc04-5e3a-4dda-8c21-4d1d74605b54", + "name": "calendarChannelEventAssociations" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c90cfcf9-28a5-42ce-81c6-33ee9c106b73", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "24cf2a29-ee54-4fab-987f-7dc1e030828c", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0080b3c4-4976-4354-b46a-fa2e827be3e1", + "type": FieldMetadataType.Text, + "name": "recurringEventExternalId", + "label": "Recurring Event ID", + "description": "Recurring Event ID", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "56c8c695-a08b-406f-8a9a-5c3b7682a355", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "48184b1a-843b-4dc5-a3a9-d266b359301f", + "type": FieldMetadataType.Uuid, + "name": "calendarEventId", + "label": "Event ID id (foreign key)", + "description": "Event ID id foreign key", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d2ccfbf0-0c9b-446e-a147-73b79fa32a62", + "type": FieldMetadataType.Text, + "name": "eventExternalId", + "label": "Event external ID", + "description": "Event external ID", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "37cc04ac-ae53-40c5-8a66-bd2e84244f05", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4d0f0c12-fca8-4111-ab73-95ba8bc4c404", + "type": FieldMetadataType.Relation, + "name": "calendarChannel", + "label": "Channel ID", + "description": "Channel ID", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9285dd0e-c431-421e-993f-17ddda252c29", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4d0f0c12-fca8-4111-ab73-95ba8bc4c404", + "name": "calendarChannel" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "9f58df6d-c341-42ff-a4d3-1278b617f3c1", + "name": "calendarChannelEventAssociations" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "06d38735-2073-4a3d-9a67-45c7bd00df60", + "type": FieldMetadataType.Uuid, + "name": "calendarChannelId", + "label": "Channel ID id (foreign key)", + "description": "Channel ID id foreign key", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "3b18525d-7b87-4fa4-91b5-46cd6cfdf501", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_92a888b681107c4f78926820db7", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "dfa07df1-a071-4b7a-b574-32419d37b5f5", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "c90cfcf9-28a5-42ce-81c6-33ee9c106b73" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "da9fc6ec-8b75-4a24-8693-4923900fb409", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "48184b1a-843b-4dc5-a3a9-d266b359301f" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "63019d1e-d986-47d9-bf6e-200cea4422aa", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_a88c3ab301c25202d4b52fb4b1b", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "4e831c1f-8089-4c72-ab06-0a3f07247563", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "c90cfcf9-28a5-42ce-81c6-33ee9c106b73" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "3ce50d65-524e-4dea-8938-1802339bcf9f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "06d38735-2073-4a3d-9a67-45c7bd00df60" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "opportunity", + "namePlural": "opportunities", + "labelSingular": "Opportunity", + "labelPlural": "Opportunities", + "description": "An opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "75b1154a-d3db-4492-b9c7-ebbc046b0da6", + "imageIdentifierFieldMetadataId": null, + "shortcut": "O", + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE5" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a532ecf7-6e9c-4980-8f2c-9b8b37f4f1ce", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline Activities linked to the opportunity.", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "1f45c275-bc77-4469-b180-2be3916b6f08", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "a532ecf7-6e9c-4980-8f2c-9b8b37f4f1ce", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "5607d2b7-1027-42d2-9362-4b51d473758a", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1f28c888-a54d-427c-ac2b-b240a417c2a3", + "type": FieldMetadataType.Uuid, + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Opportunity company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "13c8798a-234a-42ab-8051-c3a8a2478811", + "type": FieldMetadataType.Relation, + "name": "attachments", + "label": "Attachments", + "description": "Attachments linked to the opportunity", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "d6f4bd6d-7d93-4111-b885-61c7f63a1edc", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "13c8798a-234a-42ab-8051-c3a8a2478811", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "98c67807-d6b1-4d77-8788-88e09e4495f1", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "57b74932-1aa3-4372-9962-138ff1493eeb", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the opportunity", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "0cc12e6a-f7f5-40e5-a686-0eba9c8ed934", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "57b74932-1aa3-4372-9962-138ff1493eeb", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e1c22c51-fdf3-4c9f-bcce-e4e4c0ebc915", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "77cf5639-c273-4495-897c-87b559433b79", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "306eda7f-5483-49a6-89ac-3b5290f54040", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8ed10688-93f8-4d1e-8051-47c784244be1", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "13cc2ff2-c423-4502-8ea3-d7679b86bcd0", + "type": FieldMetadataType.Relation, + "name": "noteTargets", + "label": "Notes", + "description": "Notes tied to the opportunity", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a1922bea-dc39-46ce-9237-3d969a82897e", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "13cc2ff2-c423-4502-8ea3-d7679b86bcd0", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6a1cb524-661c-4a0a-8552-edd5ee8c3070", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fb964332-c2a5-43d0-8da1-ff7127fa0a42", + "type": FieldMetadataType.Relation, + "name": "pointOfContact", + "label": "Point of Contact", + "description": "Opportunity point of contact", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6aa55cb7-0038-495b-97f2-c80a48c5819a", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "fb964332-c2a5-43d0-8da1-ff7127fa0a42", + "name": "pointOfContact" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "dbec4d0c-a037-42d9-8e49-b945f65eec23", + "name": "pointOfContactForOpportunities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "69eeb44c-8fa2-4b89-9a12-cc4668c4334d", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c9b17c6b-286e-4ee9-af2c-01fca39e46c9", + "type": FieldMetadataType.TsVector, + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "98bc2348-f202-4525-82cf-ce4f992e58fc", + "type": FieldMetadataType.Select, + "name": "stage", + "label": "Stage", + "description": "Opportunity stage", + "icon": "IconProgressCheck", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'NEW'", + "options": [ + { + "id": "0db17ea8-55e2-4095-83c7-52a3d7846e68", + "color": "red", + "label": "New", + "value": "NEW", + "position": 0 + }, + { + "id": "7907806c-0fb9-4619-8014-07cf753c9608", + "color": "purple", + "label": "Screening", + "value": "SCREENING", + "position": 1 + }, + { + "id": "2084e0b5-bf8d-4a19-8c76-c7fcaa6eb5a7", + "color": "sky", + "label": "Meeting", + "value": "MEETING", + "position": 2 + }, + { + "id": "9f2a2b87-7393-46ca-ba5a-5483ec9995fc", + "color": "turquoise", + "label": "Proposal", + "value": "PROPOSAL", + "position": 3 + }, + { + "id": "29b9cf49-ff05-40cc-baf0-cdb2f8a1e5bf", + "color": "yellow", + "label": "Customer", + "value": "CUSTOMER", + "position": 4 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a5666ad4-ad67-4b27-b9a6-6dd3d1b59d97", + "type": FieldMetadataType.Currency, + "name": "amount", + "label": "Amount", + "description": "Opportunity amount", + "icon": "IconCurrencyDollar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "amountMicros": null, + "currencyCode": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e24d5ae6-6675-4b3e-a52f-5c21df92fb7c", + "type": FieldMetadataType.DateTime, + "name": "closeDate", + "label": "Close date", + "description": "Opportunity close date", + "icon": "IconCalendarEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0a687cbd-7462-41ec-a23b-d6430de48cf0", + "type": FieldMetadataType.Relation, + "name": "taskTargets", + "label": "Tasks", + "description": "Tasks tied to the opportunity", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e1ee47a2-c138-4d9d-95da-46e3c7ee0816", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "0a687cbd-7462-41ec-a23b-d6430de48cf0", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "62113668-83c0-4b0d-93de-b3380a4378c0", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "75b1154a-d3db-4492-b9c7-ebbc046b0da6", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "The opportunity name", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "65c671ad-fca9-473f-b76a-74c02922cd62", + "type": FieldMetadataType.Uuid, + "name": "pointOfContactId", + "label": "Point of Contact id (foreign key)", + "description": "Opportunity point of contact id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eb803915-2b19-44ff-86dd-3de5753f8ee2", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Opportunity record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "92d11fd5-ea02-4d32-a737-411fac9fd8b5", + "type": FieldMetadataType.Relation, + "name": "company", + "label": "Company", + "description": "Opportunity company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ca9f7a40-30f1-4f83-a8cc-6bdd30ad8056", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "92d11fd5-ea02-4d32-a737-411fac9fd8b5", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "029aa48f-d842-4120-9ad1-ded40547ac61", + "name": "opportunities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "55864fe7-c125-407d-b1eb-f9e51f8d6f4b", + "type": FieldMetadataType.Actor, + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "9311b7fd-4808-4679-b100-54cbf379d77a", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_9f96d65260c4676faac27cb6bf3", + "indexWhereClause": null, + "indexType": IndexType.Gin, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "aa5a7130-8266-423c-a7c1-7a6f57cde89f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "c9b17c6b-286e-4ee9-af2c-01fca39e46c9" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "25a06cab-a0b3-4702-a46e-506c26576d66", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_4f469d3a7ee08aefdc099836364", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "be0953ba-0547-41b3-acdf-6c9290f27ffc", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "77cf5639-c273-4495-897c-87b559433b79" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "d0af7130-631c-4980-86cc-59719b7bd37f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_82cdf247553f960093baa7c6635", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c4a04777-572a-407a-9883-43cc9e89907a", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "77cf5639-c273-4495-897c-87b559433b79" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "f67113c7-e2e1-436b-9e49-3d50b7c1b3d6", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "65c671ad-fca9-473f-b76a-74c02922cd62" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "105b3d42-6ec9-443a-a1d8-8c394961be05", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_425ac6c73ecb993cf9cbc2c2b00", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "d0812a0f-553a-45c6-9844-50692a593fdb", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "1f28c888-a54d-427c-ac2b-b240a417c2a3" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents", + "labelSingular": "Calendar event", + "labelPlural": "Calendar events", + "description": "Calendar events", + "icon": "IconCalendar", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "54286517-a277-407e-b90d-d52bfdcc8413", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ba15e75b-b2ff-46ed-a51c-e1c78f30e7ab", + "type": FieldMetadataType.Text, + "name": "conferenceSolution", + "label": "Conference Solution", + "description": "Conference Solution", + "icon": "IconScreenShare", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8c4e0319-cbae-4b47-b7e3-04dcabed5de7", + "type": FieldMetadataType.DateTime, + "name": "externalCreatedAt", + "label": "Creation DateTime", + "description": "Creation DateTime", + "icon": "IconCalendarPlus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dd586184-7c2d-4cd0-9acf-66eb5b35e748", + "type": FieldMetadataType.DateTime, + "name": "endsAt", + "label": "End Date", + "description": "End Date", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "35a7c874-d55b-47b5-8e6f-7c3cad1a814a", + "type": FieldMetadataType.DateTime, + "name": "externalUpdatedAt", + "label": "Update DateTime", + "description": "Update DateTime", + "icon": "IconCalendarCog", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "be9c35ab-b3eb-4053-971a-88f7ad3b5636", + "type": FieldMetadataType.Boolean, + "name": "isCanceled", + "label": "Is canceled", + "description": "Is canceled", + "icon": "IconCalendarCancel", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "543d7dba-1469-4733-af82-daea7a226944", + "type": FieldMetadataType.Links, + "name": "conferenceLink", + "label": "Meet Link", + "description": "Meet Link", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "73dcdf65-ba3f-4a1f-984b-b1364e111151", + "type": FieldMetadataType.DateTime, + "name": "startsAt", + "label": "Start Date", + "description": "Start Date", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "50ba6c47-1d45-48e2-b3f0-71b82e7f2b91", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d1ac1b77-5a11-445b-8900-740ecd0466e1", + "type": FieldMetadataType.Boolean, + "name": "isFullDay", + "label": "Is Full Day", + "description": "Is Full Day", + "icon": "Icon24Hours", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b2be2ff3-4d92-4326-a18a-2fbca11bb0f6", + "type": FieldMetadataType.Text, + "name": "iCalUID", + "label": "iCal UID", + "description": "iCal UID", + "icon": "IconKey", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "54286517-a277-407e-b90d-d52bfdcc8413", + "type": FieldMetadataType.Text, + "name": "title", + "label": "Title", + "description": "Title", + "icon": "IconH1", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a24a0b33-866c-4e8c-beb8-59ff70e2b567", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "09edc594-fdc7-44a4-8079-9560c804e85b", + "type": FieldMetadataType.Relation, + "name": "calendarEventParticipants", + "label": "Event Participants", + "description": "Event Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "3d04a82d-f4eb-4c8d-b09f-e86409e0883b", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "09edc594-fdc7-44a4-8079-9560c804e85b", + "name": "calendarEventParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "1cb56c41-518b-4c17-a171-03c078c5da81", + "name": "calendarEvent" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "67a1dc04-5e3a-4dda-8c21-4d1d74605b54", + "type": FieldMetadataType.Relation, + "name": "calendarChannelEventAssociations", + "label": "Calendar Channel Event Associations", + "description": "Calendar Channel Event Associations", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8a9dd19e-e31a-4743-adbc-5570bdde4748", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "67a1dc04-5e3a-4dda-8c21-4d1d74605b54", + "name": "calendarChannelEventAssociations" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "ac8bb4f0-4fb9-4d98-8649-fd32dae2ec7e", + "name": "calendarEvent" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "606a1a41-3b40-4eab-8c99-8cae5bfda4e0", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e8557e5a-6d22-455a-b5f5-25df58845478", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "95223c7e-dfe9-4c8c-a278-04b7b385d81f", + "type": FieldMetadataType.Text, + "name": "description", + "label": "Description", + "description": "Description", + "icon": "IconFileDescription", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "433292a4-cdae-4752-a291-c32b2db8ff85", + "type": FieldMetadataType.Text, + "name": "location", + "label": "Location", + "description": "Location", + "icon": "IconMapPin", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "c0242465-7a74-439d-9b8c-60737c781e3f", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "viewSort", + "namePlural": "viewSorts", + "labelSingular": "View Sort", + "labelPlural": "View Sorts", + "description": "(System) View Sorts", + "icon": "IconArrowsSort", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "ce16d1b1-d034-463d-802a-9bdf85621e96", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjc=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e79e466c-e7fa-460d-be8b-be17973e9f4e", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ce16d1b1-d034-463d-802a-9bdf85621e96", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a6575e42-bc36-4bfd-bcdf-9b5236cc798f", + "type": FieldMetadataType.Text, + "name": "direction", + "label": "Direction", + "description": "View Sort direction", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'asc'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8a7b8246-7699-4a1e-a946-6378ad2a904f", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "27d1a7d0-e4f1-4e88-9460-004838fb9075", + "type": FieldMetadataType.Uuid, + "name": "viewId", + "label": "View id (foreign key)", + "description": "View Sort related view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dca82c7e-aff3-4a8e-94ce-6174c6dfd950", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eb4e0589-4d58-4ded-9261-7f91c75b4ef5", + "type": FieldMetadataType.Relation, + "name": "view", + "label": "View", + "description": "View Sort related view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a76af472-0c5f-420c-8f7a-96827675d084", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "c0242465-7a74-439d-9b8c-60737c781e3f", + "nameSingular": "viewSort", + "namePlural": "viewSorts" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "eb4e0589-4d58-4ded-9261-7f91c75b4ef5", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8ea5df10-7aaf-417f-b131-e18c902b7330", + "name": "viewSorts" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "860225c1-357f-46d1-8d5d-6334da2213cc", + "type": FieldMetadataType.Uuid, + "name": "fieldMetadataId", + "label": "Field Metadata Id", + "description": "View Sort target field", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "d41392b8-2a59-4a14-91ff-b6e6e87863dc", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_a01889a3e5b30d56447736329aa", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c1029dbb-65f6-4281-b4fe-55c13ff2fb2b", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "27d1a7d0-e4f1-4e88-9460-004838fb9075" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "53bdad93-480a-45ab-a18f-3e9aa6d9df68", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "e79e466c-e7fa-460d-be8b-be17973e9f4e" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "attachment", + "namePlural": "attachments", + "labelSingular": "Attachment", + "labelPlural": "Attachments", + "description": "An attachment", + "icon": "IconFileImport", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "3c643758-d1b8-4605-b544-469f9a7aca35", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjIw" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b0c5d631-1242-4fbc-9570-501a17a65338", + "type": FieldMetadataType.Relation, + "name": "rocket", + "label": "Rocket", + "description": "Attachment Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.780Z", + "updatedAt": "2024-10-30T13:39:30.780Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "bf3ebee1-7f7c-4f0a-923b-278b055708d9", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b0c5d631-1242-4fbc-9570-501a17a65338", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6e47f007-07b7-4158-8c17-412fb3685545", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b603e4f0-a364-47e2-93a2-794d67f26d48", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "31a56b77-b8ba-416d-bf48-b43d08dfdf5d", + "type": FieldMetadataType.Uuid, + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Attachment company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "62d99c85-a1ca-44d1-ab8c-b8c34c5860a2", + "type": FieldMetadataType.Uuid, + "name": "authorId", + "label": "Author id (foreign key)", + "description": "Attachment author id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c72fe729-e505-449c-b3a9-1987ba4d70e0", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0498c627-ac84-46e1-b7dc-fe6f2e3f204f", + "type": FieldMetadataType.Text, + "name": "fullPath", + "label": "Full path", + "description": "Attachment full path", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "10c6236c-2bb6-4a11-ad24-3e8695c24616", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "98c67807-d6b1-4d77-8788-88e09e4495f1", + "type": FieldMetadataType.Relation, + "name": "opportunity", + "label": "Opportunity", + "description": "Attachment opportunity", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "d6f4bd6d-7d93-4111-b885-61c7f63a1edc", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "98c67807-d6b1-4d77-8788-88e09e4495f1", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "13c8798a-234a-42ab-8051-c3a8a2478811", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ee3e26b4-e615-4cf5-82bd-32abd4c65683", + "type": FieldMetadataType.Uuid, + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "Attachment opportunity id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9033f278-7b1d-4a7e-9989-c3d3b6fd750b", + "type": FieldMetadataType.Uuid, + "name": "personId", + "label": "Person id (foreign key)", + "description": "Attachment person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4ccca276-e876-4a1d-b64b-12ab3242b605", + "type": FieldMetadataType.Relation, + "name": "person", + "label": "Person", + "description": "Attachment person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "13103358-7184-4a0c-87e7-1f622480cb36", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4ccca276-e876-4a1d-b64b-12ab3242b605", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "bc5fe4dd-e737-4596-bbb2-50660f43b920", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3ca64b7f-1365-4d71-add0-c5439be2b4a3", + "type": FieldMetadataType.Uuid, + "name": "noteId", + "label": "Note id (foreign key)", + "description": "Attachment note id foreign key", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "12eb10d6-2890-4c94-a278-5e94f9dd3d3e", + "type": FieldMetadataType.Relation, + "name": "company", + "label": "Company", + "description": "Attachment company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "06685252-e45f-4be7-b26c-4cef8f9f1bf6", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "12eb10d6-2890-4c94-a278-5e94f9dd3d3e", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "53fc0161-cf55-4c8e-bf86-64197868a89a", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cdf24ecd-536b-430c-a5d5-01d875f6d72d", + "type": FieldMetadataType.Relation, + "name": "author", + "label": "Author", + "description": "Attachment author", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "032b61bb-ee5d-4996-8988-644cd785f0d5", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "cdf24ecd-536b-430c-a5d5-01d875f6d72d", + "name": "author" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "612338fe-45ea-444b-845e-a2d049b86f80", + "name": "authoredAttachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "42e91677-2ca8-47ca-bce9-0f89369fe20e", + "type": FieldMetadataType.Relation, + "name": "note", + "label": "Note", + "description": "Attachment note", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "54b587f6-d064-4d26-ad76-bb25c02467ba", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "42e91677-2ca8-47ca-bce9-0f89369fe20e", + "name": "note" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "nameSingular": "note", + "namePlural": "notes" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2e691afe-cf6b-4d3a-9197-fd524c26eed7", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7dc36395-4c42-42cf-be4e-ce5c2a37f52e", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1b79ba2b-e179-4d58-b864-aeed0b2b8647", + "type": FieldMetadataType.Uuid, + "name": "taskId", + "label": "Task id (foreign key)", + "description": "Attachment task id foreign key", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3c643758-d1b8-4605-b544-469f9a7aca35", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "Attachment name", + "icon": "IconFileUpload", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e1186bb6-6864-4a5e-99bb-c77c2a3fd747", + "type": FieldMetadataType.Relation, + "name": "task", + "label": "Task", + "description": "Attachment task", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "10a59354-1c7c-4f9d-8ef4-5834319fbed0", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e1186bb6-6864-4a5e-99bb-c77c2a3fd747", + "name": "task" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "0426d319-3928-4dfc-93ce-d4cc6172b30d", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e4b8efea-e530-4d71-93d0-1bab8b7de560", + "type": FieldMetadataType.Text, + "name": "type", + "label": "Type", + "description": "Attachment type", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "26b6ac5f-e7bc-4107-82cd-4deb51c62966", + "type": FieldMetadataType.Uuid, + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Attachment Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.637Z", + "updatedAt": "2024-10-30T13:39:30.637Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "4c5b5ca6-80bf-4d0d-a0cb-247d2fc59675", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_2055e4e583e9a2e5b4c239fd992", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "742622b9-53cc-4638-9695-f09f2de6f27b", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "1b79ba2b-e179-4d58-b864-aeed0b2b8647" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ce735c2d-1818-456a-a3b5-f06e784186e0", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_91e687ea21123af4e02c9a07a43", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "e5d0c4ed-3a43-407d-808a-73493c28d7fb", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_3ca1d5243ff67f58c7c65c9a8a2", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "2a221b25-860b-43ca-a881-651b48d1b013", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "9033f278-7b1d-4a7e-9989-c3d3b6fd750b" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e313c85c-90d7-4d26-801d-24f79a118f42", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "c72fe729-e505-449c-b3a9-1987ba4d70e0" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "f80ceedc-e94d-4303-9f31-993097c7ad38", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_0698fed0e67005b7051b5d353b6", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "dae922ce-13c9-49ee-97aa-67b452b1a919", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "3ca64b7f-1365-4d71-add0-c5439be2b4a3" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "657ab772-28a5-4d8f-a48d-c0f704ae4960", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "c72fe729-e505-449c-b3a9-1987ba4d70e0" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "4435a337-4bb0-4191-a489-dc02a3bec5cd", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_73615a6bdc972b013956b19c59e", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "432ca636-9856-429f-a5e9-a0e540d84bb5", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "ee3e26b4-e615-4cf5-82bd-32abd4c65683" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "b8779f2a-0e28-4a21-afa2-b6efc0e4a5e9", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_30f969e0ec549acca94396d3efe", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5331f45b-7bb4-46e0-b600-e125632c6fcf", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "c72fe729-e505-449c-b3a9-1987ba4d70e0" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "b6ebd1d3-81ea-432d-9e43-87d92c76aaca", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "webhook", + "namePlural": "webhooks", + "labelSingular": "Webhook", + "labelPlural": "Webhooks", + "description": "A webhook", + "icon": "IconRobot", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "4724a667-cc81-4ab8-b539-7cfb600d64fd", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a0afb833-f69f-412b-a7ba-26943ed3fb56", + "type": FieldMetadataType.Text, + "name": "description", + "label": "Description", + "description": null, + "icon": "IconInfo", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0e1b5461-98df-41d1-a33b-fec6bf065b19", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "153053af-3c65-419e-a4b0-126f53b55304", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4724a667-cc81-4ab8-b539-7cfb600d64fd", + "type": FieldMetadataType.Text, + "name": "targetUrl", + "label": "Target Url", + "description": "Webhook target url", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3342fee9-486b-4e00-9277-77fe81cc330d", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "06b7e134-e473-4ba5-a581-af7e3c4556ae", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5287c4e3-8766-413b-b461-dd1f0da42f0f", + "type": FieldMetadataType.Array, + "name": "operations", + "label": "Operations", + "description": "Webhook operations", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": [ + "*.*" + ], + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "b62c1e5e-cb2c-4f66-bd0a-777ea6198ca8", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "workflowEventListener", + "namePlural": "workflowEventListeners", + "labelSingular": "WorkflowEventListener", + "labelPlural": "WorkflowEventListeners", + "description": "A workflow event listener", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "a6855cee-12e8-49a4-ad6d-2b35a49b1f5a", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a6855cee-12e8-49a4-ad6d-2b35a49b1f5a", + "type": FieldMetadataType.Text, + "name": "eventName", + "label": "Name", + "description": "The workflow event listener name", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7e8b73cc-be95-44f2-900e-48c2adf2c599", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "aef588f4-f4e9-482c-aa4e-611f09066758", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "743d0810-9a03-4481-8397-716c3c7fe3b9", + "type": FieldMetadataType.Relation, + "name": "workflow", + "label": "Workflow", + "description": "WorkflowEventListener workflow", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6208cf61-25fa-4660-9b39-ea1e52aa23c8", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "b62c1e5e-cb2c-4f66-bd0a-777ea6198ca8", + "nameSingular": "workflowEventListener", + "namePlural": "workflowEventListeners" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "743d0810-9a03-4481-8397-716c3c7fe3b9", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "27b31a92-d137-48e0-8abe-a979a92bd486", + "name": "eventListeners" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c22fa0ef-9ccd-4619-af0e-0d7237830446", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eeb228e9-5550-497d-961a-ee96983d6c9d", + "type": FieldMetadataType.Uuid, + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "WorkflowEventListener workflow id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3a827a88-014b-488d-85d2-5e0ebbed35fb", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "0cc69985-1fba-4631-9dd0-a2e65016813e", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_9d6a1fb98ccde16ede8c5949d40", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "6b638f96-2b1c-4830-afff-8b33867ef002", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "eeb228e9-5550-497d-961a-ee96983d6c9d" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "company", + "namePlural": "companies", + "labelSingular": "Company", + "labelPlural": "Companies", + "description": "A company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "8c6fe2b6-1a6a-438b-af6f-7d928215c8a9", + "imageIdentifierFieldMetadataId": null, + "shortcut": "C", + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjI3" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "642dedcf-1ba1-45f4-9a66-ca1aa492e075", + "type": FieldMetadataType.Relation, + "name": "noteTargets", + "label": "Notes", + "description": "Notes tied to the company", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "f7894817-6567-44a9-a006-2eae13eee010", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "642dedcf-1ba1-45f4-9a66-ca1aa492e075", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "7df89c3c-90bd-40ef-bbc9-289c119f1fd8", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a6780762-90eb-47c4-9b63-9227d25ce311", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Company record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "340e2bc4-9759-4147-8f9b-5573139c4e02", + "type": FieldMetadataType.Boolean, + "name": "visaSponsorship", + "label": "Visa Sponsorship", + "description": "Company's Visa Sponsorship Policy", + "icon": "IconBrandVisa", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:25.567Z", + "updatedAt": "2024-10-30T13:39:25.567Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d516ba45-592a-4fc8-9922-fbc711455f2e", + "type": FieldMetadataType.Actor, + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d92db552-ee79-459e-9db4-513531ed7033", + "type": FieldMetadataType.MultiSelect, + "name": "workPolicy", + "label": "Work Policy", + "description": "Company's Work Policy", + "icon": "IconHome", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:24.844Z", + "updatedAt": "2024-10-30T13:39:24.844Z", + "defaultValue": null, + "options": [ + { + "id": "d16932bf-4c73-4d35-8d97-f6bde19ed90d", + "color": "green", + "label": "On-Site", + "value": "ON_SITE", + "position": 0 + }, + { + "id": "9a79c27e-5459-4423-8548-5d2c38f88e95", + "color": "turquoise", + "label": "Hybrid", + "value": "HYBRID", + "position": 1 + }, + { + "id": "95f90eb1-c8ee-4f1d-8249-2f773a4c0372", + "color": "sky", + "label": "Remote Work", + "value": "REMOTE_WORK", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fd40372d-0805-4d54-a848-45b35c5ec4c7", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline Activities linked to the company", + "icon": "IconIconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "267d91a0-27bf-4da8-a453-37b80e9553ab", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "fd40372d-0805-4d54-a848-45b35c5ec4c7", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "9febbd65-1690-4221-90d4-0da74f755899", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ea7e9ce5-c5f7-404e-9439-ad9edf5d03cf", + "type": FieldMetadataType.Relation, + "name": "people", + "label": "People", + "description": "People linked to the company.", + "icon": "IconUsers", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "66654d28-8ce1-4750-8bd3-ba30a97af1eb", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "ea7e9ce5-c5f7-404e-9439-ad9edf5d03cf", + "name": "people" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "334443ec-bfd0-4492-8edd-9dd7def5f73e", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "982f72bf-715d-4fdb-b201-df171280f97e", + "type": FieldMetadataType.Address, + "name": "address", + "label": "Address", + "description": "Address of the company", + "icon": "IconMap", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "addressLat": null, + "addressLng": null, + "addressCity": "''", + "addressState": "''", + "addressCountry": "''", + "addressStreet1": "''", + "addressStreet2": "''", + "addressPostcode": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eefb9aea-e9a0-4a05-860e-6df52f541399", + "type": FieldMetadataType.Links, + "name": "domainName", + "label": "Domain Name", + "description": "The company website URL. We use this url to fetch the company icon", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fce51268-dcdd-4e48-ba8e-dd7c140dd3d9", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fc365a73-e616-4f34-bf2c-cf1564956d82", + "type": FieldMetadataType.Boolean, + "name": "idealCustomerProfile", + "label": "ICP", + "description": "Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you", + "icon": "IconTarget", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8447e8fa-bb6c-4a20-9b65-1e833227a0b5", + "type": FieldMetadataType.Relation, + "name": "taskTargets", + "label": "Tasks", + "description": "Tasks tied to the company", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "30fd536e-8ba7-43a1-93f9-b9c68a88f3ac", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8447e8fa-bb6c-4a20-9b65-1e833227a0b5", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "a52d3978-f82a-4aa9-ae01-72e969eb2423", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f39f993a-028d-4d7c-a5a7-46b11b9fdd13", + "type": FieldMetadataType.TsVector, + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6010c754-f6f7-4c35-ad8a-62acc2ae40c4", + "type": FieldMetadataType.Currency, + "name": "annualRecurringRevenue", + "label": "ARR", + "description": "Annual Recurring Revenue: The actual or estimated annual revenue of the company", + "icon": "IconMoneybag", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "amountMicros": null, + "currencyCode": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "029aa48f-d842-4120-9ad1-ded40547ac61", + "type": FieldMetadataType.Relation, + "name": "opportunities", + "label": "Opportunities", + "description": "Opportunities linked to the company.", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ca9f7a40-30f1-4f83-a8cc-6bdd30ad8056", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "029aa48f-d842-4120-9ad1-ded40547ac61", + "name": "opportunities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "92d11fd5-ea02-4d32-a737-411fac9fd8b5", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7ccaacd6-d980-47a0-8541-0d3aa4794d88", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b58023d5-18ab-4ef6-9d7a-d2ca06d3ddb9", + "type": FieldMetadataType.Links, + "name": "introVideo", + "label": "Intro Video", + "description": "Company's Intro Video", + "icon": "IconVideo", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:24.028Z", + "updatedAt": "2024-10-30T13:39:24.028Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "53fc0161-cf55-4c8e-bf86-64197868a89a", + "type": FieldMetadataType.Relation, + "name": "attachments", + "label": "Attachments", + "description": "Attachments linked to the company", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "06685252-e45f-4be7-b26c-4cef8f9f1bf6", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "53fc0161-cf55-4c8e-bf86-64197868a89a", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "12eb10d6-2890-4c94-a278-5e94f9dd3d3e", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "28e14cf6-e26a-4040-bf37-e4b7a4c05f7c", + "type": FieldMetadataType.Number, + "name": "employees", + "label": "Employees", + "description": "Number of employees in the company", + "icon": "IconUsers", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2b22336f-343c-441a-adae-52091d1cb67e", + "type": FieldMetadataType.Text, + "name": "tagline", + "label": "Tagline", + "description": "Company's Tagline", + "icon": "IconAdCircle", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:39:23.146Z", + "updatedAt": "2024-10-30T13:39:23.146Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4bea46f2-a4c1-4730-a1c6-d2c3cf3edd6c", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b084ffaf-20c5-406b-af22-9c0944e6c688", + "type": FieldMetadataType.Relation, + "name": "accountOwner", + "label": "Account Owner", + "description": "Your team member responsible for managing the company account", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "62947494-1253-4c6a-82a5-df867a406b55", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b084ffaf-20c5-406b-af22-9c0944e6c688", + "name": "accountOwner" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "dfecc528-6d16-4400-8ffe-edd65300f36c", + "name": "accountOwnerForCompanies" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "74943406-a574-42b4-9ce0-9890c04c6e7d", + "type": FieldMetadataType.Links, + "name": "linkedinLink", + "label": "Linkedin", + "description": "The company Linkedin account", + "icon": "IconBrandLinkedin", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "22f3c2c1-124f-4304-861c-4aad29a00bd4", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the company", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "825c3208-3eb6-47e6-bc5f-6e8b12d56923", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "22f3c2c1-124f-4304-861c-4aad29a00bd4", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "19748dd4-4c79-4d32-ade4-1937d7c6a05f", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "092990bf-ff31-4d01-9ac9-7ee1fc7cb150", + "type": FieldMetadataType.Links, + "name": "xLink", + "label": "X", + "description": "The company Twitter/X account", + "icon": "IconBrandX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b0dc7f14-732a-41d5-8bf8-471a98ae9eb9", + "type": FieldMetadataType.Uuid, + "name": "accountOwnerId", + "label": "Account Owner id (foreign key)", + "description": "Your team member responsible for managing the company account id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2b4baf1c-164e-4ad9-b3ac-a44a50907411", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8c6fe2b6-1a6a-438b-af6f-7d928215c8a9", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "The company name", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "16d86822-f2d0-4d1b-9866-e006e54a7cba", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_fb1f4905546cfc6d70a971c76f7", + "indexWhereClause": null, + "indexType": IndexType.Gin, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "8a8052ee-3bfb-4817-a8a1-623ec1d90e6f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_123501237187c835ede626367b7", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "a0a39cdf-0e03-4afe-99fa-9cfe5064fc4e", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "b0dc7f14-732a-41d5-8bf8-471a98ae9eb9" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "6c9e8d17-5b71-427d-935c-056160018a69", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "fce51268-dcdd-4e48-ba8e-dd7c140dd3d9" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "a9e16af5-593f-42a6-b311-e0dd391b416b", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "apiKey", + "namePlural": "apiKeys", + "labelSingular": "API Key", + "labelPlural": "API Keys", + "description": "An API key", + "icon": "IconRobot", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "7eee2c87-58f7-411c-b546-df594841314a", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7eee2c87-58f7-411c-b546-df594841314a", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "ApiKey name", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "24ec5812-fdc5-434c-b7ac-6b1d3624e7b4", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6df1d2d6-992c-4989-9f49-12aad95a1c3d", + "type": FieldMetadataType.DateTime, + "name": "expiresAt", + "label": "Expiration date", + "description": "ApiKey expiration date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fb3545ad-325c-4266-98ae-19b9185a5ceb", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "03e78250-9a5f-4b50-a1e6-ab55f6888e1b", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "db15aa7f-8374-486f-877f-7836956fe93d", + "type": FieldMetadataType.DateTime, + "name": "revokedAt", + "label": "Revocation date", + "description": "ApiKey revocation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e87822c9-b2cf-4e69-902e-982b4c9a3087", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers", + "labelSingular": "Workspace Member", + "labelPlural": "Workspace Members", + "description": "A workspace member", + "icon": "IconUserCircle", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "f65f22df-6e89-4dd8-b33b-2d888f869c6d", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjIz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "611f0f9b-d4d3-42b6-9bb5-ab8d33e3befc", + "type": FieldMetadataType.Relation, + "name": "assignedTasks", + "label": "Assigned tasks", + "description": "Tasks assigned to the workspace member", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ea04a6cc-b565-4da2-afff-fade0a20d08d", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "611f0f9b-d4d3-42b6-9bb5-ab8d33e3befc", + "name": "assignedTasks" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "598b87cb-3d76-43e8-a4fa-beb10772f675", + "name": "assignee" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f65f22df-6e89-4dd8-b33b-2d888f869c6d", + "type": FieldMetadataType.FullName, + "name": "name", + "label": "Name", + "description": "Workspace member name", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "lastName": "''", + "firstName": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "68f9360e-d2f2-4d48-9292-a877bc7729d1", + "type": FieldMetadataType.Uuid, + "name": "userId", + "label": "User Id", + "description": "Associated User Id", + "icon": "IconCircleUsers", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "759429eb-226b-49b7-84b7-c516b967be1b", + "type": FieldMetadataType.Select, + "name": "timeFormat", + "label": "Time format", + "description": "User's preferred time format", + "icon": "IconClock2", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'SYSTEM'", + "options": [ + { + "id": "2fc2338f-9e3d-4d5b-b78f-0c32070d404f", + "color": "sky", + "label": "System", + "value": "SYSTEM", + "position": 0 + }, + { + "id": "d27d4d75-7198-4e35-ad00-d5dcea62d2b9", + "color": "red", + "label": "24HRS", + "value": "HOUR_24", + "position": 1 + }, + { + "id": "2f9e0b4b-1fae-4c95-b2c0-f324427d8f66", + "color": "purple", + "label": "12HRS", + "value": "HOUR_12", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "355b43d4-5576-4a56-b4c1-2819910348e6", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f5d083df-99d2-4a0d-b8a0-8158c0eaf1ed", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a71b33d8-b2d5-46be-afe5-f3f0d82c4385", + "type": FieldMetadataType.Text, + "name": "avatarUrl", + "label": "Avatar Url", + "description": "Workspace member avatar", + "icon": "IconFileUpload", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8c8a64e1-dc5f-4523-a216-af06910653b0", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ce8cc8f8-5923-4e04-bdc4-0b4728990e2d", + "type": FieldMetadataType.Text, + "name": "timeZone", + "label": "Time zone", + "description": "User time zone", + "icon": "IconTimezone", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'system'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b0a371af-199c-4d76-b16f-08cd67f33f13", + "type": FieldMetadataType.Relation, + "name": "connectedAccounts", + "label": "Connected accounts", + "description": "Connected accounts", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "1dd4ab3f-43a8-44a3-8676-3c6298a5428b", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b0a371af-199c-4d76-b16f-08cd67f33f13", + "name": "connectedAccounts" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "12864caa-e6cc-450f-919d-a706fdb7b95f", + "name": "accountOwner" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "08caaae1-0bd7-411c-9af1-72d4169976f0", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the workspace member", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "99e09c7d-bc02-4b11-b602-93e36a1f2b96", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "08caaae1-0bd7-411c-9af1-72d4169976f0", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "25069fed-0167-4301-bab5-48d686bb78ac", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dfecc528-6d16-4400-8ffe-edd65300f36c", + "type": FieldMetadataType.Relation, + "name": "accountOwnerForCompanies", + "label": "Account Owner For Companies", + "description": "Account owner for companies", + "icon": "IconBriefcase", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "62947494-1253-4c6a-82a5-df867a406b55", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "dfecc528-6d16-4400-8ffe-edd65300f36c", + "name": "accountOwnerForCompanies" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b084ffaf-20c5-406b-af22-9c0944e6c688", + "name": "accountOwner" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "11c496ea-56e3-48e6-8ff9-09e287ce61dd", + "type": FieldMetadataType.Text, + "name": "userEmail", + "label": "User Email", + "description": "Related user email address", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ccafab52-bde9-4ada-aa5d-d5e30c63186f", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dff91df5-36ed-421f-ae00-280e9f7ac50d", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Events", + "description": "Events linked to the workspace member", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "85f3aac1-28c3-4e62-b1b8-1e4741b13285", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "dff91df5-36ed-421f-ae00-280e9f7ac50d", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "0a7b67cf-5f49-4873-a617-6c6ccd47dd39", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cfe91d89-2f0b-44e0-85f2-4c3fcc2b0fc2", + "type": FieldMetadataType.Relation, + "name": "blocklist", + "label": "Blocklist", + "description": "Blocklisted handles", + "icon": "IconForbid2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "2bb7561a-2f23-4b9a-b45e-6fa3fcc7e7dc", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "cfe91d89-2f0b-44e0-85f2-4c3fcc2b0fc2", + "name": "blocklist" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "91e79010-c2a5-48e7-aced-56c702ffcbbf", + "nameSingular": "blocklist", + "namePlural": "blocklists" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "3a2dd1b1-b625-4e8b-a609-53f0496f8d9b", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "612338fe-45ea-444b-845e-a2d049b86f80", + "type": FieldMetadataType.Relation, + "name": "authoredAttachments", + "label": "Authored attachments", + "description": "Attachments created by the workspace member", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "032b61bb-ee5d-4996-8988-644cd785f0d5", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "612338fe-45ea-444b-845e-a2d049b86f80", + "name": "authoredAttachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "cdf24ecd-536b-430c-a5d5-01d875f6d72d", + "name": "author" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "def816a8-d43b-4e12-8374-c6b633e8b5c8", + "type": FieldMetadataType.Select, + "name": "dateFormat", + "label": "Date format", + "description": "User's preferred date format", + "icon": "IconCalendarEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'SYSTEM'", + "options": [ + { + "id": "75f35dd6-4db3-4f14-bb81-8d47b91e2e4a", + "color": "turquoise", + "label": "System", + "value": "SYSTEM", + "position": 0 + }, + { + "id": "dd46d745-6ee6-43f7-93af-f9d1e2d988a6", + "color": "red", + "label": "Month First", + "value": "MONTH_FIRST", + "position": 1 + }, + { + "id": "5625cd7a-85fc-491d-ac81-4b4d1c2aefb8", + "color": "purple", + "label": "Day First", + "value": "DAY_FIRST", + "position": 2 + }, + { + "id": "b8120045-04f1-4128-adaf-ab75368b4698", + "color": "sky", + "label": "Year First", + "value": "YEAR_FIRST", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "57429b6b-c02c-407d-bad3-3a891b8f9e69", + "type": FieldMetadataType.TsVector, + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2ac0f031-4d2a-4cb1-927f-3b32c9e03912", + "type": FieldMetadataType.Relation, + "name": "calendarEventParticipants", + "label": "Calendar Event Participants", + "description": "Calendar Event Participants", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "50ab4e40-3ac5-450d-92ed-5443e2854aa3", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2ac0f031-4d2a-4cb1-927f-3b32c9e03912", + "name": "calendarEventParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6cfcc8ed-1a98-4669-a763-f1c8f1b04b78", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e2e10ea8-6dda-42fa-b60b-cde77e92989c", + "type": FieldMetadataType.Text, + "name": "colorScheme", + "label": "Color Scheme", + "description": "Preferred color scheme", + "icon": "IconColorSwatch", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'Light'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "670a1d1c-10b9-443a-b7f2-5fcea0aee569", + "type": FieldMetadataType.Text, + "name": "locale", + "label": "Language", + "description": "Preferred language", + "icon": "IconLanguage", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'en'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4503ee75-9eb3-44cc-b0d9-210564fcb07f", + "type": FieldMetadataType.Relation, + "name": "auditLogs", + "label": "Audit Logs", + "description": "Audit Logs linked to the workspace member", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "fd855e53-1a54-4db4-a76e-79d0f7883a61", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4503ee75-9eb3-44cc-b0d9-210564fcb07f", + "name": "auditLogs" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "9d5a1b62-af03-48da-b050-3680604005a9", + "nameSingular": "auditLog", + "namePlural": "auditLogs" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "77675697-756f-439d-8989-d4e51f4b7b6c", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0acbe745-ae2d-4aac-a40d-0fb42b54c75f", + "type": FieldMetadataType.Relation, + "name": "messageParticipants", + "label": "Message Participants", + "description": "Message Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "401899ac-1ea1-4b2a-bc9f-e8dbc0376245", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "0acbe745-ae2d-4aac-a40d-0fb42b54c75f", + "name": "messageParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "a2b20d09-a23b-4de0-9ca8-2f1877a0f6d9", + "name": "workspaceMember" + } + } + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "4c92da4e-c21f-41b0-b43f-b033b0ea0ff7", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_e47451872f70c8f187a6b460ac7", + "indexWhereClause": null, + "indexType": IndexType.Gin, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "13bcb993-4f72-45aa-99dd-0ed584431b0a", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "57429b6b-c02c-407d-bad3-3a891b8f9e69" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "a031797c-fd59-4072-bad0-0f17a6236871", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "messageThread", + "namePlural": "messageThreads", + "labelSingular": "Message Thread", + "labelPlural": "Message Threads", + "description": "Message Thread", + "icon": "IconMessage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "d613c5b5-66c9-4763-ab1c-c4a9889a57c7", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjQ=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d613c5b5-66c9-4763-ab1c-c4a9889a57c7", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b66765d7-0e02-4daa-beb2-771a399a33be", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5874543d-b861-466f-94d5-c78bed9da308", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "80d446e6-93fa-48ae-8cd7-b8369b2a4feb", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2df434a7-1218-409a-91a9-9030eccf3e25", + "type": FieldMetadataType.Relation, + "name": "messages", + "label": "Messages", + "description": "Messages from the thread.", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "4499287d-ffad-4966-a043-e5fecd6489a9", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "a031797c-fd59-4072-bad0-0f17a6236871", + "nameSingular": "messageThread", + "namePlural": "messageThreads" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2df434a7-1218-409a-91a9-9030eccf3e25", + "name": "messages" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3385d352-10a0-428f-9863-e52e7164b26c", + "nameSingular": "message", + "namePlural": "messages" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "79d2deca-9d03-4cf5-a618-2b0afe85c37d", + "name": "messageThread" + } + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "9d5a1b62-af03-48da-b050-3680604005a9", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "auditLog", + "namePlural": "auditLogs", + "labelSingular": "Audit Log", + "labelPlural": "Audit Logs", + "description": "An audit log of actions performed in the system", + "icon": "IconTimelineEvent", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "17732eff-a71c-456a-89ec-fe94fe811440", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "369f1f4d-f14c-471a-9076-410ae7126b17", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "079fd4b7-e632-470e-b8db-8fb7232e0c2a", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b5760bd0-ce2f-4961-ba1c-788dd7258100", + "type": FieldMetadataType.Text, + "name": "objectName", + "label": "Object name", + "description": "Object name", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "17732eff-a71c-456a-89ec-fe94fe811440", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Event name", + "description": "Event name/type", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "38d2cf2f-2bec-46a2-b3ab-2597e9f1ab6d", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e9afab55-6c9e-4bf1-a7bb-3d667177dd96", + "type": FieldMetadataType.Text, + "name": "objectMetadataId", + "label": "Object metadata id", + "description": "Object metadata id", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9e8662d3-dc30-4d69-85e0-56bdd0004867", + "type": FieldMetadataType.Uuid, + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Event workspace member id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "77675697-756f-439d-8989-d4e51f4b7b6c", + "type": FieldMetadataType.Relation, + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Event workspace member", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "fd855e53-1a54-4db4-a76e-79d0f7883a61", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "9d5a1b62-af03-48da-b050-3680604005a9", + "nameSingular": "auditLog", + "namePlural": "auditLogs" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "77675697-756f-439d-8989-d4e51f4b7b6c", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4503ee75-9eb3-44cc-b0d9-210564fcb07f", + "name": "auditLogs" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fcbaf317-502c-4718-8c39-5b1ca8705636", + "type": FieldMetadataType.RawJson, + "name": "context", + "label": "Event context", + "description": "Json object to provide context (user, device, workspace, etc.)", + "icon": "IconListDetails", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "817041f1-c4c8-4f46-9f8d-c10345b0b63a", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "83c5204c-451d-498b-afd4-3ac735cecf08", + "type": FieldMetadataType.Uuid, + "name": "recordId", + "label": "Record id", + "description": "Record id", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3a5e3557-d40c-4850-b67e-7bd6b9e26ca3", + "type": FieldMetadataType.RawJson, + "name": "properties", + "label": "Event details", + "description": "Json value for event details", + "icon": "IconListDetails", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "82bd9b00-cc6c-428f-b959-1219858fd0b5", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_ca389a7ad7595bb15d733535998", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "91e79010-c2a5-48e7-aced-56c702ffcbbf", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "blocklist", + "namePlural": "blocklists", + "labelSingular": "Blocklist", + "labelPlural": "Blocklists", + "description": "Blocklist", + "icon": "IconForbid2", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "2996ffff-3796-4728-adc2-5b2ddd4770f4", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f50f8926-0828-4017-b42a-33e3ff5bde1a", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "caa14977-89cb-4a0e-9cd2-c69c14e7bc0b", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3a2dd1b1-b625-4e8b-a609-53f0496f8d9b", + "type": FieldMetadataType.Relation, + "name": "workspaceMember", + "label": "WorkspaceMember", + "description": "WorkspaceMember", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "2bb7561a-2f23-4b9a-b45e-6fa3fcc7e7dc", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "91e79010-c2a5-48e7-aced-56c702ffcbbf", + "nameSingular": "blocklist", + "namePlural": "blocklists" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "3a2dd1b1-b625-4e8b-a609-53f0496f8d9b", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "cfe91d89-2f0b-44e0-85f2-4c3fcc2b0fc2", + "name": "blocklist" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "126e0a95-6f99-49f4-b5e4-76962aa1917d", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4cbe4a8d-ad60-4229-a195-957af7176bbe", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2996ffff-3796-4728-adc2-5b2ddd4770f4", + "type": FieldMetadataType.Text, + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1cfa16a2-5045-4c79-a0bf-781f0ad673c1", + "type": FieldMetadataType.Uuid, + "name": "workspaceMemberId", + "label": "WorkspaceMember id (foreign key)", + "description": "WorkspaceMember id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "3d1ebd88-7580-4b75-af2d-1ad60c363c84", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_76a190ab8a6f439791358d63d60", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "d2ac1a86-2797-420b-a117-6b14538ab702", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "f50f8926-0828-4017-b42a-33e3ff5bde1a" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "workflow", + "namePlural": "workflows", + "labelSingular": "Workflow", + "labelPlural": "Workflows", + "description": "A workflow", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "f5cbbd97-3b91-4cd0-b9de-27e510c98dcc", + "imageIdentifierFieldMetadataId": null, + "shortcut": "W", + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e5fa8aec-caf5-4334-8c39-d8f3eebfaabe", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline activities linked to the workflow", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "143ea000-9a6f-4f1d-8c19-38f1c05ce3a7", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e5fa8aec-caf5-4334-8c39-d8f3eebfaabe", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "aac285c9-3c46-4bd2-b110-047a7d21ad13", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "77965140-284f-4be9-950c-cdfcf1fe0ac3", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eef4ac2b-0768-4241-bb7e-4d09d98afe88", + "type": FieldMetadataType.MultiSelect, + "name": "statuses", + "label": "Statuses", + "description": "The current statuses of the workflow versions", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": [ + { + "color": "yellow", + "label": "Draft", + "value": "DRAFT", + "position": 0 + }, + { + "color": "green", + "label": "Active", + "value": "ACTIVE", + "position": 1 + }, + { + "color": "grey", + "label": "Deactivated", + "value": "DEACTIVATED", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f5cbbd97-3b91-4cd0-b9de-27e510c98dcc", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "The workflow name", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "91077fc1-8c52-4580-bfe7-f4ae97e4c575", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3a400bcf-4885-4f3d-b813-38ba888b368e", + "type": FieldMetadataType.Text, + "name": "lastPublishedVersionId", + "label": "Last published Version Id", + "description": "The workflow last published version id", + "icon": "IconVersions", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e5cd9745-d76a-4ebd-b1dd-d10bb55fbb3d", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the workflow", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "34fba28a-888e-496e-b7d1-f621479c4647", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e5cd9745-d76a-4ebd-b1dd-d10bb55fbb3d", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "f9355fc1-f4a5-41ec-a2ec-92d50d4eccae", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cd34b70c-4736-4ac3-b95d-0139d4f4f1bc", + "type": FieldMetadataType.Relation, + "name": "runs", + "label": "Runs", + "description": "Workflow runs linked to the workflow.", + "icon": "IconRun", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "65095364-7e71-4813-aeea-c467435e0cb9", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "cd34b70c-4736-4ac3-b95d-0139d4f4f1bc", + "name": "runs" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "00a542d7-4b97-4f56-b07d-cfd73dbc7239", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "27b31a92-d137-48e0-8abe-a979a92bd486", + "type": FieldMetadataType.Relation, + "name": "eventListeners", + "label": "Event Listeners", + "description": "Workflow event listeners linked to the workflow.", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6208cf61-25fa-4660-9b39-ea1e52aa23c8", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "27b31a92-d137-48e0-8abe-a979a92bd486", + "name": "eventListeners" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "b62c1e5e-cb2c-4f66-bd0a-777ea6198ca8", + "nameSingular": "workflowEventListener", + "namePlural": "workflowEventListeners" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "743d0810-9a03-4481-8397-716c3c7fe3b9", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a94ec13e-6d0c-4df4-a52c-3a46c9420369", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "01508898-496f-4256-bc88-a907faedc424", + "type": FieldMetadataType.Relation, + "name": "versions", + "label": "Versions", + "description": "Workflow versions linked to the workflow.", + "icon": "IconVersions", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6425441d-49f2-4cb5-a9e2-f4acce604da4", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "01508898-496f-4256-bc88-a907faedc424", + "name": "versions" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2b8f293d-d90c-4796-8324-8a6fef5334fb", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7abf7d15-4a71-444b-bb87-89ddffa26f08", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "461c770b-3c4e-41f0-ae57-bcc500df76d5", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Workflow record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "view", + "namePlural": "views", + "labelSingular": "View", + "labelPlural": "Views", + "description": "(System) Views", + "icon": "IconLayoutCollage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "ee250cd9-9072-49e5-ae89-2456166d10d9", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a82f3284-9cd6-4827-8c68-5e2dde6a0c1b", + "type": FieldMetadataType.Text, + "name": "kanbanFieldMetadataId", + "label": "kanbanfieldMetadataId", + "description": "View Kanban column field", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1c0d42dd-1339-4228-9e7c-1fd00d6913f4", + "type": FieldMetadataType.Relation, + "name": "viewGroups", + "label": "View Groups", + "description": "View Groups", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "af260d5e-13f4-4e6a-bf9f-9790d4335ea4", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "1c0d42dd-1339-4228-9e7c-1fd00d6913f4", + "name": "viewGroups" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "f46b3fd8-c78d-4203-acf3-dec44e6a0330", + "nameSingular": "viewGroup", + "namePlural": "viewGroups" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "66a8054a-4d36-49af-bd29-c48c63383c95", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8ea5df10-7aaf-417f-b131-e18c902b7330", + "type": FieldMetadataType.Relation, + "name": "viewSorts", + "label": "View Sorts", + "description": "View Sorts", + "icon": "IconArrowsSort", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a76af472-0c5f-420c-8f7a-96827675d084", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8ea5df10-7aaf-417f-b131-e18c902b7330", + "name": "viewSorts" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "c0242465-7a74-439d-9b8c-60737c781e3f", + "nameSingular": "viewSort", + "namePlural": "viewSorts" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "eb4e0589-4d58-4ded-9261-7f91c75b4ef5", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "45bf17e3-2046-41a5-8f94-3da579a7b818", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "69cfdcf9-7eb3-4f8c-b3df-67a70727580e", + "type": FieldMetadataType.Text, + "name": "type", + "label": "Type", + "description": "View type", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'table'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4dfaac45-6810-4444-a822-8c5b8983dd4b", + "type": FieldMetadataType.Boolean, + "name": "isCompact", + "label": "Compact View", + "description": "Describes if the view is in compact mode", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fd272255-57dd-45c8-a2bf-a8da59f15e85", + "type": FieldMetadataType.Select, + "name": "key", + "label": "Key", + "description": "View key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'INDEX'", + "options": [ + { + "id": "28ad717c-c82c-408c-a651-7b9dab217787", + "color": "red", + "label": "Index", + "value": "INDEX", + "position": 0 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b9a7d42c-2147-4d11-a6bc-04766ad30404", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "470c310b-cfe2-4491-8774-11fd24ec38d2", + "type": FieldMetadataType.Text, + "name": "icon", + "label": "Icon", + "description": "View icon", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d7a5d3aa-3975-45ec-8c9b-f7149289a849", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the view", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "bfdbdf10-236c-4048-9965-8a0e16e5fe22", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "d7a5d3aa-3975-45ec-8c9b-f7149289a849", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "0b529980-643b-44f1-a007-328cf99be91a", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ad547e8a-8363-4834-ae26-5e5c9e92f280", + "type": FieldMetadataType.Relation, + "name": "viewFilterGroups", + "label": "View Filter Groups", + "description": "View Filter Groups", + "icon": "IconFilterBolt", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a7eb655c-ce3b-440f-8e8c-53e0f621da61", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "ad547e8a-8363-4834-ae26-5e5c9e92f280", + "name": "viewFilterGroups" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1b8027e7-e77e-43a9-8b99-ae672f0c2d96", + "nameSingular": "viewFilterGroup", + "namePlural": "viewFilterGroups" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "5fd33d47-cb5b-4c9d-a05e-e48e89541196", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c79c0149-a758-40d7-92ed-404fa796ef41", + "type": FieldMetadataType.Uuid, + "name": "objectMetadataId", + "label": "Object Metadata Id", + "description": "View target object", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "24a2711c-7273-4abf-bbbb-71ef3b1d25d5", + "type": FieldMetadataType.Relation, + "name": "viewFields", + "label": "View Fields", + "description": "View Fields", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e44f91d9-a6fc-440f-aa2b-b9b7d5446da6", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "24a2711c-7273-4abf-bbbb-71ef3b1d25d5", + "name": "viewFields" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "68534b8b-9599-4e4b-9fb8-8a3c56adb871", + "nameSingular": "viewField", + "namePlural": "viewFields" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "f0bee61a-f5a0-4b60-af98-12f854be6127", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "67b796cd-27b9-4a64-a3fb-1d4367e61f98", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "acd41982-5145-460e-8879-e98aa7a09f12", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ee250cd9-9072-49e5-ae89-2456166d10d9", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "View name", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "72a66df5-81b7-4b38-bc1c-c637b890c9f0", + "type": FieldMetadataType.Relation, + "name": "viewFilters", + "label": "View Filters", + "description": "View Filters", + "icon": "IconFilterBolt", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "62a743f6-0984-4b49-8e60-1845853db297", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "72a66df5-81b7-4b38-bc1c-c637b890c9f0", + "name": "viewFilters" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "18c81dd7-1656-4cfd-930c-40917a8ebdb1", + "nameSingular": "viewFilter", + "namePlural": "viewFilters" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "07806fe5-7b74-4c75-b6b9-b31ed34201f8", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "13b1d755-2ce2-48aa-b9c3-c59f0d86725d", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "View position", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns", + "labelSingular": "Workflow Run", + "labelPlural": "Workflow Runs", + "description": "A workflow run", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "5968ba3f-bc15-4989-ac5e-1b09a55a782a", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE2" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "00a542d7-4b97-4f56-b07d-cfd73dbc7239", + "type": FieldMetadataType.Relation, + "name": "workflow", + "label": "Workflow", + "description": "Workflow linked to the run.", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "65095364-7e71-4813-aeea-c467435e0cb9", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "00a542d7-4b97-4f56-b07d-cfd73dbc7239", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "cd34b70c-4736-4ac3-b95d-0139d4f4f1bc", + "name": "runs" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "91543737-f39a-4b14-b0ac-62b071bb8303", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "28876be2-7039-438d-937b-2c0026413ee8", + "type": FieldMetadataType.Relation, + "name": "workflowVersion", + "label": "Workflow version", + "description": "Workflow version linked to the run.", + "icon": "IconVersions", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6ab227db-4062-4786-a249-05df1ba98190", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "28876be2-7039-438d-937b-2c0026413ee8", + "name": "workflowVersion" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "aa6e1d88-b8a9-4ffa-b7db-22cc28f1173b", + "name": "runs" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5968ba3f-bc15-4989-ac5e-1b09a55a782a", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "Name of the workflow run", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0d947860-e6dd-4348-bc1e-407afd99cc63", + "type": FieldMetadataType.Actor, + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f6c5125e-bd93-48cb-b829-cea2ee169288", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the workflow run", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8041189b-a0b0-4d4b-9fae-de4f3a11bbb5", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "f6c5125e-bd93-48cb-b829-cea2ee169288", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "41dbf601-799d-4b39-9a55-e8bf3b443e55", + "name": "workflowRun" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "12e47ef0-3707-4884-881d-978abc609fc5", + "type": FieldMetadataType.RawJson, + "name": "output", + "label": "Output", + "description": "Json object to provide output of the workflow run", + "icon": "IconText", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "48dc78b2-05ea-46f4-a8bd-65af647b1fcf", + "type": FieldMetadataType.DateTime, + "name": "startedAt", + "label": "Workflow run started at", + "description": "Workflow run started at", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "48028f3a-50ee-46ea-96c6-f28824445184", + "type": FieldMetadataType.Uuid, + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "Workflow linked to the run. id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "47274092-c29c-4717-b7b0-2de1a1007beb", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline activities linked to the run", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "c94de946-5251-4f3e-ac9e-02b3df402610", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "47274092-c29c-4717-b7b0-2de1a1007beb", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b3a935ca-5797-4bfb-b783-cd7b7725e330", + "name": "workflowRun" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e7b715f3-5150-4294-9187-f2bb97a3de2a", + "type": FieldMetadataType.Uuid, + "name": "workflowVersionId", + "label": "Workflow version id (foreign key)", + "description": "Workflow version linked to the run. id foreign key", + "icon": "IconVersions", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9b6942b5-6049-4edb-b1be-29117a300ab3", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Workflow run position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "60ff2322-5514-4dd1-989b-dd92522879c7", + "type": FieldMetadataType.DateTime, + "name": "endedAt", + "label": "Workflow run ended at", + "description": "Workflow run ended at", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9c85be84-5bcb-48d1-b78b-7a8c3f577fdd", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7b2c6214-9533-427c-a124-a7c24407762b", + "type": FieldMetadataType.Select, + "name": "status", + "label": "Workflow run status", + "description": "Workflow run status", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'NOT_STARTED'", + "options": [ + { + "id": "7f326a56-d18d-4676-82df-d9a0685677f4", + "color": "grey", + "label": "Not started", + "value": "NOT_STARTED", + "position": 0 + }, + { + "id": "a9a6a610-0217-43b0-ab1d-4e4706ada0bb", + "color": "yellow", + "label": "Running", + "value": "RUNNING", + "position": 1 + }, + { + "id": "9e5e045d-cb5e-4fdb-96c9-a46e0423f394", + "color": "green", + "label": "Completed", + "value": "COMPLETED", + "position": 2 + }, + { + "id": "91f8d0f6-bc4f-46a0-8f83-bd5d1f6a5bff", + "color": "red", + "label": "Failed", + "value": "FAILED", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a9a10542-a375-47e5-ba56-869a0df30094", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6c11c172-6ae8-496b-9e8e-bfdf10f8b956", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "694d33cc-92a6-4486-a155-25992cfcef61", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_eee970874f46ff99eefc0015001", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "d237d3c7-857e-45b2-929f-e145516dbb42", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "91543737-f39a-4b14-b0ac-62b071bb8303" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "ccdda23a-fb6a-4fa5-b668-61dea8f50a8d", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "48028f3a-50ee-46ea-96c6-f28824445184" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "23e612a7-31dd-49c8-8910-c9804240a3bf", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_faa5772594c4ce15b9305919f2f", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "taskTarget", + "namePlural": "taskTargets", + "labelSingular": "Task Target", + "labelPlural": "Task Targets", + "description": "An task target", + "icon": "IconCheckbox", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "d57fbeeb-77b5-4797-ba59-8dff7b535578", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "60309d2d-c7d6-4ea5-9dc6-b48609cd8b7f", + "type": FieldMetadataType.Relation, + "name": "task", + "label": "Task", + "description": "TaskTarget task", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "0e8029bc-671b-4842-9911-81942fe6220f", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "60309d2d-c7d6-4ea5-9dc6-b48609cd8b7f", + "name": "task" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "550afb9c-6f7e-444b-b4fa-2b6a4ae15843", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d64849ec-9efb-4502-93de-8370ee7b4065", + "type": FieldMetadataType.Uuid, + "name": "companyId", + "label": "Company id (foreign key)", + "description": "TaskTarget company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f4ba4abd-ade1-45a3-a994-618bbd36ab56", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f309c2d8-9f5b-4b98-b5e0-f8cd9119cad5", + "type": FieldMetadataType.Relation, + "name": "rocket", + "label": "Rocket", + "description": "TaskTarget Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:31.244Z", + "updatedAt": "2024-10-30T13:39:31.244Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "1b99cd19-7266-4b95-bbab-18e3c21fa86e", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "f309c2d8-9f5b-4b98-b5e0-f8cd9119cad5", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b2dd8997-fbde-4f55-8a3b-c3f1b8dd9328", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "696fec5c-6c43-49c9-b293-a1695f76c646", + "type": FieldMetadataType.Uuid, + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Task Target Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:31.126Z", + "updatedAt": "2024-10-30T13:39:31.126Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b0dcd662-f5ae-47c5-8e27-e6f1fc6e054a", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e4767ffd-9579-4e71-a21e-27bff7b9d095", + "type": FieldMetadataType.Uuid, + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "TaskTarget opportunity id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bb9069a3-d70d-4298-a0d1-0a65fd25fa39", + "type": FieldMetadataType.Uuid, + "name": "taskId", + "label": "Task id (foreign key)", + "description": "TaskTarget task id foreign key", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d57fbeeb-77b5-4797-ba59-8dff7b535578", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b91ea220-8c90-4035-8b78-0d8fd29e73b7", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a52d3978-f82a-4aa9-ae01-72e969eb2423", + "type": FieldMetadataType.Relation, + "name": "company", + "label": "Company", + "description": "TaskTarget company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "30fd536e-8ba7-43a1-93f9-b9c68a88f3ac", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "a52d3978-f82a-4aa9-ae01-72e969eb2423", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8447e8fa-bb6c-4a20-9b65-1e833227a0b5", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b2bbd05f-98d5-49bd-a690-61469162f76c", + "type": FieldMetadataType.Relation, + "name": "person", + "label": "Person", + "description": "TaskTarget person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e2479abf-7807-4ac0-b640-581e95bef640", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b2bbd05f-98d5-49bd-a690-61469162f76c", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2ae260b8-4aae-4f5e-8d2d-a073d280c837", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "62113668-83c0-4b0d-93de-b3380a4378c0", + "type": FieldMetadataType.Relation, + "name": "opportunity", + "label": "Opportunity", + "description": "TaskTarget opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e1ee47a2-c138-4d9d-95da-46e3c7ee0816", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "62113668-83c0-4b0d-93de-b3380a4378c0", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "0a687cbd-7462-41ec-a23b-d6430de48cf0", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1914b19c-eeee-4e3d-8231-a316aa64fe2f", + "type": FieldMetadataType.Uuid, + "name": "personId", + "label": "Person id (foreign key)", + "description": "TaskTarget person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "f5811523-199b-4ad1-b9a2-2509e9ead585", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_627d4437c96f22d5d46cc9a85bb", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b2322b8c-49d9-4b20-8114-177ba9762842", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "bb9069a3-d70d-4298-a0d1-0a65fd25fa39" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "0f326fc9-f9de-469f-b937-2c60e1ecfc89", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_b0ba7efcd8c529922bf6e858bc1", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b67ecd1e-4044-4ab1-9291-daba9e16888b", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "e4767ffd-9579-4e71-a21e-27bff7b9d095" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b722d997-cf66-44c3-8b30-49e3cc5793d0", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "f4ba4abd-ade1-45a3-a994-618bbd36ab56" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "a60c8919-39f6-462a-b19e-36fb431653e7", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_cf12e6c92058f11b59852ffdfe3", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e714dfb1-c879-46f4-be6a-fff94f8d7ff1", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "1914b19c-eeee-4e3d-8231-a316aa64fe2f" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "dc343653-a312-4786-8bf2-d7d9f23542a9", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "f4ba4abd-ade1-45a3-a994-618bbd36ab56" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "3f882dba-c38f-4733-8f30-ab08319b9419", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_4e929e3af362914c41035c4d438", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8e05eb7f-c0b5-462f-9773-46d5cb5ba13e", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "f4ba4abd-ade1-45a3-a994-618bbd36ab56" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "337b825c-3691-489f-b48c-1087df4818a1", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "d64849ec-9efb-4502-93de-8370ee7b4065" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "note", + "namePlural": "notes", + "labelSingular": "Note", + "labelPlural": "Notes", + "description": "A note", + "icon": "IconNotes", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "a2e3399b-b6da-4f39-be8c-665988d00e17", + "imageIdentifierFieldMetadataId": null, + "shortcut": "N", + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "088e248b-1ea4-4b8b-b8d3-163b8f956aed", + "type": FieldMetadataType.TsVector, + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "288555f7-1803-4e5b-ac9b-3abdfb6f3340", + "type": FieldMetadataType.RichText, + "name": "body", + "label": "Body", + "description": "Note body", + "icon": "IconFilePencil", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e307a2a6-4d9f-46e6-9bfe-808263d2f6b5", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a2e3399b-b6da-4f39-be8c-665988d00e17", + "type": FieldMetadataType.Text, + "name": "title", + "label": "Title", + "description": "Note title", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fa51d8f4-4a2e-4709-9e3c-ecb3b2602c18", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline Activities linked to the note.", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "45d55e26-edac-4743-b536-8ae8d5af12cb", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "nameSingular": "note", + "namePlural": "notes" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "fa51d8f4-4a2e-4709-9e3c-ecb3b2602c18", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "da52ab08-cd76-47d3-b333-c25755c023af", + "name": "note" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c914780d-f29c-4ea9-9649-d5f30f86f485", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b43ec724-faba-496a-a08c-6f8b379679ac", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4cd92368-1e4f-46b2-b7c0-2ee9aba1d158", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6bd180be-5c43-4b65-9fa1-255b236ec49e", + "type": FieldMetadataType.Relation, + "name": "noteTargets", + "label": "Relations", + "description": "Note targets", + "icon": "IconArrowUpRight", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8b541da0-5092-4089-9f1f-9504e680c396", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "nameSingular": "note", + "namePlural": "notes" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6bd180be-5c43-4b65-9fa1-255b236ec49e", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "04e4ad6b-cdaf-405d-98b1-2acb0a454c44", + "name": "note" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "93a20d82-a785-46fa-ac25-1bf79abcfb36", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the note", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "40fb8870-92e3-423d-83cb-a7f5f50467c7", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "nameSingular": "note", + "namePlural": "notes" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "93a20d82-a785-46fa-ac25-1bf79abcfb36", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "90c67348-a861-4d71-99a3-d133aaad7beb", + "name": "note" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "74b70e6b-31e7-41e3-9f17-86d8c0f5d305", + "type": FieldMetadataType.Actor, + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f918c029-41b2-415c-8c62-546ad560e899", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Note record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2e691afe-cf6b-4d3a-9197-fd524c26eed7", + "type": FieldMetadataType.Relation, + "name": "attachments", + "label": "Attachments", + "description": "Note attachments", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "54b587f6-d064-4d26-ad76-bb25c02467ba", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "nameSingular": "note", + "namePlural": "notes" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2e691afe-cf6b-4d3a-9197-fd524c26eed7", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "42e91677-2ca8-47ca-bce9-0f89369fe20e", + "name": "note" + } + } + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "d861da41-05c4-4349-a6ab-02e14abfc49a", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_f20de8d7fc74a405e4083051275", + "indexWhereClause": null, + "indexType": IndexType.Gin, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "973adde9-feaa-476a-9193-d1d6a9dd039c", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "088e248b-1ea4-4b8b-b8d3-163b8f956aed" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "favorite", + "namePlural": "favorites", + "labelSingular": "Favorite", + "labelPlural": "Favorites", + "description": "A favorite", + "icon": "IconHeart", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "ac8fd20a-1eb2-4fe1-9d49-7967233c4cfd", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjI2" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "25069fed-0167-4301-bab5-48d686bb78ac", + "type": FieldMetadataType.Relation, + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Favorite workspace member", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "99e09c7d-bc02-4b11-b602-93e36a1f2b96", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "25069fed-0167-4301-bab5-48d686bb78ac", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "08caaae1-0bd7-411c-9af1-72d4169976f0", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5a05ef2e-0ff8-4c3b-9eb7-2ba445f1ac2d", + "type": FieldMetadataType.Uuid, + "name": "workflowVersionId", + "label": "Workflow id (foreign key)", + "description": "Favorite workflow version id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5675af11-2f87-403e-ac8f-dc2cc13d42bf", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f9355fc1-f4a5-41ec-a2ec-92d50d4eccae", + "type": FieldMetadataType.Relation, + "name": "workflow", + "label": "Workflow", + "description": "Favorite workflow", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "34fba28a-888e-496e-b7d1-f621479c4647", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "f9355fc1-f4a5-41ec-a2ec-92d50d4eccae", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e5cd9745-d76a-4ebd-b1dd-d10bb55fbb3d", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "91ba686e-855e-46b8-b267-1a3cad4d621d", + "type": FieldMetadataType.Uuid, + "name": "personId", + "label": "Person id (foreign key)", + "description": "Favorite person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e098e150-0b79-4da3-ad71-7fe3dce3d102", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "90c67348-a861-4d71-99a3-d133aaad7beb", + "type": FieldMetadataType.Relation, + "name": "note", + "label": "Note", + "description": "Favorite note", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "40fb8870-92e3-423d-83cb-a7f5f50467c7", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "90c67348-a861-4d71-99a3-d133aaad7beb", + "name": "note" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "nameSingular": "note", + "namePlural": "notes" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "93a20d82-a785-46fa-ac25-1bf79abcfb36", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b68bbe14-c5a7-4012-9edc-54d1cfb31e02", + "type": FieldMetadataType.Uuid, + "name": "noteId", + "label": "Note id (foreign key)", + "description": "Favorite note id foreign key", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "41dbf601-799d-4b39-9a55-e8bf3b443e55", + "type": FieldMetadataType.Relation, + "name": "workflowRun", + "label": "Workflow", + "description": "Favorite workflow run", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8041189b-a0b0-4d4b-9fae-de4f3a11bbb5", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "41dbf601-799d-4b39-9a55-e8bf3b443e55", + "name": "workflowRun" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "f6c5125e-bd93-48cb-b829-cea2ee169288", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2c5cecbb-1e99-478d-bd77-f3f2ee66efda", + "type": FieldMetadataType.Relation, + "name": "task", + "label": "Task", + "description": "Favorite task", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "2668313f-71ee-4c11-8098-7ffeae4ac8d0", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2c5cecbb-1e99-478d-bd77-f3f2ee66efda", + "name": "task" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b86ee0bd-5e4d-4d91-8d2a-1473d155dc42", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5dc0d81e-4ca9-4778-afa3-0b2fe45ea731", + "type": FieldMetadataType.Uuid, + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Favorite Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.544Z", + "updatedAt": "2024-10-30T13:39:30.544Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "92978ffb-3eaf-4dc7-8ef2-0b552c3d6e49", + "type": FieldMetadataType.Relation, + "name": "rocket", + "label": "Rocket", + "description": "Favorite Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.731Z", + "updatedAt": "2024-10-30T13:39:30.731Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9cc4dba5-2509-432f-9b70-0f68e768b5de", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "92978ffb-3eaf-4dc7-8ef2-0b552c3d6e49", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "38a3c7ea-b4e9-4f01-8e37-db83fa192f8d", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c45048d1-3585-46fc-a308-425e6422ab24", + "type": FieldMetadataType.Number, + "name": "position", + "label": "Position", + "description": "Favorite position", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e1c22c51-fdf3-4c9f-bcce-e4e4c0ebc915", + "type": FieldMetadataType.Relation, + "name": "opportunity", + "label": "Opportunity", + "description": "Favorite opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "0cc12e6a-f7f5-40e5-a686-0eba9c8ed934", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e1c22c51-fdf3-4c9f-bcce-e4e4c0ebc915", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "57b74932-1aa3-4372-9962-138ff1493eeb", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9e16d413-65a0-4f26-a596-cdcc9a5219f1", + "type": FieldMetadataType.Uuid, + "name": "workflowRunId", + "label": "Workflow id (foreign key)", + "description": "Favorite workflow run id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0b529980-643b-44f1-a007-328cf99be91a", + "type": FieldMetadataType.Relation, + "name": "view", + "label": "View", + "description": "Favorite view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "bfdbdf10-236c-4048-9965-8a0e16e5fe22", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "0b529980-643b-44f1-a007-328cf99be91a", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "d7a5d3aa-3975-45ec-8c9b-f7149289a849", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4c310c26-7123-417d-a0cf-97c92e6cb217", + "type": FieldMetadataType.Uuid, + "name": "viewId", + "label": "View id (foreign key)", + "description": "Favorite view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "efe57404-33f2-4fc6-9966-4eb401268efb", + "type": FieldMetadataType.Relation, + "name": "workflowVersion", + "label": "Workflow", + "description": "Favorite workflow version", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "2871058e-3264-4ab3-8b57-2f35cd39c676", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "efe57404-33f2-4fc6-9966-4eb401268efb", + "name": "workflowVersion" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e7f40f5e-c67a-488b-aa6b-52769a752df7", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "be0596a5-7a14-4c1d-b065-40e63feefb46", + "type": FieldMetadataType.Uuid, + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "Favorite workflow id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "116304eb-76ab-41f2-b117-e57f278425a4", + "type": FieldMetadataType.Uuid, + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Favorite company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "19748dd4-4c79-4d32-ade4-1937d7c6a05f", + "type": FieldMetadataType.Relation, + "name": "company", + "label": "Company", + "description": "Favorite company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "825c3208-3eb6-47e6-bc5f-6e8b12d56923", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "19748dd4-4c79-4d32-ade4-1937d7c6a05f", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "22f3c2c1-124f-4304-861c-4aad29a00bd4", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ac8fd20a-1eb2-4fe1-9d49-7967233c4cfd", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d8e8bb7a-e785-4b4e-8bae-b3ec3a87c52d", + "type": FieldMetadataType.Uuid, + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Favorite workspace member id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bd0b3981-63dd-4a8d-95cf-71080dae3364", + "type": FieldMetadataType.Relation, + "name": "person", + "label": "Person", + "description": "Favorite person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6e7d8470-4f3e-415d-843c-306380a483f0", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "bd0b3981-63dd-4a8d-95cf-71080dae3364", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6586555e-28ad-4b8a-855b-f8cbbd327c13", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a883215a-10dc-4263-8872-253538521e2a", + "type": FieldMetadataType.Uuid, + "name": "taskId", + "label": "Task id (foreign key)", + "description": "Favorite task id foreign key", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "82cb7819-24d8-4630-b76e-d496bfa6f768", + "type": FieldMetadataType.Uuid, + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "Favorite opportunity id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "b9c0c8f3-f978-43a4-b4e5-d17210678390", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_1f7e4cb168e77496349c8cefed6", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "a6b03189-127c-494e-aa10-bc4e0fa80c4b", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "91ba686e-855e-46b8-b267-1a3cad4d621d" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "39c7c1d1-b44b-4071-9584-63e10cb8916b", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "8eea0c69-5617-41b1-abb3-c01ca0f3e173", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_eecddc968e93b9b8ebbfd85dad3", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "62294df7-e349-41d7-9cd5-47fcfd3646d0", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "be0596a5-7a14-4c1d-b065-40e63feefb46" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "ed5ea57f-4de5-4754-ae3c-b906ca5e8366", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "671f45a3-45ac-4be8-be9f-d0e823e4b790", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_505a1fccd2804f2472bd92e8720", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "283bee73-e037-486f-8f06-12cd7dd85912", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "4c310c26-7123-417d-a0cf-97c92e6cb217" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "33e7d307-f410-43d0-b7f0-5bf2296f209f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "2b5fbac8-5dd1-46a7-91c3-1c447c74fbd9", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_e14b3424016bea8b7fe220f7761", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "d8147472-6eb6-4b28-85c3-7222e5fb659e", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "a883215a-10dc-4263-8872-253538521e2a" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "dc1d9d97-1b28-4057-a84a-a398de93ee18", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "92638456-9286-4fb3-b2e4-d2c1d0971113", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_110d1dc7f0ecd231a18f6784cf3", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "3cb26ed4-777c-415d-90d0-e0ed7feffef8", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "5a05ef2e-0ff8-4c3b-9eb7-2ba445f1ac2d" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "dcbf220f-1a30-43bb-8e38-a22cb06c3553", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "4ca01c97-27e5-41e3-b831-8a1f9f581407", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_c3ee83d51bc99ba99fe1998c508", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "9aec2813-e2db-4b3e-baaf-87fd60742907", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "0e46f616-4fbb-4a63-8bb8-4c09d098a105", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "d8e8bb7a-e785-4b4e-8bae-b3ec3a87c52d" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "36407d13-1f89-4edf-8f8c-0d0b902b7ee7", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_21d905e0adf19e835f6059a9f3d", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "4c6ea08a-f692-45e1-a380-9ba3678008b8", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "b68bbe14-c5a7-4012-9edc-54d1cfb31e02" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "005f34c5-fe40-4115-8192-2e2e87f300af", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_85f024f9ec673d530d14cf75fe5", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "572c2dec-f881-4732-9e2b-38d490532e2a", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "62594f8c-c032-4b66-b2a1-ef12dc6ebb4f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_7c59b29a053016fc596ddad8a0e", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "081fb1ef-7540-4f8d-948a-71c97322cb96", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_a900d9f809273abe54dc5e166fa", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8bac748e-692c-42eb-8c9f-2cd7b7682006", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "116304eb-76ab-41f2-b117-e57f278425a4" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e31213f3-2d64-4585-ade5-a6b07224618f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "68534b8b-9599-4e4b-9fb8-8a3c56adb871", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "viewField", + "namePlural": "viewFields", + "labelSingular": "View Field", + "labelPlural": "View Fields", + "description": "(System) View Fields", + "icon": "IconTag", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "42967cd6-fee2-485e-8c29-dcbd2502ac11", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "42967cd6-fee2-485e-8c29-dcbd2502ac11", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3290f5bf-c86e-4bd7-8195-579faeebe447", + "type": FieldMetadataType.Boolean, + "name": "isVisible", + "label": "Visible", + "description": "View Field visibility", + "icon": "IconEye", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5fc8348f-d629-4811-b5c6-df04d477a0b1", + "type": FieldMetadataType.Number, + "name": "position", + "label": "Position", + "description": "View Field position", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "46afae67-47b1-4580-8145-fc7914e8a61d", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3dfe31ef-710f-4ee6-8140-739540b59981", + "type": FieldMetadataType.Uuid, + "name": "fieldMetadataId", + "label": "Field Metadata Id", + "description": "View Field target field", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3c352886-5e5b-487f-af51-c305f282fd8e", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f5c138b1-3d89-42c5-9838-793a925d5b5c", + "type": FieldMetadataType.Uuid, + "name": "viewId", + "label": "View id (foreign key)", + "description": "View Field related view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9becab25-df5b-49f3-a58a-8ccd8a4382aa", + "type": FieldMetadataType.Number, + "name": "size", + "label": "Size", + "description": "View Field size", + "icon": "IconEye", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "968d63ae-a05f-4fa2-ad3a-14fd8b6d62e8", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f0bee61a-f5a0-4b60-af98-12f854be6127", + "type": FieldMetadataType.Relation, + "name": "view", + "label": "View", + "description": "View Field related view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e44f91d9-a6fc-440f-aa2b-b9b7d5446da6", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "68534b8b-9599-4e4b-9fb8-8a3c56adb871", + "nameSingular": "viewField", + "namePlural": "viewFields" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "f0bee61a-f5a0-4b60-af98-12f854be6127", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "24a2711c-7273-4abf-bbbb-71ef3b1d25d5", + "name": "viewFields" + } + } + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "3f01db7c-2848-44fd-9392-c1d3b9ba4989", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_260f80ae1d2ccc67388995d6d05", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "ac2f947e-8b68-4415-8675-4a7ca1018b00", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "f5c138b1-3d89-42c5-9838-793a925d5b5c" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts", + "labelSingular": "Connected Account", + "labelPlural": "Connected Accounts", + "description": "A connected account", + "icon": "IconAt", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "1a0f0f90-39f0-4dfa-8c07-f0da10c45b77", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE1" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "644a6279-9b22-4875-911d-c4d6b19fc415", + "type": FieldMetadataType.Uuid, + "name": "accountOwnerId", + "label": "Account Owner id (foreign key)", + "description": "Account Owner id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1a0f0f90-39f0-4dfa-8c07-f0da10c45b77", + "type": FieldMetadataType.Text, + "name": "handle", + "label": "handle", + "description": "The account handle (email, username, phone number, etc.)", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0f6d6cb8-dec6-4361-bb44-1c3d628ca055", + "type": FieldMetadataType.Array, + "name": "scopes", + "label": "Scopes", + "description": "Scopes", + "icon": "IconSettings", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e189a013-da4a-43ee-ae9d-3e7d87bd6750", + "type": FieldMetadataType.Relation, + "name": "messageChannels", + "label": "Message Channels", + "description": "Message Channels", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "80daf432-7306-4951-be4c-14e92bfc7d68", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e189a013-da4a-43ee-ae9d-3e7d87bd6750", + "name": "messageChannels" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "41302fe4-df07-425f-a492-56d7e6c759af", + "nameSingular": "messageChannel", + "namePlural": "messageChannels" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "fd38bf5a-9daa-4db1-9aff-a644a9a31bfb", + "name": "connectedAccount" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "45e6ca5d-c892-4d5d-a658-6bfd946de892", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d73f15df-0bec-47d7-aef0-38a750f96cd1", + "type": FieldMetadataType.Text, + "name": "accessToken", + "label": "Access Token", + "description": "Messaging provider access token", + "icon": "IconKey", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "03cc45bb-1dc9-4e32-a950-56b545d49e34", + "type": FieldMetadataType.Text, + "name": "lastSyncHistoryId", + "label": "Last sync history ID", + "description": "Last sync history ID", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0f973833-7024-4f6a-a569-cf63e6e4ed3e", + "type": FieldMetadataType.DateTime, + "name": "authFailedAt", + "label": "Auth failed at", + "description": "Auth failed at", + "icon": "IconX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1413d79c-f260-4ee1-bd2a-8121ff7f3b92", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "876d7b6e-658f-486f-9fec-9753f1d46ea5", + "type": FieldMetadataType.Text, + "name": "handleAliases", + "label": "Handle Aliases", + "description": "Handle Aliases", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "705cde2c-b970-41f4-804d-77f6e214ce00", + "type": FieldMetadataType.Text, + "name": "provider", + "label": "provider", + "description": "The account provider", + "icon": "IconSettings", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "12864caa-e6cc-450f-919d-a706fdb7b95f", + "type": FieldMetadataType.Relation, + "name": "accountOwner", + "label": "Account Owner", + "description": "Account Owner", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "1dd4ab3f-43a8-44a3-8676-3c6298a5428b", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "12864caa-e6cc-450f-919d-a706fdb7b95f", + "name": "accountOwner" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b0a371af-199c-4d76-b16f-08cd67f33f13", + "name": "connectedAccounts" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eda65f70-e1bf-443a-b3a0-98fc4db298d9", + "type": FieldMetadataType.Text, + "name": "refreshToken", + "label": "Refresh Token", + "description": "Messaging provider refresh token", + "icon": "IconKey", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "946967c6-050a-406a-8132-b46fc1b53a91", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "664c36e8-7d1f-4077-9f2c-3d65d0d219cf", + "type": FieldMetadataType.Relation, + "name": "calendarChannels", + "label": "Calendar Channels", + "description": "Calendar Channels", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9d18dc97-6d4f-43ad-adc0-2293f25e969c", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "664c36e8-7d1f-4077-9f2c-3d65d0d219cf", + "name": "calendarChannels" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "ca742a11-31e4-43aa-813d-04e83c50e4a5", + "name": "connectedAccount" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "107c829a-878a-4a40-be43-4ce5ab9e557f", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "28b2a6d7-107f-4b2a-8df4-04a613bc3b32", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_7d1b454b2a538273bdb947e848f", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "15967233-a800-401e-a290-b94814d08365", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "45e6ca5d-c892-4d5d-a658-6bfd946de892" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants", + "labelSingular": "Calendar event participant", + "labelPlural": "Calendar event participants", + "description": "Calendar event participants", + "icon": "IconCalendar", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "8258a232-1cfe-43db-82b0-dd999a10b439", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "345934cd-ebb1-4a71-888d-2e80407e4564", + "type": FieldMetadataType.Uuid, + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Workspace Member id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5c1f96ef-de40-4391-a0f7-eea1f915fd91", + "type": FieldMetadataType.Text, + "name": "displayName", + "label": "Display Name", + "description": "Display Name", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dfd280bd-60f5-4291-bff3-ee40a512afd6", + "type": FieldMetadataType.Relation, + "name": "person", + "label": "Person", + "description": "Person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "194734ec-9308-4711-b6ec-3ede45a44978", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "dfd280bd-60f5-4291-bff3-ee40a512afd6", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "ad176aea-890e-4e7c-b0e5-67d9b9717e02", + "name": "calendarEventParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1c6f514b-4cf8-4081-8be8-89bce1287858", + "type": FieldMetadataType.Boolean, + "name": "isOrganizer", + "label": "Is Organizer", + "description": "Is Organizer", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f1a8e944-fa6b-4d4b-9548-09d31116d663", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6cfcc8ed-1a98-4669-a763-f1c8f1b04b78", + "type": FieldMetadataType.Relation, + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Workspace Member", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "50ab4e40-3ac5-450d-92ed-5443e2854aa3", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6cfcc8ed-1a98-4669-a763-f1c8f1b04b78", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2ac0f031-4d2a-4cb1-927f-3b32c9e03912", + "name": "calendarEventParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "96ab4763-eec6-4cde-bb84-3c86d1f3822f", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1c9e5767-78f4-4305-b6dd-b4efcf25bdb8", + "type": FieldMetadataType.Uuid, + "name": "calendarEventId", + "label": "Event ID id (foreign key)", + "description": "Event ID id foreign key", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "26eb2191-4e7a-433b-8be4-d1f65b744a5a", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "051b041b-808e-4be6-b6ff-6a11a83d3017", + "type": FieldMetadataType.Uuid, + "name": "personId", + "label": "Person id (foreign key)", + "description": "Person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a7dc3d33-0cfd-4e64-87bc-441a00993231", + "type": FieldMetadataType.Select, + "name": "responseStatus", + "label": "Response Status", + "description": "Response Status", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'NEEDS_ACTION'", + "options": [ + { + "id": "8544e916-a99e-4f34-97ed-20bea2ccfffd", + "color": "orange", + "label": "Needs Action", + "value": "NEEDS_ACTION", + "position": 0 + }, + { + "id": "c3adef56-ea8f-4486-93fc-386a2f3db815", + "color": "red", + "label": "Declined", + "value": "DECLINED", + "position": 1 + }, + { + "id": "eb2a3376-9ee9-4275-9325-c54d5b111d55", + "color": "yellow", + "label": "Tentative", + "value": "TENTATIVE", + "position": 2 + }, + { + "id": "628aa0e7-a574-4175-9491-7e81bb314ed4", + "color": "green", + "label": "Accepted", + "value": "ACCEPTED", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1cb56c41-518b-4c17-a171-03c078c5da81", + "type": FieldMetadataType.Relation, + "name": "calendarEvent", + "label": "Event ID", + "description": "Event ID", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "3d04a82d-f4eb-4c8d-b09f-e86409e0883b", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "1cb56c41-518b-4c17-a171-03c078c5da81", + "name": "calendarEvent" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "09edc594-fdc7-44a4-8079-9560c804e85b", + "name": "calendarEventParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d461f529-fabc-4a2b-a858-14d7898e79b8", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8258a232-1cfe-43db-82b0-dd999a10b439", + "type": FieldMetadataType.Text, + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "01ca121e-057a-4e97-b3a8-951b374e7346", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_0da422bbe7adbabb8144c696ebd", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "6f746686-c6f1-435f-bd77-043c23ac15da", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "051b041b-808e-4be6-b6ff-6a11a83d3017" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "2ff40ad6-ae2c-4a28-8e18-08e8ab81fc97", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "26eb2191-4e7a-433b-8be4-d1f65b744a5a" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "7a610b59-8756-4045-9373-68aeafc11474", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_dd22aee9059fd7002165df6d8cc", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "0360cace-32af-4b99-bb68-6942e6663044", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "1c9e5767-78f4-4305-b6dd-b4efcf25bdb8" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "cb6b62d3-18db-4655-93fc-4e4a3acc7d42", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "26eb2191-4e7a-433b-8be4-d1f65b744a5a" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "b7b923e5-3c9d-464c-a6b1-cb55c535e6bd", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_2bf094726f6d91639302c1c143d", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "ac98e45b-c576-49d9-a900-b5cb5893ce3f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "26eb2191-4e7a-433b-8be4-d1f65b744a5a" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "a23a899a-5ea0-46bb-870f-8122b8be4d76", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "345934cd-ebb1-4a71-888d-2e80407e4564" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "rocket", + "namePlural": "rockets", + "labelSingular": "Rocket", + "labelPlural": "Rockets", + "description": "A rocket", + "icon": "IconRocket", + "isCustom": true, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:39:30.402Z", + "updatedAt": "2024-10-30T13:39:30.402Z", + "labelIdentifierFieldMetadataId": null, + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d9188027-ccae-41e1-9838-fe3908189b25", + "type": FieldMetadataType.TsVector, + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": null, + "isCustom": false, + "isActive": false, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:31.423Z", + "updatedAt": "2024-10-30T13:39:31.423Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "beaac4a1-c635-42bb-b983-489dca948f1f", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.402Z", + "updatedAt": "2024-10-30T13:39:30.402Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f7838a09-e44a-4f0c-99a1-44fa96648613", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Name", + "description": "Name", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.402Z", + "updatedAt": "2024-10-30T13:39:30.402Z", + "defaultValue": "'Untitled'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "38a3c7ea-b4e9-4f01-8e37-db83fa192f8d", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites tied to the Rocket", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.731Z", + "updatedAt": "2024-10-30T13:39:30.731Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9cc4dba5-2509-432f-9b70-0f68e768b5de", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "38a3c7ea-b4e9-4f01-8e37-db83fa192f8d", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "92978ffb-3eaf-4dc7-8ef2-0b552c3d6e49", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d9123ccf-55e8-4af8-913e-7706db201cc8", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.402Z", + "updatedAt": "2024-10-30T13:39:30.402Z", + "defaultValue": "now", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b2dd8997-fbde-4f55-8a3b-c3f1b8dd9328", + "type": FieldMetadataType.Relation, + "name": "taskTargets", + "label": "TaskTargets", + "description": "TaskTargets tied to the Rocket", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:31.244Z", + "updatedAt": "2024-10-30T13:39:31.244Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "1b99cd19-7266-4b95-bbab-18e3c21fa86e", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b2dd8997-fbde-4f55-8a3b-c3f1b8dd9328", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "f309c2d8-9f5b-4b98-b5e0-f8cd9119cad5", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0d2b7aeb-19a2-451f-9bd6-8a14036840d8", + "type": FieldMetadataType.Relation, + "name": "noteTargets", + "label": "NoteTargets", + "description": "NoteTargets tied to the Rocket", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:31.219Z", + "updatedAt": "2024-10-30T13:39:31.219Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9a5f9b38-4951-45ee-b126-609794fb16fa", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "0d2b7aeb-19a2-451f-9bd6-8a14036840d8", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e0ad90c6-04c4-45d2-af8e-73da4c514279", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a588ccec-9e17-43bb-86f6-82c454f760fc", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.402Z", + "updatedAt": "2024-10-30T13:39:30.402Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4a3045e0-70ae-4ea5-8566-19847ab0d19c", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Deletion date", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.402Z", + "updatedAt": "2024-10-30T13:39:30.402Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6e47f007-07b7-4158-8c17-412fb3685545", + "type": FieldMetadataType.Relation, + "name": "attachments", + "label": "Attachments", + "description": "Attachments tied to the Rocket", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.780Z", + "updatedAt": "2024-10-30T13:39:30.780Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "bf3ebee1-7f7c-4f0a-923b-278b055708d9", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6e47f007-07b7-4158-8c17-412fb3685545", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b0c5d631-1242-4fbc-9570-501a17a65338", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6a01f496-cb3a-4216-81a7-a74a9a654e74", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "TimelineActivities", + "description": "TimelineActivities tied to the Rocket", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.641Z", + "updatedAt": "2024-10-30T13:39:30.641Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "c0322ad7-03e8-456c-85f5-a9f1726ca85a", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6a01f496-cb3a-4216-81a7-a74a9a654e74", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "746f850a-4f72-41fc-b92b-eb3d1dba3c00", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2d761083-a788-4189-9667-cb46be416d58", + "type": FieldMetadataType.Actor, + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.402Z", + "updatedAt": "2024-10-30T13:39:30.402Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7828509e-5d7b-4570-8750-c28b49354575", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.402Z", + "updatedAt": "2024-10-30T13:39:30.402Z", + "defaultValue": "now", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "6711c7b2-2a56-4c3c-813b-4e91daffe7ce", + "createdAt": "2024-10-30T13:39:31.573Z", + "updatedAt": "2024-10-30T13:39:31.573Z", + "name": "IDX_530792e4278e7696c4e3e3e55f8", + "indexWhereClause": null, + "indexType": IndexType.Gin, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b492eefa-0496-4ed8-a1b9-3009ba88e696", + "createdAt": "2024-10-30T13:39:31.573Z", + "updatedAt": "2024-10-30T13:39:31.573Z", + "order": 0, + "fieldMetadataId": "d9188027-ccae-41e1-9838-fe3908189b25" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "41302fe4-df07-425f-a492-56d7e6c759af", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "messageChannel", + "namePlural": "messageChannels", + "labelSingular": "Message Channel", + "labelPlural": "Message Channels", + "description": "Message Channels", + "icon": "IconMessage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "a9e799e8-04d8-4212-827b-ff1b0ecc7b38", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjIw" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ff1d122d-a3cf-46b9-a185-d7fa7bc12e30", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a94aaa8f-4d83-4260-ad12-29868df0fa22", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "79c49e03-c91c-4eef-a490-074608d64643", + "type": FieldMetadataType.Boolean, + "name": "excludeNonProfessionalEmails", + "label": "Exclude non professional emails", + "description": "Exclude non professional emails", + "icon": "IconBriefcase", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d0da4da3-fbc7-415c-b0d2-b9bf80b09766", + "type": FieldMetadataType.Number, + "name": "throttleFailureCount", + "label": "Throttle Failure Count", + "description": "Throttle Failure Count", + "icon": "IconX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8d04d998-741f-4b5b-b2cd-c8ce0f919b63", + "type": FieldMetadataType.Uuid, + "name": "connectedAccountId", + "label": "Connected Account id (foreign key)", + "description": "Connected Account id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eb6c610b-edcf-4074-9d91-d0ed9ccea8af", + "type": FieldMetadataType.Select, + "name": "syncStage", + "label": "Sync stage", + "description": "Sync stage", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'FULL_MESSAGE_LIST_FETCH_PENDING'", + "options": [ + { + "id": "f07086a8-5e66-4770-8c43-518ca94768a5", + "color": "blue", + "label": "Full messages list fetch pending", + "value": "FULL_MESSAGE_LIST_FETCH_PENDING", + "position": 0 + }, + { + "id": "68ce99f3-4215-45d5-a1ee-434d78007ec4", + "color": "blue", + "label": "Partial messages list fetch pending", + "value": "PARTIAL_MESSAGE_LIST_FETCH_PENDING", + "position": 1 + }, + { + "id": "924bdeea-3d50-456f-a632-7bd4be19185c", + "color": "orange", + "label": "Messages list fetch ongoing", + "value": "MESSAGE_LIST_FETCH_ONGOING", + "position": 2 + }, + { + "id": "7f61c5ee-5869-48ea-935e-c34008b7465d", + "color": "blue", + "label": "Messages import pending", + "value": "MESSAGES_IMPORT_PENDING", + "position": 3 + }, + { + "id": "15abe226-6ee3-4df5-9e52-751c7ba97cd3", + "color": "orange", + "label": "Messages import ongoing", + "value": "MESSAGES_IMPORT_ONGOING", + "position": 4 + }, + { + "id": "2df6f82f-8bfe-4d3c-9318-c935e763abf1", + "color": "red", + "label": "Failed", + "value": "FAILED", + "position": 5 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e39d532b-ed38-4bca-b30e-08d55eabe01a", + "type": FieldMetadataType.Boolean, + "name": "excludeGroupEmails", + "label": "Exclude group emails", + "description": "Exclude group emails", + "icon": "IconUsersGroup", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "15924ee3-7ad9-4a26-8d72-d85946d3bd7c", + "type": FieldMetadataType.Relation, + "name": "messageChannelMessageAssociations", + "label": "Message Channel Association", + "description": "Messages from the channel.", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "30021d4e-da40-49d4-a315-f89b75b02830", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "41302fe4-df07-425f-a492-56d7e6c759af", + "nameSingular": "messageChannel", + "namePlural": "messageChannels" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "15924ee3-7ad9-4a26-8d72-d85946d3bd7c", + "name": "messageChannelMessageAssociations" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "28b5b467-cee4-4a9f-af66-9288006712e5", + "name": "messageChannel" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f8f9c4cc-142e-4192-8490-679760092209", + "type": FieldMetadataType.Select, + "name": "visibility", + "label": "Visibility", + "description": "Visibility", + "icon": "IconEyeglass", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'SHARE_EVERYTHING'", + "options": [ + { + "id": "d09b5abc-4f44-4316-a4e8-4371ee24259e", + "color": "green", + "label": "Metadata", + "value": "METADATA", + "position": 0 + }, + { + "id": "36d015e7-b84c-4df0-9810-25a4acc3af38", + "color": "blue", + "label": "Subject", + "value": "SUBJECT", + "position": 1 + }, + { + "id": "bd2af565-c7d7-445c-a095-ea0eea5270e8", + "color": "orange", + "label": "Share Everything", + "value": "SHARE_EVERYTHING", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "85ec6f07-9b20-47ba-b726-cb8125922064", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "54c932c5-1b6d-4a40-96de-cc732914e702", + "type": FieldMetadataType.Boolean, + "name": "isContactAutoCreationEnabled", + "label": "Is Contact Auto Creation Enabled", + "description": "Is Contact Auto Creation Enabled", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "db15aa14-bc46-41d8-b749-34b31394184f", + "type": FieldMetadataType.Text, + "name": "syncCursor", + "label": "Last sync cursor", + "description": "Last sync cursor", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "300f4749-0ff8-4dc8-b674-b3bd5ad3110b", + "type": FieldMetadataType.Select, + "name": "syncStatus", + "label": "Sync status", + "description": "Sync status", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": [ + { + "id": "9da2a12e-c914-4139-bf5c-f9606d8098b4", + "color": "yellow", + "label": "Ongoing", + "value": "ONGOING", + "position": 1 + }, + { + "id": "34348c77-b192-4c8d-ad1b-c660ea1c8774", + "color": "blue", + "label": "Not Synced", + "value": "NOT_SYNCED", + "position": 2 + }, + { + "id": "c2978108-4d65-4488-bd23-6db7eb0fc595", + "color": "green", + "label": "Active", + "value": "ACTIVE", + "position": 3 + }, + { + "id": "58edf1b3-f54c-4616-bf4a-607e0281c48f", + "color": "red", + "label": "Failed Insufficient Permissions", + "value": "FAILED_INSUFFICIENT_PERMISSIONS", + "position": 4 + }, + { + "id": "917288f3-7d06-4305-a11b-173eb627302f", + "color": "red", + "label": "Failed Unknown", + "value": "FAILED_UNKNOWN", + "position": 5 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bb1e103c-2def-41fc-9172-8c737760d11b", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "81046ac4-881c-4c2c-b602-24a02c853eb0", + "type": FieldMetadataType.Select, + "name": "type", + "label": "Type", + "description": "Channel Type", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'email'", + "options": [ + { + "id": "d1ccbf6d-587c-4ade-aff1-d5c877084dc0", + "color": "green", + "label": "Email", + "value": "email", + "position": 0 + }, + { + "id": "55b6b4b8-2468-41f9-b17f-2487f1a511c4", + "color": "blue", + "label": "SMS", + "value": "sms", + "position": 1 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cd970e61-b53d-4803-9642-08bc6df5f657", + "type": FieldMetadataType.Select, + "name": "contactAutoCreationPolicy", + "label": "Contact auto creation policy", + "description": "Automatically create People records when receiving or sending emails", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'SENT'", + "options": [ + { + "id": "294f8bac-264e-4aca-b69f-2db6593f5172", + "color": "green", + "label": "Sent and Received", + "value": "SENT_AND_RECEIVED", + "position": 0 + }, + { + "id": "37f6fe62-fd6e-4765-a0d8-4f834f8b7847", + "color": "blue", + "label": "Sent", + "value": "SENT", + "position": 1 + }, + { + "id": "d4214abe-e542-4081-98fa-c6c49f89fb4c", + "color": "red", + "label": "None", + "value": "NONE", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3fe1b730-e78c-4d37-be65-ac77f38ee433", + "type": FieldMetadataType.DateTime, + "name": "syncStageStartedAt", + "label": "Sync stage started at", + "description": "Sync stage started at", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8d1710d6-bacf-45ba-ab4c-bfce4c3980a1", + "type": FieldMetadataType.DateTime, + "name": "syncedAt", + "label": "Last sync date", + "description": "Last sync date", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a9e799e8-04d8-4212-827b-ff1b0ecc7b38", + "type": FieldMetadataType.Text, + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fd38bf5a-9daa-4db1-9aff-a644a9a31bfb", + "type": FieldMetadataType.Relation, + "name": "connectedAccount", + "label": "Connected Account", + "description": "Connected Account", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "80daf432-7306-4951-be4c-14e92bfc7d68", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "41302fe4-df07-425f-a492-56d7e6c759af", + "nameSingular": "messageChannel", + "namePlural": "messageChannels" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "fd38bf5a-9daa-4db1-9aff-a644a9a31bfb", + "name": "connectedAccount" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e189a013-da4a-43ee-ae9d-3e7d87bd6750", + "name": "messageChannels" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "23915aea-8c4f-44a9-a0f3-e4a67d9bcb15", + "type": FieldMetadataType.Boolean, + "name": "isSyncEnabled", + "label": "Is Sync Enabled", + "description": "Is Sync Enabled", + "icon": "IconRefresh", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "fd6a9a69-2250-4abd-a1a4-ce60cc44d271", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_c3af632ce35236d21f8ae1f4cfd", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "0fe4b1dd-6015-4cfb-a985-04fd0c2b6372", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "85ec6f07-9b20-47ba-b726-cb8125922064" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "3022a459-747f-4c89-9b37-a969d140ffd5", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "8d04d998-741f-4b5b-b2cd-c8ce0f919b63" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants", + "labelSingular": "Message Participant", + "labelPlural": "Message Participants", + "description": "Message Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "3918bf9b-030c-41ab-ba8b-77c078e43556", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b2fe1ee8-aab2-484a-87fa-edd6e1fc30c7", + "type": FieldMetadataType.Relation, + "name": "person", + "label": "Person", + "description": "Person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "7a994c6c-6574-45cd-b8f3-6268cf5e952a", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b2fe1ee8-aab2-484a-87fa-edd6e1fc30c7", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "9426bebc-fdd6-447a-9fb6-3bfaee7842ea", + "name": "messageParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "52800001-3dda-4f49-b8bf-be7fc6f61556", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "98d6b9f9-c959-4d35-8482-9c9733ed9981", + "type": FieldMetadataType.Select, + "name": "role", + "label": "Role", + "description": "Role", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'from'", + "options": [ + { + "id": "c017ca18-bfab-461c-b3ba-7a9239a7a407", + "color": "green", + "label": "From", + "value": "from", + "position": 0 + }, + { + "id": "d481cb1d-4dbf-4daf-af74-192efdb7f5dd", + "color": "blue", + "label": "To", + "value": "to", + "position": 1 + }, + { + "id": "15ce163c-ab02-4613-955d-2f1ab6145757", + "color": "orange", + "label": "Cc", + "value": "cc", + "position": 2 + }, + { + "id": "abd7e424-7849-41b3-a605-5e810ac49d18", + "color": "red", + "label": "Bcc", + "value": "bcc", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ca27f91e-b872-4d80-8ba1-7c597fa85d8e", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "44d07778-3da5-4904-93cb-b357587f0c90", + "type": FieldMetadataType.Uuid, + "name": "personId", + "label": "Person id (foreign key)", + "description": "Person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b1f309af-ccb7-4eae-8631-3fe44dba70ad", + "type": FieldMetadataType.Uuid, + "name": "messageId", + "label": "Message id (foreign key)", + "description": "Message id foreign key", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3918bf9b-030c-41ab-ba8b-77c078e43556", + "type": FieldMetadataType.Text, + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a2b20d09-a23b-4de0-9ca8-2f1877a0f6d9", + "type": FieldMetadataType.Relation, + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Workspace member", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "401899ac-1ea1-4b2a-bc9f-e8dbc0376245", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "a2b20d09-a23b-4de0-9ca8-2f1877a0f6d9", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "0acbe745-ae2d-4aac-a40d-0fb42b54c75f", + "name": "messageParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e81aa525-bd38-4997-8e27-26cc4a66c2fe", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0ef3752f-1bc0-4d67-9d0c-599b981a26b8", + "type": FieldMetadataType.Uuid, + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Workspace member id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ab98dafe-fd9d-4389-84ba-30f574b79635", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2e4c0b4e-d671-42e5-a7f4-e3a1af5487a9", + "type": FieldMetadataType.Text, + "name": "displayName", + "label": "Display Name", + "description": "Display Name", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fa1e799d-454a-4378-8d66-9e4a5db2c1dd", + "type": FieldMetadataType.Relation, + "name": "message", + "label": "Message", + "description": "Message", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "d6c12477-afe4-4049-b08b-7c9ff92cb7bf", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "fa1e799d-454a-4378-8d66-9e4a5db2c1dd", + "name": "message" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3385d352-10a0-428f-9863-e52e7164b26c", + "nameSingular": "message", + "namePlural": "messages" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4d5495d2-c533-4815-93ca-13202a2094c2", + "name": "messageParticipants" + } + } + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "c832dc8d-3800-4213-9055-b1fc7a7ae26c", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_6d9700e5ae2ab8c294d614e72f6", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "94518824-c085-4900-abc9-c6bb7fb27786", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "ab98dafe-fd9d-4389-84ba-30f574b79635" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "983d2969-2e89-4c77-a83b-a895989b05b4", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "44d07778-3da5-4904-93cb-b357587f0c90" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ac34dec5-6ee7-4418-b5b2-3362f9297c84", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_8d0144e4074d86d0cb7094f40c2", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "fa4fea97-e777-4bf4-a72a-a7a1fe33f477", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "b1f309af-ccb7-4eae-8631-3fe44dba70ad" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "230398ef-3308-4fb1-949b-cf5b9e17d4bf", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_8c4f617db0813d41aef587e49ea", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "780b35b6-0bc7-40d6-909a-3db8adfd45c2", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "ab98dafe-fd9d-4389-84ba-30f574b79635" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8de85583-d4dd-4948-93f7-139321357898", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "0ef3752f-1bc0-4d67-9d0c-599b981a26b8" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "3385d352-10a0-428f-9863-e52e7164b26c", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "message", + "namePlural": "messages", + "labelSingular": "Message", + "labelPlural": "Messages", + "description": "Message", + "icon": "IconMessage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "b25c54aa-6d15-40c6-9b2c-27a5e7b774b1", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4103946d-4b6a-400a-b678-059f24c50384", + "type": FieldMetadataType.Relation, + "name": "messageChannelMessageAssociations", + "label": "Message Channel Association", + "description": "Messages from the channel.", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "f7b1e9df-5c65-4d64-9cf4-8065aa5edd58", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "3385d352-10a0-428f-9863-e52e7164b26c", + "nameSingular": "message", + "namePlural": "messages" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4103946d-4b6a-400a-b678-059f24c50384", + "name": "messageChannelMessageAssociations" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "91ec1ccb-08be-4adf-a3ab-8ab11724226b", + "name": "message" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a30c26e1-732f-499e-9833-4bd927d880dd", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b25c54aa-6d15-40c6-9b2c-27a5e7b774b1", + "type": FieldMetadataType.Text, + "name": "subject", + "label": "Subject", + "description": "Subject", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f5712b89-13c6-41f1-aa83-7bfd7b3819e5", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9f312e72-387a-4614-8ae2-2d1e8a91e30d", + "type": FieldMetadataType.DateTime, + "name": "receivedAt", + "label": "Received At", + "description": "The date the message was received", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b9307733-6f67-4d79-8c41-78e845878795", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4d5495d2-c533-4815-93ca-13202a2094c2", + "type": FieldMetadataType.Relation, + "name": "messageParticipants", + "label": "Message Participants", + "description": "Message Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "d6c12477-afe4-4049-b08b-7c9ff92cb7bf", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "3385d352-10a0-428f-9863-e52e7164b26c", + "nameSingular": "message", + "namePlural": "messages" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4d5495d2-c533-4815-93ca-13202a2094c2", + "name": "messageParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "fa1e799d-454a-4378-8d66-9e4a5db2c1dd", + "name": "message" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1d2dea39-4d37-4f1e-96e9-e98fa7554588", + "type": FieldMetadataType.Text, + "name": "text", + "label": "text", + "description": "text", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "baa23263-3324-4ae4-9117-fc541522b2c8", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "054c92a8-5268-4ebb-94b8-ad4f7944da52", + "type": FieldMetadataType.Text, + "name": "headerMessageId", + "label": "Header message Id", + "description": "Message id from the message header", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "79d2deca-9d03-4cf5-a618-2b0afe85c37d", + "type": FieldMetadataType.Relation, + "name": "messageThread", + "label": "Message Thread Id", + "description": "Message Thread Id", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "4499287d-ffad-4966-a043-e5fecd6489a9", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "3385d352-10a0-428f-9863-e52e7164b26c", + "nameSingular": "message", + "namePlural": "messages" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "79d2deca-9d03-4cf5-a618-2b0afe85c37d", + "name": "messageThread" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a031797c-fd59-4072-bad0-0f17a6236871", + "nameSingular": "messageThread", + "namePlural": "messageThreads" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2df434a7-1218-409a-91a9-9030eccf3e25", + "name": "messages" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e5851ae9-cfdc-4225-8ee5-fd6ce2135c8d", + "type": FieldMetadataType.Uuid, + "name": "messageThreadId", + "label": "Message Thread Id id (foreign key)", + "description": "Message Thread Id id foreign key", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ed3e314e-62c5-4742-8695-0c1dcb9fc956", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_78fa73d661d632619e17de211e6", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b54f6c52-082c-4a42-896f-80b056b36977", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "f5712b89-13c6-41f1-aa83-7bfd7b3819e5" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "528f7f21-ce56-4e45-bda2-3e546a04df8d", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "e5851ae9-cfdc-4225-8ee5-fd6ce2135c8d" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "task", + "namePlural": "tasks", + "labelSingular": "Task", + "labelPlural": "Tasks", + "description": "A task", + "icon": "IconCheckbox", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "42dbfb82-87f9-47b8-b0ec-0eebcaaf369d", + "imageIdentifierFieldMetadataId": null, + "shortcut": "T", + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE2" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1972681e-7f09-4670-bff0-add3fc297c30", + "type": FieldMetadataType.Select, + "name": "status", + "label": "Status", + "description": "Task status", + "icon": "IconCheck", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'TODO'", + "options": [ + { + "id": "1b9a4dd1-9208-47ad-a833-bb55661a4502", + "color": "sky", + "label": "To do", + "value": "TODO", + "position": 0 + }, + { + "id": "065d70d4-2840-4f1d-8ad1-2d5eac4e185e", + "color": "purple", + "label": "In progress", + "value": "IN_PROGESS", + "position": 1 + }, + { + "id": "7b778c14-9f44-4e0e-b003-cca0275525c2", + "color": "green", + "label": "Done", + "value": "DONE", + "position": 1 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "42dbfb82-87f9-47b8-b0ec-0eebcaaf369d", + "type": FieldMetadataType.Text, + "name": "title", + "label": "Title", + "description": "Task title", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b86ee0bd-5e4d-4d91-8d2a-1473d155dc42", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the task", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "2668313f-71ee-4c11-8098-7ffeae4ac8d0", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b86ee0bd-5e4d-4d91-8d2a-1473d155dc42", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2c5cecbb-1e99-478d-bd77-f3f2ee66efda", + "name": "task" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "598b87cb-3d76-43e8-a4fa-beb10772f675", + "type": FieldMetadataType.Relation, + "name": "assignee", + "label": "Assignee", + "description": "Task assignee", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ea04a6cc-b565-4da2-afff-fade0a20d08d", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "598b87cb-3d76-43e8-a4fa-beb10772f675", + "name": "assignee" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "611f0f9b-d4d3-42b6-9bb5-ab8d33e3befc", + "name": "assignedTasks" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "56c91566-aa07-429a-804c-e1e9264d2312", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline Activities linked to the task.", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "44687a34-fc9d-47aa-8559-acdd7580e81e", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "56c91566-aa07-429a-804c-e1e9264d2312", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "738e965d-814a-4ab4-a66c-21ae2bb9ad35", + "name": "task" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0426d319-3928-4dfc-93ce-d4cc6172b30d", + "type": FieldMetadataType.Relation, + "name": "attachments", + "label": "Attachments", + "description": "Task attachments", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "10a59354-1c7c-4f9d-8ef4-5834319fbed0", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "0426d319-3928-4dfc-93ce-d4cc6172b30d", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e1186bb6-6864-4a5e-99bb-c77c2a3fd747", + "name": "task" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b69d4c32-d83d-40b6-947b-fa6cca32990e", + "type": FieldMetadataType.TsVector, + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7966cbeb-0597-418f-9ae6-6a35e9c527cc", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "550afb9c-6f7e-444b-b4fa-2b6a4ae15843", + "type": FieldMetadataType.Relation, + "name": "taskTargets", + "label": "Relations", + "description": "Task targets", + "icon": "IconArrowUpRight", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "0e8029bc-671b-4842-9911-81942fe6220f", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "550afb9c-6f7e-444b-b4fa-2b6a4ae15843", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "60309d2d-c7d6-4ea5-9dc6-b48609cd8b7f", + "name": "task" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8fb75668-dd20-4415-b86b-c14f4385bc4d", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eac0db6a-693a-4a42-a01d-5c870f47e894", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a7625918-c9d4-40c3-8ad8-de262e179dcc", + "type": FieldMetadataType.DateTime, + "name": "dueAt", + "label": "Due Date", + "description": "Task due date", + "icon": "IconCalendarEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "10272df2-3022-43df-bc9a-e2b4f2727446", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Task record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cebaca52-5e67-4901-b6a4-c25e7b19f199", + "type": FieldMetadataType.RichText, + "name": "body", + "label": "Body", + "description": "Task body", + "icon": "IconFilePencil", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7dcf00cb-3d0f-47a2-b7c9-927b961f6520", + "type": FieldMetadataType.Uuid, + "name": "assigneeId", + "label": "Assignee id (foreign key)", + "description": "Task assignee id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d74a46d9-9807-4252-a8e6-62130055356d", + "type": FieldMetadataType.Actor, + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fea58455-f3c7-461b-9e6a-74378e9a365f", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "5f0839ca-5308-4870-86fa-e7ae8308b1ac", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_ee5298b25512b38b29390e084f7", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "9a6068de-4223-489f-b358-e3c3a55c8b83", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "7dcf00cb-3d0f-47a2-b7c9-927b961f6520" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "c8c6f567-9799-4ca8-9820-a099c5bf495c", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_d01a000cf26e1225d894dc3d364", + "indexWhereClause": null, + "indexType": IndexType.Gin, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "bd85a32c-5922-4f56-a51b-95beceefb0bf", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "b69d4c32-d83d-40b6-947b-fa6cca32990e" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations", + "labelSingular": "Message Channel Message Association", + "labelPlural": "Message Channel Message Associations", + "description": "Message Synced with a Message Channel", + "icon": "IconMessage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "77fb099a-9f24-4d7d-8da2-6898e48bf868", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEw" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "95ca22c3-2c92-4321-b514-391a861f41d2", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "77fb099a-9f24-4d7d-8da2-6898e48bf868", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "91ec1ccb-08be-4adf-a3ab-8ab11724226b", + "type": FieldMetadataType.Relation, + "name": "message", + "label": "Message Id", + "description": "Message Id", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "f7b1e9df-5c65-4d64-9cf4-8065aa5edd58", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "91ec1ccb-08be-4adf-a3ab-8ab11724226b", + "name": "message" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3385d352-10a0-428f-9863-e52e7164b26c", + "nameSingular": "message", + "namePlural": "messages" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4103946d-4b6a-400a-b678-059f24c50384", + "name": "messageChannelMessageAssociations" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "28b5b467-cee4-4a9f-af66-9288006712e5", + "type": FieldMetadataType.Relation, + "name": "messageChannel", + "label": "Message Channel Id", + "description": "Message Channel Id", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "30021d4e-da40-49d4-a315-f89b75b02830", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "28b5b467-cee4-4a9f-af66-9288006712e5", + "name": "messageChannel" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "41302fe4-df07-425f-a492-56d7e6c759af", + "nameSingular": "messageChannel", + "namePlural": "messageChannels" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "15924ee3-7ad9-4a26-8d72-d85946d3bd7c", + "name": "messageChannelMessageAssociations" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8e1bc985-0e92-4a0c-b617-88c2f5b15f55", + "type": FieldMetadataType.Uuid, + "name": "messageId", + "label": "Message Id id (foreign key)", + "description": "Message Id id foreign key", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a97d7645-9586-457f-81f5-5a567ff5d6da", + "type": FieldMetadataType.Uuid, + "name": "messageChannelId", + "label": "Message Channel Id id (foreign key)", + "description": "Message Channel Id id foreign key", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "63b8c9e7-5867-42e1-be52-1efd5db6ecc8", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eeaaad9c-de19-4d15-9e7b-095f866527d5", + "type": FieldMetadataType.Select, + "name": "direction", + "label": "Direction", + "description": "Message Direction", + "icon": "IconDirection", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'INCOMING'", + "options": [ + { + "id": "f2951ff1-b4fa-4aa2-b52a-471d114240c6", + "color": "green", + "label": "Incoming", + "value": "INCOMING", + "position": 0 + }, + { + "id": "d6340b38-8408-42a1-866b-8f0ccb08b599", + "color": "blue", + "label": "Outgoing", + "value": "OUTGOING", + "position": 1 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "010a9826-31ef-4faf-8ded-e645b247c81b", + "type": FieldMetadataType.Text, + "name": "messageThreadExternalId", + "label": "Thread External Id", + "description": "Thread id from the messaging provider", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c7efc927-fec2-483a-8ff9-58c7f63d76bc", + "type": FieldMetadataType.Text, + "name": "messageExternalId", + "label": "Message External Id", + "description": "Message id from the messaging provider", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4282b1d4-741b-4aac-94bd-b86e2e1afc97", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "d7d9eb3b-9b4f-45cd-a477-cdc2785141d8", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_63953e5f88351922043480b8801", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "47f98922-90a6-4591-a442-a0a8a354dbb3", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "63b8c9e7-5867-42e1-be52-1efd5db6ecc8" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "5de68cec-3ff9-4817-b180-7770d3e0881b", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_671dd9e01a80d1e4c89fc166c3b", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c28d0b25-7d0d-43fd-afd1-e8cf37ce8b19", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "63b8c9e7-5867-42e1-be52-1efd5db6ecc8" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8eca0b5c-8449-4ba2-b2d7-ba2cc07bc34a", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "8e1bc985-0e92-4a0c-b617-88c2f5b15f55" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "person", + "namePlural": "people", + "labelSingular": "Person", + "labelPlural": "People", + "description": "A person", + "icon": "IconUser", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "b351539f-6af9-45bf-9ee3-371368b83022", + "imageIdentifierFieldMetadataId": "55055af5-6236-41b5-9e3f-62ab6230c1f1", + "shortcut": "P", + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjI4" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a779e00c-68fe-4d04-a364-45e3b7c0d2b5", + "type": FieldMetadataType.Emails, + "name": "emails", + "label": "Emails", + "description": "Contact’s Emails", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "primaryEmail": "''", + "additionalEmails": null + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "871a1a8f-47c3-4fb6-985e-8625a9483f9a", + "type": FieldMetadataType.Links, + "name": "xLink", + "label": "X", + "description": "Contact’s X/Twitter account", + "icon": "IconBrandX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b03b3153-a062-4dcd-9a40-d8401726f752", + "type": FieldMetadataType.Phones, + "name": "whatsapp", + "label": "Whatsapp", + "description": "Contact's Whatsapp Number", + "icon": "IconBrandWhatsapp", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:39:27.328Z", + "updatedAt": "2024-10-30T13:39:27.328Z", + "defaultValue": [ + { + "additionalPhones": {}, + "primaryPhoneNumber": "", + "primaryPhoneCountryCode": "" + } + ], + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "74aeccd6-9d05-4b91-aade-8a90f4dbd052", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8ef8d5ba-dad9-41ac-96d5-75d8659e21ff", + "type": FieldMetadataType.Links, + "name": "linkedinLink", + "label": "Linkedin", + "description": "Contact’s Linkedin account", + "icon": "IconBrandLinkedin", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e847601f-dcaf-45f1-a7a1-5530742ef765", + "type": FieldMetadataType.Relation, + "name": "timelineActivities", + "label": "Events", + "description": "Events linked to the person", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8bf3b5fc-d140-43fb-bbf4-1983fd6ece66", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e847601f-dcaf-45f1-a7a1-5530742ef765", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8e0c042c-64a9-4d82-9800-c58b093eda5a", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9426bebc-fdd6-447a-9fb6-3bfaee7842ea", + "type": FieldMetadataType.Relation, + "name": "messageParticipants", + "label": "Message Participants", + "description": "Message Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "7a994c6c-6574-45cd-b8f3-6268cf5e952a", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "9426bebc-fdd6-447a-9fb6-3bfaee7842ea", + "name": "messageParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b2fe1ee8-aab2-484a-87fa-edd6e1fc30c7", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6586555e-28ad-4b8a-855b-f8cbbd327c13", + "type": FieldMetadataType.Relation, + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the contact", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6e7d8470-4f3e-415d-843c-306380a483f0", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6586555e-28ad-4b8a-855b-f8cbbd327c13", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "bd0b3981-63dd-4a8d-95cf-71080dae3364", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bc5fe4dd-e737-4596-bbb2-50660f43b920", + "type": FieldMetadataType.Relation, + "name": "attachments", + "label": "Attachments", + "description": "Attachments linked to the contact.", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "13103358-7184-4a0c-87e7-1f622480cb36", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "bc5fe4dd-e737-4596-bbb2-50660f43b920", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4ccca276-e876-4a1d-b64b-12ab3242b605", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3085019f-5351-42ce-9a40-8852f4245257", + "type": FieldMetadataType.Actor, + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d48b7e4c-41a6-4e45-8349-94848e6a21a8", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "55055af5-6236-41b5-9e3f-62ab6230c1f1", + "type": FieldMetadataType.Text, + "name": "avatarUrl", + "label": "Avatar", + "description": "Contact’s avatar", + "icon": "IconFileUpload", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "64a9cad7-d61f-406f-b7f1-7da640768757", + "type": FieldMetadataType.Text, + "name": "intro", + "label": "Intro", + "description": "Contact's Intro", + "icon": "IconNote", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:39:26.387Z", + "updatedAt": "2024-10-30T13:39:26.387Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ad176aea-890e-4e7c-b0e5-67d9b9717e02", + "type": FieldMetadataType.Relation, + "name": "calendarEventParticipants", + "label": "Calendar Event Participants", + "description": "Calendar Event Participants", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "194734ec-9308-4711-b6ec-3ede45a44978", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "ad176aea-890e-4e7c-b0e5-67d9b9717e02", + "name": "calendarEventParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "dfd280bd-60f5-4291-bff3-ee40a512afd6", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "334443ec-bfd0-4492-8edd-9dd7def5f73e", + "type": FieldMetadataType.Relation, + "name": "company", + "label": "Company", + "description": "Contact’s company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "66654d28-8ce1-4750-8bd3-ba30a97af1eb", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "334443ec-bfd0-4492-8edd-9dd7def5f73e", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "ea7e9ce5-c5f7-404e-9439-ad9edf5d03cf", + "name": "people" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "32a8f4c6-c106-4071-ae5f-03f847a114f9", + "type": FieldMetadataType.TsVector, + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3b362fc7-92be-455e-b926-2e6f42c359e3", + "type": FieldMetadataType.Position, + "name": "position", + "label": "Position", + "description": "Person record Position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dbec4d0c-a037-42d9-8e49-b945f65eec23", + "type": FieldMetadataType.Relation, + "name": "pointOfContactForOpportunities", + "label": "Linked Opportunities", + "description": "List of opportunities for which that person is the point of contact", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6aa55cb7-0038-495b-97f2-c80a48c5819a", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "dbec4d0c-a037-42d9-8e49-b945f65eec23", + "name": "pointOfContactForOpportunities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "fb964332-c2a5-43d0-8da1-ff7127fa0a42", + "name": "pointOfContact" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2ae260b8-4aae-4f5e-8d2d-a073d280c837", + "type": FieldMetadataType.Relation, + "name": "taskTargets", + "label": "Tasks", + "description": "Tasks tied to the contact", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e2479abf-7807-4ac0-b640-581e95bef640", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2ae260b8-4aae-4f5e-8d2d-a073d280c837", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "84c4f534-4798-47ab-b725-a122e966ae9e", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b2bbd05f-98d5-49bd-a690-61469162f76c", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "64b79562-04ca-4d6d-a0a4-23b0bd7e968b", + "type": FieldMetadataType.Relation, + "name": "noteTargets", + "label": "Notes", + "description": "Notes tied to the contact", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ee0b4558-79da-49a3-8f73-e759cf618989", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "64b79562-04ca-4d6d-a0a4-23b0bd7e968b", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6aa53abb-3d35-4f5d-9e8e-f9433488755b", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8071ecc9-9d3a-4055-8b70-04cd87111471", + "type": FieldMetadataType.MultiSelect, + "name": "workPreference", + "label": "Work Preference", + "description": "Person's Work Preference", + "icon": "IconHome", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:28.368Z", + "updatedAt": "2024-10-30T13:39:28.368Z", + "defaultValue": null, + "options": [ + { + "id": "a96ded4d-cd28-49ba-9a12-448a49670b82", + "color": "green", + "label": "On-Site", + "value": "ON_SITE", + "position": 0 + }, + { + "id": "e5a99d1e-8d3d-4f29-9410-8761d7d93cd7", + "color": "turquoise", + "label": "Hybrid", + "value": "HYBRID", + "position": 1 + }, + { + "id": "80d47bf2-ad5d-4075-b362-e96f257560ee", + "color": "sky", + "label": "Remote Work", + "value": "REMOTE_WORK", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6c91c44b-5f40-43d2-9669-d7090ff6e4be", + "type": FieldMetadataType.Phones, + "name": "phones", + "label": "Phones", + "description": "Contact’s phone numbers", + "icon": "IconPhone", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "additionalPhones": null, + "primaryPhoneNumber": "''", + "primaryPhoneCountryCode": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bded282a-1a30-44d2-bb0b-18880fa76cfe", + "type": FieldMetadataType.Rating, + "name": "performanceRating", + "label": "Performance Rating", + "description": "Person's Performance Rating", + "icon": "IconStars", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:29.279Z", + "updatedAt": "2024-10-30T13:39:29.279Z", + "defaultValue": null, + "options": [ + { + "id": "d83c7e81-5d89-42ba-8f44-48606abd94d8", + "label": "1", + "value": "RATING_1", + "position": 0 + }, + { + "id": "d22a9aad-0dee-4590-844c-306fb724b0d5", + "label": "2", + "value": "RATING_2", + "position": 1 + }, + { + "id": "e6707d09-b7c7-49a8-9dac-29e053cb4f99", + "label": "3", + "value": "RATING_3", + "position": 2 + }, + { + "id": "dc4271d5-7c95-4241-b6a9-4f9f82120ea4", + "label": "4", + "value": "RATING_4", + "position": 3 + }, + { + "id": "c6969c1e-a01f-4998-ba97-0ea5b6679df8", + "label": "5", + "value": "RATING_5", + "position": 4 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b351539f-6af9-45bf-9ee3-371368b83022", + "type": FieldMetadataType.FullName, + "name": "name", + "label": "Name", + "description": "Contact’s name", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": { + "lastName": "''", + "firstName": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9dfe9d4a-7603-4425-83b4-47001c858acd", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "28820c91-7931-4ae6-bb28-5b34d821291a", + "type": FieldMetadataType.Uuid, + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Contact’s company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0178953f-ed7e-4fb5-ad60-c9d7c7d1366c", + "type": FieldMetadataType.Text, + "name": "city", + "label": "City", + "description": "Contact’s city", + "icon": "IconMap", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1c26cb01-5cee-41cd-8b50-839433bc5c1b", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "92c6a02e-dc42-48a1-8887-7f1583545830", + "type": FieldMetadataType.Text, + "name": "jobTitle", + "label": "Job Title", + "description": "Contact’s job title", + "icon": "IconBriefcase", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "1acb6467-fce0-4822-9b5e-9529c7e71ccd", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_6a862a788ac6ce967afa06df812", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "3a5181df-47d7-4926-8e40-8bb84018e266", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "1c26cb01-5cee-41cd-8b50-839433bc5c1b" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "4b4f43b5-c044-48c4-886a-aa71bbbf1755", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "28820c91-7931-4ae6-bb28-5b34d821291a" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "6f6704c3-7838-4e50-ac81-39170d4f037f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_bbd7aec1976fc684a0a5e4816c9", + "indexWhereClause": null, + "indexType": IndexType.Gin, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5770e393-3bcd-45de-8d66-0d0f625b9448", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "32a8f4c6-c106-4071-ae5f-03f847a114f9" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "d6a3d879-e4f8-428f-a7db-6844ff40f022", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_UNIQUE_87914cd3ce963115f8cb943e2ac", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": true, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b354b54a-7f79-4dc3-9893-7c81a181e123", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "a779e00c-68fe-4d04-a364-45e3b7c0d2b5" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "1b8027e7-e77e-43a9-8b99-ae672f0c2d96", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "viewFilterGroup", + "namePlural": "viewFilterGroups", + "labelSingular": "View Filter Group", + "labelPlural": "View Filter Groups", + "description": "(System) View Filter Groups", + "icon": "IconFilterBolt", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "7e109c72-f99d-4e09-a507-8c8175aee2bf", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjg=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "56765ee9-d7b8-448d-9f25-0c4b1fafc41e", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "602aae4d-9f7b-4476-a5b0-d3cf738eae11", + "type": FieldMetadataType.Select, + "name": "logicalOperator", + "label": "Logical Operator", + "description": "Logical operator for the filter group", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'NOT'", + "options": [ + { + "id": "813c7a51-1e06-49b2-9529-f38a01513061", + "color": "blue", + "label": "AND", + "value": "AND", + "position": 0 + }, + { + "id": "b985fed1-ddbd-400a-be56-f770de51af03", + "color": "green", + "label": "OR", + "value": "OR", + "position": 1 + }, + { + "id": "c960381d-a829-4531-b48e-6808aa51f3a8", + "color": "red", + "label": "NOT", + "value": "NOT", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5fd33d47-cb5b-4c9d-a05e-e48e89541196", + "type": FieldMetadataType.Relation, + "name": "view", + "label": "View", + "description": "View", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a7eb655c-ce3b-440f-8e8c-53e0f621da61", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "1b8027e7-e77e-43a9-8b99-ae672f0c2d96", + "nameSingular": "viewFilterGroup", + "namePlural": "viewFilterGroups" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "5fd33d47-cb5b-4c9d-a05e-e48e89541196", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "ad547e8a-8363-4834-ae26-5e5c9e92f280", + "name": "viewFilterGroups" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0f536f18-0d0a-4d3c-ba49-70b1be5be3fe", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "41302538-a120-42e7-9274-98ccc7bb0c40", + "type": FieldMetadataType.Uuid, + "name": "viewId", + "label": "View id (foreign key)", + "description": "View id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ed00f540-e5f5-4858-86c9-270de3ecd87b", + "type": FieldMetadataType.Position, + "name": "positionInViewFilterGroup", + "label": "Position in view filter group", + "description": "Position in the parent view filter group", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "59f23864-7aca-431c-874b-38192110e9ee", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7e109c72-f99d-4e09-a507-8c8175aee2bf", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "271ec5cd-f5e8-4c9b-b9c5-70cd24a9ba7d", + "type": FieldMetadataType.Uuid, + "name": "parentViewFilterGroupId", + "label": "Parent View Filter Group Id", + "description": "Parent View Filter Group", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "1d8a5a60-8514-45c5-9eb3-f4ef6c8c0efb", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_64ce6940a9464cd62484d52fb08", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "1f532999-ecc0-4385-a6a7-e7da4948abc5", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "0f536f18-0d0a-4d3c-ba49-70b1be5be3fe" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8edc9c24-d2ec-493a-827d-5d6b44b2d52d", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "41302538-a120-42e7-9274-98ccc7bb0c40" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "18c81dd7-1656-4cfd-930c-40917a8ebdb1", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "viewFilter", + "namePlural": "viewFilters", + "labelSingular": "View Filter", + "labelPlural": "View Filters", + "description": "(System) View Filters", + "icon": "IconFilterBolt", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "7a02a84d-fdfc-4225-8663-a596f70b4906", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "05581434-a49c-4f9a-a9a1-d2c34d9d2833", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "772b40e9-7b6a-4f6f-80dd-364d2b684bea", + "type": FieldMetadataType.Text, + "name": "displayValue", + "label": "Display Value", + "description": "View Filter Display Value", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "38cc2789-fd24-4eae-a658-13e4262891a9", + "type": FieldMetadataType.Text, + "name": "operand", + "label": "Operand", + "description": "View Filter operand", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'Contains'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "77e3ad77-5c63-44a0-bebc-c29b332ccf1e", + "type": FieldMetadataType.Uuid, + "name": "viewId", + "label": "View id (foreign key)", + "description": "View Filter related view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0c12b165-4297-4e28-842d-f0c7fc10b4ec", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e4f07ee0-007e-421f-a8d1-81efc4469c4d", + "type": FieldMetadataType.Position, + "name": "positionInViewFilterGroup", + "label": "Position in view filter group", + "description": "Position in the view filter group", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7a02a84d-fdfc-4225-8663-a596f70b4906", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "07806fe5-7b74-4c75-b6b9-b31ed34201f8", + "type": FieldMetadataType.Relation, + "name": "view", + "label": "View", + "description": "View Filter related view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "62a743f6-0984-4b49-8e60-1845853db297", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "18c81dd7-1656-4cfd-930c-40917a8ebdb1", + "nameSingular": "viewFilter", + "namePlural": "viewFilters" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "07806fe5-7b74-4c75-b6b9-b31ed34201f8", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "72a66df5-81b7-4b38-bc1c-c637b890c9f0", + "name": "viewFilters" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ddd29525-3798-4994-babe-4a9a60f21cc7", + "type": FieldMetadataType.Uuid, + "name": "fieldMetadataId", + "label": "Field Metadata Id", + "description": "View Filter target field", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "88657060-cd27-4340-ab9b-421c297fbac4", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fa342b82-4f3e-420e-a967-208796d092ef", + "type": FieldMetadataType.Text, + "name": "value", + "label": "Value", + "description": "View Filter value", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "17ea0485-fb34-4a9f-a242-7500a7be9b38", + "type": FieldMetadataType.Uuid, + "name": "viewFilterGroupId", + "label": "View Filter Group Id", + "description": "View Filter Group", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "a13146ca-02db-43d3-9730-7cd188936bd3", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_5653b106ee9a9e3d5c1c790419a", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "861c791b-1d20-46bc-8ae3-dd5324c0a344", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "77e3ad77-5c63-44a0-bebc-c29b332ccf1e" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities", + "labelSingular": "Timeline Activity", + "labelPlural": "Timeline Activities", + "description": "Aggregated / filtered event to be displayed on the timeline", + "icon": "IconTimelineEvent", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "2fcdbbf9-b1c8-4073-b546-bbf5de9350dc", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjI5" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2fcdbbf9-b1c8-4073-b546-bbf5de9350dc", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e84f32ae-f82c-44e0-a772-3e1e9a5ca5e6", + "type": FieldMetadataType.Uuid, + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Timeline Activity Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.550Z", + "updatedAt": "2024-10-30T13:39:30.550Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "971d7e6e-8ac5-45ee-8e8b-2fe38f3ee305", + "type": FieldMetadataType.Relation, + "name": "workflowVersion", + "label": "WorkflowVersion", + "description": "Event workflow version", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "db8b3588-fc2e-4809-83da-585d5a7c7b94", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "971d7e6e-8ac5-45ee-8e8b-2fe38f3ee305", + "name": "workflowVersion" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "fad28eb7-a085-4917-93b3-579afd54f373", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "982e771e-36b5-43d7-8311-9e0147413c37", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "014bb754-66d6-4272-b898-b56d213088cd", + "type": FieldMetadataType.RawJson, + "name": "properties", + "label": "Event details", + "description": "Json value for event details", + "icon": "IconListDetails", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "11786990-63a1-4cfb-81d4-dd3f7ff4bb5e", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "22a41f8a-7e01-4c99-a404-7803a7fd55c1", + "type": FieldMetadataType.Uuid, + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Event workspace member id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f14e780d-4784-4aa0-a9fe-a0e3de90881b", + "type": FieldMetadataType.Text, + "name": "linkedRecordCachedName", + "label": "Linked Record cached name", + "description": "Cached record name", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e694cbc5-0f5b-4f5b-b2e6-27d5d2bb6d83", + "type": FieldMetadataType.Uuid, + "name": "workflowVersionId", + "label": "WorkflowVersion id (foreign key)", + "description": "Event workflow version id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f1192a47-f65e-4670-a264-76b6a0554196", + "type": FieldMetadataType.Uuid, + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "Event opportunity id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1f63eefe-6157-4604-a1b5-b5f4a751739f", + "type": FieldMetadataType.Uuid, + "name": "taskId", + "label": "Task id (foreign key)", + "description": "Event task id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7b3381dc-10f3-451b-b948-292d17326438", + "type": FieldMetadataType.Text, + "name": "name", + "label": "Event name", + "description": "Event name", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "aac285c9-3c46-4bd2-b110-047a7d21ad13", + "type": FieldMetadataType.Relation, + "name": "workflow", + "label": "Workflow", + "description": "Event workflow", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "143ea000-9a6f-4f1d-8c19-38f1c05ce3a7", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "aac285c9-3c46-4bd2-b110-047a7d21ad13", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e5fa8aec-caf5-4334-8c39-d8f3eebfaabe", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "738e965d-814a-4ab4-a66c-21ae2bb9ad35", + "type": FieldMetadataType.Relation, + "name": "task", + "label": "Task", + "description": "Event task", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "44687a34-fc9d-47aa-8559-acdd7580e81e", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "738e965d-814a-4ab4-a66c-21ae2bb9ad35", + "name": "task" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "56c91566-aa07-429a-804c-e1e9264d2312", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7ae68305-c320-4d80-b2aa-cb8c9e3755a0", + "type": FieldMetadataType.Uuid, + "name": "noteId", + "label": "Note id (foreign key)", + "description": "Event note id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "afaa48c5-7c8b-47a9-bb6c-ad22d31bbb8e", + "type": FieldMetadataType.DateTime, + "name": "happensAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2c7b281d-7829-433d-a441-c3a4d2e0a90f", + "type": FieldMetadataType.Uuid, + "name": "linkedObjectMetadataId", + "label": "Linked Object Metadata Id", + "description": "inked Object Metadata Id", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6bf9c134-dd47-4413-8d50-b8e64ae91492", + "type": FieldMetadataType.Uuid, + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Event company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4f44f484-ed6b-4705-9276-ecb96f6dbd7a", + "type": FieldMetadataType.Uuid, + "name": "linkedRecordId", + "label": "Linked Record id", + "description": "Linked Record id", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "da52ab08-cd76-47d3-b333-c25755c023af", + "type": FieldMetadataType.Relation, + "name": "note", + "label": "Note", + "description": "Event note", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "45d55e26-edac-4743-b536-8ae8d5af12cb", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "da52ab08-cd76-47d3-b333-c25755c023af", + "name": "note" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "nameSingular": "note", + "namePlural": "notes" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "fa51d8f4-4a2e-4709-9e3c-ecb3b2602c18", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0a7b67cf-5f49-4873-a617-6c6ccd47dd39", + "type": FieldMetadataType.Relation, + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Event workspace member", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "85f3aac1-28c3-4e62-b1b8-1e4741b13285", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "0a7b67cf-5f49-4873-a617-6c6ccd47dd39", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "dff91df5-36ed-421f-ae00-280e9f7ac50d", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6cdf76c3-3dfa-4612-a730-73e208cadee4", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b3a935ca-5797-4bfb-b783-cd7b7725e330", + "type": FieldMetadataType.Relation, + "name": "workflowRun", + "label": "Workflow Run", + "description": "Event workflow run", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "c94de946-5251-4f3e-ac9e-02b3df402610", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b3a935ca-5797-4bfb-b783-cd7b7725e330", + "name": "workflowRun" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "87ef9245-2665-45db-8193-b6d216b5df50", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "47274092-c29c-4717-b7b0-2de1a1007beb", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8e0c042c-64a9-4d82-9800-c58b093eda5a", + "type": FieldMetadataType.Relation, + "name": "person", + "label": "Person", + "description": "Event person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8bf3b5fc-d140-43fb-bbf4-1983fd6ece66", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8e0c042c-64a9-4d82-9800-c58b093eda5a", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e847601f-dcaf-45f1-a7a1-5530742ef765", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1b615e84-dd01-4676-adba-8f2b6721a772", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8e8d68bb-1010-43e3-811f-ec4c53d9d69f", + "type": FieldMetadataType.Uuid, + "name": "personId", + "label": "Person id (foreign key)", + "description": "Event person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9febbd65-1690-4221-90d4-0da74f755899", + "type": FieldMetadataType.Relation, + "name": "company", + "label": "Company", + "description": "Event company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "267d91a0-27bf-4da8-a453-37b80e9553ab", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "9febbd65-1690-4221-90d4-0da74f755899", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "fd40372d-0805-4d54-a848-45b35c5ec4c7", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "746f850a-4f72-41fc-b92b-eb3d1dba3c00", + "type": FieldMetadataType.Relation, + "name": "rocket", + "label": "Rocket", + "description": "TimelineActivity Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.641Z", + "updatedAt": "2024-10-30T13:39:30.641Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "c0322ad7-03e8-456c-85f5-a9f1726ca85a", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "746f850a-4f72-41fc-b92b-eb3d1dba3c00", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6a01f496-cb3a-4216-81a7-a74a9a654e74", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "58e1f883-6785-413a-aa88-af2b964971fc", + "type": FieldMetadataType.Uuid, + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "Event workflow id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f37b50e4-f967-4d98-8bd4-36ed00aac809", + "type": FieldMetadataType.Uuid, + "name": "workflowRunId", + "label": "Workflow Run id (foreign key)", + "description": "Event workflow run id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5607d2b7-1027-42d2-9362-4b51d473758a", + "type": FieldMetadataType.Relation, + "name": "opportunity", + "label": "Opportunity", + "description": "Event opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "1f45c275-bc77-4469-b180-2be3916b6f08", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "5607d2b7-1027-42d2-9362-4b51d473758a", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "a532ecf7-6e9c-4980-8f2c-9b8b37f4f1ce", + "name": "timelineActivities" + } + } + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "842bc86b-c5d6-4652-84e1-3da827fa5fb1", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_a930d316a6b4f3b81d3f026dd16", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "bb550cb7-c80a-4ce6-a557-df0b8f4dfa85", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "22a41f8a-7e01-4c99-a404-7803a7fd55c1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "67d85057-ecb1-4b77-a99e-8128b66de710", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_2708a99873421942c99ab94da12", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "13fa5538-497f-41c1-9a86-c71a3efa456e", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "58e1f883-6785-413a-aa88-af2b964971fc" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "79489888-9586-4002-b90c-3b1c8b613768", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_daf6592d1dff4cff3401bf23c67", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "71a881af-076c-4c91-89e9-dd55e2f0fa2c", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "8e8d68bb-1010-43e3-811f-ec4c53d9d69f" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "b9ddbfa2-0008-4be1-8af9-984dfc2523dc", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_a98bc2277b52c6dd52303e52c21", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "cd089015-3c73-46b5-a907-08e0b3fa6387", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "7ae68305-c320-4d80-b2aa-cb8c9e3755a0" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "7febd47c-126b-45bb-8089-dec492776179", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_7e0d952730f13369e3bd9c2f1a9", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "edd36f45-e43e-4899-af83-8db3b09a09cb", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "6cdf76c3-3dfa-4612-a730-73e208cadee4" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "0aa705b9-1f30-413c-83f7-2bf79fedb7cd", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "f1192a47-f65e-4670-a264-76b6a0554196" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ccdda6fc-5aca-4fc3-93e0-edc95490f2aa", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_b292fe34a9e2d55884febd07e93", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "7224aca9-5eac-4cf1-b012-2304775a1455", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "6cdf76c3-3dfa-4612-a730-73e208cadee4" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "3213df12-79e7-4a1a-9eb2-4100a5674387", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_84b1e01cb0480e514a6e7ec0095", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "36d9c7c3-cb55-4944-9fef-db209341d06f", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "6cdf76c3-3dfa-4612-a730-73e208cadee4" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "f45e2806-4719-4f5f-a340-deca73d0b8ca", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "6bf9c134-dd47-4413-8d50-b8e64ae91492" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "fe240ae4-24c2-48d2-b821-de1d2cdc170d", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_6eae0c4202a87f812adf2f2ba6f", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "dfb74762-2d9e-4567-bac1-6548be07cb42", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "f37b50e4-f967-4d98-8bd4-36ed00aac809" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b9674605-d84a-49f8-8946-da493a62f7f6", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "6cdf76c3-3dfa-4612-a730-73e208cadee4" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "8ca84efe-cd2e-4089-b813-7370276a9d33", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_4e40a441ad75df16dd71499529a", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "3155ebd6-bc7f-4e69-8c21-f70dbb5bea66", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "e694cbc5-0f5b-4f5b-b2e6-27d5d2bb6d83" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels", + "labelSingular": "Calendar Channel", + "labelPlural": "Calendar Channels", + "description": "Calendar Channels", + "icon": "IconCalendar", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "f7f30073-d0e6-4109-a267-936f7ee8a88d", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "302460cb-8e4f-4f8e-bf4b-a568b7bc878d", + "type": FieldMetadataType.Select, + "name": "contactAutoCreationPolicy", + "label": "Contact auto creation policy", + "description": "Automatically create records for people you participated with in an event.", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'AS_PARTICIPANT_AND_ORGANIZER'", + "options": [ + { + "id": "39e9606e-e45a-42ad-99c6-3f59b68c52d4", + "color": "green", + "label": "As Participant and Organizer", + "value": "AS_PARTICIPANT_AND_ORGANIZER", + "position": 0 + }, + { + "id": "e7e4359b-1ff9-4dbd-95a8-f433cc6ca63f", + "color": "orange", + "label": "As Participant", + "value": "AS_PARTICIPANT", + "position": 1 + }, + { + "id": "9875053e-ea56-41c3-aaff-1729bc59a8b8", + "color": "blue", + "label": "As Organizer", + "value": "AS_ORGANIZER", + "position": 2 + }, + { + "id": "e855c969-0ce9-49a4-a0c0-955a597f2e3b", + "color": "red", + "label": "None", + "value": "NONE", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ab598d53-5c7e-4423-95a4-6e581de50579", + "type": FieldMetadataType.DateTime, + "name": "syncedAt", + "label": "Last sync date", + "description": "Last sync date", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a3b1ccda-79fc-4c6c-9d00-855f5dd380bd", + "type": FieldMetadataType.Text, + "name": "syncCursor", + "label": "Sync Cursor", + "description": "Sync Cursor. Used for syncing events from the calendar provider", + "icon": "IconReload", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "87a20f4f-7f0e-4950-bbe9-7934c54d97d5", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "15a6d1f0-caf2-4d2a-8143-bee8d381c22a", + "type": FieldMetadataType.Number, + "name": "throttleFailureCount", + "label": "Throttle Failure Count", + "description": "Throttle Failure Count", + "icon": "IconX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1136c4c5-c3e9-4781-98c6-dd1ff27b4590", + "type": FieldMetadataType.Select, + "name": "syncStage", + "label": "Sync stage", + "description": "Sync stage", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'FULL_CALENDAR_EVENT_LIST_FETCH_PENDING'", + "options": [ + { + "id": "55cb428a-af60-4ccc-8773-fb55252b9e24", + "color": "blue", + "label": "Full calendar event list fetch pending", + "value": "FULL_CALENDAR_EVENT_LIST_FETCH_PENDING", + "position": 0 + }, + { + "id": "cd5cc579-1ee7-42fc-a3d8-b8b3f3e473eb", + "color": "blue", + "label": "Partial calendar event list fetch pending", + "value": "PARTIAL_CALENDAR_EVENT_LIST_FETCH_PENDING", + "position": 1 + }, + { + "id": "73f6afa4-da7d-44b3-b848-cba16f10ed75", + "color": "orange", + "label": "Calendar event list fetch ongoing", + "value": "CALENDAR_EVENT_LIST_FETCH_ONGOING", + "position": 2 + }, + { + "id": "3e06f105-7559-4133-bf87-eb648d134e72", + "color": "blue", + "label": "Calendar events import pending", + "value": "CALENDAR_EVENTS_IMPORT_PENDING", + "position": 3 + }, + { + "id": "7159c6a6-7d92-47ac-9d0e-d0a0853efffc", + "color": "orange", + "label": "Calendar events import ongoing", + "value": "CALENDAR_EVENTS_IMPORT_ONGOING", + "position": 4 + }, + { + "id": "ba6786de-a9ce-45d5-a6f6-8eeb8b4f47a4", + "color": "red", + "label": "Failed", + "value": "FAILED", + "position": 5 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "63532a81-eedb-4be8-b823-8700b90f93e8", + "type": FieldMetadataType.DateTime, + "name": "syncStageStartedAt", + "label": "Sync stage started at", + "description": "Sync stage started at", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "76ec5c25-cff7-4a17-8a6f-0cb6b08e7477", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9f58df6d-c341-42ff-a4d3-1278b617f3c1", + "type": FieldMetadataType.Relation, + "name": "calendarChannelEventAssociations", + "label": "Calendar Channel Event Associations", + "description": "Calendar Channel Event Associations", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9285dd0e-c431-421e-993f-17ddda252c29", + "direction": RelationDefinitionType.OneToMany, + "sourceObjectMetadata": { + "__typename": "object", + "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "9f58df6d-c341-42ff-a4d3-1278b617f3c1", + "name": "calendarChannelEventAssociations" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4d0f0c12-fca8-4111-ab73-95ba8bc4c404", + "name": "calendarChannel" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f7f30073-d0e6-4109-a267-936f7ee8a88d", + "type": FieldMetadataType.Text, + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dab21d1a-7936-4ffc-ba15-aaa561ab1e2c", + "type": FieldMetadataType.Uuid, + "name": "connectedAccountId", + "label": "Connected Account id (foreign key)", + "description": "Connected Account id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ca742a11-31e4-43aa-813d-04e83c50e4a5", + "type": FieldMetadataType.Relation, + "name": "connectedAccount", + "label": "Connected Account", + "description": "Connected Account", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9d18dc97-6d4f-43ad-adc0-2293f25e969c", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "ca742a11-31e4-43aa-813d-04e83c50e4a5", + "name": "connectedAccount" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "664c36e8-7d1f-4077-9f2c-3d65d0d219cf", + "name": "calendarChannels" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1724f996-164e-4c58-9966-058ee3ba8487", + "type": FieldMetadataType.Boolean, + "name": "isContactAutoCreationEnabled", + "label": "Is Contact Auto Creation Enabled", + "description": "Is Contact Auto Creation Enabled", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "67522df3-bd24-4d37-9a53-9ed71a8b1f76", + "type": FieldMetadataType.Boolean, + "name": "isSyncEnabled", + "label": "Is Sync Enabled", + "description": "Is Sync Enabled", + "icon": "IconRefresh", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1664cfbb-6274-4803-9fce-ffd8233f213a", + "type": FieldMetadataType.Select, + "name": "visibility", + "label": "Visibility", + "description": "Visibility", + "icon": "IconEyeglass", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "'SHARE_EVERYTHING'", + "options": [ + { + "id": "30a92cfc-c631-4523-a5df-e00c246752cb", + "color": "green", + "label": "Metadata", + "value": "METADATA", + "position": 0 + }, + { + "id": "6dfe5e9c-1abe-448c-a347-008653a2ad27", + "color": "orange", + "label": "Share Everything", + "value": "SHARE_EVERYTHING", + "position": 1 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8dfd2303-b94d-486f-aad2-e7d298201afd", + "type": FieldMetadataType.Select, + "name": "syncStatus", + "label": "Sync status", + "description": "Sync status", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": [ + { + "id": "6153f65a-7a14-49b1-af65-96abb36e9ea9", + "color": "yellow", + "label": "Ongoing", + "value": "ONGOING", + "position": 1 + }, + { + "id": "f492782f-4d8a-4cb9-b7d3-e2f1c6c98b2c", + "color": "blue", + "label": "Not Synced", + "value": "NOT_SYNCED", + "position": 2 + }, + { + "id": "0858f415-e53c-4fd5-ab49-41afbb883d92", + "color": "green", + "label": "Active", + "value": "ACTIVE", + "position": 3 + }, + { + "id": "daca4b94-d668-43c0-9d0a-731b7a9423fe", + "color": "red", + "label": "Failed Insufficient Permissions", + "value": "FAILED_INSUFFICIENT_PERMISSIONS", + "position": 4 + }, + { + "id": "03e71ffd-ba62-407f-822b-c729aa7af340", + "color": "red", + "label": "Failed Unknown", + "value": "FAILED_UNKNOWN", + "position": 5 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "defd3073-aeb7-44c0-b1bc-b17087f09e97", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "32fc55a2-9491-4744-b46b-550c5882e31c", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "76c61b01-fc0d-4a14-90ae-099dc7542d88", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_3465c79448bacd2f1268e5f6310", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "d6bb0bf5-cf22-4aab-beb8-f2fe8c91b7ce", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "32fc55a2-9491-4744-b46b-550c5882e31c" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "605a1412-2efc-45f1-b4b1-eda368b55b64", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "dab21d1a-7936-4ffc-ba15-aaa561ab1e2c" + } + } + ] + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", + "nameSingular": "noteTarget", + "namePlural": "noteTargets", + "labelSingular": "Note Target", + "labelPlural": "Note Targets", + "description": "A note target", + "icon": "IconCheckbox", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "labelIdentifierFieldMetadataId": "71d023d3-6f34-4b9a-8bb3-8cc24c765a0b", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e0ad90c6-04c4-45d2-af8e-73da4c514279", + "type": FieldMetadataType.Relation, + "name": "rocket", + "label": "Rocket", + "description": "NoteTarget Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:31.219Z", + "updatedAt": "2024-10-30T13:39:31.219Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9a5f9b38-4951-45ee-b126-609794fb16fa", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e0ad90c6-04c4-45d2-af8e-73da4c514279", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "0d2b7aeb-19a2-451f-9bd6-8a14036840d8", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "417a9cf3-2bce-450a-87d5-a19691b2b189", + "type": FieldMetadataType.Uuid, + "name": "companyId", + "label": "Company id (foreign key)", + "description": "NoteTarget company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6aa53abb-3d35-4f5d-9e8e-f9433488755b", + "type": FieldMetadataType.Relation, + "name": "person", + "label": "Person", + "description": "NoteTarget person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ee0b4558-79da-49a3-8f73-e759cf618989", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6aa53abb-3d35-4f5d-9e8e-f9433488755b", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "64b79562-04ca-4d6d-a0a4-23b0bd7e968b", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5824337f-a16b-4675-90c5-7564e99f41db", + "type": FieldMetadataType.DateTime, + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6a1cb524-661c-4a0a-8552-edd5ee8c3070", + "type": FieldMetadataType.Relation, + "name": "opportunity", + "label": "Opportunity", + "description": "NoteTarget opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a1922bea-dc39-46ce-9237-3d969a82897e", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6a1cb524-661c-4a0a-8552-edd5ee8c3070", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "13cc2ff2-c423-4502-8ea3-d7679b86bcd0", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5461b3f4-2c08-4edb-bd74-5cb7c3450526", + "type": FieldMetadataType.DateTime, + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4ad4bc29-ed67-4ae3-b483-800ac3a7807c", + "type": FieldMetadataType.Uuid, + "name": "noteId", + "label": "Note id (foreign key)", + "description": "NoteTarget note id foreign key", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "04e4ad6b-cdaf-405d-98b1-2acb0a454c44", + "type": FieldMetadataType.Relation, + "name": "note", + "label": "Note", + "description": "NoteTarget note", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8b541da0-5092-4089-9f1f-9504e680c396", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "04e4ad6b-cdaf-405d-98b1-2acb0a454c44", + "name": "note" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "7adf354a-c57f-4c76-8079-259f237dc5da", + "nameSingular": "note", + "namePlural": "notes" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6bd180be-5c43-4b65-9fa1-255b236ec49e", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "af6e25ce-9017-4330-a354-700a94649333", + "type": FieldMetadataType.Uuid, + "name": "personId", + "label": "Person id (foreign key)", + "description": "NoteTarget person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4c8b5791-83a9-4076-8c2d-b05f1ad50f0a", + "type": FieldMetadataType.Uuid, + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "NoteTarget opportunity id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "68f56972-a901-43f4-b3a0-f85393af1edf", + "type": FieldMetadataType.Uuid, + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Note Target Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:39:30.965Z", + "updatedAt": "2024-10-30T13:39:30.965Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "71d023d3-6f34-4b9a-8bb3-8cc24c765a0b", + "type": FieldMetadataType.Uuid, + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d5dcf52d-b662-49b3-94d3-d435592455c7", + "type": FieldMetadataType.DateTime, + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7df89c3c-90bd-40ef-bbc9-289c119f1fd8", + "type": FieldMetadataType.Relation, + "name": "company", + "label": "Company", + "description": "NoteTarget company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "f7894817-6567-44a9-a006-2eae13eee010", + "direction": RelationDefinitionType.ManyToOne, + "sourceObjectMetadata": { + "__typename": "object", + "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "7df89c3c-90bd-40ef-bbc9-289c119f1fd8", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "642dedcf-1ba1-45f4-9a66-ca1aa492e075", + "name": "noteTargets" + } + } + } + } + ] + }, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "6a1b9cc6-3c13-4b19-ba35-bda2641ec283", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_241f0cca089399c8c5954086b8d", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8a5e3fae-af9c-46cc-a26b-81e1dfa3804b", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "4ad4bc29-ed67-4ae3-b483-800ac3a7807c" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "9b8fac0f-d796-4aca-a542-f95a36b6c8b8", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "5824337f-a16b-4675-90c5-7564e99f41db" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "1b84752a-6f0e-4b56-8aa0-f8bc6accd4a9", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_68bce49f4de05facd5365a3a797", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c8f3600f-01af-4cce-aeae-d58e01ad6412", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "417a9cf3-2bce-450a-87d5-a19691b2b189" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "79abb064-6063-4341-bc89-8d6ea263eb54", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "5824337f-a16b-4675-90c5-7564e99f41db" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "c4f5365a-5a31-4c0d-a4f2-86b0a329e829", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_19ea95ddb39f610f7dcad4c4336", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "eb822a12-e85a-4fb8-b1fe-e94ca48ed574", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "name": "IDX_56454973bce16e65ee1ae3d2e40", + "indexWhereClause": null, + "indexType": IndexType.Btree, + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "0d572369-c62a-474c-8306-2d4c6166ad5c", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 0, + "fieldMetadataId": "af6e25ce-9017-4330-a354-700a94649333" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "9ee76f2b-9592-4fd3-a1c9-3121fd4cb27e", + "createdAt": "2024-10-30T13:38:22.871Z", + "updatedAt": "2024-10-30T13:38:22.871Z", + "order": 1, + "fieldMetadataId": "5824337f-a16b-4675-90c5-7564e99f41db" + } + } + ] + } + } + } + ] + } + } + } + ] + } +} satisfies ObjectMetadataItemsQuery; + From 7b467822f169973e7321591feac0ed0a006c12ee Mon Sep 17 00:00:00 2001 From: martmull Date: Wed, 30 Oct 2024 16:36:47 +0100 Subject: [PATCH 02/24] Fix tinybird Ci (#8211) Ignore ci job if no change in tinybird --- .github/workflows/ci-tinybird.yaml | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-tinybird.yaml b/.github/workflows/ci-tinybird.yaml index acc57bfd75..8a83f3e817 100644 --- a/.github/workflows/ci-tinybird.yaml +++ b/.github/workflows/ci-tinybird.yaml @@ -5,7 +5,6 @@ on: - main pull_request: - concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -13,9 +12,23 @@ concurrency: jobs: ci: - uses: tinybirdco/ci/.github/workflows/ci.yml@main - with: - data_project_dir: packages/twenty-tinybird - secrets: - tb_admin_token: ${{ secrets.TB_ADMIN_TOKEN }} - tb_host: https://api.eu-central-1.aws.tinybird.co \ No newline at end of file + runs-on: ubuntu-latest + steps: + - name: Check for changed files + id: changed-files + uses: tj-actions/changed-files@v11 + with: + files: | + package.json + packages/twenty-tinybird/** + + - name: Skip if no relevant changes + if: steps.changed-files.outputs.any_changed == 'false' + run: echo "No relevant changes. Skipping CI." + + - name: Check twenty-tinybird package + uses: tinybirdco/ci/.github/workflows/ci.yml@main + with: + data_project_dir: packages/twenty-tinybird + tb_admin_token: ${{ secrets.TB_ADMIN_TOKEN }} + tb_host: https://api.eu-central-1.aws.tinybird.co From 7f90ac2df88057faf3364e8281ca661daef90612 Mon Sep 17 00:00:00 2001 From: martmull Date: Wed, 30 Oct 2024 16:53:02 +0100 Subject: [PATCH 03/24] Handle case where fieldValue is null (#8210) Allow null values when updating relation to fix detach action --- .../src/modules/object-record/utils/sanitizeRecordInput.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/object-record/utils/sanitizeRecordInput.ts b/packages/twenty-front/src/modules/object-record/utils/sanitizeRecordInput.ts index c760351487..29fc050132 100644 --- a/packages/twenty-front/src/modules/object-record/utils/sanitizeRecordInput.ts +++ b/packages/twenty-front/src/modules/object-record/utils/sanitizeRecordInput.ts @@ -37,7 +37,7 @@ export const sanitizeRecordInput = ({ (field) => field.name === relationIdFieldName, ); - return relationIdFieldMetadataItem && fieldValue?.id + return relationIdFieldMetadataItem ? [relationIdFieldName, fieldValue?.id ?? null] : undefined; } From 692c4ba6fbead7c49ea3815944cb34b195a08e65 Mon Sep 17 00:00:00 2001 From: Marie <51697796+ijreilly@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:58:51 +0100 Subject: [PATCH 04/24] Add simple configuration to ts_query (#8215) In the expression of our searchVector fields, we use the "simple" configuration (over the default "english" one), to avoid picking a language that's irrelevant to the user. I initially forgot to add the same configuration to the query that is being sent using ts_query. Adding it will also allow the search to work for a single character, while so far a single letter was most of the time considered a "stop word" (a word with no semantic value, like "a"). --- .../resolvers/graphql-query-search-resolver.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/resolvers/graphql-query-search-resolver.service.ts b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/resolvers/graphql-query-search-resolver.service.ts index b7d2c4dbdb..4cde38cfe6 100644 --- a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/resolvers/graphql-query-search-resolver.service.ts +++ b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/resolvers/graphql-query-search-resolver.service.ts @@ -88,12 +88,12 @@ export class GraphqlQuerySearchResolverService qb.where( searchTerms === '' ? `"${SEARCH_VECTOR_FIELD.name}" IS NOT NULL` - : `"${SEARCH_VECTOR_FIELD.name}" @@ to_tsquery(:searchTerms)`, + : `"${SEARCH_VECTOR_FIELD.name}" @@ to_tsquery('simple', :searchTerms)`, searchTerms === '' ? {} : { searchTerms }, ).orWhere( searchTermsOr === '' ? `"${SEARCH_VECTOR_FIELD.name}" IS NOT NULL` - : `"${SEARCH_VECTOR_FIELD.name}" @@ to_tsquery(:searchTermsOr)`, + : `"${SEARCH_VECTOR_FIELD.name}" @@ to_tsquery('simple', :searchTermsOr)`, searchTermsOr === '' ? {} : { searchTermsOr }, ); }), From 3957658e1cc3c61f68806f810f70125a010266eb Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Wed, 30 Oct 2024 17:02:07 +0100 Subject: [PATCH 05/24] Fix storybook tests --- .../twenty-front/src/testing/graphqlMocks.ts | 27 +++++++++++++++++++ .../src/testing/mock-data/views.ts | 9 ++++++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/packages/twenty-front/src/testing/graphqlMocks.ts b/packages/twenty-front/src/testing/graphqlMocks.ts index dfa741f9e1..b9269b4d13 100644 --- a/packages/twenty-front/src/testing/graphqlMocks.ts +++ b/packages/twenty-front/src/testing/graphqlMocks.ts @@ -113,6 +113,33 @@ export const graphqlMocks = { }, }); }), + graphql.query('FindManyViews', ({ variables }) => { + const objectMetadataId = variables.filter?.objectMetadataId?.eq; + const viewType = variables.filter?.type?.eq; + + return HttpResponse.json({ + data: { + views: { + edges: mockedViewsData + .filter( + (view) => + view?.objectMetadataId === objectMetadataId && + view?.type === viewType, + ) + .map((view) => ({ + node: view, + cursor: null, + })), + pageInfo: { + hasNextPage: false, + hasPreviousPage: false, + startCursor: null, + endCursor: null, + }, + }, + }, + }); + }), graphql.query('SearchWorkspaceMembers', () => { return HttpResponse.json({ data: { diff --git a/packages/twenty-front/src/testing/mock-data/views.ts b/packages/twenty-front/src/testing/mock-data/views.ts index 3318e158b4..2bb0edd27e 100644 --- a/packages/twenty-front/src/testing/mock-data/views.ts +++ b/packages/twenty-front/src/testing/mock-data/views.ts @@ -25,7 +25,8 @@ export const mockedViewsData = [ createdAt: '2021-09-01T00:00:00.000Z', updatedAt: '2021-09-01T00:00:00.000Z', isCompact: false, - + viewFilterGroups: [], + viewGroups: [], __typename: 'View', }, { @@ -40,6 +41,8 @@ export const mockedViewsData = [ createdAt: '2021-09-01T00:00:00.000Z', updatedAt: '2021-09-01T00:00:00.000Z', isCompact: false, + viewFilterGroups: [], + viewGroups: [], __typename: 'View', }, { @@ -54,6 +57,8 @@ export const mockedViewsData = [ createdAt: '2021-09-01T00:00:00.000Z', updatedAt: '2021-09-01T00:00:00.000Z', isCompact: false, + viewFilterGroups: [], + viewGroups: [], __typename: 'View', }, { @@ -68,6 +73,8 @@ export const mockedViewsData = [ createdAt: '2021-09-01T00:00:00.000Z', updatedAt: '2021-09-01T00:00:00.000Z', isCompact: false, + viewFilterGroups: [], + viewGroups: [], __typename: 'View', }, ]; From 7dfde04957e6b255c23bab84080b4e493fe946e1 Mon Sep 17 00:00:00 2001 From: Marie <51697796+ijreilly@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:18:44 +0100 Subject: [PATCH 06/24] Fix advanced settings display (#8196) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In [this PR (fix navigation overflow)](https://github.com/twentyhq/twenty/pull/7795) we introduced a regression, hidding the left-side animation with advanced settings: Capture d’écran 2024-10-30 à 12 56 22 Capture d’écran 2024-10-30 à 12 56 31 --- .../components/NavigationDrawer.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx index 33e9ef1527..ded8a5772c 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx @@ -22,9 +22,9 @@ export type NavigationDrawerProps = { title?: string; }; -const StyledAnimatedContainer = styled(motion.div)` +const StyledAnimatedContainer = styled(motion.div)<{ isSettings?: boolean }>` max-height: 100vh; - overflow: hidden; + overflow: ${({ isSettings }) => (isSettings ? 'visible' : 'hidden')}; `; const StyledContainer = styled.div<{ @@ -50,11 +50,12 @@ const StyledContainer = styled.div<{ padding-right: 20px; } `; -const StyledItemsContainer = styled.div` + +const StyledItemsContainer = styled.div<{ isSettings?: boolean }>` display: flex; flex-direction: column; margin-bottom: auto; - overflow: hidden; + overflow: ${({ isSettings }) => (isSettings ? 'visible' : 'hidden')}; flex: 1; `; @@ -102,6 +103,7 @@ export const NavigationDrawer = ({ transition={{ duration: theme.animation.duration.normal, }} + isSettings={isSettingsDrawer} > )} - {children} + + {children} + {footer} From 7a5d52e88d6aab7777e65a3e2a591084a75c0d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:22:42 +0100 Subject: [PATCH 07/24] Update action menu bar (#8178) Closes #8023 --- .../components/DeleteRecordsActionEffect.tsx | 1 + .../components/RecordIndexActionMenuBar.tsx | 8 ++- ...cordIndexActionMenuBarAllActionsButton.tsx | 53 +++++++++++++++++++ .../RecordIndexActionMenuBarEntry.tsx | 20 ++----- .../RecordIndexActionMenuBar.stories.tsx | 19 ++----- .../action-menu/types/ActionMenuEntry.ts | 1 + 6 files changed, 69 insertions(+), 33 deletions(-) create mode 100644 packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBarAllActionsButton.tsx diff --git a/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/DeleteRecordsActionEffect.tsx b/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/DeleteRecordsActionEffect.tsx index 208ae8ffc3..d53e118ae2 100644 --- a/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/DeleteRecordsActionEffect.tsx +++ b/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/DeleteRecordsActionEffect.tsx @@ -102,6 +102,7 @@ export const DeleteRecordsActionEffect = ({ position, Icon: IconTrash, accent: 'danger', + isPinned: true, onClick: () => { setIsDeleteRecordsModalOpen(true); }, diff --git a/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBar.tsx b/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBar.tsx index ea0383727e..9a22c29f92 100644 --- a/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBar.tsx +++ b/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBar.tsx @@ -1,5 +1,6 @@ import styled from '@emotion/styled'; +import { RecordIndexActionMenuBarAllActionsButton } from '@/action-menu/components/RecordIndexActionMenuBarAllActionsButton'; import { RecordIndexActionMenuBarEntry } from '@/action-menu/components/RecordIndexActionMenuBarEntry'; import { actionMenuEntriesComponentSelector } from '@/action-menu/states/actionMenuEntriesComponentSelector'; import { ActionMenuComponentInstanceContext } from '@/action-menu/states/contexts/ActionMenuComponentInstanceContext'; @@ -30,7 +31,9 @@ export const RecordIndexActionMenuBar = () => { actionMenuEntriesComponentSelector, ); - if (actionMenuEntries.length === 0) { + const pinnedEntries = actionMenuEntries.filter((entry) => entry.isPinned); + + if (pinnedEntries.length === 0) { return null; } @@ -42,9 +45,10 @@ export const RecordIndexActionMenuBar = () => { }} > {contextStoreNumberOfSelectedRecords} selected: - {actionMenuEntries.map((entry, index) => ( + {pinnedEntries.map((entry, index) => ( ))} + ); }; diff --git a/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBarAllActionsButton.tsx b/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBarAllActionsButton.tsx new file mode 100644 index 0000000000..336b4f7348 --- /dev/null +++ b/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBarAllActionsButton.tsx @@ -0,0 +1,53 @@ +import { useCommandMenu } from '@/command-menu/hooks/useCommandMenu'; +import { useTheme } from '@emotion/react'; +import styled from '@emotion/styled'; +import { IconLayoutSidebarRightExpand } from 'twenty-ui'; + +const StyledButton = styled.div` + border-radius: ${({ theme }) => theme.border.radius.sm}; + color: ${({ theme }) => theme.font.color.secondary}; + cursor: pointer; + display: flex; + justify-content: center; + + padding: ${({ theme }) => theme.spacing(2)}; + transition: background ${({ theme }) => theme.animation.duration.fast} ease; + user-select: none; + + &:hover { + background: ${({ theme }) => theme.background.tertiary}; + } +`; + +const StyledButtonLabel = styled.div` + font-weight: ${({ theme }) => theme.font.weight.medium}; + margin-left: ${({ theme }) => theme.spacing(1)}; +`; + +const StyledShortcutLabel = styled.div` + color: ${({ theme }) => theme.font.color.light}; + font-weight: ${({ theme }) => theme.font.weight.medium}; +`; + +const StyledSeparator = styled.div<{ size: 'sm' | 'md' }>` + background: ${({ theme }) => theme.border.color.light}; + height: ${({ theme, size }) => theme.spacing(size === 'sm' ? 4 : 8)}; + margin: 0 ${({ theme }) => theme.spacing(1)}; + width: 1px; +`; + +export const RecordIndexActionMenuBarAllActionsButton = () => { + const theme = useTheme(); + const { openCommandMenu } = useCommandMenu(); + return ( + <> + + openCommandMenu()}> + + All Actions + + ⌘K + + + ); +}; diff --git a/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBarEntry.tsx b/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBarEntry.tsx index 8be4747983..ffa52d2059 100644 --- a/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBarEntry.tsx +++ b/packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenuBarEntry.tsx @@ -2,31 +2,24 @@ import { useTheme } from '@emotion/react'; import styled from '@emotion/styled'; import { ActionMenuEntry } from '@/action-menu/types/ActionMenuEntry'; -import { MenuItemAccent } from '@/ui/navigation/menu-item/types/MenuItemAccent'; type RecordIndexActionMenuBarEntryProps = { entry: ActionMenuEntry; }; -const StyledButton = styled.div<{ accent: MenuItemAccent }>` +const StyledButton = styled.div` border-radius: ${({ theme }) => theme.border.radius.sm}; - color: ${(props) => - props.accent === 'danger' - ? props.theme.color.red - : props.theme.font.color.secondary}; + color: ${({ theme }) => theme.font.color.secondary}; cursor: pointer; display: flex; justify-content: center; padding: ${({ theme }) => theme.spacing(2)}; - transition: background 0.1s ease; + transition: background ${({ theme }) => theme.animation.duration.fast} ease; user-select: none; &:hover { - background: ${({ theme, accent }) => - accent === 'danger' - ? theme.background.danger - : theme.background.tertiary}; + background: ${({ theme }) => theme.background.tertiary}; } `; @@ -40,10 +33,7 @@ export const RecordIndexActionMenuBarEntry = ({ }: RecordIndexActionMenuBarEntryProps) => { const theme = useTheme(); return ( - entry.onClick?.()} - > + entry.onClick?.()}> {entry.Icon && } {entry.label} diff --git a/packages/twenty-front/src/modules/action-menu/components/__stories__/RecordIndexActionMenuBar.stories.tsx b/packages/twenty-front/src/modules/action-menu/components/__stories__/RecordIndexActionMenuBar.stories.tsx index f3a3eab2fd..4cb1ef1a4b 100644 --- a/packages/twenty-front/src/modules/action-menu/components/__stories__/RecordIndexActionMenuBar.stories.tsx +++ b/packages/twenty-front/src/modules/action-menu/components/__stories__/RecordIndexActionMenuBar.stories.tsx @@ -10,15 +10,15 @@ import { contextStoreNumberOfSelectedRecordsComponentState } from '@/context-sto import { contextStoreTargetedRecordsRuleComponentState } from '@/context-store/states/contextStoreTargetedRecordsRuleComponentState'; import { isBottomBarOpenedComponentState } from '@/ui/layout/bottom-bar/states/isBottomBarOpenedComponentState'; import { userEvent, waitFor, within } from '@storybook/test'; -import { IconCheckbox, IconTrash } from 'twenty-ui'; +import { IconTrash, RouterDecorator } from 'twenty-ui'; const deleteMock = jest.fn(); -const markAsDoneMock = jest.fn(); const meta: Meta = { title: 'Modules/ActionMenu/RecordIndexActionMenuBar', component: RecordIndexActionMenuBar, decorators: [ + RouterDecorator, (Story) => ( = { [ 'delete', { + isPinned: true, key: 'delete', label: 'Delete', position: 0, @@ -55,16 +56,6 @@ const meta: Meta = { onClick: deleteMock, }, ], - [ - 'markAsDone', - { - key: 'markAsDone', - label: 'Mark as done', - position: 1, - Icon: IconCheckbox, - onClick: markAsDoneMock, - }, - ], ]), ); set( @@ -120,12 +111,8 @@ export const WithButtonClicks: Story = { const deleteButton = await canvas.findByText('Delete'); await userEvent.click(deleteButton); - const markAsDoneButton = await canvas.findByText('Mark as done'); - await userEvent.click(markAsDoneButton); - await waitFor(() => { expect(deleteMock).toHaveBeenCalled(); - expect(markAsDoneMock).toHaveBeenCalled(); }); }, }; diff --git a/packages/twenty-front/src/modules/action-menu/types/ActionMenuEntry.ts b/packages/twenty-front/src/modules/action-menu/types/ActionMenuEntry.ts index 4fe1809552..c6f559be8b 100644 --- a/packages/twenty-front/src/modules/action-menu/types/ActionMenuEntry.ts +++ b/packages/twenty-front/src/modules/action-menu/types/ActionMenuEntry.ts @@ -8,6 +8,7 @@ export type ActionMenuEntry = { label: string; position: number; Icon: IconComponent; + isPinned?: boolean; accent?: MenuItemAccent; onClick?: (event?: MouseEvent) => void; ConfirmationModal?: ReactNode; From c7c16f71145c6337bf9173371e2e97ed0ee7269c Mon Sep 17 00:00:00 2001 From: Thomas Trompette Date: Wed, 30 Oct 2024 17:34:05 +0100 Subject: [PATCH 08/24] Fix date picker size (#8216) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Capture d’écran 2024-10-30 à 16 54 19 --- .../components/internal/date/components/InternalDatePicker.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/InternalDatePicker.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/InternalDatePicker.tsx index ebca2067fc..77475ce63e 100644 --- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/InternalDatePicker.tsx +++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/InternalDatePicker.tsx @@ -126,7 +126,6 @@ const StyledContainer = styled.div<{ calendarDisabled?: boolean }>` } & .react-datepicker__month-dropdown { left: ${({ theme }) => theme.spacing(2)}; - width: 160px; height: 260px; } From d19bc2c224a5e02f9fd325fe2e98ec8116f2f5a0 Mon Sep 17 00:00:00 2001 From: Weiko Date: Wed, 30 Oct 2024 17:47:52 +0100 Subject: [PATCH 09/24] Fix SimplifySearchVectorExpressionCommand (#8218) ## Context This command was introduced to simplify searchVector expressions that were added in v0.31.x for existing workspaces. New search vector columns have been added later during 0.32 development and should not be migrated, this actually breaks the command because we run sync-metadata before the upgrade command. The fix removes the throw since this is expected and return early if the search vector was not matched with an object that needs migration. ## Test checkout v0.31.0 reset:db command checkout this PR run typeorm migrations run upgrade 0-32 command --- .../0-32/0-32-simplify-search-vector-expression.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-simplify-search-vector-expression.ts b/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-simplify-search-vector-expression.ts index 27d75e213c..9ed6bb0f6a 100644 --- a/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-simplify-search-vector-expression.ts +++ b/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-simplify-search-vector-expression.ts @@ -79,11 +79,10 @@ export class SimplifySearchVectorExpressionCommand extends ActiveWorkspacesComma fieldsUsedForSearch = SEARCH_FIELDS_FOR_OPPORTUNITY; break; } - default: { - throw new Error( - `search vector has unexpected standardId: ${searchVectorField.standardId}`, - ); - } + } + + if (fieldsUsedForSearch.length === 0) { + continue; } await this.searchService.updateSearchVector( From e5d492d09f5cf97a2c54de2c93b1a03c5d5ae989 Mon Sep 17 00:00:00 2001 From: Marie <51697796+ijreilly@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:41:44 +0100 Subject: [PATCH 10/24] Fix empty option selected in single entity select (#8208) SingleEntitySelect was wrongfully showing the empty option (eg "No company") as selected if the selected option was not showing in the list, because of a search filter for instance (eg selected option is "Linkedin" but search filter is "a"). Fixing this and removing misleading prop selectedEntity from components where it is never passed. --- .../relation-picker/components/SingleEntitySelect.tsx | 2 -- .../components/SingleEntitySelectMenuItems.tsx | 4 +++- .../components/SingleEntitySelectMenuItemsWithSearch.tsx | 7 +++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelect.tsx b/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelect.tsx index 368636fb47..b98c3f36b0 100644 --- a/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelect.tsx +++ b/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelect.tsx @@ -23,7 +23,6 @@ export const SingleEntitySelect = ({ onEntitySelected, relationObjectNameSingular, relationPickerScopeId, - selectedEntity, selectedRelationRecordIds, width = 200, }: SingleEntitySelectProps) => { @@ -61,7 +60,6 @@ export const SingleEntitySelect = ({ onEntitySelected, relationObjectNameSingular, relationPickerScopeId, - selectedEntity, selectedRelationRecordIds, }} /> diff --git a/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelectMenuItems.tsx b/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelectMenuItems.tsx index e1748c5b4b..50db8588c6 100644 --- a/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelectMenuItems.tsx +++ b/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelectMenuItems.tsx @@ -37,6 +37,7 @@ export type SingleEntitySelectMenuItemsProps = { onAllEntitySelected?: () => void; hotkeyScope?: string; isFiltered: boolean; + shouldSelectEmptyOption?: boolean; }; export const SingleEntitySelectMenuItems = ({ @@ -56,6 +57,7 @@ export const SingleEntitySelectMenuItems = ({ onAllEntitySelected, hotkeyScope = RelationPickerHotkeyScope.RelationPicker, isFiltered, + shouldSelectEmptyOption, }: SingleEntitySelectMenuItemsProps) => { const containerRef = useRef(null); @@ -181,7 +183,7 @@ export const SingleEntitySelectMenuItems = ({ onClick={() => onEntitySelected()} LeftIcon={EmptyIcon} text={emptyLabel} - selected={!selectedEntity} + selected={shouldSelectEmptyOption === true} hovered={isSelectedSelectNoneButton} /> ) diff --git a/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelectMenuItemsWithSearch.tsx b/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelectMenuItemsWithSearch.tsx index 83c628668d..9b8e562629 100644 --- a/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelectMenuItemsWithSearch.tsx +++ b/packages/twenty-front/src/modules/object-record/relation-picker/components/SingleEntitySelectMenuItemsWithSearch.tsx @@ -35,7 +35,6 @@ export const SingleEntitySelectMenuItemsWithSearch = ({ onEntitySelected, relationObjectNameSingular, relationPickerScopeId = 'relation-picker', - selectedEntity, selectedRelationRecordIds, dropdownPlacement, }: SingleEntitySelectMenuItemsWithSearchProps) => { @@ -71,11 +70,11 @@ export const SingleEntitySelectMenuItemsWithSearch = ({ entitiesToSelect={entities.entitiesToSelect} loading={entities.loading} selectedEntity={ - selectedEntity ?? - (entities.selectedEntities.length === 1 + entities.selectedEntities.length === 1 ? entities.selectedEntities[0] - : undefined) + : undefined } + shouldSelectEmptyOption={selectedRelationRecordIds?.length === 0} hotkeyScope={relationPickerScopeId} onCreate={onCreateWithInput} isFiltered={!!relationPickerSearchFilter} From 82f33efe9c34ef0e104919c6e9a7fd7f9f4729ef Mon Sep 17 00:00:00 2001 From: Weiko Date: Thu, 31 Oct 2024 09:56:44 +0100 Subject: [PATCH 11/24] Add missing CopyWebhookOperationIntoOperationsCommand to 0.32 upgrade global command (#8219) ## Context This command was missing in the global upgrade command, this PR simply adds it. --- ...0-32-copy-webhook-operation-into-operations-command.ts | 7 +++---- .../upgrade-version/0-32/0-32-upgrade-version.command.ts | 8 ++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-copy-webhook-operation-into-operations-command.ts b/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-copy-webhook-operation-into-operations-command.ts index 51f1300c27..d2f2d45718 100644 --- a/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-copy-webhook-operation-into-operations-command.ts +++ b/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-copy-webhook-operation-into-operations-command.ts @@ -1,14 +1,13 @@ import { InjectRepository } from '@nestjs/typeorm'; -import { Command } from 'nest-commander'; -import { ObjectLiteral, Repository } from 'typeorm'; import chalk from 'chalk'; +import { Command } from 'nest-commander'; +import { Repository } from 'typeorm'; import { ActiveWorkspacesCommandRunner } from 'src/database/commands/active-workspaces.command'; +import { BaseCommandOptions } from 'src/database/commands/base.command'; import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity'; import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager'; -import { BaseCommandOptions } from 'src/database/commands/base.command'; -import { WorkspaceRepository } from 'src/engine/twenty-orm/repository/workspace.repository'; @Command({ name: 'upgrade-0.32:copy-webhook-operation-into-operations', diff --git a/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-upgrade-version.command.ts b/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-upgrade-version.command.ts index 14042a17d3..fcfaba9be9 100644 --- a/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-upgrade-version.command.ts +++ b/packages/twenty-server/src/database/commands/upgrade-version/0-32/0-32-upgrade-version.command.ts @@ -4,6 +4,7 @@ import { Command } from 'nest-commander'; import { Repository } from 'typeorm'; import { ActiveWorkspacesCommandRunner } from 'src/database/commands/active-workspaces.command'; +import { CopyWebhookOperationIntoOperationsCommand } from 'src/database/commands/upgrade-version/0-32/0-32-copy-webhook-operation-into-operations-command'; import { SimplifySearchVectorExpressionCommand } from 'src/database/commands/upgrade-version/0-32/0-32-simplify-search-vector-expression'; import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity'; import { SyncWorkspaceMetadataCommand } from 'src/engine/workspace-manager/workspace-sync-metadata/commands/sync-workspace-metadata.command'; @@ -25,6 +26,7 @@ export class UpgradeTo0_32Command extends ActiveWorkspacesCommandRunner { private readonly syncWorkspaceMetadataCommand: SyncWorkspaceMetadataCommand, private readonly enforceUniqueConstraintsCommand: EnforceUniqueConstraintsCommand, private readonly simplifySearchVectorExpressionCommand: SimplifySearchVectorExpressionCommand, + private readonly copyWebhookOperationIntoOperationsCommand: CopyWebhookOperationIntoOperationsCommand, ) { super(workspaceRepository); } @@ -54,5 +56,11 @@ export class UpgradeTo0_32Command extends ActiveWorkspacesCommandRunner { options, workspaceIds, ); + + await this.copyWebhookOperationIntoOperationsCommand.executeActiveWorkspacesCommand( + passedParam, + options, + workspaceIds, + ); } } From 2bfd0fe252354435eebefd51f15dd7f841277fff Mon Sep 17 00:00:00 2001 From: RajuGangitla Date: Thu, 31 Oct 2024 14:58:31 +0530 Subject: [PATCH 12/24] ossgg: article, blog, migration script, n8n workflow (#8183) Total points : **3750 points** 1. Self hosting guide (750 points) [link](https://dev.to/raju_gangitla_91920e1427f/self-hosting-twenty-crm-a-complete-guide-559n) 2. Blog posted on my company website (750 points) [blog](https://zedblock.com/blog/twenty-crm) 3. i wrote a script for data migration from zoho to twenty (750 points) here is the [github link](https://github.com/RajuGangitla/twenty-migration-scripts) here is the [video link](https://www.loom.com/share/f072bf31fb46449d98d6826a3a824fe9?sid=21f2c3f4-f286-43a2-98aa-d1fb92c3a86e) 4. created a n8n workfow for which will add, update and delete people data in google sheets whenver we change in twenty dashbaord (750 points) i attached the template json down below here is the [video](https://www.loom.com/share/89f86ef895e946fbbbbae3cc90559bb7?sid=5015c1da-b472-46c3-b144-1d170bdf5c9f) [twenty_leads_to_google_sheets.json](https://github.com/user-attachments/files/17576685/twenty_leads_to_google_sheets.json) 5. Wrote a comprehensive guide on " integrate Twenty with marketing automation tool (n8n, Zapier). " (750 points) Here is the [link](https://dev.to/raju_gangitla_91920e1427f/automating-people-data-sync-n8n-workflow-for-twenty-crm-and-google-sheets-5789) --- .../twenty-content-challenges/2-write-blog-post-about-20.md | 4 +++- .../3-write-selfthost-guide-blog-post-20.md | 4 +++- .../1-write-migration-script-other-crm-to-20.md | 2 ++ .../1-create-n8n-template-integrate-20-API.md | 1 + ...ate-Twenty-with-marketing-automation-tool-(n8n, Zapier).md | 2 ++ 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md b/oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md index 7b28342aed..3c2ba131f3 100644 --- a/oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md +++ b/oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md @@ -32,4 +32,6 @@ Your turn 👇 » 28-October-2024 by [harshsbhat](https://oss.gg/harshsbhat) blog Link: [blog](https://www.harshbhat.me/blog/twenty-crm) -» 28-October-2024 by [AshishViradiya153](https://oss.gg/AshishViradiya153) blog Link: [blog](https://medium.com/@ashishviradiya153/is-twenty-crm-the-right-tool-for-your-business-heres-my-honest-review-0d41e9d8a7eb) \ No newline at end of file +» 28-October-2024 by [AshishViradiya153](https://oss.gg/AshishViradiya153) blog Link: [blog](https://medium.com/@ashishviradiya153/is-twenty-crm-the-right-tool-for-your-business-heres-my-honest-review-0d41e9d8a7eb) + +» 30-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) blog Link: [blog](https://zedblock.com/blog/twenty-crm) diff --git a/oss-gg/twenty-content-challenges/3-write-selfthost-guide-blog-post-20.md b/oss-gg/twenty-content-challenges/3-write-selfthost-guide-blog-post-20.md index b472cd70b7..c5a73b93f8 100644 --- a/oss-gg/twenty-content-challenges/3-write-selfthost-guide-blog-post-20.md +++ b/oss-gg/twenty-content-challenges/3-write-selfthost-guide-blog-post-20.md @@ -30,4 +30,6 @@ Your turn 👇 » 28-October-2024 by [harshsbhat](https://oss.gg/harshsbhat) blog Link: [blog](https://www.harshbhat.me/blog/twenty-self-host) -» 28-October-2024 by [AshishViradiya153](https://oss.gg/AshishViradiya153) blog Link: [blog](https://medium.com/@ashishviradiya153/comprehensive-guide-to-self-hosting-twenty-crm-26e7fa36c846) \ No newline at end of file +» 28-October-2024 by [AshishViradiya153](https://oss.gg/AshishViradiya153) blog Link: [blog](https://medium.com/@ashishviradiya153/comprehensive-guide-to-self-hosting-twenty-crm-26e7fa36c846) + +» 30-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) blog Link: [blog](https://dev.to/raju_gangitla_91920e1427f/self-hosting-twenty-crm-a-complete-guide-559n) \ No newline at end of file diff --git a/oss-gg/twenty-dev-challenges/1-write-migration-script-other-crm-to-20.md b/oss-gg/twenty-dev-challenges/1-write-migration-script-other-crm-to-20.md index 25667a6317..c68bae4dee 100644 --- a/oss-gg/twenty-dev-challenges/1-write-migration-script-other-crm-to-20.md +++ b/oss-gg/twenty-dev-challenges/1-write-migration-script-other-crm-to-20.md @@ -21,3 +21,5 @@ Your turn 👇 » 22-October-2024 by [FaheemOnHub](https://oss.gg/FaheemOnHub) video Link: [video](https://drive.google.com/file/d/1bR59Q5gqoqHjzgdrF6K68U2hloexkQYM/view) » 27-October-2024 by [Khaan25](https://oss.gg/Khaan25) video Link: [video](https://drive.google.com/file/d/1-wgzofJaWmnMcFgZZV5uYNNgtbJKJ_1G/view?usp=sharing/) + +» 30-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) video Link: [video](https://www.loom.com/share/f072bf31fb46449d98d6826a3a824fe9?sid=21f2c3f4-f286-43a2-98aa-d1fb92c3a86e) diff --git a/oss-gg/twenty-no-code-challenges/1-create-n8n-template-integrate-20-API.md b/oss-gg/twenty-no-code-challenges/1-create-n8n-template-integrate-20-API.md index 62bf695ddd..20571c03ef 100644 --- a/oss-gg/twenty-no-code-challenges/1-create-n8n-template-integrate-20-API.md +++ b/oss-gg/twenty-no-code-challenges/1-create-n8n-template-integrate-20-API.md @@ -20,4 +20,5 @@ Your turn 👇 » 25-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) template Link: [template]() +» 30-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) video Link: [video](https://www.loom.com/share/89f86ef895e946fbbbbae3cc90559bb7?sid=dbebe60b-3ece-4ac8-acb2-184043c6f87b) --- diff --git a/oss-gg/twenty-no-code-challenges/2-write-a-blog-on-how-to-integrate-Twenty-with-marketing-automation-tool-(n8n, Zapier).md b/oss-gg/twenty-no-code-challenges/2-write-a-blog-on-how-to-integrate-Twenty-with-marketing-automation-tool-(n8n, Zapier).md index 247d13dbec..b38cff5ff9 100644 --- a/oss-gg/twenty-no-code-challenges/2-write-a-blog-on-how-to-integrate-Twenty-with-marketing-automation-tool-(n8n, Zapier).md +++ b/oss-gg/twenty-no-code-challenges/2-write-a-blog-on-how-to-integrate-Twenty-with-marketing-automation-tool-(n8n, Zapier).md @@ -20,4 +20,6 @@ Your turn 👇 » 26-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) guide Link: [guide](https://dev.to/sateshcharan/supercharge-your-marketing-with-twentycrm-n8n-1hfd) +» 31-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) guide Link: [guide](https://dev.to/raju_gangitla_91920e1427f/automating-people-data-sync-n8n-workflow-for-twenty-crm-and-google-sheets-5789 +) --- From 99837f9752a81acfb2260b569f50c217dcc4be4b Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Thu, 31 Oct 2024 10:36:29 +0100 Subject: [PATCH 13/24] Fix integration tests (#8229) Removing leftovers of the deprecated "activity" object which is fixing our integration tests --- .../findActivityTargetsOperationSignatureFactory.ts | 2 -- .../suites/all-attachments-resolvers.integration-spec.ts | 5 ----- .../suites/all-note-targets-resolvers.integration-spec.ts | 4 ++-- .../suites/all-task-targets-resolvers.integration-spec.ts | 4 ++-- 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/twenty-front/src/modules/activities/graphql/operation-signatures/factories/findActivityTargetsOperationSignatureFactory.ts b/packages/twenty-front/src/modules/activities/graphql/operation-signatures/factories/findActivityTargetsOperationSignatureFactory.ts index f71407866c..b9e18aaf42 100644 --- a/packages/twenty-front/src/modules/activities/graphql/operation-signatures/factories/findActivityTargetsOperationSignatureFactory.ts +++ b/packages/twenty-front/src/modules/activities/graphql/operation-signatures/factories/findActivityTargetsOperationSignatureFactory.ts @@ -19,8 +19,6 @@ export const findActivityTargetsOperationSignatureFactory: RecordGqlOperationSig __typename: true, createdAt: true, updatedAt: true, - activity: true, - activityId: true, ...generateActivityTargetMorphFieldKeys(objectMetadataItems), }, }); diff --git a/packages/twenty-server/test/integration/graphql/suites/all-attachments-resolvers.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/all-attachments-resolvers.integration-spec.ts index c8113b112f..8bfd572d48 100644 --- a/packages/twenty-server/test/integration/graphql/suites/all-attachments-resolvers.integration-spec.ts +++ b/packages/twenty-server/test/integration/graphql/suites/all-attachments-resolvers.integration-spec.ts @@ -25,7 +25,6 @@ const ATTACHMENT_GQL_FIELDS = ` updatedAt deletedAt authorId - activityId taskId noteId personId @@ -70,7 +69,6 @@ describe('attachments resolvers (integration)', () => { expect(attachment).toHaveProperty('updatedAt'); expect(attachment).toHaveProperty('deletedAt'); expect(attachment).toHaveProperty('authorId'); - expect(attachment).toHaveProperty('activityId'); expect(attachment).toHaveProperty('taskId'); expect(attachment).toHaveProperty('noteId'); expect(attachment).toHaveProperty('personId'); @@ -104,7 +102,6 @@ describe('attachments resolvers (integration)', () => { expect(createdAttachment).toHaveProperty('updatedAt'); expect(createdAttachment).toHaveProperty('deletedAt'); expect(createdAttachment).toHaveProperty('authorId'); - expect(createdAttachment).toHaveProperty('activityId'); expect(createdAttachment).toHaveProperty('taskId'); expect(createdAttachment).toHaveProperty('noteId'); expect(createdAttachment).toHaveProperty('personId'); @@ -137,7 +134,6 @@ describe('attachments resolvers (integration)', () => { expect(attachments).toHaveProperty('updatedAt'); expect(attachments).toHaveProperty('deletedAt'); expect(attachments).toHaveProperty('authorId'); - expect(attachments).toHaveProperty('activityId'); expect(attachments).toHaveProperty('taskId'); expect(attachments).toHaveProperty('noteId'); expect(attachments).toHaveProperty('personId'); @@ -169,7 +165,6 @@ describe('attachments resolvers (integration)', () => { expect(attachment).toHaveProperty('updatedAt'); expect(attachment).toHaveProperty('deletedAt'); expect(attachment).toHaveProperty('authorId'); - expect(attachment).toHaveProperty('activityId'); expect(attachment).toHaveProperty('taskId'); expect(attachment).toHaveProperty('noteId'); expect(attachment).toHaveProperty('personId'); diff --git a/packages/twenty-server/test/integration/graphql/suites/all-note-targets-resolvers.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/all-note-targets-resolvers.integration-spec.ts index 9b4d9fa0aa..27faccfe62 100644 --- a/packages/twenty-server/test/integration/graphql/suites/all-note-targets-resolvers.integration-spec.ts +++ b/packages/twenty-server/test/integration/graphql/suites/all-note-targets-resolvers.integration-spec.ts @@ -14,8 +14,8 @@ import { generateRecordName } from 'test/integration/utils/generate-record-name' const NOTE_TARGET_1_ID = '777a8457-eb2d-40ac-a707-551b615b6987'; const NOTE_TARGET_2_ID = '777a8457-eb2d-40ac-a707-551b615b6988'; const NOTE_TARGET_3_ID = '777a8457-eb2d-40ac-a707-551b615b6989'; -const PERSON_1_ID = '777a8457-eb2d-40ac-a707-441b615b6989'; -const PERSON_2_ID = '777a8457-eb2d-40ac-a707-331b615b6989'; +const PERSON_1_ID = 'f875ff46-b881-41ba-973a-b9cd5345e8f0'; +const PERSON_2_ID = '1fe0f78c-8c59-4ce6-ae02-56571331b252'; const NOTE_TARGET_GQL_FIELDS = ` id createdAt diff --git a/packages/twenty-server/test/integration/graphql/suites/all-task-targets-resolvers.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/all-task-targets-resolvers.integration-spec.ts index 9cf1b93f4d..b50f16fc60 100644 --- a/packages/twenty-server/test/integration/graphql/suites/all-task-targets-resolvers.integration-spec.ts +++ b/packages/twenty-server/test/integration/graphql/suites/all-task-targets-resolvers.integration-spec.ts @@ -14,8 +14,8 @@ import { generateRecordName } from 'test/integration/utils/generate-record-name' const TASK_TARGET_1_ID = '777a8457-eb2d-40ac-a707-551b615b6987'; const TASK_TARGET_2_ID = '777a8457-eb2d-40ac-a707-551b615b6988'; const TASK_TARGET_3_ID = '777a8457-eb2d-40ac-a707-551b615b6989'; -const PERSON_1_ID = '777a8457-eb2d-40ac-a707-441b615b6989'; -const PERSON_2_ID = '777a8457-eb2d-40ac-a707-331b615b6989'; +const PERSON_1_ID = 'f875ff46-b881-41ba-973a-b9cd5345e8f0'; +const PERSON_2_ID = '1fe0f78c-8c59-4ce6-ae02-56571331b252'; const TASK_TARGET_GQL_FIELDS = ` id createdAt From f465a7bc11dca1bba8128d545680c7ed45aa7036 Mon Sep 17 00:00:00 2001 From: Aditya Deshlahre <132184385+adityadeshlahre@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:39:51 +0530 Subject: [PATCH 14/24] ossgg: side quest content/design challenge blogs + figma link add (#8182) ### Twenty side quest content challenge #### Self Hosting Blog - [BLOG Live](https://dev.to/adityadeshlahre/complete-guide-to-self-hosting-twenty-crm-2h08) #### Points 750 #### Details Review of Twenty - [BLOG Live](https://dev.to/adityadeshlahre/transform-your-customer-relationships-with-the-leading-open-source-crm-twenty-161d) #### Points 750 Please give it a read ### Twenty side quest design challenge - [Figma Link](https://www.figma.com/design/4hlpS6LOIaJqDbd6T6SlXc/CustomTwentyByAdityDeshlahre?node-id=478-19796&t=Dp8EBpl0FxVjiGHT-1) - [prototype preview](https://www.figma.com/proto/4hlpS6LOIaJqDbd6T6SlXc/CustomTwentyByAdityDeshlahre?node-id=478-19796&t=Dp8EBpl0FxVjiGHT-1) #### Please check prototype for most updated theme ### theme:POV ![image](https://github.com/user-attachments/assets/16775432-e0ee-462e-8041-1fd5e6f5d6f0) ### ProperMint ![image](https://github.com/user-attachments/assets/c8355c6b-092c-4e14-abc0-2c8475bf0754) ![image](https://github.com/user-attachments/assets/befb0964-59e2-4113-8396-282fd1b51da3) ![image](https://github.com/user-attachments/assets/7c6a59fe-6215-4b5f-8e52-188abfeef310) ##### Updated Side button ![image](https://github.com/user-attachments/assets/abdf5ef0-b802-461f-b83f-b2d38eda5443) #### Points 750 ### Total Points : 2250 { if every thing seems good then :rofl: } Thank You :slightly_smiling_face: --- .../2-write-blog-post-about-20.md | 2 ++ .../3-write-selfthost-guide-blog-post-20.md | 4 +++- .../3-create-custom-interfact-theme-20.md | 8 +++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md b/oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md index 3c2ba131f3..02924d2b3f 100644 --- a/oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md +++ b/oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md @@ -34,4 +34,6 @@ Your turn 👇 » 28-October-2024 by [AshishViradiya153](https://oss.gg/AshishViradiya153) blog Link: [blog](https://medium.com/@ashishviradiya153/is-twenty-crm-the-right-tool-for-your-business-heres-my-honest-review-0d41e9d8a7eb) +» 30-October-2024 by [adityadeshlahre](https://oss.gg/adityadeshlahre) blog Link: [blog](https://dev.to/adityadeshlahre/transform-your-customer-relationships-with-the-leading-open-source-crm-twenty-161d) + » 30-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) blog Link: [blog](https://zedblock.com/blog/twenty-crm) diff --git a/oss-gg/twenty-content-challenges/3-write-selfthost-guide-blog-post-20.md b/oss-gg/twenty-content-challenges/3-write-selfthost-guide-blog-post-20.md index c5a73b93f8..775df76b33 100644 --- a/oss-gg/twenty-content-challenges/3-write-selfthost-guide-blog-post-20.md +++ b/oss-gg/twenty-content-challenges/3-write-selfthost-guide-blog-post-20.md @@ -32,4 +32,6 @@ Your turn 👇 » 28-October-2024 by [AshishViradiya153](https://oss.gg/AshishViradiya153) blog Link: [blog](https://medium.com/@ashishviradiya153/comprehensive-guide-to-self-hosting-twenty-crm-26e7fa36c846) -» 30-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) blog Link: [blog](https://dev.to/raju_gangitla_91920e1427f/self-hosting-twenty-crm-a-complete-guide-559n) \ No newline at end of file +» 30-October-2024 by [adityadeshlahre](https://oss.gg/adityadeshlahre) blog Link: [blog](https://dev.to/adityadeshlahre/complete-guide-to-self-hosting-twenty-crm-2h08) + +» 30-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) blog Link: [blog](https://dev.to/raju_gangitla_91920e1427f/self-hosting-twenty-crm-a-complete-guide-559n) diff --git a/oss-gg/twenty-design-challenges/3-create-custom-interfact-theme-20.md b/oss-gg/twenty-design-challenges/3-create-custom-interfact-theme-20.md index 34aac74a08..d763435c84 100644 --- a/oss-gg/twenty-design-challenges/3-create-custom-interfact-theme-20.md +++ b/oss-gg/twenty-design-challenges/3-create-custom-interfact-theme-20.md @@ -18,11 +18,13 @@ Your turn 👇 //////////////////////////// » 02-October-2024 by [yourhandle](https://oss.gg/yourhandle) Figma Link: [Figma](https://twenty.com/) + » 22-October-2024 by [rajeevDewangan](https://oss.gg/rajeevDewangan) Figma Link: [Figma](https://www.figma.com/design/XE21QdkFuy0IJHtmW7TURa/Twenty-(rajeevDewangan)?node-id=0-1&node-type=canvas&t=BYBulCT6hpJu6E8G-0) + » 24-October-2024 by [Khaan25](https://oss.gg/Khaan25) Figma Link: [Figma](https://www.figma.com/design/HqYQrzel3e2TjzujwfdCXZ/Twenty-(Copy)---Khaan25?node-id=478-19796&t=QTB8gzKTudbVNeNs-1) + » 24-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) Figma Link: [Figma](https://www.figma.com/design/2qlAPS3llwf8jrWKGHEf6O/Twenty-(sateshcharan)?node-id=1633-94880&t=GIceWxqyY0ajWXnZ-1) + » 28-October-2024 by [Vanshdeep Singh](https://oss.gg/Vanshdeepsingh-2232) Figma Link:[Figma](https://www.figma.com/design/akgDOb37YLUW9iWLB155EV/Twenty-(Copy)?node-id=478-19796&t=8Gz1yqls2Q3dsN9h-1) - - - +» 30-October-2024 by [adityadeshlahre](https://oss.gg/adityadeshlahre) Figma Link:[Figma](https://www.figma.com/design/4hlpS6LOIaJqDbd6T6SlXc/CustomTwentyByAdityDeshlahre?node-id=478-19796&t=Dp8EBpl0FxVjiGHT-1) Figma Preview Link:[Prototype](https://www.figma.com/proto/4hlpS6LOIaJqDbd6T6SlXc/CustomTwentyByAdityDeshlahre?node-id=478-19796&t=Dp8EBpl0FxVjiGHT-1) From f5bde0251b914081f45c06ea2c2d22e8dae9787b Mon Sep 17 00:00:00 2001 From: Thomas Trompette Date: Thu, 31 Oct 2024 11:27:54 +0100 Subject: [PATCH 15/24] Put back object type in settings form (#8234) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before Capture d’écran 2024-10-31 à 11 15 27 After Capture d’écran 2024-10-31 à 11 15 07 --- .../forms/components/SettingsDataModelFieldSettingsFormCard.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldSettingsFormCard.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldSettingsFormCard.tsx index ca1ef939ab..4614b607bc 100644 --- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldSettingsFormCard.tsx +++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldSettingsFormCard.tsx @@ -100,7 +100,6 @@ type SettingsDataModelFieldSettingsFormCardProps = { } & Pick; const StyledFieldPreviewCard = styled(SettingsDataModelFieldPreviewCard)` - display: grid; flex: 1 1 100%; `; From d0dc8bae4f8f9a9bc1d3bd9dc92f7d9b84cb3168 Mon Sep 17 00:00:00 2001 From: Baptiste Devessier Date: Thu, 31 Oct 2024 11:45:40 +0100 Subject: [PATCH 16/24] Fix save record table cell when clicking outside table (#8230) --- .../components/RecordTableInternalEffect.tsx | 19 +++++++++++----- .../components/RecordTableWithWrappers.tsx | 5 ++++- .../RecordTableClickOutsideListenerId.ts | 1 + .../hooks/internal/useLeaveTableFocus.ts | 22 +------------------ .../components/RecordTableCellFieldInput.tsx | 11 ++++++++++ .../hooks/useOpenRecordTableCellV2.ts | 22 +++++++++++++------ 6 files changed, 45 insertions(+), 35 deletions(-) create mode 100644 packages/twenty-front/src/modules/object-record/record-table/constants/RecordTableClickOutsideListenerId.ts diff --git a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableInternalEffect.tsx b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableInternalEffect.tsx index c44d3a9474..19aa58b25d 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableInternalEffect.tsx +++ b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableInternalEffect.tsx @@ -1,19 +1,26 @@ import { Key } from 'ts-key-enum'; +import { RECORD_TABLE_CLICK_OUTSIDE_LISTENER_ID } from '@/object-record/record-table/constants/RecordTableClickOutsideListenerId'; +import { useLeaveTableFocus } from '@/object-record/record-table/hooks/internal/useLeaveTableFocus'; import { useRecordTable } from '@/object-record/record-table/hooks/useRecordTable'; import { TableHotkeyScope } from '@/object-record/record-table/types/TableHotkeyScope'; import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys'; -import { useListenClickOutsideByClassName } from '@/ui/utilities/pointer-event/hooks/useListenClickOutside'; +import { useListenClickOutsideV2 } from '@/ui/utilities/pointer-event/hooks/useListenClickOutsideV2'; type RecordTableInternalEffectProps = { recordTableId: string; + tableBodyRef: React.RefObject; }; export const RecordTableInternalEffect = ({ recordTableId, + tableBodyRef, }: RecordTableInternalEffectProps) => { - const { leaveTableFocus, resetTableRowSelection, useMapKeyboardToSoftFocus } = - useRecordTable({ recordTableId }); + const leaveTableFocus = useLeaveTableFocus(recordTableId); + + const { resetTableRowSelection, useMapKeyboardToSoftFocus } = useRecordTable({ + recordTableId, + }); useMapKeyboardToSoftFocus(); @@ -25,9 +32,9 @@ export const RecordTableInternalEffect = ({ TableHotkeyScope.Table, ); - useListenClickOutsideByClassName({ - classNames: ['entity-table-cell'], - excludeClassNames: ['bottom-bar', 'action-menu-dropdown', 'command-menu'], + useListenClickOutsideV2({ + listenerId: RECORD_TABLE_CLICK_OUTSIDE_LISTENER_ID, + refs: [tableBodyRef], callback: () => { leaveTableFocus(); }, diff --git a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableWithWrappers.tsx b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableWithWrappers.tsx index 43bc9c76cf..c91df83a3f 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableWithWrappers.tsx +++ b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableWithWrappers.tsx @@ -87,7 +87,10 @@ export const RecordTableWithWrappers = ({ onDragSelectionChange={setRowSelected} /> - + diff --git a/packages/twenty-front/src/modules/object-record/record-table/constants/RecordTableClickOutsideListenerId.ts b/packages/twenty-front/src/modules/object-record/record-table/constants/RecordTableClickOutsideListenerId.ts new file mode 100644 index 0000000000..1f17348a73 --- /dev/null +++ b/packages/twenty-front/src/modules/object-record/record-table/constants/RecordTableClickOutsideListenerId.ts @@ -0,0 +1 @@ +export const RECORD_TABLE_CLICK_OUTSIDE_LISTENER_ID = 'record-table'; diff --git a/packages/twenty-front/src/modules/object-record/record-table/hooks/internal/useLeaveTableFocus.ts b/packages/twenty-front/src/modules/object-record/record-table/hooks/internal/useLeaveTableFocus.ts index fc3f386432..c202bd5284 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/hooks/internal/useLeaveTableFocus.ts +++ b/packages/twenty-front/src/modules/object-record/record-table/hooks/internal/useLeaveTableFocus.ts @@ -1,19 +1,13 @@ import { useRecoilCallback } from 'recoil'; import { useRecordTableStates } from '@/object-record/record-table/hooks/internal/useRecordTableStates'; -import { currentHotkeyScopeState } from '@/ui/utilities/hotkey/states/internal/currentHotkeyScopeState'; import { getSnapshotValue } from '@/ui/utilities/recoil-scope/utils/getSnapshotValue'; -import { TableHotkeyScope } from '../../types/TableHotkeyScope'; - import { useResetTableRowSelection } from '@/object-record/record-table/hooks/internal/useResetTableRowSelection'; -import { useCloseCurrentTableCellInEditMode } from './useCloseCurrentTableCellInEditMode'; import { useDisableSoftFocus } from './useDisableSoftFocus'; export const useLeaveTableFocus = (recordTableId?: string) => { const disableSoftFocus = useDisableSoftFocus(recordTableId); - const closeCurrentCellInEditMode = - useCloseCurrentTableCellInEditMode(recordTableId); const { isSoftFocusActiveState } = useRecordTableStates(recordTableId); @@ -27,28 +21,14 @@ export const useLeaveTableFocus = (recordTableId?: string) => { isSoftFocusActiveState, ); - const currentHotkeyScope = snapshot - .getLoadable(currentHotkeyScopeState) - .getValue(); - resetTableRowSelection(); if (!isSoftFocusActive) { return; } - if (currentHotkeyScope?.scope === TableHotkeyScope.Table) { - return; - } - - closeCurrentCellInEditMode(); disableSoftFocus(); }, - [ - closeCurrentCellInEditMode, - disableSoftFocus, - isSoftFocusActiveState, - resetTableRowSelection, - ], + [disableSoftFocus, isSoftFocusActiveState, resetTableRowSelection], ); }; diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldInput.tsx index 3d5eafb92b..b92f3550cf 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldInput.tsx +++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldInput.tsx @@ -4,10 +4,19 @@ import { FieldInput } from '@/object-record/record-field/components/FieldInput'; import { FieldContext } from '@/object-record/record-field/contexts/FieldContext'; import { useIsFieldReadOnly } from '@/object-record/record-field/hooks/useIsFieldReadOnly'; import { FieldInputEvent } from '@/object-record/record-field/types/FieldInputEvent'; +import { RECORD_TABLE_CLICK_OUTSIDE_LISTENER_ID } from '@/object-record/record-table/constants/RecordTableClickOutsideListenerId'; import { RecordTableContext } from '@/object-record/record-table/contexts/RecordTableContext'; import { getRecordFieldInputId } from '@/object-record/utils/getRecordFieldInputId'; +import { useClickOustideListenerStates } from '@/ui/utilities/pointer-event/hooks/useClickOustideListenerStates'; +import { useSetRecoilState } from 'recoil'; export const RecordTableCellFieldInput = () => { + const { getClickOutsideListenerIsActivatedState } = + useClickOustideListenerStates(RECORD_TABLE_CLICK_OUTSIDE_LISTENER_ID); + const setClickOutsideListenerIsActivated = useSetRecoilState( + getClickOutsideListenerIsActivatedState, + ); + const { onUpsertRecord, onMoveFocus, onCloseTableCell } = useContext(RecordTableContext); @@ -40,6 +49,8 @@ export const RecordTableCellFieldInput = () => { }; const handleClickOutside: FieldInputEvent = (persistField) => { + setClickOutsideListenerIsActivated(false); + onUpsertRecord({ persistField, recordId, diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/hooks/useOpenRecordTableCellV2.ts b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/hooks/useOpenRecordTableCellV2.ts index f3d522e1fe..debeb9a4f4 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/hooks/useOpenRecordTableCellV2.ts +++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/hooks/useOpenRecordTableCellV2.ts @@ -21,6 +21,8 @@ import { getSnapshotValue } from '@/ui/utilities/state/utils/getSnapshotValue'; import { isDefined } from '~/utils/isDefined'; import { RecordIndexRootPropsContext } from '@/object-record/record-index/contexts/RecordIndexRootPropsContext'; +import { RECORD_TABLE_CLICK_OUTSIDE_LISTENER_ID } from '@/object-record/record-table/constants/RecordTableClickOutsideListenerId'; +import { useClickOustideListenerStates } from '@/ui/utilities/pointer-event/hooks/useClickOustideListenerStates'; import { useContext } from 'react'; import { useNavigate } from 'react-router-dom'; import { TableHotkeyScope } from '../../types/TableHotkeyScope'; @@ -42,6 +44,9 @@ export type OpenTableCellArgs = { }; export const useOpenRecordTableCellV2 = (tableScopeId: string) => { + const { getClickOutsideListenerIsActivatedState } = + useClickOustideListenerStates(RECORD_TABLE_CLICK_OUTSIDE_LISTENER_ID); + const { indexIdentifierUrl } = useContext(RecordIndexRootPropsContext); const moveEditModeToTableCellPosition = useMoveEditModeToTableCellPosition(tableScopeId); @@ -65,7 +70,7 @@ export const useOpenRecordTableCellV2 = (tableScopeId: string) => { const navigate = useNavigate(); const openTableCell = useRecoilCallback( - ({ snapshot }) => + ({ snapshot, set }) => ({ initialValue, cellPosition, @@ -80,6 +85,8 @@ export const useOpenRecordTableCellV2 = (tableScopeId: string) => { return; } + set(getClickOutsideListenerIsActivatedState, false); + const isFirstColumnCell = cellPosition.column === 0; const fieldValue = getSnapshotValue( @@ -137,17 +144,18 @@ export const useOpenRecordTableCellV2 = (tableScopeId: string) => { } }, [ + getClickOutsideListenerIsActivatedState, setDragSelectionStartEnabled, + moveEditModeToTableCellPosition, + initDraftValue, toggleClickOutsideListener, leaveTableFocus, - setHotkeyScope, - initDraftValue, - moveEditModeToTableCellPosition, - openRightDrawer, + navigate, + indexIdentifierUrl, setViewableRecordId, setViewableRecordNameSingular, - indexIdentifierUrl, - navigate, + openRightDrawer, + setHotkeyScope, ], ); From b1e9922660b23cce1953c9cf2293349c02db547c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Thu, 31 Oct 2024 11:51:51 +0100 Subject: [PATCH 17/24] Fix context store filters (#8236) Fix context store filters --- .../components/RecordIndexTableContainerEffect.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexTableContainerEffect.tsx b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexTableContainerEffect.tsx index a30c797f22..638f5f8b49 100644 --- a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexTableContainerEffect.tsx +++ b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexTableContainerEffect.tsx @@ -7,6 +7,7 @@ import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadata import { RecordIndexRootPropsContext } from '@/object-record/record-index/contexts/RecordIndexRootPropsContext'; import { useHandleToggleColumnFilter } from '@/object-record/record-index/hooks/useHandleToggleColumnFilter'; import { useHandleToggleColumnSort } from '@/object-record/record-index/hooks/useHandleToggleColumnSort'; +import { recordIndexFiltersState } from '@/object-record/record-index/states/recordIndexFiltersState'; import { useRecordTable } from '@/object-record/record-table/hooks/useRecordTable'; import { useSetRecoilComponentStateV2 } from '@/ui/utilities/state/component-state/hooks/useSetRecoilComponentStateV2'; import { useSetRecordCountInCurrentView } from '@/views/hooks/useSetRecordCountInCurrentView'; @@ -81,12 +82,14 @@ export const RecordIndexTableContainerEffect = () => { const selectedRowIds = useRecoilValue(selectedRowIdsSelector()); const unselectedRowIds = useRecoilValue(unselectedRowIdsSelector()); + const recordIndexFilters = useRecoilValue(recordIndexFiltersState); + useEffect(() => { if (hasUserSelectedAllRows) { setContextStoreTargetedRecords({ mode: 'exclusion', excludedRecordIds: unselectedRowIds, - filters: [], + filters: recordIndexFilters, }); } else { setContextStoreTargetedRecords({ @@ -103,6 +106,7 @@ export const RecordIndexTableContainerEffect = () => { }; }, [ hasUserSelectedAllRows, + recordIndexFilters, selectedRowIds, setContextStoreTargetedRecords, unselectedRowIds, From b3f95d6db978e514f09cb782442f42e7ab499171 Mon Sep 17 00:00:00 2001 From: Baptiste Devessier Date: Thu, 31 Oct 2024 12:03:45 +0100 Subject: [PATCH 18/24] Ensure the text of select control is aligned on the left (#8238) Fixes: ![image](https://github.com/user-attachments/assets/900596ed-1426-49cd-a2f3-4b81eacbb7d0) The regression is due a recent change I made to the SelectControl component: https://github.com/twentyhq/twenty/pull/8125. The SelectControls get applied `text-align: center` due to the styles `react-datepicker` applies to the header component. My grid implementation makes the label take all the available width. I could have let it take an `auto` width, but I think it's better to set the `text-align` property and ensure the `SelectControl` component behaves predictably. --- .../src/modules/ui/input/components/SelectControl.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx b/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx index 5c2b0bc4fd..96564a1127 100644 --- a/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx +++ b/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx @@ -26,6 +26,7 @@ const StyledControlContainer = styled.div<{ color: ${({ disabled, theme }) => disabled ? theme.font.color.tertiary : theme.font.color.primary}; cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')}; + text-align: left; `; const StyledIconChevronDown = styled(IconChevronDown)<{ From d46820472cc5c0ef577a4d8b41af497c1e78e96a Mon Sep 17 00:00:00 2001 From: Lucas Bordeau Date: Thu, 31 Oct 2024 12:44:20 +0100 Subject: [PATCH 19/24] Fix view filter creation on new view (#8199) Wrong view was used for the creation from another view (source and target view were inverted) --- .../hooks/useCreateViewFromCurrentView.ts | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/packages/twenty-front/src/modules/views/hooks/useCreateViewFromCurrentView.ts b/packages/twenty-front/src/modules/views/hooks/useCreateViewFromCurrentView.ts index 648c66fd46..6ca96acf01 100644 --- a/packages/twenty-front/src/modules/views/hooks/useCreateViewFromCurrentView.ts +++ b/packages/twenty-front/src/modules/views/hooks/useCreateViewFromCurrentView.ts @@ -87,9 +87,9 @@ export const useCreateViewFromCurrentView = (viewBarComponentId?: string) => { } // Here we might instead want to get view from unsaved filters ? - const view = await getViewFromCache(currentViewId); + const sourceView = await getViewFromCache(currentViewId); - if (!isDefined(view)) { + if (!isDefined(sourceView)) { return; } @@ -97,23 +97,23 @@ export const useCreateViewFromCurrentView = (viewBarComponentId?: string) => { const newView = await createOneRecord({ id: id ?? v4(), - name: name ?? view.name, - icon: icon ?? view.icon, + name: name ?? sourceView.name, + icon: icon ?? sourceView.icon, key: null, kanbanFieldMetadataId: - kanbanFieldMetadataId ?? view.kanbanFieldMetadataId, - type: type ?? view.type, - objectMetadataId: view.objectMetadataId, + kanbanFieldMetadataId ?? sourceView.kanbanFieldMetadataId, + type: type ?? sourceView.type, + objectMetadataId: sourceView.objectMetadataId, }); if (isUndefinedOrNull(newView)) { throw new Error('Failed to create view'); } - await createViewFieldRecords(view.viewFields, newView); + await createViewFieldRecords(sourceView.viewFields, newView); if (type === ViewType.Kanban) { - if (!isNonEmptyArray(view.viewGroups)) { + if (!isNonEmptyArray(sourceView.viewGroups)) { if (!isDefined(kanbanFieldMetadataId)) { throw new Error('Kanban view must have a kanban field'); } @@ -144,22 +144,24 @@ export const useCreateViewFromCurrentView = (viewBarComponentId?: string) => { await createViewGroupRecords(viewGroupsToCreate, newView); } else { - await createViewGroupRecords(view.viewGroups, newView); + await createViewGroupRecords(sourceView.viewGroups, newView); } } if (shouldCopyFiltersAndSorts === true) { const sourceViewCombinedFilterGroups = getViewFilterGroupsCombined( - view.id, + sourceView.id, ); - const sourceViewCombinedFilters = getViewFiltersCombined(view.id); - const sourceViewCombinedSorts = getViewSortsCombined(view.id); + const sourceViewCombinedFilters = getViewFiltersCombined( + sourceView.id, + ); + const sourceViewCombinedSorts = getViewSortsCombined(sourceView.id); - await createViewSortRecords(sourceViewCombinedSorts, view); - await createViewFilterRecords(sourceViewCombinedFilters, view); + await createViewSortRecords(sourceViewCombinedSorts, newView); + await createViewFilterRecords(sourceViewCombinedFilters, newView); await createViewFilterGroupRecords( sourceViewCombinedFilterGroups, - view, + newView, ); } From 034e55875874227aeee4f45a99cc167109d55cf7 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Thu, 31 Oct 2024 12:46:21 +0100 Subject: [PATCH 20/24] Deprecate useListenClickOutsideByClassNameListener (#8242) --- .../record-board/components/RecordBoard.tsx | 15 +++-- .../RecordBoardClickOutsideListenerId.ts | 1 + .../components/RecordTableInternalEffect.tsx | 6 ++ .../useListenClickOutsideArrayOfRef.test.tsx | 59 +------------------ .../hooks/useListenClickOutside.ts | 55 ----------------- .../hooks/useListenClickOutsideV2.ts | 35 ++++++++++- 6 files changed, 52 insertions(+), 119 deletions(-) create mode 100644 packages/twenty-front/src/modules/object-record/record-board/constants/RecordBoardClickOutsideListenerId.ts diff --git a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsx b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsx index e21ec84566..1ed7c4133b 100644 --- a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsx +++ b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsx @@ -6,6 +6,7 @@ import { Key } from 'ts-key-enum'; import { RecordBoardHeader } from '@/object-record/record-board/components/RecordBoardHeader'; import { RecordBoardStickyHeaderEffect } from '@/object-record/record-board/components/RecordBoardStickyHeaderEffect'; +import { RECORD_BOARD_CLICK_OUTSIDE_LISTENER_ID } from '@/object-record/record-board/constants/RecordBoardClickOutsideListenerId'; import { RecordBoardContext } from '@/object-record/record-board/contexts/RecordBoardContext'; import { useRecordBoardStates } from '@/object-record/record-board/hooks/internal/useRecordBoardStates'; import { useRecordBoardSelection } from '@/object-record/record-board/hooks/useRecordBoardSelection'; @@ -16,7 +17,7 @@ import { recordStoreFamilyState } from '@/object-record/record-store/states/reco import { TableHotkeyScope } from '@/object-record/record-table/types/TableHotkeyScope'; import { DragSelect } from '@/ui/utilities/drag-select/components/DragSelect'; import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys'; -import { useListenClickOutsideByClassName } from '@/ui/utilities/pointer-event/hooks/useListenClickOutside'; +import { useListenClickOutsideV2 } from '@/ui/utilities/pointer-event/hooks/useListenClickOutsideV2'; import { getScopeIdFromComponentId } from '@/ui/utilities/recoil-scope/utils/getScopeIdFromComponentId'; import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper'; import { useScrollRestoration } from '~/hooks/useScrollRestoration'; @@ -69,9 +70,15 @@ export const RecordBoard = () => { const { resetRecordSelection, setRecordAsSelected } = useRecordBoardSelection(recordBoardId); - useListenClickOutsideByClassName({ - classNames: ['record-board-card'], - excludeClassNames: ['bottom-bar', 'action-menu-dropdown', 'command-menu'], + useListenClickOutsideV2({ + excludeClassNames: [ + 'bottom-bar', + 'action-menu-dropdown', + 'command-menu', + 'modal-backdrop', + ], + listenerId: RECORD_BOARD_CLICK_OUTSIDE_LISTENER_ID, + refs: [boardRef], callback: resetRecordSelection, }); diff --git a/packages/twenty-front/src/modules/object-record/record-board/constants/RecordBoardClickOutsideListenerId.ts b/packages/twenty-front/src/modules/object-record/record-board/constants/RecordBoardClickOutsideListenerId.ts new file mode 100644 index 0000000000..5179225aad --- /dev/null +++ b/packages/twenty-front/src/modules/object-record/record-board/constants/RecordBoardClickOutsideListenerId.ts @@ -0,0 +1 @@ +export const RECORD_BOARD_CLICK_OUTSIDE_LISTENER_ID = 'record-board'; diff --git a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableInternalEffect.tsx b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableInternalEffect.tsx index 19aa58b25d..ce44b28de8 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableInternalEffect.tsx +++ b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableInternalEffect.tsx @@ -33,6 +33,12 @@ export const RecordTableInternalEffect = ({ ); useListenClickOutsideV2({ + excludeClassNames: [ + 'bottom-bar', + 'action-menu-dropdown', + 'command-menu', + 'modal-backdrop', + ], listenerId: RECORD_TABLE_CLICK_OUTSIDE_LISTENER_ID, refs: [tableBodyRef], callback: () => { diff --git a/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/__tests__/useListenClickOutsideArrayOfRef.test.tsx b/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/__tests__/useListenClickOutsideArrayOfRef.test.tsx index f236b78840..2f9530aeb6 100644 --- a/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/__tests__/useListenClickOutsideArrayOfRef.test.tsx +++ b/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/__tests__/useListenClickOutsideArrayOfRef.test.tsx @@ -1,13 +1,12 @@ +import { fireEvent, renderHook } from '@testing-library/react'; import React from 'react'; import { act } from 'react-dom/test-utils'; -import { fireEvent, render, renderHook } from '@testing-library/react'; import { isDefined } from '~/utils/isDefined'; import { ClickOutsideMode, useListenClickOutside, - useListenClickOutsideByClassName, } from '../useListenClickOutside'; const containerRef = React.createRef(); @@ -77,59 +76,3 @@ describe('useListenClickOutside', () => { expect(callback).toHaveBeenCalled(); }); }); - -describe('useListenClickOutsideByClassName', () => { - it('should trigger the callback when clicking outside the specified class names', () => { - const callback = jest.fn(); - const { container } = render( -
-
Inside
-
Outside
-
, - ); - - renderHook(() => - useListenClickOutsideByClassName({ - classNames: ['wont-trigger'], - callback, - }), - ); - - act(() => { - const notClickableElement = container.querySelector('.will-trigger'); - if (isDefined(notClickableElement)) { - fireEvent.mouseDown(notClickableElement); - fireEvent.click(notClickableElement); - } - }); - - expect(callback).toHaveBeenCalled(); - }); - - it('should not trigger the callback when clicking inside the specified class names', () => { - const callback = jest.fn(); - const { container } = render( -
-
Inside
-
Outside
-
, - ); - - renderHook(() => - useListenClickOutsideByClassName({ - classNames: ['wont-trigger'], - callback, - }), - ); - - act(() => { - const notClickableElement = container.querySelector('.wont-trigger'); - if (isDefined(notClickableElement)) { - fireEvent.mouseDown(notClickableElement); - fireEvent.click(notClickableElement); - } - }); - - expect(callback).not.toHaveBeenCalled(); - }); -}); diff --git a/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/useListenClickOutside.ts b/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/useListenClickOutside.ts index b3a879216f..613590ed5e 100644 --- a/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/useListenClickOutside.ts +++ b/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/useListenClickOutside.ts @@ -138,58 +138,3 @@ export const useListenClickOutside = ({ } }, [refs, callback, mode, enabled, isMouseDownInside]); }; - -export const useListenClickOutsideByClassName = ({ - classNames, - excludeClassNames, - callback, -}: { - classNames: string[]; - excludeClassNames?: string[]; - callback: () => void; -}) => { - useEffect(() => { - const handleClickOutside = (event: MouseEvent | TouchEvent) => { - if (!(event.target instanceof Node)) return; - - const clickedElement = event.target as HTMLElement; - let isClickedInside = false; - let isClickedOnExcluded = false; - let currentElement: HTMLElement | null = clickedElement; - - while (currentElement) { - const currentClassList = currentElement.classList; - - isClickedInside = classNames.some((className) => - currentClassList.contains(className), - ); - isClickedOnExcluded = - excludeClassNames?.some((className) => - currentClassList.contains(className), - ) ?? false; - - if (isClickedInside || isClickedOnExcluded) { - break; - } - - currentElement = currentElement.parentElement; - } - - if (!isClickedInside && !isClickedOnExcluded) { - callback(); - } - }; - - document.addEventListener('mousedown', handleClickOutside); - document.addEventListener('touchend', handleClickOutside, { - capture: true, - }); - - return () => { - document.removeEventListener('mousedown', handleClickOutside); - document.removeEventListener('touchend', handleClickOutside, { - capture: true, - }); - }; - }, [callback, classNames, excludeClassNames]); -}; diff --git a/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/useListenClickOutsideV2.ts b/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/useListenClickOutsideV2.ts index 287d6b0f8e..82611db7ef 100644 --- a/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/useListenClickOutsideV2.ts +++ b/packages/twenty-front/src/modules/ui/utilities/pointer-event/hooks/useListenClickOutsideV2.ts @@ -10,6 +10,7 @@ export enum ClickOutsideMode { export type ClickOutsideListenerProps = { refs: Array>; + excludeClassNames?: string[]; callback: (event: MouseEvent | TouchEvent) => void; mode?: ClickOutsideMode; listenerId: string; @@ -18,6 +19,7 @@ export type ClickOutsideListenerProps = { export const useListenClickOutsideV2 = ({ refs, + excludeClassNames, callback, mode = ClickOutsideMode.compareHTMLRef, listenerId, @@ -106,11 +108,34 @@ export const useListenClickOutsideV2 = ({ .getValue(); if (mode === ClickOutsideMode.compareHTMLRef) { + const clickedElement = event.target as HTMLElement; + let isClickedOnExcluded = false; + let currentElement: HTMLElement | null = clickedElement; + + while (currentElement) { + const currentClassList = currentElement.classList; + + isClickedOnExcluded = + excludeClassNames?.some((className) => + currentClassList.contains(className), + ) ?? false; + + if (isClickedOnExcluded) { + break; + } + + currentElement = currentElement.parentElement; + } + const clickedOnAtLeastOneRef = refs .filter((ref) => !!ref.current) .some((ref) => ref.current?.contains(event.target as Node)); - if (!clickedOnAtLeastOneRef && !isMouseDownInside) { + if ( + !clickedOnAtLeastOneRef && + !isMouseDownInside && + !isClickedOnExcluded + ) { callback(event); } } @@ -151,7 +176,13 @@ export const useListenClickOutsideV2 = ({ } } }, - [mode, refs, callback, getClickOutsideListenerIsMouseDownInsideState], + [ + getClickOutsideListenerIsMouseDownInsideState, + mode, + refs, + excludeClassNames, + callback, + ], ); useEffect(() => { From aff55f49feee0f83297f7f5569635d788f4a4e19 Mon Sep 17 00:00:00 2001 From: Chris <92900301+chrisdadev13@users.noreply.github.com> Date: Thu, 31 Oct 2024 08:09:02 -0400 Subject: [PATCH 21/24] =?UTF-8?q?=F0=9F=95=B9=EF=B8=8F=20feat(cli):=20scri?= =?UTF-8?q?pt=20to=20migrate=20(contacts=20and=20companies)=20from=20Attio?= =?UTF-8?q?=20to=20Twenty=20(#8046)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I made an MVP of a Command Line Interface to help migrate (just contacts and companies for now) from Attio to Twenty. I made this rushing but here's the code of the script: [code](https://github.com/chrisdadev13/twenty-cli/tree/main) and a little a [demo](https://www.loom.com/share/f98f34f8d9b34728998847d3b97a16b7) :) Screenshot 2024-10-24 at 8 56 27 PM Since Twenty is open source, this kind of tools can be a great way to catch contributions and also improve migrations process. I mean, now with the CLI you can only migrate from Attio, but what if tomorrow someone extends the tool to easily migrate from Salesforce, or any other CRM, to Twenty? 🤔 Co-authored-by: Charles Bochet --- .../1-write-migration-script-other-crm-to-20.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oss-gg/twenty-dev-challenges/1-write-migration-script-other-crm-to-20.md b/oss-gg/twenty-dev-challenges/1-write-migration-script-other-crm-to-20.md index c68bae4dee..eb425b48b4 100644 --- a/oss-gg/twenty-dev-challenges/1-write-migration-script-other-crm-to-20.md +++ b/oss-gg/twenty-dev-challenges/1-write-migration-script-other-crm-to-20.md @@ -20,6 +20,9 @@ Your turn 👇 » 22-October-2024 by [FaheemOnHub](https://oss.gg/FaheemOnHub) video Link: [video](https://drive.google.com/file/d/1bR59Q5gqoqHjzgdrF6K68U2hloexkQYM/view) +» 24-October-2024 by [chrisdadev13](https://oss.gg/chrisdadev13) video Link: [video](https://www.loom.com/share/f98f34f8d9b34728998847d3b97a16b7) + » 27-October-2024 by [Khaan25](https://oss.gg/Khaan25) video Link: [video](https://drive.google.com/file/d/1-wgzofJaWmnMcFgZZV5uYNNgtbJKJ_1G/view?usp=sharing/) » 30-October-2024 by [RajuGangitla](https://oss.gg/RajuGangitla) video Link: [video](https://www.loom.com/share/f072bf31fb46449d98d6826a3a824fe9?sid=21f2c3f4-f286-43a2-98aa-d1fb92c3a86e) + From c9fcce65906c10f85a41b7fb69760da521ee009a Mon Sep 17 00:00:00 2001 From: Harshit Singh <73997189+harshit078@users.noreply.github.com> Date: Thu, 31 Oct 2024 17:56:59 +0530 Subject: [PATCH 22/24] fix: Emails input field stays in errored state (#8243) ## Description - This PR fixes the issue #8235 - Error state resets when error state is removed ## Changes https://github.com/user-attachments/assets/0aeb99fe-56c8-437a-ad2c-97e245a44158 --- .../meta-types/input/components/MultiItemFieldInput.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/twenty-front/src/modules/object-record/record-field/meta-types/input/components/MultiItemFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/meta-types/input/components/MultiItemFieldInput.tsx index 7aa56379fd..0193e75da8 100644 --- a/packages/twenty-front/src/modules/object-record/record-field/meta-types/input/components/MultiItemFieldInput.tsx +++ b/packages/twenty-front/src/modules/object-record/record-field/meta-types/input/components/MultiItemFieldInput.tsx @@ -84,9 +84,9 @@ export const MultiItemFieldInput = ({ setInputValue(value); if (!validateInput) return; - if (errorData.isValid) { - setErrorData(errorData); - } + setErrorData( + errorData.isValid ? errorData : { isValid: true, errorMessage: '' }, + ); }; const handleAddButtonClick = () => { From b1a96e2e040f1dfb3f88bb424f788998f3d8a898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:01:54 +0100 Subject: [PATCH 23/24] Fix logged out scopeId error (#8250) Fix logged out scopeId error --- .../SignInBackgroundMockContainer.tsx | 72 ++++++++++++------- 1 file changed, 46 insertions(+), 26 deletions(-) diff --git a/packages/twenty-front/src/modules/sign-in-background-mock/components/SignInBackgroundMockContainer.tsx b/packages/twenty-front/src/modules/sign-in-background-mock/components/SignInBackgroundMockContainer.tsx index ba93026a5e..ae4a08c67d 100644 --- a/packages/twenty-front/src/modules/sign-in-background-mock/components/SignInBackgroundMockContainer.tsx +++ b/packages/twenty-front/src/modules/sign-in-background-mock/components/SignInBackgroundMockContainer.tsx @@ -2,6 +2,8 @@ import styled from '@emotion/styled'; import { ActionMenuComponentInstanceContext } from '@/action-menu/states/contexts/ActionMenuComponentInstanceContext'; import { ContextStoreComponentInstanceContext } from '@/context-store/states/contexts/ContextStoreComponentInstanceContext'; +import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; +import { RecordIndexRootPropsContext } from '@/object-record/record-index/contexts/RecordIndexRootPropsContext'; import { RecordTableWithWrappers } from '@/object-record/record-table/components/RecordTableWithWrappers'; import { SignInBackgroundMockContainerEffect } from '@/sign-in-background-mock/components/SignInBackgroundMockContainerEffect'; import { ViewBar } from '@/views/components/ViewBar'; @@ -20,36 +22,54 @@ export const SignInBackgroundMockContainer = () => { const recordIndexId = 'sign-up-mock-record-table-id'; const viewBarId = 'companies-mock'; + const { objectMetadataItem } = useObjectMetadataItem({ + objectNameSingular, + }); + return ( - - {}, + indexIdentifierUrl: () => '', + onCreateRecord: () => {}, + }} + > + - - {}} - optionsDropdownButton={<>} - /> - - {}} - /> - - - + + {}} + optionsDropdownButton={<>} + /> + + {}} + /> + +
+ + ); }; From 3fbd312141bec5a3a999e7e4b289a5a299c60b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20M?= Date: Thu, 31 Oct 2024 15:32:51 +0100 Subject: [PATCH 24/24] fix: no more dashed line (#8254) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix bug introduced by #8152 where `` component doesn't have dashed lines anymore. Screenshot 2024-10-31 at 3 10 10 PM Screenshot 2024-10-31 at 3 10 03 PM --- packages/twenty-ui/src/display/tag/components/Tag.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-ui/src/display/tag/components/Tag.tsx b/packages/twenty-ui/src/display/tag/components/Tag.tsx index 08a5e283ff..3b5f84b08a 100644 --- a/packages/twenty-ui/src/display/tag/components/Tag.tsx +++ b/packages/twenty-ui/src/display/tag/components/Tag.tsx @@ -42,7 +42,7 @@ const StyledTag = styled.h3<{ padding: 0 ${spacing2}; border: ${({ variant, theme }) => variant === 'outline' || variant === 'border' - ? `1px ${variant === 'border' ? 'solid' : 'dash'} ${theme.border.color.strong}` + ? `1px ${variant === 'border' ? 'solid' : 'dashed'} ${theme.border.color.strong}` : ''}; gap: ${spacing1};