index.ts
27 lines · browse/src/routes/index.ts at 3f79d81
1/**
2 * The browse daemon's route table, in dispatch order. See ./table.ts for the
3 * entry shape, auth kinds and the unmatched fallthrough.
4 */
6import type { RouteEntry } from './table';
7import { pairingRoutes } from './pairing';
8import { coreRoutes } from './core';
9import { ptyRoutes } from './pty';
10import { tokenRoutes } from './tokens';
11import { tunnelRoutes } from './tunnel';
12import { activityRoutes } from './activity';
13import { commandRoutes } from './commands';
14import { fileRoutes } from './files';
15import { inspectorRoutes } from './inspector';
17export const ROUTES: readonly RouteEntry[] = [
18 ...pairingRoutes,
19 ...coreRoutes,
20 ...ptyRoutes,
21 ...tokenRoutes,
22 ...tunnelRoutes,
23 ...activityRoutes,
24 ...commandRoutes,
25 ...fileRoutes,
26 ...inspectorRoutes,
27];