import {
  FieldMetadataType,
  ObjectEdge,
  RelationMetadataType,
} from '~/generated-metadata/graphql';

export const mockedPeopleMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: '251787a4-9e47-4251-aaea-ea83f74cee80',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'person',
    namePlural: 'people',
    labelSingular: 'Person',
    labelPlural: 'People',
    description: 'A person',
    icon: 'IconUser',
    isCustom: false,
    isActive: true,
    isSystem: false,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '273867e0-1bc7-499f-92d6-a4ec49425138',
            type: FieldMetadataType.Link,
            name: 'linkedinLink',
            label: 'Linkedin',
            description: 'Contact’s Linkedin account',
            icon: 'IconBrandLinkedin',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dbdd6cad-20a9-4caa-8965-d1e02d7ab380',
            type: FieldMetadataType.Relation,
            name: 'favorites',
            label: 'Favorites',
            description: 'Favorites linked to the contact',
            icon: 'IconHeart',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'b3d452bc-e683-4dc6-86ec-37766ea8b30c',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '59683254-31b8-4d3c-82ab-d936a56beb48',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'favorite',
                namePlural: 'favorites',
                isSystem: false,
              },
              toFieldMetadataId: 'a0e7e269-d28c-49c6-8fe3-e89acef1cbf3',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'c606dfb1-a24c-4f9b-b626-0df1c845e6e8',
            type: FieldMetadataType.Relation,
            name: 'messageParticipants',
            label: 'Message Participants',
            description: 'Message Participants',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'fcc9ed16-2fa4-4809-8a1d-01ce0c481130',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'dd41deae-84d5-4a66-8947-260b0c72677c',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'messageParticipant',
                namePlural: 'messageParticipants',
                isSystem: false,
              },
              toFieldMetadataId: '88ab56e5-828e-4fb2-a37c-314b8803f361',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '586d0acc-f68b-4f08-aea9-410d88f351aa',
            type: FieldMetadataType.Relation,
            name: 'opportunities',
            label: 'Opportunities',
            description: 'Opportunities linked to the contact.',
            icon: 'IconTargetArrow',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'e63587c4-c565-4f77-9b8c-a639ae366dea',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '941ad274-2d26-4e90-94d9-5e446aa5b91e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'opportunity',
                namePlural: 'opportunities',
                isSystem: false,
              },
              toFieldMetadataId: '48067b53-f99f-4700-bf3a-6569d1646b21',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '8f830af2-bac2-4c97-95bf-bc2336523200',
            type: FieldMetadataType.Text,
            name: 'jobTitle',
            label: 'Job Title',
            description: 'Contact’s job title',
            icon: 'IconBriefcase',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '669ac2ca-a16e-4b82-8d86-0fe2f55ab01b',
            type: FieldMetadataType.FullName,
            name: 'name',
            label: 'Name',
            description: 'Contact’s name',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              lastName: '',
              firstName: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '92ee0bc9-5010-4153-ab93-6c269ff370c4',
            type: FieldMetadataType.Text,
            name: 'avatarUrl',
            label: 'Avatar',
            description: 'Contact’s avatar',
            icon: 'IconFileUpload',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2766f41a-1f8f-413f-88a3-1e3fec0e1821',
            type: FieldMetadataType.Relation,
            name: 'pointOfContactForOpportunities',
            label: 'POC for Opportunities',
            description: 'Point of Contact for Opportunities',
            icon: 'IconTargetArrow',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '5b6296d8-8557-4a3c-a963-109a5888b3b3',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '941ad274-2d26-4e90-94d9-5e446aa5b91e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'opportunity',
                namePlural: 'opportunities',
                isSystem: false,
              },
              toFieldMetadataId: '6510e80d-546a-4a27-9346-06590c81f068',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '7861e85d-826d-413e-8bd4-da3493a79898',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '10dda10c-8797-4a7b-a8ee-6123eadc4423',
            type: FieldMetadataType.Uuid,
            name: 'companyId',
            label: 'Company id (foreign key)',
            description: 'Contact’s company id foreign key',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '2f1238a1-de77-40a7-a698-0912f8daf4e8',
            type: FieldMetadataType.Text,
            name: 'phone',
            label: 'Phone',
            description: 'Contact’s phone number',
            icon: 'IconPhone',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ee0ce363-c3b4-4638-ab88-660566e3016f',
            type: FieldMetadataType.Relation,
            name: 'company',
            label: 'Company',
            description: 'Contact’s company',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'ccf90524-24b0-4b9a-bb01-b904c4f1328e',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '2a603764-1a2f-4043-bbfa-dea375391fad',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'company',
                namePlural: 'companies',
                isSystem: false,
              },
              fromFieldMetadataId: 'd991026f-54af-4411-a913-28b39403c24f',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '7db4da02-bcea-4f0e-bb5d-cf702e9529cc',
            type: FieldMetadataType.Text,
            name: 'city',
            label: 'City',
            description: 'Contact’s city',
            icon: 'IconMap',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '5a751ba4-5097-4fa8-acd1-5fe164368233',
            type: FieldMetadataType.Link,
            name: 'xLink',
            label: 'X',
            description: 'Contact’s X/Twitter account',
            icon: 'IconBrandX',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '8f0adf02-281a-42db-ad73-37d0d62416e0',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '0eb1a396-06a5-4b6a-8003-82e6839a2afb',
            type: FieldMetadataType.Relation,
            name: 'attachments',
            label: 'Attachments',
            description: 'Attachments linked to the contact.',
            icon: 'IconFileImport',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'a65ae523-9786-4064-8f42-346ce8055345',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'e25b094b-c6a9-4f56-856b-3c3072c33adf',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'attachment',
                namePlural: 'attachments',
                isSystem: false,
              },
              toFieldMetadataId: 'cb2bac7e-0db7-4f10-95f2-d8d122cad29c',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '17692850-3850-4e3a-824a-03aa199847f6',
            type: FieldMetadataType.Relation,
            name: 'activityTargets',
            label: 'Activities',
            description: 'Activities tied to the contact',
            icon: 'IconCheckbox',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '6100b5ae-72b3-4a02-94e9-d923c7a78d92',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'b0327d82-d8a3-4e1d-9b4b-dfbff04d951a',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'activityTarget',
                namePlural: 'activityTargets',
                isSystem: false,
              },
              toFieldMetadataId: 'e6508bb6-0dfd-417a-b0f4-d84bc1f44883',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '5ecd8da2-7578-4ca9-9f59-45889ac608fa',
            type: FieldMetadataType.Email,
            name: 'email',
            label: 'Email',
            description: 'Contact’s Email',
            icon: 'IconMail',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '63d42400-5bf0-4978-811a-f161f72c834c',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjE4',
      },
      totalCount: 19,
    },
  },
} as ObjectEdge;

