import { RouteDependencies } from '../types' ; import { registerIndexRoutes } from './api/index' ; import { registerNodesRoutes } from './api/nodes' ; import { registerPoliciesRoutes } from './api/policies' ; import { registerTemplatesRoutes } from './api/templates' ; import { registerSnapshotPoliciesRoutes } from './api/snapshot_policies' ; import { registerSnapshotRepositoriesRoutes } from './api/snapshot_repositories' ; export function registerApiRoutes ( dependencies ) { registerIndexRoutes ( dependencies ) ; registerNodesRoutes ( dependencies ) ; registerPoliciesRoutes ( dependencies ) ; registerTemplatesRoutes ( dependencies ) ; registerSnapshotPoliciesRoutes ( dependencies ) ; registerSnapshotRepositoriesRoutes ( dependencies ) ; }