Update FE case to match BE graphql case (camelCase) (#154)
This commit is contained in:
@ -3,72 +3,72 @@ import { GraphqlQueryCompany } from '../../interfaces/entities/company.interface
|
||||
export const mockCompaniesData: Array<GraphqlQueryCompany> = [
|
||||
{
|
||||
id: '89bb825c-171e-4bcc-9cf7-43448d6fb278',
|
||||
domain_name: 'airbnb.com',
|
||||
domainName: 'airbnb.com',
|
||||
name: 'Airbnb',
|
||||
created_at: '2023-04-26T10:08:54.724515+00:00',
|
||||
createdAt: '2023-04-26T10:08:54.724515+00:00',
|
||||
address: '17 rue de clignancourt',
|
||||
employees: 12,
|
||||
account_owner: null,
|
||||
accountOwner: null,
|
||||
__typename: 'companies',
|
||||
},
|
||||
{
|
||||
id: 'b396e6b9-dc5c-4643-bcff-61b6cf7523ae',
|
||||
domain_name: 'aircall.io',
|
||||
domainName: 'aircall.io',
|
||||
name: 'Aircall',
|
||||
created_at: '2023-04-26T10:12:42.33625+00:00',
|
||||
createdAt: '2023-04-26T10:12:42.33625+00:00',
|
||||
address: '',
|
||||
employees: 1,
|
||||
account_owner: null,
|
||||
accountOwner: null,
|
||||
__typename: 'companies',
|
||||
},
|
||||
{
|
||||
id: 'a674fa6c-1455-4c57-afaf-dd5dc086361d',
|
||||
domain_name: 'algolia.com',
|
||||
domainName: 'algolia.com',
|
||||
name: 'Algolia',
|
||||
created_at: '2023-04-26T10:10:32.530184+00:00',
|
||||
createdAt: '2023-04-26T10:10:32.530184+00:00',
|
||||
address: '',
|
||||
employees: 1,
|
||||
account_owner: null,
|
||||
accountOwner: null,
|
||||
__typename: 'companies',
|
||||
},
|
||||
{
|
||||
id: 'b1cfd51b-a831-455f-ba07-4e30671e1dc3',
|
||||
domain_name: 'apple.com',
|
||||
domainName: 'apple.com',
|
||||
name: 'Apple',
|
||||
created_at: '2023-03-21T06:30:25.39474+00:00',
|
||||
createdAt: '2023-03-21T06:30:25.39474+00:00',
|
||||
address: '',
|
||||
employees: 10,
|
||||
account_owner: null,
|
||||
accountOwner: null,
|
||||
__typename: 'companies',
|
||||
},
|
||||
{
|
||||
id: '5c21e19e-e049-4393-8c09-3e3f8fb09ecb',
|
||||
domain_name: 'qonto.com',
|
||||
domainName: 'qonto.com',
|
||||
name: 'Qonto',
|
||||
created_at: '2023-04-26T10:13:29.712485+00:00',
|
||||
createdAt: '2023-04-26T10:13:29.712485+00:00',
|
||||
address: '10 rue de la Paix',
|
||||
employees: 1,
|
||||
account_owner: null,
|
||||
accountOwner: null,
|
||||
__typename: 'companies',
|
||||
},
|
||||
{
|
||||
id: '9d162de6-cfbf-4156-a790-e39854dcd4eb',
|
||||
domain_name: 'facebook.com',
|
||||
domainName: 'facebook.com',
|
||||
name: 'Facebook',
|
||||
created_at: '2023-04-26T10:09:25.656555+00:00',
|
||||
createdAt: '2023-04-26T10:09:25.656555+00:00',
|
||||
address: '',
|
||||
employees: 1,
|
||||
account_owner: null,
|
||||
accountOwner: null,
|
||||
__typename: 'companies',
|
||||
},
|
||||
{
|
||||
id: '9d162de6-cfbf-4156-a790-e39854dcd4eb',
|
||||
domain_name: 'sequoia.com',
|
||||
domainName: 'sequoia.com',
|
||||
name: 'Sequoia',
|
||||
created_at: '2023-04-26T10:09:25.656555+00:00',
|
||||
createdAt: '2023-04-26T10:09:25.656555+00:00',
|
||||
address: '',
|
||||
employees: 1,
|
||||
account_owner: null,
|
||||
accountOwner: null,
|
||||
__typename: 'companies',
|
||||
},
|
||||
];
|
||||
|
||||
@ -10,11 +10,11 @@ export const mockedPeopleData: Array<GraphqlQueryPerson> = [
|
||||
company: {
|
||||
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6c',
|
||||
name: 'Qonto',
|
||||
domain_name: 'qonto.com',
|
||||
domainName: 'qonto.com',
|
||||
__typename: 'Company',
|
||||
},
|
||||
phone: '06 12 34 56 78',
|
||||
created_at: '2023-04-20T13:20:09.158312+00:00',
|
||||
createdAt: '2023-04-20T13:20:09.158312+00:00',
|
||||
|
||||
city: 'Paris',
|
||||
},
|
||||
@ -27,11 +27,11 @@ export const mockedPeopleData: Array<GraphqlQueryPerson> = [
|
||||
company: {
|
||||
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6e',
|
||||
name: 'LinkedIn',
|
||||
domain_name: 'linkedin.com',
|
||||
domainName: 'linkedin.com',
|
||||
__typename: 'Company',
|
||||
},
|
||||
phone: '06 12 34 56 78',
|
||||
created_at: '2023-04-20T13:20:09.158312+00:00',
|
||||
createdAt: '2023-04-20T13:20:09.158312+00:00',
|
||||
|
||||
city: 'Paris',
|
||||
},
|
||||
@ -44,11 +44,11 @@ export const mockedPeopleData: Array<GraphqlQueryPerson> = [
|
||||
company: {
|
||||
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6g',
|
||||
name: 'Sequoia',
|
||||
domain_name: 'sequoiacap.com',
|
||||
domainName: 'sequoiacap.com',
|
||||
__typename: 'Company',
|
||||
},
|
||||
phone: '06 12 34 56 78',
|
||||
created_at: '2023-04-20T13:20:09.158312+00:00',
|
||||
createdAt: '2023-04-20T13:20:09.158312+00:00',
|
||||
|
||||
city: 'Paris',
|
||||
},
|
||||
@ -62,11 +62,11 @@ export const mockedPeopleData: Array<GraphqlQueryPerson> = [
|
||||
company: {
|
||||
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6i',
|
||||
name: 'Facebook',
|
||||
domain_name: 'facebook.com',
|
||||
domainName: 'facebook.com',
|
||||
__typename: 'Company',
|
||||
},
|
||||
phone: '06 12 34 56 78',
|
||||
created_at: '2023-04-20T13:20:09.158312+00:00',
|
||||
createdAt: '2023-04-20T13:20:09.158312+00:00',
|
||||
|
||||
city: 'Paris',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user