export const mockedCompaniesMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: '2a603764-1a2f-4043-bbfa-dea375391fad',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'company',
    namePlural: 'companies',
    labelSingular: 'Company',
    labelPlural: 'Companies',
    description: 'A company',
    icon: 'IconBuildingSkyscraper',
    isCustom: false,
    isActive: true,
    isSystem: false,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: 'c03b0e35-b095-42b6-b10f-3e04ef9adf8e',
            type: FieldMetadataType.Link,
            name: 'linkedinLink',
            label: 'Linkedin',
            description: 'The company Linkedin account',
            icon: 'IconBrandLinkedin',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: 'aaf9520e-7723-418d-a464-42cf41db5b0e',
            type: FieldMetadataType.Number,
            name: 'employees',
            label: 'Employees',
            description: 'Number of employees in the company',
            icon: 'IconUsers',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: 'ea8a043d-58c8-4b13-a041-74fb31c79e42',
            type: FieldMetadataType.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-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '775870d6-16c1-4c94-9b58-c88bdca489e8',
            type: FieldMetadataType.Relation,
            name: 'favorites',
            label: 'Favorites',
            description: 'Favorites linked to the company',
            icon: 'IconHeart',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '4df88275-6b23-4bd4-b7a7-0893d366d8e0',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '59683254-31b8-4d3c-82ab-d936a56beb48',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'favorite',
                namePlural: 'favorites',
              },
              toFieldMetadataId: 'dcd5343e-98db-4cf7-aded-2c9c0da0a220',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '1987f9fb-1f75-42a6-93e2-652811855f5b',
            type: FieldMetadataType.Text,
            name: 'name',
            label: 'Name',
            description: 'The company name',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '4ab25246-cf21-4265-9241-885111814e25',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '72268a05-1ac6-4b4c-b0f1-91dc82aa1f57',
            type: FieldMetadataType.Uuid,
            name: 'accountOwnerId',
            label: 'Account Owner id (foreign key)',
            description:
              'Your team member responsible for managing the company account id foreign key',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: 'e51b0291-33e5-401e-b595-3940a28bc5ce',
            type: FieldMetadataType.Link,
            name: 'xLink',
            label: 'X',
            description: 'The company Twitter/X account',
            icon: 'IconBrandX',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'de0dace0-f7f8-4317-95e8-f80f6f72c7e4',
            type: FieldMetadataType.Relation,
            name: 'accountOwner',
            label: 'Account Owner',
            description:
              'Your team member responsible for managing the company account',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'b6d74797-0a27-449e-8f7b-26f94de4f707',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'workspaceMember',
                namePlural: 'workspaceMembers',
                isSystem: true,
              },
              fromFieldMetadataId: 'f1c10310-ab4f-484b-bd03-f5f3890e964e',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '6c9e87b5-e554-48f6-b6a8-3fce9ab9328b',
            type: FieldMetadataType.Boolean,
            name: 'idealCustomerProfile',
            label: 'ICP',
            description:
              'Ideal Customer Profile:  Indicates whether the company is the most suitable and valuable customer for you',
            icon: 'IconTarget',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '67500175-d2d8-4b84-a6c6-4b0a0a5cca23',
            type: FieldMetadataType.Relation,
            name: 'attachments',
            label: 'Attachments',
            description: 'Attachments linked to the company.',
            icon: 'IconFileImport',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '857f84a7-9934-4b3c-a7c6-3d1db427df73',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'e25b094b-c6a9-4f56-856b-3c3072c33adf',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'attachment',
                namePlural: 'attachments',
                isSystem: true,
              },
              toFieldMetadataId: '6e103463-aee5-4be3-af12-52cacd566c3a',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: 'ed7fb62c-5e1a-4f35-82ff-5c59efc28edb',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: 'a5109540-d918-4f33-b80c-235a5816d44b',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '6b50c2a4-85b5-41ff-a774-8331ad7b3b61',
            type: FieldMetadataType.Currency,
            name: 'annualRecurringRevenue',
            label: 'ARR',
            description:
              'Annual Recurring Revenue: The actual or estimated annual revenue of the company',
            icon: 'IconMoneybag',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '00b695d6-e0c6-4029-9932-817b19ae0380',
            type: FieldMetadataType.Relation,
            name: 'opportunities',
            label: 'Opportunities',
            description: 'Opportunities linked to the company.',
            icon: 'IconTargetArrow',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'afe2078f-6c52-45ef-bb2e-f43b0ee28ecc',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '941ad274-2d26-4e90-94d9-5e446aa5b91e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'opportunity',
                namePlural: 'opportunities',
                isSystem: true,
              },
              toFieldMetadataId: '70b02b3a-8077-4ce1-ab8b-c5e854c31b13',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: 'aec12544-a9e8-464f-b7f7-b6f1ce3faebe',
            type: FieldMetadataType.Text,
            name: 'address',
            label: 'Address',
            description: 'The company address',
            icon: 'IconMap',
            isCustom: true,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'd991026f-54af-4411-a913-28b39403c24f',
            type: FieldMetadataType.Relation,
            name: 'people',
            label: 'People',
            description: 'People linked to the company.',
            icon: 'IconUsers',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'ccf90524-24b0-4b9a-bb01-b904c4f1328e',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '251787a4-9e47-4251-aaea-ea83f74cee80',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'person',
                namePlural: 'people',
                isSystem: true,
              },
              toFieldMetadataId: 'ee0ce363-c3b4-4638-ab88-660566e3016f',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '9a1a00ee-1595-4b00-8a33-fefb02e25c98',
            type: FieldMetadataType.Relation,
            name: 'activityTargets',
            label: 'Activities',
            description: 'Activities tied to the company',
            icon: 'IconCheckbox',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '49028648-0380-481d-b6ba-004193f83e97',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'b0327d82-d8a3-4e1d-9b4b-dfbff04d951a',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'activityTarget',
                namePlural: 'activityTargets',
                isSystem: true,
              },
              toFieldMetadataId: 'd9ea410b-2441-44ef-85da-03650aad5818',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          cursor: '',
          node: {
            __typename: 'field',
            id: '726f398f-7007-49f9-8b03-f71813c9fcf2',
            type: FieldMetadataType.Select,
            name: 'industry',
            label: 'Industry',
            description: 'The industry the company is involved in',
            icon: 'IconUsers',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-20T12:25:25.057Z',
            updatedAt: '2023-12-20T12:25:25.057Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [
              {
                id: '9ecaa155-cb8a-4840-8c28-a308d4fdc35d',
                color: 'pink',
                label: '💊 Health',
                position: 0,
                value: 'HEALTH',
              },
              {
                id: '75287708-8bb6-4c69-8951-a622b2935ac7',
                color: 'purple',
                label: '🏭 Industry',
                position: 1,
                value: 'INDUSTRY',
              },
              {
                id: 'f8694cf8-c673-49ab-b758-b369de8584ec',
                color: 'sky',
                label: '🤖 SaaS',
                position: 2,
                value: 'SAAS',
              },
              {
                id: '3fd92580-1549-4cc0-b0b3-3a03bcffa7d0',
                color: 'turquoise',
                label: '🌿 Green tech',
                position: 3,
                value: 'GREEN_TECH',
              },
              {
                id: '9b4a1271-c515-4440-b450-78eb7ca05975',
                color: 'yellow',
                label: '🚲 Mobility',
                position: 4,
                value: 'MOBILITY',
              },
              {
                id: 'c80f4670-e8a5-4488-88b3-97a1b46f5940',
                color: 'green',
                label: '🌏 NGO',
                position: 5,
                value: 'NGO',
              },
            ],
            defaultValue: 'HEALTH',
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjE3',
      },
      totalCount: 18,
    },
  },
} as ObjectEdge;

export const mockedPipelineStepsMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'afa12866-0de4-4f97-97fa-cd8a7c953037',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'pipelineStep',
    namePlural: 'pipelineSteps',
    labelSingular: 'Pipeline Step',
    labelPlural: 'Pipeline Steps',
    description: 'A pipeline step',
    icon: 'IconLayoutKanban',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '202efca6-9820-4e4a-9a27-f362dc5b46ed',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'c9b9d516-10d2-4eca-94ce-a872547f429f',
            type: FieldMetadataType.Text,
            name: 'color',
            label: 'Color',
            description: 'Pipeline Step color',
            icon: 'IconColorSwatch',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '7928241f-6fe9-4ab2-84c6-7e84c5bea05f',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ad3e919f-4258-4e21-8caf-bf122f17ca5c',
            type: FieldMetadataType.Relation,
            name: 'opportunities',
            label: 'Opportunities',
            description: 'Opportunities linked to the step.',
            icon: 'IconTargetArrow',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '7b0474c4-d82d-4c1d-96de-c6728b53339a',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '941ad274-2d26-4e90-94d9-5e446aa5b91e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'opportunity',
                namePlural: 'opportunities',
                isSystem: true,
              },
              toFieldMetadataId: '4756a816-8a18-433a-9414-c756db4727e8',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'c26ba58c-5629-4a6b-ae7f-5c06d3045a9b',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '4f383c05-3f9b-433a-8617-20ed3861e490',
            type: FieldMetadataType.Text,
            name: 'name',
            label: 'Name',
            description: 'Pipeline Step name',
            icon: 'IconCurrencyDollar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '8c712fbc-306f-4534-86c1-caae09b840a2',
            type: FieldMetadataType.Number,
            name: 'position',
            label: 'Position',
            description: 'Pipeline Step position',
            icon: 'IconHierarchy2',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 0,
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjY=',
      },
      totalCount: 7,
    },
  },
};

export const mockedActivityTargetsMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'b0327d82-d8a3-4e1d-9b4b-dfbff04d951a',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'activityTarget',
    namePlural: 'activityTargets',
    labelSingular: 'Activity Target',
    labelPlural: 'Activity Targets',
    description: 'An activity target',
    icon: 'IconCheckbox',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '55d3c728-fd31-4012-a7f1-f90571f9f7eb',
            type: FieldMetadataType.Uuid,
            name: 'activityId',
            label: 'Activity id (foreign key)',
            description: 'ActivityTarget activity id foreign key',
            icon: 'IconNotes',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '1d8071b7-06bd-4c34-94cc-05cd7d672945',
            type: FieldMetadataType.Uuid,
            name: 'personId',
            label: 'Person id (foreign key)',
            description: 'ActivityTarget person id foreign key',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'd9ea410b-2441-44ef-85da-03650aad5818',
            type: FieldMetadataType.Relation,
            name: 'company',
            label: 'Company',
            description: 'ActivityTarget company',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '49028648-0380-481d-b6ba-004193f83e97',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '2a603764-1a2f-4043-bbfa-dea375391fad',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'company',
                namePlural: 'companies',
                isSystem: true,
              },
              fromFieldMetadataId: '9a1a00ee-1595-4b00-8a33-fefb02e25c98',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '9de09afd-3a18-46dc-8be8-01c6972738c6',
            type: FieldMetadataType.Uuid,
            name: 'companyId',
            label: 'Company id (foreign key)',
            description: 'ActivityTarget company id foreign key',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'd9c9707b-17c3-4bfd-a786-f7f4289b977a',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2aded974-bfa4-4ba4-b4c9-91346ac2762b',
            type: FieldMetadataType.Relation,
            name: 'activity',
            label: 'Activity',
            description: 'ActivityTarget activity',
            icon: 'IconNotes',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'a47ced1e-6070-4b11-b5ab-1a3d2268d8a2',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'c8682a80-0b92-4d0e-9405-53ab7e8b225f',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'activity',
                namePlural: 'activities',
                isSystem: true,
              },
              fromFieldMetadataId: '63bf5a31-2b3c-47ca-bb75-f1efb053ec58',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'e6508bb6-0dfd-417a-b0f4-d84bc1f44883',
            type: FieldMetadataType.Relation,
            name: 'person',
            label: 'Person',
            description: 'ActivityTarget person',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '6100b5ae-72b3-4a02-94e9-d923c7a78d92',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '251787a4-9e47-4251-aaea-ea83f74cee80',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'person',
                namePlural: 'people',
                isSystem: true,
              },
              fromFieldMetadataId: '17692850-3850-4e3a-824a-03aa199847f6',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dc80d52d-31ea-4a72-bb9a-482ed86b6bc5',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '5e8876b8-4492-4a35-ae57-da3bc725e9f1',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
      },
      totalCount: 9,
    },
  },
};

