import { createContext } from 'react'

interface FilterContextProps {
  displayActionLogs: boolean
  displayMilestones: boolean
  displayEmailThreads: boolean
  displayActionType: boolean[]
  displayEmailsSent: boolean
  displayEmailsReceived: boolean
  displayEmailsBetweenTeams: boolean
  displayAllAutoInjects: boolean
  displayAutoInjects: boolean
  displayAutoEmails: boolean
  displayAutoQuestionnaires: boolean
  displayTool: boolean[]
}

const FilterContext = createContext<FilterContextProps>({
  displayActionLogs: true,
  displayMilestones: true,
  displayEmailThreads: true,
  displayActionType: [],
  displayEmailsSent: true,
  displayEmailsReceived: true,
  displayEmailsBetweenTeams: true,
  displayAllAutoInjects: true,
  displayAutoInjects: true,
  displayAutoEmails: true,
  displayAutoQuestionnaires: true,
  displayTool: [],
})

export default FilterContext
