import { FactoryQueryTypes , OsqueryQueries } from '../../../../common/search_strategy/osquery' ; import { allActions , actionDetails , actionResults } from './actions' ; import { allAgents } from './agents' ; import { allResults } from './results' ; import { OsqueryFactory } from './types' ; export const osqueryFactory = { [ OsqueryQueries . actions ] : allActions , [ OsqueryQueries . actionDetails ] : actionDetails , [ OsqueryQueries . actionResults ] : actionResults , [ OsqueryQueries . agents ] : allAgents , [ OsqueryQueries . results ] : allResults , } ;