import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem';

export const getObjectMetadataItemsMock = () => {
  const mockArray = [
    {
      __typename: 'object',
      id: '20202020-ddee-40de-9c9b-5f82a3503360',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'webhook',
      namePlural: 'webhooks',
      labelSingular: 'Webhook',
      labelPlural: 'Webhooks',
      description: 'A webhook',
      icon: 'IconRobot',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [],
    },
    {
      __typename: 'object',
      id: '20202020-d8d0-4c2d-a370-5499b2181d02',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'apiKey',
      namePlural: 'apiKeys',
      labelSingular: 'Api Key',
      labelPlural: 'Api Keys',
      description: 'An api key',
      icon: 'IconRobot',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-a092-41e2-940e-e17cd0403aa7',
          type: 'DATE_TIME',
          name: 'expiresAt',
          label: 'Expiration date',
          description: 'ApiKey expiration date',
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.251Z',
          updatedAt: '2023-11-30T11:13:15.251Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-435c-4133-93c0-df5709d1694d',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.251Z',
          updatedAt: '2023-11-30T11:13:15.251Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-ecd6-479f-8368-5032fdee43b3',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.251Z',
          updatedAt: '2023-11-30T11:13:15.251Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-7222-45ee-b5c4-c30eba68566f',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.251Z',
          updatedAt: '2023-11-30T11:13:15.251Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-1dfa-4ef3-8d19-51e82c28677a',
          type: 'TEXT',
          name: 'name',
          label: 'Name',
          description: 'ApiKey name',
          icon: 'IconLink',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.251Z',
          updatedAt: '2023-11-30T11:13:15.251Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-da41-436e-8498-b1a99c23b275',
          type: 'DATE_TIME',
          name: 'revokedAt',
          label: 'Revocation date',
          description: 'ApiKey revocation date',
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.251Z',
          updatedAt: '2023-11-30T11:13:15.251Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-cf28-41dd-b98b-d6e1f5b3a251',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'viewSort',
      namePlural: 'viewSorts',
      labelSingular: 'View Sort',
      labelPlural: 'View Sorts',
      description: '(System) View Sorts',
      icon: 'IconArrowsSort',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-077e-4451-b1d8-e602c956ebd2',
          type: 'TEXT',
          name: 'direction',
          label: 'Direction',
          description: 'View Sort direction',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.361Z',
          updatedAt: '2023-11-30T11:13:15.361Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-cb2c-4c8f-a289-c9851b23d064',
          type: 'UUID',
          name: 'fieldMetadataId',
          label: 'Field Metadata Id',
          description: 'View Sort target field',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.361Z',
          updatedAt: '2023-11-30T11:13:15.361Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-5870-4665-92a6-a39b7f53352d',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.361Z',
          updatedAt: '2023-11-30T11:13:15.361Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-7677-4955-8ffe-06481534d12c',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.361Z',
          updatedAt: '2023-11-30T11:13:15.361Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-16ec-4074-a54b-c8f7f1178cf6',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.361Z',
          updatedAt: '2023-11-30T11:13:15.361Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-f5d0-467f-a3d8-395ba16b8ebf',
          type: 'UUID',
          name: 'viewId',
          label: 'View Id',
          description: 'View Sort related view',
          icon: 'IconLayoutCollage',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.361Z',
          updatedAt: '2023-11-30T11:13:15.361Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '89f2d604-2372-41ac-b822-8feae0ea31ee',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-767f-473f-8fd0-6cdbefbf8dbe',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'view',
              namePlural: 'views',
            },
            fromFieldMetadataId: '20202020-3011-4d5c-8133-c01134e733df',
          },
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-cae9-4ff4-9579-f7d9fe44c937',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'opportunity',
      namePlural: 'opportunities',
      labelSingular: 'Opportunity',
      labelPlural: 'Opportunities',
      description: 'An opportunity',
      icon: 'IconTargetArrow',
      isCustom: false,
      isActive: true,
      isSystem: false,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-0655-41df-b938-15d71e589d3e',
          type: 'UUID',
          name: 'personId',
          label: 'Person ID (foreign key)',
          description: 'Foreign key for person',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-618e-42da-b3c3-bcd7af76e4c2',
          type: 'UUID',
          name: 'pointOfContactId',
          label: 'Point of Contact ID (foreign key)',
          description: 'Foreign key for point of contact',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-437b-4fd7-98bd-00cb91204329',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-31d5-4af5-b016-c61c1c265706',
          type: 'RELATION',
          name: 'company',
          label: 'Company',
          description: 'Opportunity company',
          icon: 'IconBuildingSkyscraper',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '34b27cf4-b706-4466-824b-bdd1745cf04d',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-480c-434e-b4c7-e22408b97047',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'company',
              namePlural: 'companies',
            },
            fromFieldMetadataId: '20202020-e3fc-46ff-b552-3e757843f06e',
          },
        },
        {
          __typename: 'field',
          id: '20202020-31d5-4af5-b016-c61c1c2657b9',
          type: 'UUID',
          name: 'companyId',
          label: 'Company ID (foreign key)',
          description: 'Foreign key for company',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0a2e-4676-8011-3fdb2c30d7f8',
          type: 'UUID',
          name: 'pipelineStepId',
          label: 'Pipeline Step ID (foreign key)',
          description: 'Foreign key for pipeline step',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-3b9c-4e58-a3d2-c617d3b596b1',
          type: 'TEXT',
          name: 'probability',
          label: 'Probability',
          description: 'Opportunity probability',
          icon: 'IconProgressCheck',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0a2e-4676-8011-3fdb2c30c258',
          type: 'RELATION',
          name: 'pipelineStep',
          label: 'Pipeline Step',
          description: 'Opportunity pipeline step',
          icon: 'IconKanban',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: 'dfb44970-3e09-49f2-9f1d-51c8c451b8f5',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-1029-4661-9e91-83bad932bdcd',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'pipelineStep',
              namePlural: 'pipelineSteps',
            },
            fromFieldMetadataId: '20202020-22c4-443a-b114-43c97dda5867',
          },
        },
        {
          __typename: 'field',
          id: '20202020-de52-4e7b-a298-db7a7553500f',
          type: 'DATE_TIME',
          name: 'closeDate',
          label: 'Close date',
          description: 'Opportunity close date',
          icon: 'IconCalendarEvent',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-8c1f-4c83-9a89-7843e586564d',
          type: 'CURRENCY',
          name: 'amount',
          label: 'Amount',
          description: 'Opportunity amount',
          icon: 'IconCurrencyDollar',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-16ef-476c-8eac-d439b84024cb',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-a39d-4ea9-994f-28d1ebd15904',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-618e-42da-b3c3-bcd7af76e355',
          type: 'RELATION',
          name: 'pointOfContact',
          label: 'Point of Contact',
          description: 'Opportunity point of contact',
          icon: 'IconUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '5e4c2e1a-ee54-4987-917a-d79142d69bd3',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-c64b-44bc-bd2c-502c99f49dca',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'person',
              namePlural: 'people',
            },
            fromFieldMetadataId: '20202020-2c2e-418e-ba2d-d28434ff02a6',
          },
        },
        {
          __typename: 'field',
          id: '20202020-0655-41df-b938-15d71e589307',
          type: 'RELATION',
          name: 'person',
          label: 'Person',
          description: 'Opportunity person',
          icon: 'IconUser',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.308Z',
          updatedAt: '2023-11-30T11:13:15.308Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: 'e7c6b729-3f52-422c-8452-aedea5753c96',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-c64b-44bc-bd2c-502c99f49dca',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'person',
              namePlural: 'people',
            },
            fromFieldMetadataId: '20202020-6bc4-4905-a9d3-4f8d616a19e1',
          },
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-c64b-44bc-bd2c-502c99f49dca',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'person',
      namePlural: 'people',
      labelSingular: 'Person',
      labelPlural: 'People',
      description: 'A person',
      icon: 'IconUser',
      isCustom: false,
      isActive: true,
      isSystem: false,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-6bc4-4905-a9d3-4f8d616a19e1',
          type: 'RELATION',
          name: 'opportunities',
          label: 'Opportunities',
          description: 'Opportunities linked to the contact.',
          icon: 'IconTargetArrow',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: 'e7c6b729-3f52-422c-8452-aedea5753c96',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-cae9-4ff4-9579-f7d9fe44c937',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'opportunity',
              namePlural: 'opportunities',
            },
            toFieldMetadataId: '20202020-0655-41df-b938-15d71e589307',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-a3a7-4f63-9303-10226f6055be',
          type: 'LINK',
          name: 'xLink',
          label: 'X',
          description: 'Contact’s X/Twitter account',
          icon: 'IconBrandX',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-03cd-4cd0-9afc-92077b69f24f',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-2c2e-418e-ba2d-d28434ff02a6',
          type: 'RELATION',
          name: 'pointOfContactForOpportunities',
          label: 'POC for Opportunities',
          description: 'Point of Contact for Opportuniites',
          icon: 'IconTargetArrow',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '5e4c2e1a-ee54-4987-917a-d79142d69bd3',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-cae9-4ff4-9579-f7d9fe44c937',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'opportunity',
              namePlural: 'opportunities',
            },
            toFieldMetadataId: '20202020-618e-42da-b3c3-bcd7af76e355',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-bec0-4cf0-bf1c-8b2ed21f027a',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-64e1-4080-b6ad-db03c3809885',
          type: 'RELATION',
          name: 'company',
          label: 'Company',
          description: 'Contact’s company',
          icon: 'IconBuildingSkyscraper',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '8bb4535e-fd80-4ad8-af6d-06b02b83da32',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-480c-434e-b4c7-e22408b97047',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'company',
              namePlural: 'companies',
            },
            fromFieldMetadataId: '20202020-68b4-4c8e-af19-738eba2a42a5',
          },
        },
        {
          __typename: 'field',
          id: '20202020-78f8-4b4c-90ff-86adf77590f5',
          type: 'TEXT',
          name: 'city',
          label: 'City',
          description: 'Contact’s city',
          icon: 'IconMap',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-8a96-4e4b-86fd-ea126530e0c1',
          type: 'EMAIL',
          name: 'email',
          label: 'Email',
          description: 'Contact’s Email',
          icon: 'IconMail',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-f285-4115-a46c-116522986b29',
          type: 'RELATION',
          name: 'activityTargets',
          label: 'Activities',
          description: 'Activities tied to the contact',
          icon: 'IconCheckbox',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '1c515eae-14e8-4042-9af4-50ee725b6de5',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-439a-4a41-83a3-3cda03d01d38',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'activityTarget',
              namePlural: 'activityTargets',
            },
            toFieldMetadataId: '20202020-e56c-43e6-8fce-5619d8c2293a',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-3b86-413e-ab56-0ebd1a583ff3',
          type: 'TEXT',
          name: 'jobTitle',
          label: 'Job Title',
          description: 'Contact’s job title',
          icon: 'IconBriefcase',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-6268-4165-8774-9aaf45db2b25',
          type: 'RELATION',
          name: 'favorites',
          label: 'Favorites',
          description: 'Favorites linked to the contact',
          icon: 'IconHeart',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '175b312c-956c-47c4-95f9-1aa0289ba794',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-90e4-4701-a350-8ab75e23e3b8',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'favorite',
              namePlural: 'favorites',
            },
            toFieldMetadataId: '20202020-0876-4735-8974-ff4d51aafa07',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-5883-4bb3-a308-65271901a1d4',
          type: 'RELATION',
          name: 'attachments',
          label: 'Attachments',
          description: 'Attachments linked to the contact.',
          icon: 'IconFileImport',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '264dce1c-24da-444c-af1f-4e0b90d06b0b',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-5f98-4317-915d-3779bb821be2',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'attachment',
              namePlural: 'attachments',
            },
            toFieldMetadataId: '20202020-f67c-4cc5-893c-c6b615527473',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-9b56-4888-bfe3-f6f59aa999e3',
          type: 'FULL_NAME',
          name: 'name',
          label: 'Name',
          description: 'Contact’s name',
          icon: 'IconUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-486f-45f9-bbdf-aac18b1831c0',
          type: 'TEXT',
          name: 'phone',
          label: 'Phone',
          description: 'Contact’s phone number',
          icon: 'IconPhone',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-dcf6-445a-b543-37e55de43c25',
          type: 'LINK',
          name: 'linkedinLink',
          label: 'Linkedin',
          description: 'Contact’s Linkedin account',
          icon: 'IconBrandLinkedin',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-2bf4-42b8-8718-a3e852bfa6a6',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-bb05-45cb-aa2a-71b58d49dd23',
          type: 'TEXT',
          name: 'avatarUrl',
          label: 'Avatar',
          description: 'Contact’s avatar',
          icon: 'IconFileUpload',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-64e1-4080-b6ad-db03c3809f8b',
          type: 'UUID',
          name: 'companyId',
          label: 'Company ID (foreign key)',
          description: 'Foreign key for company',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.331Z',
          updatedAt: '2023-11-30T11:13:15.331Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-b550-40bb-a96b-9ab54b664753',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'workspaceMember',
      namePlural: 'workspaceMembers',
      labelSingular: 'Workspace Member',
      labelPlural: 'Workspace Members',
      description: 'A workspace member',
      icon: 'IconUserCircle',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-83f2-4c5f-96b0-0c51ecc160e3',
          type: 'TEXT',
          name: 'colorScheme',
          label: 'Color Scheme',
          description: 'Preferred color scheme',
          icon: 'IconColorSwatch',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-8c37-4163-ba06-1dada334ce3e',
          type: 'FULL_NAME',
          name: 'name',
          label: 'Name',
          description: 'Workspace member name',
          icon: 'IconCircleUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-10f6-4df9-8d6f-a760b65bd800',
          type: 'TEXT',
          name: 'locale',
          label: 'Language',
          description: 'Preferred language',
          icon: 'IconLanguage',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-f2c1-4ca1-9ca5-7b9d5cc87eb0',
          type: 'UUID',
          name: 'userId',
          label: 'User Id',
          description: 'Associated User Id',
          icon: 'IconCircleUsers',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-5ecb-405b-8712-171bb8916b96',
          type: 'RELATION',
          name: 'favorites',
          label: 'Favorites',
          description: 'Favorites linked to the workspace member',
          icon: 'IconHeart',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '71f35744-ab2e-4311-922e-0488aa55b3c5',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-90e4-4701-a350-8ab75e23e3b8',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'favorite',
              namePlural: 'favorites',
            },
            toFieldMetadataId: '20202020-1138-4e93-bbff-917a68161abf',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-7ba6-40d5-934b-17146183a212',
          type: 'TEXT',
          name: 'avatarUrl',
          label: 'Avatar Url',
          description: 'Workspace member avatar',
          icon: 'IconFileUpload',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-37a0-4db4-9c9f-fd3e3f4e47fc',
          type: 'RELATION',
          name: 'authoredActivities',
          label: 'Authored activities',
          description: 'Activities created by the workspace member',
          icon: 'IconCheckbox',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: 'fa043ecd-792d-4ece-bc98-24c81fd8daf7',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-8ee3-4f67-84ab-1b7a6eb5a448',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'activity',
              namePlural: 'activities',
            },
            toFieldMetadataId: '20202020-3acb-46bb-b993-0dc49fa2a48c',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-1cbf-4b32-8c33-fbfedcd9afa8',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-7238-4e2a-9ccf-d2c8f604933a',
          type: 'RELATION',
          name: 'authoredComments',
          label: 'Authored comments',
          description: 'Authored comments',
          icon: 'IconComment',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: 'f7ebb0a5-c9d6-4d53-9a70-1d736000468a',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-4de3-4e65-ac60-b40b8e08d7d6',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'comment',
              namePlural: 'comments',
            },
            toFieldMetadataId: '20202020-2c70-40c2-bba6-893780b25d41',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-1ba3-4c24-b2cd-b0789633e8d4',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-678e-4702-a535-2549ef07f1ca',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-ac05-44b9-9526-764dd5ce14e2',
          type: 'RELATION',
          name: 'assignedActivities',
          label: 'Assigned activities',
          description: 'Activities assigned to the workspace member',
          icon: 'IconCheckbox',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '5fd21f44-4025-4574-8f58-fed08a4c04f1',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-8ee3-4f67-84ab-1b7a6eb5a448',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'activity',
              namePlural: 'activities',
            },
            toFieldMetadataId: '20202020-4694-4ec6-9084-8d932ebb3065',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-7e0c-4dc4-be49-37de4396349e',
          type: 'RELATION',
          name: 'authoredAttachments',
          label: 'Authored attachments',
          description: 'Attachments created by the workspace member',
          icon: 'IconFileImport',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '4b113dcf-d33b-408b-ae1a-3db7a928ce5f',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-5f98-4317-915d-3779bb821be2',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'attachment',
              namePlural: 'attachments',
            },
            toFieldMetadataId: '20202020-7831-43c2-827f-bc78289b7398',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-41bb-4c17-8979-40fa915df9e1',
          type: 'RELATION',
          name: 'accountOwnerForCompanies',
          label: 'Account Owner For Companies',
          description: 'Account owner for companies',
          icon: 'IconBriefcase',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.392Z',
          updatedAt: '2023-11-30T11:13:15.392Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '35e9f9d0-07ee-4ef9-9ec2-3059b3e76df5',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-480c-434e-b4c7-e22408b97047',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'company',
              namePlural: 'companies',
            },
            toFieldMetadataId: '20202020-0739-495d-8e70-c0807f6b2268',
          },
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-90e4-4701-a350-8ab75e23e3b8',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'favorite',
      namePlural: 'favorites',
      labelSingular: 'Favorite',
      labelPlural: 'Favorites',
      description: 'A favorite',
      icon: 'IconHeart',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-7d1d-46c7-8c09-8e8c73e30042',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-09e1-4384-ae3e-45e79563d528',
          type: 'UUID',
          name: 'companyId',
          label: 'Company ID (foreign key)',
          description: 'Foreign key for company',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-a0f4-443c-a63d-2776a842d024',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0876-4735-9473-ff4d51aa4e7b',
          type: 'UUID',
          name: 'personId',
          label: 'Person ID (foreign key)',
          description: 'Foreign key for person',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0876-4735-8974-ff4d51aafa07',
          type: 'RELATION',
          name: 'person',
          label: 'Person',
          description: 'Favorite person',
          icon: 'IconUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '175b312c-956c-47c4-95f9-1aa0289ba794',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-c64b-44bc-bd2c-502c99f49dca',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'person',
              namePlural: 'people',
            },
            fromFieldMetadataId: '20202020-6268-4165-8774-9aaf45db2b25',
          },
        },
        {
          __typename: 'field',
          id: '20202020-dd6d-4f67-94aa-22cc83eb0a2e',
          type: 'NUMBER',
          name: 'position',
          label: 'Position',
          description: 'Favorite position',
          icon: 'IconList',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0f4c-4b9a-9b9a-917a68161a4f',
          type: 'UUID',
          name: 'workspaceMemberId',
          label: 'Workspace Member ID (foreign key)',
          description: 'Foreign key for workspace member',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-1138-4e93-bbff-917a68161abf',
          type: 'RELATION',
          name: 'workspaceMember',
          label: 'Workspace Member',
          description: 'Favorite workspace member',
          icon: 'IconCircleUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '71f35744-ab2e-4311-922e-0488aa55b3c5',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-b550-40bb-a96b-9ab54b664753',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'workspaceMember',
              namePlural: 'workspaceMembers',
            },
            fromFieldMetadataId: '20202020-5ecb-405b-8712-171bb8916b96',
          },
        },
        {
          __typename: 'field',
          id: '20202020-09e1-4384-ae3e-39e7956396ff',
          type: 'RELATION',
          name: 'company',
          label: 'Company',
          description: 'Favorite company',
          icon: 'IconBuildingSkyscraper',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '88dd058c-a955-4de9-a41d-f870ef072360',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-480c-434e-b4c7-e22408b97047',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'company',
              namePlural: 'companies',
            },
            fromFieldMetadataId: '20202020-e7c8-4771-8cc4-ce0e8c36a3c0',
          },
        },
        {
          __typename: 'field',
          id: '20202020-273a-41bc-babf-f58f0b2ba2ec',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.300Z',
          updatedAt: '2023-11-30T11:13:15.300Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-8ee3-4f67-84ab-1b7a6eb5a448',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'activity',
      namePlural: 'activities',
      labelSingular: 'Activity',
      labelPlural: 'Activities',
      description: 'An activity',
      icon: 'IconCheckbox',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-65a2-4d9c-b640-bac54007a14d',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-cd46-44f4-bf22-b0aa20d009da',
          type: 'DATE_TIME',
          name: 'reminderAt',
          label: 'Reminder Date',
          description: 'Activity reminder date',
          icon: 'IconCalendarEvent',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-3acb-46bb-b993-0dc49fa2a48d',
          type: 'UUID',
          name: 'authorId',
          label: 'Author id (foreign key)',
          description: 'Activity author id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-4694-4ec6-9084-8d932ebb3065',
          type: 'RELATION',
          name: 'assignee',
          label: 'Assignee',
          description:
            'Acitivity assignee. This is the workspace member assigned to the activity ',
          icon: 'IconUserCircle',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '5fd21f44-4025-4574-8f58-fed08a4c04f1',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-b550-40bb-a96b-9ab54b664753',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'workspaceMember',
              namePlural: 'workspaceMembers',
            },
            fromFieldMetadataId: '20202020-ac05-44b9-9526-764dd5ce14e2',
          },
        },
        {
          __typename: 'field',
          id: '20202020-ec1d-4ffe-8bd2-a85c23ae0037',
          type: 'RELATION',
          name: 'activityTargets',
          label: 'Targets',
          description: 'Activity targets',
          icon: 'IconCheckbox',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '04eb67c8-3525-436f-b26b-c08acf48d12e',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-439a-4a41-83a3-3cda03d01d38',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'activityTarget',
              namePlural: 'activityTargets',
            },
            toFieldMetadataId: '20202020-cb21-42c9-bba8-347f7cb02b84',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-2584-4797-95a8-5cc90d48c040',
          type: 'TEXT',
          name: 'title',
          label: 'Title',
          description: 'Activity title',
          icon: 'IconNotes',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0924-48f0-a8c2-d2dd4e2098e2',
          type: 'DATE_TIME',
          name: 'completedAt',
          label: 'Completion Date',
          description: 'Activity completion date',
          icon: 'IconCheck',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-3acb-46bb-b993-0dc49fa2a48c',
          type: 'RELATION',
          name: 'author',
          label: 'Author',
          description:
            'Activity author. This is the person who created the activity',
          icon: 'IconUserCircle',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: 'fa043ecd-792d-4ece-bc98-24c81fd8daf7',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-b550-40bb-a96b-9ab54b664753',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'workspaceMember',
              namePlural: 'workspaceMembers',
            },
            fromFieldMetadataId: '20202020-37a0-4db4-9c9f-fd3e3f4e47fc',
          },
        },
        {
          __typename: 'field',
          id: '20202020-88df-4202-bf82-6a06c6963280',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-9755-43a8-b621-f94df0f6b839',
          type: 'RELATION',
          name: 'attachments',
          label: 'Attachments',
          description: 'Activity attachments',
          icon: 'IconFileImport',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '18560266-e8d2-4306-8182-87da1c7c5fee',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-5f98-4317-915d-3779bb821be2',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'attachment',
              namePlural: 'attachments',
            },
            toFieldMetadataId: '20202020-f5a9-46ec-b39a-eda906f00804',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-aff0-4961-be8a-0e5c2598b9a6',
          type: 'TEXT',
          name: 'body',
          label: 'Body',
          description: 'Activity body',
          icon: 'IconList',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-c85c-47f2-bbe4-6b36c26f9247',
          type: 'RELATION',
          name: 'comments',
          label: 'Comments',
          description: 'Activity comments',
          icon: 'IconComment',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '3970abf3-c0bf-4a3a-a02a-81aac69a4073',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-4de3-4e65-ac60-b40b8e08d7d6',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'comment',
              namePlural: 'comments',
            },
            toFieldMetadataId: '20202020-a9ac-4294-9462-db0f690da906',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-20e1-4366-b386-750bdca2dfe3',
          type: 'DATE_TIME',
          name: 'dueAt',
          label: 'Due Date',
          description: 'Activity due date',
          icon: 'IconCalendarEvent',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-a243-4b94-a4b4-25705af86be2',
          type: 'TEXT',
          name: 'type',
          label: 'Type',
          description: 'Activity type',
          icon: 'IconCheckbox',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-f695-419c-b928-c488323d6df3',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-4694-4ec6-9084-8d932ebb3066',
          type: 'UUID',
          name: 'assigneeId',
          label: 'Assignee id (foreign key)',
          description: 'Acitivity assignee id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.244Z',
          updatedAt: '2023-11-30T11:13:15.244Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-767f-473f-8fd0-6cdbefbf8dbe',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'view',
      namePlural: 'views',
      labelSingular: 'View',
      labelPlural: 'Views',
      description: '(System) Views',
      icon: 'IconLayoutCollage',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-2957-4431-b3b5-879b5e687c6e',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-2c69-46f0-9cf2-1a4f9869d560',
          type: 'UUID',
          name: 'objectMetadataId',
          label: 'Object Metadata Id',
          description: 'View target object',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-3011-4d5c-8133-c01134e733df',
          type: 'RELATION',
          name: 'viewSorts',
          label: 'View Sorts',
          description: 'View Sorts',
          icon: 'IconArrowsSort',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '89f2d604-2372-41ac-b822-8feae0ea31ee',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-cf28-41dd-b98b-d6e1f5b3a251',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'viewSort',
              namePlural: 'viewSorts',
            },
            toFieldMetadataId: '20202020-f5d0-467f-a3d8-395ba16b8ebf',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-2c70-46f0-9cf2-1a4f9869d591',
          type: 'TEXT',
          name: 'type',
          label: 'Type',
          description: 'View type',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-ad91-42b0-b654-cbd981ddb5bf',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-afe8-40bc-9a81-9b33e45131d9',
          type: 'RELATION',
          name: 'viewFilters',
          label: 'View Filters',
          description: 'View Filters',
          icon: 'IconFilterBolt',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '962649c6-745a-476a-a4c8-de7794e9a04e',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-4461-4e2d-bf9e-9b47e68846d3',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'viewFilter',
              namePlural: 'viewFilters',
            },
            toFieldMetadataId: '20202020-65e5-4082-829d-8c634c20e7b5',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-e10e-4346-8690-b2e582ebc03c',
          type: 'TEXT',
          name: 'name',
          label: 'Name',
          description: 'View name',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-d288-4df4-9548-7b5c5747f623',
          type: 'RELATION',
          name: 'viewFields',
          label: 'View Fields',
          description: 'View Fields',
          icon: 'IconTag',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: 'fd72ef3b-fdf6-4d2a-8735-4a996f214f5a',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-485c-4c48-a22e-0d9a164f9647',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'viewField',
              namePlural: 'viewFields',
            },
            toFieldMetadataId: '20202020-8788-4508-b771-719807b60e61',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-b4e6-4044-8f6e-886c6eb2a67c',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.343Z',
          updatedAt: '2023-11-30T11:13:15.343Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-5f98-4317-915d-3779bb821be2',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'attachment',
      namePlural: 'attachments',
      labelSingular: 'Attachment',
      labelPlural: 'Attachments',
      description: 'An attachment',
      icon: 'IconFileImport',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-f67c-4cc5-893c-c6b615527473',
          type: 'RELATION',
          name: 'person',
          label: 'Person',
          description: 'Attachment person',
          icon: 'IconUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '264dce1c-24da-444c-af1f-4e0b90d06b0b',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-c64b-44bc-bd2c-502c99f49dca',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'person',
              namePlural: 'people',
            },
            fromFieldMetadataId: '20202020-5883-4bb3-a308-65271901a1d4',
          },
        },
        {
          __typename: 'field',
          id: '20202020-7831-43c2-827f-bc78289b7398',
          type: 'RELATION',
          name: 'author',
          label: 'Author',
          description: 'Attachment author',
          icon: 'IconCircleUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '4b113dcf-d33b-408b-ae1a-3db7a928ce5f',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-b550-40bb-a96b-9ab54b664753',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'workspaceMember',
              namePlural: 'workspaceMembers',
            },
            fromFieldMetadataId: '20202020-7e0c-4dc4-be49-37de4396349e',
          },
        },
        {
          __typename: 'field',
          id: '20202020-7f29-490d-a3e1-9c3015524057',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-5463-4d03-9124-1775b9b7f955',
          type: 'RELATION',
          name: 'company',
          label: 'Company',
          description: 'Attachment company',
          icon: 'IconBuildingSkyscraper',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: 'de5f7a45-b00b-47a1-8ebc-2beca661a410',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-480c-434e-b4c7-e22408b97047',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'company',
              namePlural: 'companies',
            },
            fromFieldMetadataId: '20202020-61af-4ffd-b79b-baed6db8ad11',
          },
        },
        {
          __typename: 'field',
          id: '20202020-839b-4cbb-a1be-1a0cb85524a4',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-5683-4c80-8590-255321ece692',
          type: 'TEXT',
          name: 'name',
          label: 'Name',
          description: 'Attachment name',
          icon: 'IconFileUpload',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-f67c-4cc5-893c-c6b615527474',
          type: 'UUID',
          name: 'personId',
          label: 'Person id (foreign key)',
          description: 'Attachment person id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-f5a9-46ec-b39a-eda906f00805',
          type: 'UUID',
          name: 'activityId',
          label: 'Activity id (foreign key)',
          description: 'Attachment activity id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-f5a9-46ec-b39a-eda906f00804',
          type: 'RELATION',
          name: 'activity',
          label: 'Activity',
          description: 'Attachment activity',
          icon: 'IconNotes',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '18560266-e8d2-4306-8182-87da1c7c5fee',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-8ee3-4f67-84ab-1b7a6eb5a448',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'activity',
              namePlural: 'activities',
            },
            fromFieldMetadataId: '20202020-9755-43a8-b621-f94df0f6b839',
          },
        },
        {
          __typename: 'field',
          id: '20202020-5463-4d03-9124-1775b9b7f956',
          type: 'UUID',
          name: 'companyId',
          label: 'Company id (foreign key)',
          description: 'Attachment company id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0544-432b-8f96-84c4d6a94d50',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-7831-43c2-827f-bc78289b7399',
          type: 'UUID',
          name: 'authorId',
          label: 'Author id (foreign key)',
          description: 'Attachment author id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-8dfa-492f-92d1-56d5fb18cbb7',
          type: 'TEXT',
          name: 'type',
          label: 'Type',
          description: 'Attachment type',
          icon: 'IconList',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-bb72-4644-b255-afb4ebb83b66',
          type: 'TEXT',
          name: 'fullPath',
          label: 'Full path',
          description: 'Attachment full path',
          icon: 'IconLink',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.261Z',
          updatedAt: '2023-11-30T11:13:15.261Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-4de3-4e65-ac60-b40b8e08d7d6',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'comment',
      namePlural: 'comments',
      labelSingular: 'Comment',
      labelPlural: 'Comments',
      description: 'A comment',
      icon: 'IconMessageCircle',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202021-a9ac-4294-9462-db0f690da907',
          type: 'UUID',
          name: 'activityId',
          label: 'Activity id (foreign key)',
          description: 'Activity id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.281Z',
          updatedAt: '2023-11-30T11:13:15.281Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-a9ac-4294-9462-db0f690da906',
          type: 'RELATION',
          name: 'activity',
          label: 'Activity',
          description: 'Comment activity',
          icon: 'IconNotes',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.281Z',
          updatedAt: '2023-11-30T11:13:15.281Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '3970abf3-c0bf-4a3a-a02a-81aac69a4073',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-8ee3-4f67-84ab-1b7a6eb5a448',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'activity',
              namePlural: 'activities',
            },
            fromFieldMetadataId: '20202020-c85c-47f2-bbe4-6b36c26f9247',
          },
        },
        {
          __typename: 'field',
          id: '20202020-2899-42fa-ba07-1f4dad7ae28f',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.281Z',
          updatedAt: '2023-11-30T11:13:15.281Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-354b-4f10-9425-fa3eb8fddc51',
          type: 'TEXT',
          name: 'body',
          label: 'Body',
          description: 'Comment body',
          icon: 'IconLink',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.281Z',
          updatedAt: '2023-11-30T11:13:15.281Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-63dd-4426-abad-9973fece49ed',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.281Z',
          updatedAt: '2023-11-30T11:13:15.281Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-88fd-4db2-9fcb-b5f4f5955cf2',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.281Z',
          updatedAt: '2023-11-30T11:13:15.281Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-2c70-40c2-bba6-893780b25d41',
          type: 'RELATION',
          name: 'author',
          label: 'Author',
          description: 'Comment author',
          icon: 'IconCircleUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.281Z',
          updatedAt: '2023-11-30T11:13:15.281Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: 'f7ebb0a5-c9d6-4d53-9a70-1d736000468a',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-b550-40bb-a96b-9ab54b664753',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'workspaceMember',
              namePlural: 'workspaceMembers',
            },
            fromFieldMetadataId: '20202020-7238-4e2a-9ccf-d2c8f604933a',
          },
        },
        {
          __typename: 'field',
          id: '20202021-2c70-40c2-bba6-893780b25d42',
          type: 'UUID',
          name: 'authorId',
          label: 'Author id (foreign key)',
          description: 'Comment author id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.281Z',
          updatedAt: '2023-11-30T11:13:15.281Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-485c-4c48-a22e-0d9a164f9647',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'viewField',
      namePlural: 'viewFields',
      labelSingular: 'View Field',
      labelPlural: 'View Fields',
      description: '(System) View Fields',
      icon: 'IconTag',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-8788-4508-b771-719807b60e61',
          type: 'RELATION',
          name: 'view',
          label: 'View Id',
          description: 'View Field related view',
          icon: 'IconLayoutCollage',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: 'fd72ef3b-fdf6-4d2a-8735-4a996f214f5a',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-767f-473f-8fd0-6cdbefbf8dbe',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'view',
              namePlural: 'views',
            },
            fromFieldMetadataId: '20202020-d288-4df4-9548-7b5c5747f623',
          },
        },
        {
          __typename: 'field',
          id: '20202020-a4bb-440a-add2-81dbd9a74517',
          type: 'NUMBER',
          name: 'position',
          label: 'Position',
          description: 'View Field position',
          icon: 'IconList',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-3aa9-42db-a74d-0fd6b7cb7c4a',
          type: 'BOOLEAN',
          name: 'isVisible',
          label: 'Visible',
          description: 'View Field visibility',
          icon: 'IconEye',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-1a5e-4ac1-9530-c7fff8481b79',
          type: 'UUID',
          name: 'fieldMetadataId',
          label: 'Field Metadata Id',
          description: 'View Field target field',
          icon: 'IconTag',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-c852-4c28-b13a-07788c845d6a',
          type: 'UUID',
          name: 'viewId',
          label: 'View ID (foreign key)',
          description: 'Foreign key for view',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-64f2-4ecf-b4c5-45daf154756a',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-b9a1-4c2e-a5af-3a6b4fef4af6',
          type: 'NUMBER',
          name: 'size',
          label: 'Size',
          description: 'View Field size',
          icon: 'IconEye',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-e137-4e59-b417-a134c050936c',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-17ff-4585-9f3b-cd9ee9523448',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.349Z',
          updatedAt: '2023-11-30T11:13:15.349Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-480c-434e-b4c7-e22408b97047',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'company',
      namePlural: 'companies',
      labelSingular: 'Company',
      labelPlural: 'Companies',
      description: 'A company',
      icon: 'IconBuildingSkyscraper',
      isCustom: false,
      isActive: true,
      isSystem: false,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-46e3-479a-b8f4-77137c74daa6',
          type: 'LINK',
          name: 'xLink',
          label: 'X',
          description: 'The company Twitter/X account',
          icon: 'IconBrandX',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0739-495d-8e70-c0807f6b2268',
          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,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '35e9f9d0-07ee-4ef9-9ec2-3059b3e76df5',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-b550-40bb-a96b-9ab54b664753',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'workspaceMember',
              namePlural: 'workspaceMembers',
            },
            fromFieldMetadataId: '20202020-41bb-4c17-8979-40fa915df9e1',
          },
        },
        {
          __typename: 'field',
          id: '20202020-a61d-4b78-b998-3fd88b4f73a1',
          type: 'LINK',
          name: 'linkedinLink',
          label: 'Linkedin',
          description: 'The company Linkedin account',
          icon: 'IconBrandLinkedin',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-61af-4ffd-b79b-baed6db8ad11',
          type: 'RELATION',
          name: 'attachments',
          label: 'Attachments',
          description: 'Attachments linked to the company.',
          icon: 'IconFileImport',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: 'de5f7a45-b00b-47a1-8ebc-2beca661a410',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-5f98-4317-915d-3779bb821be2',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'attachment',
              namePlural: 'attachments',
            },
            toFieldMetadataId: '20202020-5463-4d03-9124-1775b9b7f955',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-5e4e-4007-a630-8a2617914889',
          type: 'TEXT',
          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: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-e3fc-46ff-b552-3e757843f06e',
          type: 'RELATION',
          name: 'opportunities',
          label: 'Opportunities',
          description: 'Opportunities linked to the company.',
          icon: 'IconTargetArrow',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '34b27cf4-b706-4466-824b-bdd1745cf04d',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-cae9-4ff4-9579-f7d9fe44c937',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'opportunity',
              namePlural: 'opportunities',
            },
            toFieldMetadataId: '20202020-31d5-4af5-b016-c61c1c265706',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-4a5a-466f-92d9-c3870d9502a9',
          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,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-4dc2-47c9-bb15-6e6f19ba9e46',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-ad10-4117-a039-3f04b7a5f939',
          type: 'TEXT',
          name: 'address',
          label: 'Address',
          description: 'The company address',
          icon: 'IconMap',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-64b8-41bf-a01c-be6a806e8b70',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-4a2e-4b41-8562-279963e8947e',
          type: 'RELATION',
          name: 'activityTargets',
          label: 'Activities',
          description: 'Activities tied to the company',
          icon: 'IconCheckbox',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '311bf27d-3710-4776-8b8d-b4cfba8c0ae8',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-439a-4a41-83a3-3cda03d01d38',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'activityTarget',
              namePlural: 'activityTargets',
            },
            toFieldMetadataId: '20202020-9408-4cc0-9fe1-51467edb530b',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-e7c8-4771-8cc4-ce0e8c36a3c0',
          type: 'RELATION',
          name: 'favorites',
          label: 'Favorites',
          description: 'Favorites linked to the company',
          icon: 'IconHeart',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '88dd058c-a955-4de9-a41d-f870ef072360',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-90e4-4701-a350-8ab75e23e3b8',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'favorite',
              namePlural: 'favorites',
            },
            toFieldMetadataId: '20202020-09e1-4384-ae3e-39e7956396ff',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-68b4-4c8e-af19-738eba2a42a5',
          type: 'RELATION',
          name: 'people',
          label: 'People',
          description: 'People linked to the company.',
          icon: 'IconUsers',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: '8bb4535e-fd80-4ad8-af6d-06b02b83da32',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-c64b-44bc-bd2c-502c99f49dca',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'person',
              namePlural: 'people',
            },
            toFieldMetadataId: '20202020-64e1-4080-b6ad-db03c3809885',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-6d30-4111-9f40-b4301906fd3c',
          type: 'TEXT',
          name: 'name',
          label: 'Name',
          description: 'The company name',
          icon: 'IconBuildingSkyscraper',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-0b9e-4b9e-8b0a-5b0b5b0b5b0b',
          type: 'UUID',
          name: 'accountOwnerId',
          label: 'Account Owner ID (foreign key)',
          description: 'Foreign key for account owner',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-7fbd-41ad-b64d-25a15ff62f04',
          type: 'NUMBER',
          name: 'employees',
          label: 'Employees',
          description: 'Number of employees in the company',
          icon: 'IconUsers',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-8169-44a3-9e0b-6bad1ac50f87',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-9e9f-4235-98b2-c76f3e2d281e',
          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: true,
          createdAt: '2023-11-30T11:13:15.292Z',
          updatedAt: '2023-11-30T11:13:15.292Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-4461-4e2d-bf9e-9b47e68846d3',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'viewFilter',
      namePlural: 'viewFilters',
      labelSingular: 'View Filter',
      labelPlural: 'View Filters',
      description: '(System) View Filters',
      icon: 'IconFilterBolt',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-da57-452d-9671-ab3ccac2a9da',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.355Z',
          updatedAt: '2023-11-30T11:13:15.355Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-96c9-4cf1-87b4-8a009c591a16',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.355Z',
          updatedAt: '2023-11-30T11:13:15.355Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-1d12-465d-ab2c-8af008182730',
          type: 'TEXT',
          name: 'operand',
          label: 'Operand',
          description: 'View Filter operand',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.355Z',
          updatedAt: '2023-11-30T11:13:15.355Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-ed89-4892-83fa-d2b2929c6d52',
          type: 'TEXT',
          name: 'displayValue',
          label: 'Display Value',
          description: 'View Filter Display Value',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.355Z',
          updatedAt: '2023-11-30T11:13:15.355Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-65e5-4082-829d-8c634c20e7b5',
          type: 'UUID',
          name: 'viewId',
          label: 'View Id',
          description: 'View Filter related view',
          icon: 'IconLayoutCollage',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.355Z',
          updatedAt: '2023-11-30T11:13:15.355Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '962649c6-745a-476a-a4c8-de7794e9a04e',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-767f-473f-8fd0-6cdbefbf8dbe',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'view',
              namePlural: 'views',
            },
            fromFieldMetadataId: '20202020-afe8-40bc-9a81-9b33e45131d9',
          },
        },
        {
          __typename: 'field',
          id: '20202020-78bb-4f2b-a052-260bc8efd694',
          type: 'UUID',
          name: 'fieldMetadataId',
          label: 'Field Metadata Id',
          description: 'View Filter target field',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.355Z',
          updatedAt: '2023-11-30T11:13:15.355Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-8b37-46ae-86b8-14287ec06802',
          type: 'TEXT',
          name: 'value',
          label: 'Value',
          description: 'View Filter value',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.355Z',
          updatedAt: '2023-11-30T11:13:15.355Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-353c-4fb0-9011-1ad8e1dd67f9',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.355Z',
          updatedAt: '2023-11-30T11:13:15.355Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-439a-4a41-83a3-3cda03d01d38',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'activityTarget',
      namePlural: 'activityTargets',
      labelSingular: 'Activity Target',
      labelPlural: 'Activity Targets',
      description: 'An activity target',
      icon: 'IconCheckbox',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-4cf0-4478-8c68-62a855622a99',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-585f-48fa-a4b6-97cf7f86315e',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-9408-4cc0-9fe1-51467edb530b',
          type: 'RELATION',
          name: 'company',
          label: 'Company',
          description: 'ActivityTarget company',
          icon: 'IconBuildingSkyscraper',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '311bf27d-3710-4776-8b8d-b4cfba8c0ae8',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-480c-434e-b4c7-e22408b97047',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'company',
              namePlural: 'companies',
            },
            fromFieldMetadataId: '20202020-4a2e-4b41-8562-279963e8947e',
          },
        },
        {
          __typename: 'field',
          id: '20202020-4c5d-4b5e-8d6e-3b2a4d5f6a7b',
          type: 'UUID',
          name: 'personId',
          label: 'Person id (foreign key)',
          description: 'ActivityTarget person id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-2b1a-4c6a-9c0a-1b9f5b7c9b1a',
          type: 'UUID',
          name: 'activityId',
          label: 'Activity id (foreign key)',
          description: 'ActivityTarget activity id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-9408-4cc0-9fe1-51467edb530c',
          type: 'UUID',
          name: 'companyId',
          label: 'Company id (foreign key)',
          description: 'ActivityTarget company id foreign key',
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-7db7-4dac-8093-ea0a12e9466f',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-cb21-42c9-bba8-347f7cb02b84',
          type: 'RELATION',
          name: 'activity',
          label: 'Activity',
          description: 'ActivityTarget activity',
          icon: 'IconNotes',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '04eb67c8-3525-436f-b26b-c08acf48d12e',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-8ee3-4f67-84ab-1b7a6eb5a448',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'activity',
              namePlural: 'activities',
            },
            fromFieldMetadataId: '20202020-ec1d-4ffe-8bd2-a85c23ae0037',
          },
        },
        {
          __typename: 'field',
          id: '20202020-e56c-43e6-8fce-5619d8c2293a',
          type: 'RELATION',
          name: 'person',
          label: 'Person',
          description: 'ActivityTarget person',
          icon: 'IconUser',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.231Z',
          updatedAt: '2023-11-30T11:13:15.231Z',
          fromRelationMetadata: null,
          toRelationMetadata: {
            __typename: 'relation',
            id: '1c515eae-14e8-4042-9af4-50ee725b6de5',
            relationType: 'ONE_TO_MANY',
            fromObjectMetadata: {
              __typename: 'object',
              id: '20202020-c64b-44bc-bd2c-502c99f49dca',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'person',
              namePlural: 'people',
            },
            fromFieldMetadataId: '20202020-f285-4115-a46c-116522986b29',
          },
        },
      ],
    },
    {
      __typename: 'object',
      id: '20202020-1029-4661-9e91-83bad932bdcd',
      dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
      nameSingular: 'pipelineStep',
      namePlural: 'pipelineSteps',
      labelSingular: 'Pipeline Step',
      labelPlural: 'Pipeline Steps',
      description: 'A pipeline step',
      icon: 'IconLayoutKanban',
      isCustom: false,
      isActive: true,
      isSystem: true,
      createdAt: '2023-11-30T11:13:15.206Z',
      updatedAt: '2023-11-30T11:13:15.206Z',
      fields: [
        {
          __typename: 'field',
          id: '20202020-f294-430e-b800-3a411fc05ad3',
          type: 'TEXT',
          name: 'name',
          label: 'Name',
          description: 'Pipeline Step name',
          icon: 'IconCurrencyDollar',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.337Z',
          updatedAt: '2023-11-30T11:13:15.337Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-039a-4fbd-b4c1-66dfa9e4bd3f',
          type: 'UUID',
          name: 'id',
          label: 'Id',
          description: null,
          icon: null,
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.337Z',
          updatedAt: '2023-11-30T11:13:15.337Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-816f-4861-9b36-4a2f8ae2791c',
          type: 'DATE_TIME',
          name: 'createdAt',
          label: 'Creation date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.337Z',
          updatedAt: '2023-11-30T11:13:15.337Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-22c4-443a-b114-43c97dda5867',
          type: 'RELATION',
          name: 'opportunities',
          label: 'Opportunities',
          description: 'Opportunities linked to the step.',
          icon: 'IconTargetArrow',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: true,
          createdAt: '2023-11-30T11:13:15.337Z',
          updatedAt: '2023-11-30T11:13:15.337Z',
          fromRelationMetadata: {
            __typename: 'relation',
            id: 'dfb44970-3e09-49f2-9f1d-51c8c451b8f5',
            relationType: 'ONE_TO_MANY',
            toObjectMetadata: {
              __typename: 'object',
              id: '20202020-cae9-4ff4-9579-f7d9fe44c937',
              dataSourceId: '20202020-7f63-47a9-b1b3-6c7290ca9fb1',
              nameSingular: 'opportunity',
              namePlural: 'opportunities',
            },
            toFieldMetadataId: '20202020-0a2e-4676-8011-3fdb2c30c258',
          },
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-6296-4cab-aafb-121ef5822b13',
          type: 'NUMBER',
          name: 'position',
          label: 'Position',
          description: 'Pipeline Step position',
          icon: 'IconHierarchy2',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.337Z',
          updatedAt: '2023-11-30T11:13:15.337Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-5b93-4b28-8c45-7988ea68f91b',
          type: 'TEXT',
          name: 'color',
          label: 'Color',
          description: 'Pipeline Step color',
          icon: 'IconColorSwatch',
          isCustom: false,
          isActive: true,
          isSystem: false,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.337Z',
          updatedAt: '2023-11-30T11:13:15.337Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
        {
          __typename: 'field',
          id: '20202020-2d73-4829-b774-522c2f5627d7',
          type: 'DATE_TIME',
          name: 'updatedAt',
          label: 'Update date',
          description: null,
          icon: 'IconCalendar',
          isCustom: false,
          isActive: true,
          isSystem: true,
          isNullable: false,
          createdAt: '2023-11-30T11:13:15.337Z',
          updatedAt: '2023-11-30T11:13:15.337Z',
          fromRelationMetadata: null,
          toRelationMetadata: null,
        },
      ],
    },
  ];

  // Todo fix typing here (the backend is not in sync with the frontend)
  return mockArray as ObjectMetadataItem[];
};