export const mockedFavoritesMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: '59683254-31b8-4d3c-82ab-d936a56beb48',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'favorite',
    namePlural: 'favorites',
    labelSingular: 'Favorite',
    labelPlural: 'Favorites',
    description: 'A favorite',
    icon: 'IconHeart',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'a63cbf75-68a5-4e80-8dff-b26982070afe',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '7ff19811-b2fe-428e-89e1-7c2ab79d6ba4',
            type: FieldMetadataType.Number,
            name: 'position',
            label: 'Position',
            description: 'Favorite position',
            icon: 'IconList',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 0,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '818f4137-f4eb-4899-aed9-c59f7924a0ad',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'e9bab8b3-7a1b-4184-b66b-4a9d744b285f',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'a0e7e269-d28c-49c6-8fe3-e89acef1cbf3',
            type: FieldMetadataType.Relation,
            name: 'person',
            label: 'Person',
            description: 'Favorite person',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'b3d452bc-e683-4dc6-86ec-37766ea8b30c',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '251787a4-9e47-4251-aaea-ea83f74cee80',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'person',
                namePlural: 'people',
                isSystem: true,
              },
              fromFieldMetadataId: 'dbdd6cad-20a9-4caa-8965-d1e02d7ab380',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '39655326-9472-4552-a96c-934192e7b6b1',
            type: FieldMetadataType.Uuid,
            name: 'workspaceMemberId',
            label: 'Workspace Member id (foreign key)',
            description: 'Favorite workspace member id foreign key',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dcd5343e-98db-4cf7-aded-2c9c0da0a220',
            type: FieldMetadataType.Relation,
            name: 'company',
            label: 'Company',
            description: 'Favorite company',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '4df88275-6b23-4bd4-b7a7-0893d366d8e0',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '2a603764-1a2f-4043-bbfa-dea375391fad',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'company',
                namePlural: 'companies',
                isSystem: true,
              },
              fromFieldMetadataId: '775870d6-16c1-4c94-9b58-c88bdca489e8',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '46f6b12a-b720-4f64-9637-85e9b3b660ac',
            type: FieldMetadataType.Uuid,
            name: 'companyId',
            label: 'Company id (foreign key)',
            description: 'Favorite company id foreign key',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '9b9b9be4-34ee-4ed2-9ecf-772a619584ef',
            type: FieldMetadataType.Uuid,
            name: 'personId',
            label: 'Person id (foreign key)',
            description: 'Favorite person id foreign key',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'efc8bec2-de4a-4d67-9187-31394bb35119',
            type: FieldMetadataType.Relation,
            name: 'workspaceMember',
            label: 'Workspace Member',
            description: 'Favorite workspace member',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '4e7e4ec6-2543-47c0-87cc-0c394e98271e',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'workspaceMember',
                namePlural: 'workspaceMembers',
                isSystem: true,
              },
              fromFieldMetadataId: 'da7c9f08-5de0-4807-96d4-018ff7072d15',
            },
            defaultValue: null,
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjk=',
      },
      totalCount: 10,
    },
  },
};

export const mockedMessageParticipantsMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'dd41deae-84d5-4a66-8947-260b0c72677c',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'messageParticipant',
    namePlural: 'messageParticipants',
    labelSingular: 'Message Participant',
    labelPlural: 'Message Participants',
    description: 'Message Participants',
    icon: 'IconUserCircle',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '37369429-26fb-4521-963c-1aa17d1a65f2',
            type: FieldMetadataType.Uuid,
            name: 'personId',
            label: 'Person id (foreign key)',
            description: 'Person id foreign key',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '22883ca2-34e2-40ab-9e7b-fde5836cb5d2',
            type: FieldMetadataType.Relation,
            name: 'workspaceMember',
            label: 'Workspace Member',
            description: 'Workspace member',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'ffcedbc0-adb7-4f74-83bb-ff7e3c270183',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'workspaceMember',
                namePlural: 'workspaceMembers',
                isSystem: true,
              },
              fromFieldMetadataId: 'f13cce91-5f98-4eb0-8c6e-c1cf41ad168f',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '5791f58e-b4f9-4415-a604-88155073a24a',
            type: FieldMetadataType.Text,
            name: 'displayName',
            label: 'Display Name',
            description: 'Display Name',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '0f5d742d-103c-46fb-845e-26320ec57391',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '5ac3d613-474d-4cc3-b01b-f0ff4772004f',
            type: FieldMetadataType.Uuid,
            name: 'messageId',
            label: 'Message id (foreign key)',
            description: 'Message id foreign key',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '88ab56e5-828e-4fb2-a37c-314b8803f361',
            type: FieldMetadataType.Relation,
            name: 'person',
            label: 'Person',
            description: 'Person',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'fcc9ed16-2fa4-4809-8a1d-01ce0c481130',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '251787a4-9e47-4251-aaea-ea83f74cee80',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'person',
                namePlural: 'people',
                isSystem: true,
              },
              fromFieldMetadataId: 'c606dfb1-a24c-4f9b-b626-0df1c845e6e8',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '663612f4-7eb8-4b21-886e-730f3b047ee7',
            type: FieldMetadataType.Relation,
            name: 'message',
            label: 'Message',
            description: 'Message',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '020d2fe4-33c3-4fe1-a2cc-35a23d73d046',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '6f4cd2fa-2e6f-41be-a2cc-98e497a1d2f5',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'message',
                namePlural: 'message',
                isSystem: true,
              },
              fromFieldMetadataId: '9c58971b-4e40-4f49-b125-ff014f909744',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '501a7d34-f158-4b13-b26d-f04d966a2012',
            type: FieldMetadataType.Text,
            name: 'role',
            label: 'Role',
            description: 'Role',
            icon: 'IconAt',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 'from',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'f6c7f0fd-77a7-4d64-8b6a-e495a3cad2db',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'fbdb9c94-d18f-43f8-a214-d6e87782c177',
            type: FieldMetadataType.Uuid,
            name: 'workspaceMemberId',
            label: 'Workspace Member id (foreign key)',
            description: 'Workspace member id foreign key',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '1f3c5781-fdd0-4c75-9b90-7486583830f8',
            type: FieldMetadataType.Text,
            name: 'handle',
            label: 'Handle',
            description: 'Handle',
            icon: 'IconAt',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '9df1cbaf-1b9f-462a-a341-cefbb8a05fcd',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjEx',
      },
      totalCount: 12,
    },
  },
};

export const mockedActivitiesMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'c8682a80-0b92-4d0e-9405-53ab7e8b225f',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'activity',
    namePlural: 'activities',
    labelSingular: 'Activity',
    labelPlural: 'Activities',
    description: 'An activity',
    icon: 'IconCheckbox',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '64744680-c85f-45ca-ba74-55986558d58f',
            type: FieldMetadataType.DateTime,
            name: 'reminderAt',
            label: 'Reminder Date',
            description: 'Activity reminder date',
            icon: 'IconCalendarEvent',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ee8f3269-ad40-4ee8-9989-4b6978ddb487',
            type: FieldMetadataType.Text,
            name: 'title',
            label: 'Title',
            description: 'Activity title',
            icon: 'IconNotes',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ce7bdaf6-445c-472a-b069-34fe73ac849c',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'f47a1319-bdec-4d9e-8179-17cb9df81dd6',
            type: FieldMetadataType.Relation,
            name: 'comments',
            label: 'Comments',
            description: 'Activity comments',
            icon: 'IconComment',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'f4a1e4f4-8a26-4c7d-8973-6fdbc816fc6d',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '5f5658c9-a4c8-4463-b8ba-66fb3a1efacc',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'comment',
                namePlural: 'comments',
                isSystem: true,
              },
              toFieldMetadataId: '1309d13f-9945-4f8b-99e8-371fbb51b99d',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'a6bd62f1-3e4c-4be0-ab64-0e7248d7d9eb',
            type: FieldMetadataType.Relation,
            name: 'assignee',
            label: 'Assignee',
            description: 'Acitivity assignee',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '0de81eae-1ffb-4cb5-b081-ab18d5641d50',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'workspaceMember',
                namePlural: 'workspaceMembers',
                isSystem: true,
              },
              fromFieldMetadataId: '9a722ce5-1721-4406-a695-4a207f6f50c7',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '5ba12c78-4e7d-422d-821a-a647b959689b',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '763c2a4a-e7ba-445f-9ecd-6d1d20c8b408',
            type: FieldMetadataType.Relation,
            name: 'attachments',
            label: 'Attachments',
            description: 'Activity attachments',
            icon: 'IconFileImport',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'a45591f3-8a30-49d0-92b3-59c4110dfee7',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'e25b094b-c6a9-4f56-856b-3c3072c33adf',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'attachment',
                namePlural: 'attachments',
                isSystem: true,
              },
              toFieldMetadataId: 'd8ce8a44-872e-482e-ac9d-87f6637f5776',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '87b74ce7-8029-4b36-8b2f-6e565b65429a',
            type: FieldMetadataType.Text,
            name: 'type',
            label: 'Type',
            description: 'Activity type',
            icon: 'IconCheckbox',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 'Note',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '3cea79b3-4419-4872-b1e3-6ab7623fb918',
            type: FieldMetadataType.Text,
            name: 'body',
            label: 'Body',
            description: 'Activity body',
            icon: 'IconList',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '4c652e71-ec1d-418f-b102-26e56d1d0c03',
            type: FieldMetadataType.Uuid,
            name: 'assigneeId',
            label: 'Assignee id (foreign key)',
            description: 'Acitivity assignee id foreign key',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '3cdd5fbe-8e16-493d-9638-425af94f313e',
            type: FieldMetadataType.DateTime,
            name: 'completedAt',
            label: 'Completion Date',
            description: 'Activity completion date',
            icon: 'IconCheck',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'c40dd76b-da9d-48aa-af28-4d42f2ac1dea',
            type: FieldMetadataType.DateTime,
            name: 'dueAt',
            label: 'Due Date',
            description: 'Activity due date',
            icon: 'IconCalendarEvent',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '63bf5a31-2b3c-47ca-bb75-f1efb053ec58',
            type: FieldMetadataType.Relation,
            name: 'activityTargets',
            label: 'Targets',
            description: 'Activity targets',
            icon: 'IconCheckbox',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'a47ced1e-6070-4b11-b5ab-1a3d2268d8a2',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'b0327d82-d8a3-4e1d-9b4b-dfbff04d951a',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'activityTarget',
                namePlural: 'activityTargets',
                isSystem: true,
              },
              toFieldMetadataId: '2aded974-bfa4-4ba4-b4c9-91346ac2762b',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '46782ee3-181c-484b-9aa9-27e57b61cc81',
            type: FieldMetadataType.Relation,
            name: 'author',
            label: 'Author',
            description: 'Activity author',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '519a92c5-8b0a-4a85-b0bc-be8d1607da5a',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'workspaceMember',
                namePlural: 'workspaceMembers',
                isSystem: true,
              },
              fromFieldMetadataId: '4d91396b-99ff-486f-aa23-aa90bfca4aff',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'fa996207-da7a-43e0-ba7d-406e5146e03f',
            type: FieldMetadataType.Uuid,
            name: 'authorId',
            label: 'Author id (foreign key)',
            description: 'Activity author id foreign key',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dd65a576-a91b-4865-aae8-287e64d6a192',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjE1',
      },
      totalCount: 16,
    },
  },
};

