import { companiesQueryResult } from '~/testing/mock-data/companies';
import { mockedWorkspaceMemberData } from '~/testing/mock-data/users';
import { mockedViewsData } from '~/testing/mock-data/views';

export const mockedFavoritesData = [
  {
    id: '20202020-dede-koko-873b-de4264d89025',
    createdAt: new Date().toISOString(),
    updatedAt: new Date().toISOString(),
    deletedAt: null,
    position: 0,
    recordId: null,
    workflowId: null,
    workflow: null,
    workflowRunId: null,
    workflowRun: null,
    workflowVersionId: null,
    workflowVersion: null,
    forWorkspaceMemberId: mockedWorkspaceMemberData.id,
    forWorkspaceMember: mockedWorkspaceMemberData,
    companyId: companiesQueryResult.companies.edges[0].node.id,
    company: companiesQueryResult.companies.edges[0].node,
    viewId: null,
    view: null,
    taskId: null,
    task: null,
    petId: null,
    pet: null,
    surveyResultId: null,
    surveyResult: null,
    personId: null,
    person: null,
    opportunityId: null,
    opportunity: null,
    noteId: null,
    note: null,
    __typename: 'Favorite',
  },
  {
    id: '20202020-dede-koko-873b-de4264d89026',
    createdAt: new Date().toISOString(),
    updatedAt: new Date().toISOString(),
    deletedAt: null,
    position: 1,
    recordId: null,
    workflowId: null,
    workflow: null,
    workflowRunId: null,
    workflowRun: null,
    workflowVersionId: null,
    workflowVersion: null,
    forWorkspaceMemberId: null,
    forWorkspaceMember: null,
    companyId: null,
    company: null,
    viewId: mockedViewsData[0].id,
    view: mockedViewsData[0],
    taskId: null,
    task: null,
    petId: null,
    pet: null,
    surveyResultId: null,
    surveyResult: null,
    personId: null,
    person: null,
    opportunityId: null,
    opportunity: null,
    noteId: null,
    note: null,
    __typename: 'Favorite',
  },
  {
    id: '20202020-dede-koko-873b-de4264d89026',
    createdAt: new Date().toISOString(),
    updatedAt: new Date().toISOString(),
    deletedAt: null,
    position: 1,
    recordId: null,
    workflowId: null,
    workflow: null,
    workflowRunId: null,
    workflowRun: null,
    workflowVersionId: null,
    workflowVersion: null,
    forWorkspaceMemberId: null,
    forWorkspaceMember: null,
    companyId: null,
    company: null,
    viewId: mockedViewsData[1].id,
    view: mockedViewsData[1],
    taskId: null,
    task: null,
    petId: null,
    pet: null,
    surveyResultId: null,
    surveyResult: null,
    personId: null,
    person: null,
    opportunityId: null,
    opportunity: null,
    noteId: null,
    note: null,
    __typename: 'Favorite',
  },
  {
    id: '20202020-dede-koko-873b-de4264d89026',
    createdAt: new Date().toISOString(),
    updatedAt: new Date().toISOString(),
    deletedAt: null,
    position: 1,
    recordId: null,
    workflowId: null,
    workflow: null,
    workflowRunId: null,
    workflowRun: null,
    workflowVersionId: null,
    workflowVersion: null,
    forWorkspaceMemberId: null,
    forWorkspaceMember: null,
    companyId: null,
    company: null,
    viewId: mockedViewsData[1].id,
    view: mockedViewsData[1],
    taskId: null,
    task: null,
    petId: null,
    pet: null,
    surveyResultId: null,
    surveyResult: null,
    personId: null,
    person: null,
    opportunityId: null,
    opportunity: null,
    noteId: null,
    note: null,
    __typename: 'Favorite',
  },
];
