import { IRouter } from '../../../../../../src/core/server' ; import { OsqueryAppContext } from '../../lib/osquery_app_context_services' ; import { getAgentPoliciesRoute } from './get_agent_policies' ; import { getAgentPolicyRoute } from './get_agent_policy' ; import { getAgentStatusForAgentPolicyRoute } from './get_agent_status_for_agent_policy' ; import { getPackagePoliciesRoute } from './get_package_policies' ; import { getAgentsRoute } from './get_agents' ; import { getAgentDetailsRoute } from './get_agent_details' ; export const initFleetWrapperRoutes = ( router , context ) => { getAgentDetailsRoute ( router , context ) ; getAgentPoliciesRoute ( router , context ) ; getAgentPolicyRoute ( router , context ) ; getAgentStatusForAgentPolicyRoute ( router , context ) ; getPackagePoliciesRoute ( router , context ) ; getAgentsRoute ( router , context ) ; } ;