export const mockedAttachmentsMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'e25b094b-c6a9-4f56-856b-3c3072c33adf',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'attachment',
    namePlural: 'attachments',
    labelSingular: 'Attachment',
    labelPlural: 'Attachments',
    description: 'An attachment',
    icon: 'IconFileImport',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'c0d56fea-22a3-42e6-b715-f0bc07dafe4c',
            type: FieldMetadataType.Uuid,
            name: 'authorId',
            label: 'Author id (foreign key)',
            description: 'Attachment author id foreign key',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '78bcb420-9281-4eeb-8eb6-b2f3047acc09',
            type: FieldMetadataType.Relation,
            name: 'author',
            label: 'Author',
            description: 'Attachment author',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '2d64b1ba-c7c2-4d96-bba3-ae2f7c2be7bc',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'workspaceMember',
                namePlural: 'workspaceMembers',
                isSystem: true,
              },
              fromFieldMetadataId: 'dbd81b2e-f282-4846-970a-d9fbf1ab0f67',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '1ce97b92-8efa-4260-bd96-efe207182424',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'a121231f-4264-49b4-afff-04db4021d484',
            type: FieldMetadataType.Text,
            name: 'name',
            label: 'Name',
            description: 'Attachment name',
            icon: 'IconFileUpload',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,

            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'f6edc5fd-601d-4576-8828-d749ed6e0dde',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '26fda4b8-c242-429c-9139-1ced619244d1',
            type: FieldMetadataType.Uuid,
            name: 'personId',
            label: 'Person id (foreign key)',
            description: 'Attachment person id foreign key',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '6e103463-aee5-4be3-af12-52cacd566c3a',
            type: FieldMetadataType.Relation,
            name: 'company',
            label: 'Company',
            description: 'Attachment company',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '857f84a7-9934-4b3c-a7c6-3d1db427df73',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '2a603764-1a2f-4043-bbfa-dea375391fad',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'company',
                namePlural: 'companies',
                isSystem: true,
              },
              fromFieldMetadataId: '67500175-d2d8-4b84-a6c6-4b0a0a5cca23',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'e4a17720-25f2-42ca-8f26-2557e1d2d31c',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ae6f3e07-7858-4999-93a0-557fe2ee5f0e',
            type: FieldMetadataType.Uuid,
            name: 'companyId',
            label: 'Company id (foreign key)',
            description: 'Attachment company id foreign key',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'f550d5cb-7e06-47b0-9e50-c5ad68beb0f6',
            type: FieldMetadataType.Uuid,
            name: 'activityId',
            label: 'Activity id (foreign key)',
            description: 'Attachment activity id foreign key',
            icon: 'IconNotes',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ba8f371a-238f-4bb1-9099-275f60281d22',
            type: FieldMetadataType.Text,
            name: 'fullPath',
            label: 'Full path',
            description: 'Attachment full path',
            icon: 'IconLink',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'cb2bac7e-0db7-4f10-95f2-d8d122cad29c',
            type: FieldMetadataType.Relation,
            name: 'person',
            label: 'Person',
            description: 'Attachment person',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'a65ae523-9786-4064-8f42-346ce8055345',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '251787a4-9e47-4251-aaea-ea83f74cee80',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'person',
                namePlural: 'people',
                isSystem: true,
              },
              fromFieldMetadataId: '0eb1a396-06a5-4b6a-8003-82e6839a2afb',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ab9ec58a-d20c-48e0-b5ca-7050810fdb2d',
            type: FieldMetadataType.Text,
            name: 'type',
            label: 'Type',
            description: 'Attachment type',
            icon: 'IconList',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'd8ce8a44-872e-482e-ac9d-87f6637f5776',
            type: FieldMetadataType.Relation,
            name: 'activity',
            label: 'Activity',
            description: 'Attachment activity',
            icon: 'IconNotes',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'a45591f3-8a30-49d0-92b3-59c4110dfee7',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'c8682a80-0b92-4d0e-9405-53ab7e8b225f',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'activity',
                namePlural: 'activities',
                isSystem: true,
              },
              fromFieldMetadataId: '763c2a4a-e7ba-445f-9ecd-6d1d20c8b408',
            },
            defaultValue: null,
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjEz',
      },
      totalCount: 14,
    },
  },
};

export const mockedWorkspaceMembersMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'workspaceMember',
    namePlural: 'workspaceMembers',
    labelSingular: 'Workspace Member',
    labelPlural: 'Workspace Members',
    description: 'A workspace member',
    icon: 'IconUserCircle',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2f6a7242-efd0-4cb8-8d54-d298df37690d',
            type: FieldMetadataType.Text,
            name: 'locale',
            label: 'Language',
            description: 'Preferred language',
            icon: 'IconLanguage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 'en',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'f13cce91-5f98-4eb0-8c6e-c1cf41ad168f',
            type: FieldMetadataType.Relation,
            name: 'messageParticipants',
            label: 'Message Participants',
            description: 'Message Participants',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'ffcedbc0-adb7-4f74-83bb-ff7e3c270183',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'dd41deae-84d5-4a66-8947-260b0c72677c',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'messageParticipant',
                namePlural: 'messageParticipants',
                isSystem: true,
              },
              toFieldMetadataId: '22883ca2-34e2-40ab-9e7b-fde5836cb5d2',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dcfbc338-ef39-42f6-9712-128d5efe2c04',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '4d91396b-99ff-486f-aa23-aa90bfca4aff',
            type: FieldMetadataType.Relation,
            name: 'authoredActivities',
            label: 'Authored activities',
            description: 'Activities created by the workspace member',
            icon: 'IconCheckbox',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '519a92c5-8b0a-4a85-b0bc-be8d1607da5a',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'c8682a80-0b92-4d0e-9405-53ab7e8b225f',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'activity',
                namePlural: 'activities',
                isSystem: true,
              },
              toFieldMetadataId: '46782ee3-181c-484b-9aa9-27e57b61cc81',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ccb7f96a-fd64-49a4-b5c3-e9cceb436dbd',
            type: FieldMetadataType.FullName,
            name: 'name',
            label: 'Name',
            description: 'Workspace member name',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              lastName: '',
              firstName: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'da7c9f08-5de0-4807-96d4-018ff7072d15',
            type: FieldMetadataType.Relation,
            name: 'favorites',
            label: 'Favorites',
            description: 'Favorites linked to the workspace member',
            icon: 'IconHeart',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '4e7e4ec6-2543-47c0-87cc-0c394e98271e',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '59683254-31b8-4d3c-82ab-d936a56beb48',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'favorite',
                namePlural: 'favorites',
                isSystem: true,
              },
              toFieldMetadataId: 'efc8bec2-de4a-4d67-9187-31394bb35119',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ed36d8bc-dcbd-4d4a-8b18-02e04b13fbf7',
            type: FieldMetadataType.Text,
            name: 'colorScheme',
            label: 'Color Scheme',
            description: 'Preferred color scheme',
            icon: 'IconColorSwatch',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 'Light',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '099a5f31-0b9a-4d1a-81dc-811f0f1f0b33',
            type: FieldMetadataType.Relation,
            name: 'authoredComments',
            label: 'Authored comments',
            description: 'Authored comments',
            icon: 'IconComment',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '8e2a5be9-ff83-4106-bfe0-0877423559d0',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '5f5658c9-a4c8-4463-b8ba-66fb3a1efacc',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'comment',
                namePlural: 'comments',
                isSystem: true,
              },
              toFieldMetadataId: 'e2c01385-7707-49e0-835c-facbf8a6e4a9',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '016b24b5-cd59-48fa-81ce-ba13670ce7d2',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2c8bb89a-c60c-49bf-81ce-7074ac41caf5',
            type: FieldMetadataType.Relation,
            name: 'connectedAccounts',
            label: 'Connected accounts',
            description: 'Connected accounts',
            icon: 'IconAt',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '7fd3bdb5-e043-495d-82b1-d75c22b70bac',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '539d1682-9999-43dc-94c1-7ad52640ac7d',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'connectedAccount',
                namePlural: 'connectedAccounts',
                isSystem: true,
              },
              toFieldMetadataId: '912a9a56-4e00-4cd2-8908-b0d113c9f615',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'f1c10310-ab4f-484b-bd03-f5f3890e964e',
            type: FieldMetadataType.Relation,
            name: 'accountOwnerForCompanies',
            label: 'Account Owner For Companies',
            description: 'Account owner for companies',
            icon: 'IconBriefcase',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: 'b6d74797-0a27-449e-8f7b-26f94de4f707',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '2a603764-1a2f-4043-bbfa-dea375391fad',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'company',
                namePlural: 'companies',
                isSystem: true,
              },
              toFieldMetadataId: 'de0dace0-f7f8-4317-95e8-f80f6f72c7e4',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '318a3e81-5b82-4c2d-8487-f3b8d5be9096',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '14b83650-bfd2-4810-be57-4d532697051a',
            type: FieldMetadataType.Uuid,
            name: 'userId',
            label: 'User Id',
            description: 'Associated User Id',
            icon: 'IconCircleUsers',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'e208d831-5ab7-4382-971a-2314ab2ef139',
            type: FieldMetadataType.Text,
            name: 'avatarUrl',
            label: 'Avatar Url',
            description: 'Workspace member avatar',
            icon: 'IconFileUpload',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dbd81b2e-f282-4846-970a-d9fbf1ab0f67',
            type: FieldMetadataType.Relation,
            name: 'authoredAttachments',
            label: 'Authored attachments',
            description: 'Attachments created by the workspace member',
            icon: 'IconFileImport',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '2d64b1ba-c7c2-4d96-bba3-ae2f7c2be7bc',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'e25b094b-c6a9-4f56-856b-3c3072c33adf',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'attachment',
                namePlural: 'attachments',
                isSystem: true,
              },
              toFieldMetadataId: '78bcb420-9281-4eeb-8eb6-b2f3047acc09',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '9a722ce5-1721-4406-a695-4a207f6f50c7',
            type: FieldMetadataType.Relation,
            name: 'assignedActivities',
            label: 'Assigned activities',
            description: 'Activities assigned to the workspace member',
            icon: 'IconCheckbox',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '0de81eae-1ffb-4cb5-b081-ab18d5641d50',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'c8682a80-0b92-4d0e-9405-53ab7e8b225f',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'activity',
                namePlural: 'activities',
                isSystem: true,
              },
              toFieldMetadataId: 'a6bd62f1-3e4c-4be0-ab64-0e7248d7d9eb',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjE1',
      },
      totalCount: 16,
    },
  },
};

