import { createContext } from 'react' ; export interface AnomalyDetectionSettingsContextValue { canGetFilters : boolean ; canCreateFilter : boolean ; canGetCalendars : boolean ; canCreateCalendar : boolean ; } export const AnomalyDetectionSettingsContext = createContext < AnomalyDetectionSettingsContextValue > ( { canGetFilters : false , canCreateFilter : false , canGetCalendars : false , canCreateCalendar : false , } ) ;