import { RecoveredActionGroup } from './builtin_action_groups' ; const DisabledActionGroupsByActionType = { [ RecoveredActionGroup . id ] : [ '.jira' , '.servicenow' , '.resilient' ] , } ; export const DisabledActionTypeIdsForActionGroup = new Map ( Object . entries ( DisabledActionGroupsByActionType ) ) ; export function isActionGroupDisabledForActionTypeId ( actionGroup , actionTypeId ) { return ( DisabledActionTypeIdsForActionGroup . has ( actionGroup ) && DisabledActionTypeIdsForActionGroup . get ( actionGroup ) ! . includes ( actionTypeId ) ) ; }