export const mockedWebhooksMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'cf24395f-3f89-4edd-b1d6-9c696cc8cb04',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'webhook',
    namePlural: 'webhooks',
    labelSingular: 'Webhook',
    labelPlural: 'Webhooks',
    description: 'A webhook',
    icon: 'IconRobot',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ed41012d-df17-4752-8e79-04adaa513164',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'bff23b96-0a20-42ba-bdce-fbc72c97f31f',
            type: FieldMetadataType.Text,
            name: 'targetUrl',
            label: 'Target Url',
            description: 'Webhook target url',
            icon: 'IconLink',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'db25a5ad-8149-4d27-9e02-01f374c8d1b4',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'efcdbbd3-fd10-4b1e-88df-92d3c6dc50da',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'bb357656-272c-413c-bdd9-9aff9c7a17bf',
            type: FieldMetadataType.Text,
            name: 'operation',
            label: 'Operation',
            description: 'Webhook operation',
            icon: 'IconCheckbox',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjQ=',
      },
      totalCount: 5,
    },
  },
};

export const mockedMessagesMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: '6f4cd2fa-2e6f-41be-a2cc-98e497a1d2f5',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'message',
    namePlural: 'message',
    labelSingular: 'Message',
    labelPlural: 'Messages',
    description: 'Message',
    icon: 'IconMessage',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2ea89a33-045e-4231-9c25-0eef7ff419c0',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '4a57cd16-1b56-4d0a-a09e-7ce2840c0412',
            type: FieldMetadataType.Text,
            name: 'headerMessageId',
            label: 'Header message Id',
            description: 'Message id from the message header',
            icon: 'IconHash',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '9699f1af-50a2-43f7-9b72-32a64ca5496a',
            type: FieldMetadataType.Text,
            name: 'body',
            label: 'Body',
            description: 'Body',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ed57984a-2d5f-4e1a-a61f-18cbbc75cbd0',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '0c98eb7f-6db3-43d3-84d8-3c46a384ac5e',
            type: FieldMetadataType.Relation,
            name: 'messageThread',
            label: 'Message Thread Id',
            description: 'Message Thread Id',
            icon: 'IconHash',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '5ea18f96-cfb4-45af-b716-d09bfb4bb282',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'a8162839-fbd1-4a37-998b-f4a2714020d1',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'messageThread',
                namePlural: 'messageThreads',
                isSystem: true,
              },
              fromFieldMetadataId: '0d3c8828-2edb-4658-bd95-d01e4d102696',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '86e6e65a-2d43-47a3-8d39-e88ed6b5aad8',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '9c58971b-4e40-4f49-b125-ff014f909744',
            type: FieldMetadataType.Relation,
            name: 'messageParticipants',
            label: 'Message Participants',
            description: 'Message Participants',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '020d2fe4-33c3-4fe1-a2cc-35a23d73d046',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'dd41deae-84d5-4a66-8947-260b0c72677c',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'messageParticipant',
                namePlural: 'messageParticipants',
                isSystem: true,
              },
              toFieldMetadataId: '663612f4-7eb8-4b21-886e-730f3b047ee7',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dbed6e60-ca97-488d-bb02-2f65f3ff73dd',
            type: FieldMetadataType.Text,
            name: 'externalId',
            label: 'External Id',
            description: 'Message id from the messaging provider',
            icon: 'IconHash',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'c15dc3af-1cbd-488a-a207-3715ab28c9e3',
            type: FieldMetadataType.Text,
            name: 'direction',
            label: 'Direction',
            description: 'Direction',
            icon: 'IconDirection',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 'incoming',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '3ef72ad1-5292-4c23-83bf-7db622b59d19',
            type: FieldMetadataType.Uuid,
            name: 'messageThreadId',
            label: 'Message Thread Id id (foreign key)',
            description: 'Message Thread Id id foreign key',
            icon: 'IconHash',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'b167f44d-07b0-4750-8878-1fdbe9b4bec9',
            type: FieldMetadataType.Text,
            name: 'subject',
            label: 'Subject',
            description: 'Subject',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjEw',
      },
      totalCount: 11,
    },
  },
};

export const mockedOpportunitiesMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: '941ad274-2d26-4e90-94d9-5e446aa5b91e',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'opportunity',
    namePlural: 'opportunities',
    labelSingular: 'Opportunity',
    labelPlural: 'Opportunities',
    description: 'An opportunity',
    icon: 'IconTargetArrow',
    isCustom: false,
    isActive: true,
    isSystem: false,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '6510e80d-546a-4a27-9346-06590c81f068',
            type: FieldMetadataType.Relation,
            name: 'pointOfContact',
            label: 'Point of Contact',
            description: 'Opportunity point of contact',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '5b6296d8-8557-4a3c-a963-109a5888b3b3',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '251787a4-9e47-4251-aaea-ea83f74cee80',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'person',
                namePlural: 'people',
                isSystem: true,
              },
              fromFieldMetadataId: '2766f41a-1f8f-413f-88a3-1e3fec0e1821',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '48067b53-f99f-4700-bf3a-6569d1646b21',
            type: FieldMetadataType.Relation,
            name: 'person',
            label: 'Person',
            description: 'Opportunity person',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'e63587c4-c565-4f77-9b8c-a639ae366dea',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '251787a4-9e47-4251-aaea-ea83f74cee80',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'person',
                namePlural: 'people',
                isSystem: true,
              },
              fromFieldMetadataId: '586d0acc-f68b-4f08-aea9-410d88f351aa',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2bb053ec-1abf-4bf8-af01-acfbc0f78953',
            type: FieldMetadataType.Uuid,
            name: 'companyId',
            label: 'Company id (foreign key)',
            description: 'Opportunity company id foreign key',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2aabeef9-7a6b-41a0-a80e-f3c0047c6920',
            type: FieldMetadataType.Currency,
            name: 'amount',
            label: 'Amount',
            description: 'Opportunity amount',
            icon: 'IconCurrencyDollar',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'ba1df486-c07e-460a-92bc-5aa7e72dbbf1',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2dc6e877-d4d5-4ab2-9368-4e0a9bab6157',
            type: FieldMetadataType.Uuid,
            name: 'pointOfContactId',
            label: 'Point of Contact id (foreign key)',
            description: 'Opportunity point of contact id foreign key',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '480e430d-ec7b-4297-93fd-0c6463b9fad3',
            type: FieldMetadataType.Uuid,
            name: 'pipelineStepId',
            label: 'Pipeline Step id (foreign key)',
            description: 'Opportunity pipeline step id foreign key',
            icon: 'IconKanban',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '4756a816-8a18-433a-9414-c756db4727e8',
            type: FieldMetadataType.Relation,
            name: 'pipelineStep',
            label: 'Pipeline Step',
            description: 'Opportunity pipeline step',
            icon: 'IconKanban',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '7b0474c4-d82d-4c1d-96de-c6728b53339a',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'afa12866-0de4-4f97-97fa-cd8a7c953037',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'pipelineStep',
                namePlural: 'pipelineSteps',
                isSystem: true,
              },
              fromFieldMetadataId: 'ad3e919f-4258-4e21-8caf-bf122f17ca5c',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'b8226269-3631-4ca2-a2f3-50bd1046d7d2',
            type: FieldMetadataType.Text,
            name: 'probability',
            label: 'Probability',
            description: 'Opportunity probability',
            icon: 'IconProgressCheck',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '0',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '085b69d5-6dd5-445d-871f-7f963f82d949',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '306da353-c580-451c-bf6f-8b80c230c545',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '70b02b3a-8077-4ce1-ab8b-c5e854c31b13',
            type: FieldMetadataType.Relation,
            name: 'company',
            label: 'Company',
            description: 'Opportunity company',
            icon: 'IconBuildingSkyscraper',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'afe2078f-6c52-45ef-bb2e-f43b0ee28ecc',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '2a603764-1a2f-4043-bbfa-dea375391fad',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'company',
                namePlural: 'companies',
                isSystem: true,
              },
              fromFieldMetadataId: '00b695d6-e0c6-4029-9932-817b19ae0380',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '22ce66e0-35fa-48a4-ae8a-4fefdde9500d',
            type: FieldMetadataType.Uuid,
            name: 'personId',
            label: 'Person id (foreign key)',
            description: 'Opportunity person id foreign key',
            icon: 'IconUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'd1db261a-73ca-4546-a0d0-c2110826c030',
            type: FieldMetadataType.DateTime,
            name: 'closeDate',
            label: 'Close date',
            description: 'Opportunity close date',
            icon: 'IconCalendarEvent',
            isCustom: false,
            isActive: true,
            isSystem: false,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjEz',
      },
      totalCount: 14,
    },
  },
};

export const mockedAPIKeysMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'd5c37777-3450-4e30-80a2-66853331ca99',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'apiKey',
    namePlural: 'apiKeys',
    labelSingular: 'Api Key',
    labelPlural: 'Api Keys',
    description: 'An api key',
    icon: 'IconRobot',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'bdda452a-c123-4fa3-8543-d04c2c43836f',
            type: FieldMetadataType.DateTime,
            name: 'revokedAt',
            label: 'Revocation date',
            description: 'ApiKey revocation date',
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dd217f48-d1bf-4451-9b8d-e06feb7365f9',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '3fd655ef-3dc6-4edf-84cf-3f398150412b',
            type: FieldMetadataType.DateTime,
            name: 'expiresAt',
            label: 'Expiration date',
            description: 'ApiKey expiration date',
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '5f404704-d084-420e-a2bf-ab3108da12ae',
            type: FieldMetadataType.Text,
            name: 'name',
            label: 'Name',
            description: 'ApiKey name',
            icon: 'IconLink',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '948db156-f5de-4ddf-ad95-34fabc7cb273',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2204f9d1-274d-4bd5-be9c-3598da520df0',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjU=',
      },
      totalCount: 6,
    },
  },
};

