# types/route.types.ts

> 12 lines of code and 2 definitions.

Tree: Project Scripts
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/scripts#file-scripts-types-route-types-ts
Source text: https://banes-lab.com/source/scripts/types/route.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/scripts/types.md), after [types/rate.types.ts](https://banes-lab.com/source/scripts/types/rate.types.ts.md) and before [types/server.types.ts](https://banes-lab.com/source/scripts/types/server.types.ts.md).

## Definitions

- `CaptureOptions` (interface_declaration, line 3, exported)
- `StartedServer` (interface_declaration, line 11, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/scripts/folder-scripts-types.md)

## Source

```typescript
import type { ChildProcess } from "node:child_process";

export interface CaptureOptions {
    readonly browser: string | null;
    readonly outDir: string;
    readonly routes: readonly string[];
    readonly settleMs: number;
    readonly software: boolean;
}

export interface StartedServer {
    readonly output: readonly string[];
    readonly process: ChildProcess;
}
```
