import { RouteDependencies } from '../../plugin' ; export function registerOverviewRoute ( { router , enterpriseSearchRequestHandler , } ) { router . get ( { path : '/internal/workplace_search/overview' , validate : false , } , enterpriseSearchRequestHandler . createRequest ( { path : '/ws/org' , hasValidData : ( body ) => typeof body ?. accountsCount === 'number' , } ) ) ; }