export const mockedCustomMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'd5c37777-3450-4e30-80a2-66853331ca90',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'myCustom',
    namePlural: 'myCustoms',
    labelSingular: 'My Custom',
    labelPlural: 'My Customs',
    description: 'A custom object example',
    icon: 'IconRobot',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'bdda452a-c123-4fa3-8543-d04c2c43836f',
            type: FieldMetadataType.DateTime,
            name: 'revokedAt',
            label: 'Revocation date',
            description: 'ApiKey revocation date',
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dd217f48-d1bf-4451-9b8d-e06feb7365f9',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '3fd655ef-3dc6-4edf-84cf-3f398150412b',
            type: FieldMetadataType.DateTime,
            name: 'expiresAt',
            label: 'Expiration date',
            description: 'ApiKey expiration date',
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '5f404704-d084-420e-a2bf-ab3108da12ae',
            type: FieldMetadataType.Text,
            name: 'name',
            label: 'Name',
            description: 'ApiKey name',
            icon: 'IconLink',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '948db156-f5de-4ddf-ad95-34fabc7cb273',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '2204f9d1-274d-4bd5-be9c-3598da520df0',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjU=',
      },
      totalCount: 6,
    },
  },
};

export const mockedComments = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: '5f5658c9-a4c8-4463-b8ba-66fb3a1efacc',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'comment',
    namePlural: 'comments',
    labelSingular: 'Comment',
    labelPlural: 'Comments',
    description: 'A comment',
    icon: 'IconMessageCircle',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '041ee9d8-f3b7-418d-b9b6-b295817515a6',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '1309d13f-9945-4f8b-99e8-371fbb51b99d',
            type: FieldMetadataType.Relation,
            name: 'activity',
            label: 'Activity',
            description: 'Comment activity',
            icon: 'IconNotes',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: 'f4a1e4f4-8a26-4c7d-8973-6fdbc816fc6d',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'c8682a80-0b92-4d0e-9405-53ab7e8b225f',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'activity',
                namePlural: 'activities',
                isSystem: true,
              },
              fromFieldMetadataId: 'f47a1319-bdec-4d9e-8179-17cb9df81dd6',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '56a98ada-9a34-48d2-abb4-67c8eb1af7ab',
            type: FieldMetadataType.Text,
            name: 'body',
            label: 'Body',
            description: 'Comment body',
            icon: 'IconLink',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '18f0a3c3-60f2-44ed-8338-9f1a36fcec63',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '0cba4da0-9dc9-43e1-964e-813c0c96f396',
            type: FieldMetadataType.Uuid,
            name: 'authorId',
            label: 'Author id (foreign key)',
            description: 'Comment author id foreign key',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '539d818a-1d68-4e5d-94c3-439a17a8a25e',
            type: FieldMetadataType.Uuid,
            name: 'activityId',
            label: 'Activity id (foreign key)',
            description: 'Comment activity id foreign key',
            icon: 'IconNotes',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '31828911-06a3-48d3-9f96-95d403c282f0',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'e2c01385-7707-49e0-835c-facbf8a6e4a9',
            type: FieldMetadataType.Relation,
            name: 'author',
            label: 'Author',
            description: 'Comment author',
            icon: 'IconCircleUser',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '8e2a5be9-ff83-4106-bfe0-0877423559d0',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'workspaceMember',
                namePlural: 'workspaceMembers',
                isSystem: true,
              },
              fromFieldMetadataId: '099a5f31-0b9a-4d1a-81dc-811f0f1f0b33',
            },
            defaultValue: null,
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjc=',
      },
      totalCount: 8,
    },
  },
};

export const mockedMessageThreads = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'a8162839-fbd1-4a37-998b-f4a2714020d1',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'messageThread',
    namePlural: 'messageThreads',

    labelSingular: 'Message Thread',
    labelPlural: 'Message Threads',
    description: 'Message Thread',
    icon: 'IconMessage',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '1a56aa47-2549-4548-8ed3-cdcb06766430',
            type: FieldMetadataType.Text,
            name: 'externalId',
            label: 'External Id',
            description: 'Thread id from the messaging provider',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '8aaf7a27-88d4-4ad3-98ce-cb2c14b1f17f',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'bd65743c-8d13-4e99-82cd-b1d3f365d0c4',
            type: FieldMetadataType.Relation,
            name: 'messageChannel',
            label: 'Message Channel Id',
            description: 'Message Channel Id',
            icon: 'IconHash',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '179ef8b5-41f8-4d0f-98b6-30d487431354',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'a7088839-1354-45c5-93db-d1dc0a17a4b0',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'messageChannel',
                namePlural: 'messageChannels',
                isSystem: true,
              },
              fromFieldMetadataId: 'db09596c-c968-41de-95ba-ae8d3c36fc00',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '0d3c8828-2edb-4658-bd95-d01e4d102696',
            type: FieldMetadataType.Relation,
            name: 'messages',
            label: 'Messages',
            description: 'Messages from the thread.',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '5ea18f96-cfb4-45af-b716-d09bfb4bb282',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: '6f4cd2fa-2e6f-41be-a2cc-98e497a1d2f5',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'message',
                namePlural: 'message',
                isSystem: true,
              },
              toFieldMetadataId: '0c98eb7f-6db3-43d3-84d8-3c46a384ac5e',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '68ed1fad-af5f-414b-8e51-1e82f3862edd',
            type: FieldMetadataType.Text,
            name: 'subject',
            label: 'Subject',
            description: 'Subject',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '6d69c800-9750-424a-ab1c-3501fd13f9e8',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'dcf4ec4a-7d64-456e-b682-42903604d56f',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '1cf2b8d8-23fa-4f99-b0ee-f02ef6df5aa3',
            type: FieldMetadataType.Text,
            name: 'visibility',
            label: 'Visibility',
            description: 'Visibility',
            icon: 'IconEyeglass',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 'default',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'cf4b8230-1b00-4fe8-ac1a-7786e950d00c',
            type: FieldMetadataType.Uuid,
            name: 'messageChannelId',
            label: 'Message Channel Id id (foreign key)',
            description: 'Message Channel Id id foreign key',
            icon: 'IconHash',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
      },
      totalCount: 9,
    },
  },
};

export const mockedMessageChannelsMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: 'a7088839-1354-45c5-93db-d1dc0a17a4b0',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'messageChannel',
    namePlural: 'messageChannels',
    labelSingular: 'Message Channel',
    labelPlural: 'Message Channels',
    description: 'Message Channels',
    icon: 'IconMessage',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '44744cbd-2066-496c-8bb8-e3dd29cfe42c',
            type: FieldMetadataType.Text,
            name: 'visibility',
            label: 'Visibility',
            description: 'Visibility',
            icon: 'IconEyeglass',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: 'metadata',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'db09596c-c968-41de-95ba-ae8d3c36fc00',
            type: FieldMetadataType.Relation,
            name: 'messageThreads',
            label: 'Message Threads',
            description: 'Threads from the channel.',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '179ef8b5-41f8-4d0f-98b6-30d487431354',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'a8162839-fbd1-4a37-998b-f4a2714020d1',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'messageThread',
                namePlural: 'messageThreads',
                isSystem: true,
              },
              toFieldMetadataId: 'bd65743c-8d13-4e99-82cd-b1d3f365d0c4',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '68fee565-c541-4356-bcaa-b85791e2ad76',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'afd3e543-00de-4fa4-9451-fd94dde9885b',
            type: FieldMetadataType.Text,
            name: 'type',
            label: 'Type',
            description: 'Type',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'd9e6b266-a1fa-4da9-b73f-c5432863a4c9',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'de960b13-1353-4201-b577-e684141cdb01',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '1ee38bde-c912-44aa-b5d5-de2b49b8fd85',
            type: FieldMetadataType.Uuid,
            name: 'connectedAccountId',
            label: 'Connected Account id (foreign key)',
            description: 'Connected Account id foreign key',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '504eac1b-5186-48dd-8136-3bb236455b13',
            type: FieldMetadataType.Text,
            name: 'handle',
            label: 'Handle',
            description: 'Handle',
            icon: 'IconAt',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '14fcf47f-b60e-4dc8-80a0-df6e16f513ac',
            type: FieldMetadataType.Relation,
            name: 'connectedAccount',
            label: 'Connected Account',
            description: 'Connected Account',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '4a2d8c75-3d39-4860-9373-2bc7faf35feb',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: '539d1682-9999-43dc-94c1-7ad52640ac7d',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'connectedAccount',
                namePlural: 'connectedAccounts',
                isSystem: true,
              },
              fromFieldMetadataId: '6cb6a33d-6eb1-4bba-b1f8-a1d3f40c9158',
            },
            defaultValue: null,
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
      },
      totalCount: 9,
    },
  },
};

export const mockedConnectedAccountsMetadata = {
  __typename: 'objectEdge',
  node: {
    __typename: 'object',
    id: '539d1682-9999-43dc-94c1-7ad52640ac7d',
    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
    nameSingular: 'connectedAccount',
    namePlural: 'connectedAccounts',
    labelSingular: 'Connected Account',
    labelPlural: 'Connected Accounts',
    description: 'A connected account',
    icon: 'IconAt',
    isCustom: false,
    isActive: true,
    isSystem: true,
    createdAt: '2023-12-15T15:29:39.070Z',
    updatedAt: '2023-12-15T15:29:39.070Z',
    labelIdentifierFieldMetadataId: null,
    imageIdentifierFieldMetadataId: null,
    fields: {
      __typename: 'ObjectFieldsConnection',
      edges: [
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'f3a558db-f935-44ee-9cf6-70d55d72d45f',
            type: FieldMetadataType.Text,
            name: 'handle',
            label: 'handle',
            description:
              'The account handle (email, username, phone number, etc.)',
            icon: 'IconMail',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'f8e1de81-a11b-4346-a964-599fb49ee3bc',
            type: FieldMetadataType.DateTime,
            name: 'updatedAt',
            label: 'Update date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'c60d4c3f-0cd7-4e92-9a7f-ae3a77f4a0ad',
            type: FieldMetadataType.Text,
            name: 'accessToken',
            label: 'Access Token',
            description: 'Messaging provider access token',
            icon: 'IconKey',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '6cb6a33d-6eb1-4bba-b1f8-a1d3f40c9158',
            type: FieldMetadataType.Relation,
            name: 'messageChannels',
            label: 'Message Channel',
            description: 'Message Channel',
            icon: 'IconMessage',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: {
              __typename: 'relation',
              id: '4a2d8c75-3d39-4860-9373-2bc7faf35feb',
              relationType: RelationMetadataType.OneToMany,
              toObjectMetadata: {
                __typename: 'object',
                id: 'a7088839-1354-45c5-93db-d1dc0a17a4b0',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'messageChannel',
                namePlural: 'messageChannels',
                isSystem: true,
              },
              toFieldMetadataId: '14fcf47f-b60e-4dc8-80a0-df6e16f513ac',
            },
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'd50a4e5e-555d-4a2d-9609-1f1e502c92fe',
            type: FieldMetadataType.Text,
            name: 'refreshToken',
            label: 'Refresh Token',
            description: 'Messaging provider refresh token',
            icon: 'IconKey',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '912a9a56-4e00-4cd2-8908-b0d113c9f615',
            type: FieldMetadataType.Relation,
            name: 'accountOwner',
            label: 'Account Owner',
            description: 'Account Owner',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: true,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            options: [],
            toRelationMetadata: {
              __typename: 'relation',
              id: '7fd3bdb5-e043-495d-82b1-d75c22b70bac',
              relationType: RelationMetadataType.OneToMany,
              fromObjectMetadata: {
                __typename: 'object',
                id: 'bdc465d2-f9a8-4ec2-8f3d-50dd2ad4021e',
                dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                nameSingular: 'workspaceMember',
                namePlural: 'workspaceMembers',
                isSystem: true,
              },
              fromFieldMetadataId: '2c8bb89a-c60c-49bf-81ce-7074ac41caf5',
            },
            defaultValue: null,
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '74d6f4ec-b8a6-467d-b212-28821cd67591',
            type: FieldMetadataType.Text,
            name: 'provider',
            label: 'provider',
            description: 'The account provider',
            icon: 'IconSettings',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              value: '',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: '0facb6d5-6e9e-4a3a-96f0-5343707bfdb3',
            type: FieldMetadataType.Uuid,
            name: 'id',
            label: 'Id',
            description: null,
            icon: null,
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: FieldMetadataType.Uuid,
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'c05cd42e-e6b9-41ac-bd09-253e6036c964',
            type: FieldMetadataType.DateTime,
            name: 'createdAt',
            label: 'Creation date',
            description: null,
            icon: 'IconCalendar',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: {
              type: 'now',
            },
          },
        },
        {
          __typename: 'fieldEdge',
          node: {
            __typename: 'field',
            id: 'af5be9ca-6f69-45f8-ad6f-787beea6bb05',
            type: FieldMetadataType.Uuid,
            name: 'accountOwnerId',
            label: 'Account Owner id (foreign key)',
            description: 'Account Owner id foreign key',
            icon: 'IconUserCircle',
            isCustom: false,
            isActive: true,
            isSystem: true,
            isNullable: false,
            createdAt: '2023-12-15T15:29:39.070Z',
            updatedAt: '2023-12-15T15:29:39.070Z',
            fromRelationMetadata: null,
            toRelationMetadata: null,
            options: [],
            defaultValue: null,
          },
        },
      ],
      pageInfo: {
        __typename: 'PageInfo',
        hasNextPage: false,
        hasPreviousPage: false,
        startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
        endCursor: 'YXJyYXljb25uZWN0aW9uOjk=',
      },
      totalCount: 10,
    },
  },
};

export const mockedObjectMetadataItems = {
  edges: [
    {
      __typename: 'objectEdge',
      node: {
        __typename: 'object',
        id: 'eda22943-ffd5-4524-a8c4-ffc65edbf152',
        dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
        nameSingular: 'viewFilter',
        namePlural: 'viewFilters',
        labelSingular: 'View Filter',
        labelPlural: 'View Filters',
        description: '(System) View Filters',
        icon: 'IconFilterBolt',
        isCustom: false,
        isActive: true,
        isSystem: true,
        createdAt: '2023-12-15T15:29:39.070Z',
        updatedAt: '2023-12-15T15:29:39.070Z',
        labelIdentifierFieldMetadataId: null,
        imageIdentifierFieldMetadataId: null,
        fields: {
          __typename: 'ObjectFieldsConnection',
          edges: [
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'e99cb806-f707-454b-99a3-b1521337f891',
                type: FieldMetadataType.DateTime,
                name: 'createdAt',
                label: 'Creation date',
                description: null,
                icon: 'IconCalendar',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: 'now',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'd90df531-be28-4ca3-92d4-d660bbad1b12',
                type: FieldMetadataType.DateTime,
                name: 'updatedAt',
                label: 'Update date',
                description: null,
                icon: 'IconCalendar',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: 'now',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '5c24c599-34c5-4efe-adc6-e066be7ad20e',
                type: FieldMetadataType.Relation,
                name: 'view',
                label: 'View',
                description: 'View Filter related view',
                icon: 'IconLayoutCollage',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: {
                  __typename: 'relation',
                  id: '1ac6a89a-7a45-441f-b9a6-848f9aaa0833',
                  relationType: RelationMetadataType.OneToMany,
                  fromObjectMetadata: {
                    __typename: 'object',
                    id: '98ee2e85-7510-49f9-848e-c1a21acdc664',
                    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                    nameSingular: 'view',
                    namePlural: 'views',
                    isSystem: true,
                  },
                  fromFieldMetadataId: '5c1342d5-199c-4746-8d3a-60d17a09d187',
                },
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '83b506e3-e211-4d8e-bc00-3d1ca5fc9acf',
                type: FieldMetadataType.Text,
                name: 'operand',
                label: 'Operand',
                description: 'View Filter operand',
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: 'Contains',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '028f1b4c-f127-4141-bf57-c47f685e7553',
                type: FieldMetadataType.Uuid,
                name: 'id',
                label: 'Id',
                description: null,
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: FieldMetadataType.Uuid,
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'fb48b84b-62cb-4846-ab5e-e48fa034f848',
                type: FieldMetadataType.Uuid,
                name: 'viewId',
                label: 'View id (foreign key)',
                description: 'View Filter related view id foreign key',
                icon: 'IconLayoutCollage',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '32a978a4-8ce5-491f-acc8-c3f4612c810e',
                type: FieldMetadataType.Text,
                name: 'displayValue',
                label: 'Display Value',
                description: 'View Filter Display Value',
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: '',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '2fd8dbd6-6378-4905-bd22-6ec12b387e1c',
                type: FieldMetadataType.Text,
                name: 'value',
                label: 'Value',
                description: 'View Filter value',
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: '',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '2d467958-3869-400e-a65b-63ab0232dd2b',
                type: FieldMetadataType.Uuid,
                name: 'fieldMetadataId',
                label: 'Field Metadata Id',
                description: 'View Filter target field',
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
          ],
          pageInfo: {
            __typename: 'PageInfo',
            hasNextPage: false,
            hasPreviousPage: false,
            startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
            endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
          },
          totalCount: 9,
        },
      },
    },
    {
      __typename: 'objectEdge',
      node: {
        __typename: 'object',
        id: '98ee2e85-7510-49f9-848e-c1a21acdc664',
        dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
        nameSingular: 'view',
        namePlural: 'views',
        labelSingular: 'View',
        labelPlural: 'Views',
        description: '(System) Views',
        icon: 'IconLayoutCollage',
        isCustom: false,
        isActive: true,
        isSystem: true,
        createdAt: '2023-12-15T15:29:39.070Z',
        updatedAt: '2023-12-15T15:29:39.070Z',
        labelIdentifierFieldMetadataId: null,
        imageIdentifierFieldMetadataId: null,
        fields: {
          __typename: 'ObjectFieldsConnection',
          edges: [
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '4ee74e9c-9c7a-4d18-81a2-83f007dd4614',
                type: FieldMetadataType.Uuid,
                name: 'id',
                label: 'Id',
                description: null,
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: FieldMetadataType.Uuid,
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '58aa8432-7109-42b2-8b85-7745fef42b9e',
                type: FieldMetadataType.Relation,
                name: 'viewFields',
                label: 'View Fields',
                description: 'View Fields',
                icon: 'IconTag',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: {
                  __typename: 'relation',
                  id: '1ba54f4e-6e09-40a8-bc02-65b5ece7dafc',
                  relationType: RelationMetadataType.OneToMany,
                  toObjectMetadata: {
                    __typename: 'object',
                    id: '07c68965-1479-4e44-91ca-3e45784e9337',
                    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                    nameSingular: 'viewField',
                    namePlural: 'viewFields',
                    isSystem: true,
                  },
                  toFieldMetadataId: '7c7866c9-4bf0-4f3b-89b6-5b889858a895',
                },
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '1fc13345-82fd-4e70-934b-4fa4b03ffd64',
                type: FieldMetadataType.Text,
                name: 'name',
                label: 'Name',
                description: 'View name',
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: '',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '803e8f8b-1e14-4d8d-b449-87bfdc3807ca',
                type: FieldMetadataType.Uuid,
                name: 'objectMetadataId',
                label: 'Object Metadata Id',
                description: 'View target object',
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'caa56736-cc74-4922-9ac1-eb99ca31d9d6',
                type: FieldMetadataType.DateTime,
                name: 'createdAt',
                label: 'Creation date',
                description: null,
                icon: 'IconCalendar',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: 'now',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '5c1342d5-199c-4746-8d3a-60d17a09d187',
                type: FieldMetadataType.Relation,
                name: 'viewFilters',
                label: 'View Filters',
                description: 'View Filters',
                icon: 'IconFilterBolt',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: {
                  __typename: 'relation',
                  id: '1ac6a89a-7a45-441f-b9a6-848f9aaa0833',
                  relationType: RelationMetadataType.OneToMany,
                  toObjectMetadata: {
                    __typename: 'object',
                    id: 'eda22943-ffd5-4524-a8c4-ffc65edbf152',
                    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                    nameSingular: 'viewFilter',
                    namePlural: 'viewFilters',
                    isSystem: true,
                  },
                  toFieldMetadataId: '5c24c599-34c5-4efe-adc6-e066be7ad20e',
                },
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '8b930e70-e1f0-4656-93ba-8e720cd45062',
                type: FieldMetadataType.DateTime,
                name: 'updatedAt',
                label: 'Update date',
                description: null,
                icon: 'IconCalendar',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: 'now',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'bdbecafb-972e-43f4-9296-c5a59bad449d',
                type: FieldMetadataType.Relation,
                name: 'viewSorts',
                label: 'View Sorts',
                description: 'View Sorts',
                icon: 'IconArrowsSort',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: {
                  __typename: 'relation',
                  id: '22a37761-f528-4a9b-8194-1fed1df69019',
                  relationType: RelationMetadataType.OneToMany,
                  toObjectMetadata: {
                    __typename: 'object',
                    id: '0591699b-2304-4f81-8c32-543693c5ae4e',
                    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                    nameSingular: 'viewSort',
                    namePlural: 'viewSorts',
                    isSystem: true,
                  },
                  toFieldMetadataId: 'bff11820-ffa2-4283-80b3-3777583f6f97',
                },
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '3546f837-5b46-449a-a127-e73d3849352d',
                type: FieldMetadataType.Text,
                name: 'type',
                label: 'Type',
                description: 'View type',
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: 'table',
                },
              },
            },
          ],
          pageInfo: {
            __typename: 'PageInfo',
            hasNextPage: false,
            hasPreviousPage: false,
            startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
            endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
          },
          totalCount: 9,
        },
      },
    },
    {
      __typename: 'objectEdge',
      node: {
        __typename: 'object',
        id: '07c68965-1479-4e44-91ca-3e45784e9337',
        dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
        nameSingular: 'viewField',
        namePlural: 'viewFields',
        labelSingular: 'View Field',
        labelPlural: 'View Fields',
        description: '(System) View Fields',
        icon: 'IconTag',
        isCustom: false,
        isActive: true,
        isSystem: true,
        createdAt: '2023-12-15T15:29:39.070Z',
        updatedAt: '2023-12-15T15:29:39.070Z',
        labelIdentifierFieldMetadataId: null,
        imageIdentifierFieldMetadataId: null,
        fields: {
          __typename: 'ObjectFieldsConnection',
          edges: [
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'e73c3bd2-3c2e-48dc-92b9-6e217ff27c05',
                type: FieldMetadataType.Number,
                name: 'size',
                label: 'Size',
                description: 'View Field size',
                icon: 'IconEye',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: 0,
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '9e066f59-5fbb-451b-9788-0f8560f224c9',
                type: FieldMetadataType.Uuid,
                name: 'fieldMetadataId',
                label: 'Field Metadata Id',
                description: 'View Field target field',
                icon: 'IconTag',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '1034c249-d94a-40d8-a28c-966fd3c1a2fc',
                type: FieldMetadataType.DateTime,
                name: 'createdAt',
                label: 'Creation date',
                description: null,
                icon: 'IconCalendar',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: 'now',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'b5ec1333-8f24-4f75-a603-147b98eb9ce3',
                type: FieldMetadataType.Number,
                name: 'position',
                label: 'Position',
                description: 'View Field position',
                icon: 'IconList',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: 0,
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '3160b24b-37b9-4072-89e0-1d189b7089c7',
                type: FieldMetadataType.Boolean,
                name: 'isVisible',
                label: 'Visible',
                description: 'View Field visibility',
                icon: 'IconEye',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: true,
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '7c7866c9-4bf0-4f3b-89b6-5b889858a895',
                type: FieldMetadataType.Relation,
                name: 'view',
                label: 'View',
                description: 'View Field related view',
                icon: 'IconLayoutCollage',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: {
                  options: [],
                  __typename: 'relation',
                  id: '1ba54f4e-6e09-40a8-bc02-65b5ece7dafc',
                  relationType: RelationMetadataType.OneToMany,
                  fromObjectMetadata: {
                    __typename: 'object',
                    id: '98ee2e85-7510-49f9-848e-c1a21acdc664',
                    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                    nameSingular: 'view',
                    namePlural: 'views',
                    isSystem: true,
                  },
                  fromFieldMetadataId: '58aa8432-7109-42b2-8b85-7745fef42b9e',
                },
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'f033cd69-d43f-42d0-bdd8-7000dd97fb86',
                type: FieldMetadataType.Uuid,
                name: 'viewId',
                label: 'View id (foreign key)',
                description: 'View Field related view id foreign key',
                icon: 'IconLayoutCollage',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '590769a6-fd78-4b38-99b7-317ee231e002',
                type: FieldMetadataType.Uuid,
                name: 'id',
                label: 'Id',
                description: null,
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: FieldMetadataType.Uuid,
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '4ecfdfa2-14bb-44f0-9557-052b3a350c33',
                type: FieldMetadataType.DateTime,
                name: 'updatedAt',
                label: 'Update date',
                description: null,
                icon: 'IconCalendar',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: 'now',
                },
              },
            },
          ],
          pageInfo: {
            __typename: 'PageInfo',
            hasNextPage: false,
            hasPreviousPage: false,
            startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
            endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
          },
          totalCount: 9,
        },
      },
    },
    {
      __typename: 'objectEdge',
      node: {
        __typename: 'object',
        id: '0591699b-2304-4f81-8c32-543693c5ae4e',
        dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
        nameSingular: 'viewSort',
        namePlural: 'viewSorts',
        labelSingular: 'View Sort',
        labelPlural: 'View Sorts',
        description: '(System) View Sorts',
        icon: 'IconArrowsSort',
        isCustom: false,
        isActive: true,
        isSystem: true,
        createdAt: '2023-12-15T15:29:39.070Z',
        updatedAt: '2023-12-15T15:29:39.070Z',
        labelIdentifierFieldMetadataId: null,
        imageIdentifierFieldMetadataId: null,
        fields: {
          __typename: 'ObjectFieldsConnection',
          edges: [
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'a6e7a588-4f86-4d68-ab71-2c7bf1833c40',
                type: FieldMetadataType.DateTime,
                name: 'createdAt',
                label: 'Creation date',
                description: null,
                icon: 'IconCalendar',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: 'now',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '281526dd-aa6a-4419-8ee9-ae643f481bf5',
                type: FieldMetadataType.Text,
                name: 'direction',
                label: 'Direction',
                description: 'View Sort direction',
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  value: 'asc',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '08ff332d-72d6-4dc8-a466-bdc396a948cd',
                type: FieldMetadataType.Uuid,
                name: 'viewId',
                label: 'View id (foreign key)',
                description: 'View Sort related view id foreign key',
                icon: 'IconLayoutCollage',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'a823ec90-fbc1-4be7-803b-5d79937e2278',
                type: FieldMetadataType.Uuid,
                name: 'fieldMetadataId',
                label: 'Field Metadata Id',
                description: 'View Sort target field',
                icon: 'IconTag',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: null,
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '22f8022c-809a-4e7e-8e15-155e5ae5a40c',
                type: FieldMetadataType.DateTime,
                name: 'updatedAt',
                label: 'Update date',
                description: null,
                icon: 'IconCalendar',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: 'now',
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: '481db089-dd64-4acd-b514-e627f134c8ee',
                type: FieldMetadataType.Uuid,
                name: 'id',
                label: 'Id',
                description: null,
                icon: null,
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: false,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: null,
                options: [],
                defaultValue: {
                  type: FieldMetadataType.Uuid,
                },
              },
            },
            {
              __typename: 'fieldEdge',
              node: {
                __typename: 'field',
                id: 'bff11820-ffa2-4283-80b3-3777583f6f97',
                type: FieldMetadataType.Relation,
                name: 'view',
                label: 'View',
                description: 'View Sort related view',
                icon: 'IconLayoutCollage',
                isCustom: false,
                isActive: true,
                isSystem: true,
                isNullable: true,
                createdAt: '2023-12-15T15:29:39.070Z',
                updatedAt: '2023-12-15T15:29:39.070Z',
                fromRelationMetadata: null,
                toRelationMetadata: {
                  options: [],
                  __typename: 'relation',
                  id: '22a37761-f528-4a9b-8194-1fed1df69019',
                  relationType: RelationMetadataType.OneToMany,
                  fromObjectMetadata: {
                    __typename: 'object',
                    id: '98ee2e85-7510-49f9-848e-c1a21acdc664',
                    dataSourceId: 'cabbcaa6-05d6-41f4-920f-9144172a4f08',
                    nameSingular: 'view',
                    namePlural: 'views',
                    isSystem: true,
                  },
                  fromFieldMetadataId: 'bdbecafb-972e-43f4-9296-c5a59bad449d',
                },
                defaultValue: null,
              },
            },
          ],
          pageInfo: {
            __typename: 'PageInfo',
            hasNextPage: false,
            hasPreviousPage: false,
            startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
            endCursor: 'YXJyYXljb25uZWN0aW9uOjY=',
          },
          totalCount: 7,
        },
      },
    },
    mockedWebhooksMetadata,
    mockedPeopleMetadata,
    mockedCompaniesMetadata,
    mockedPipelineStepsMetadata,
    mockedActivityTargetsMetadata,
    mockedActivitiesMetadata,
    mockedFavoritesMetadata,
    mockedWorkspaceMembersMetadata,
    mockedOpportunitiesMetadata,
    mockedAPIKeysMetadata,
    mockedConnectedAccountsMetadata,
    mockedMessageChannelsMetadata,
    mockedWebhooksMetadata,
    mockedAttachmentsMetadata,
    mockedMessageParticipantsMetadata,
    mockedCustomMetadata,
  ],
  pageInfo: {
    __typename: 'PageInfo',
    hasNextPage: false,
    hasPreviousPage: false,
    startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
    endCursor: 'YXJyYXljb25uZWN0aW9uOjk=',
  },
  totalCount: 19,
};
