# types/server.types.ts

> 14 lines of code and 3 definitions.

Tree: Bane's Lab Build Scripts
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/build-scripts#file-build-scripts-types-server-types-ts
Source text: https://banes-lab.com/source/build-scripts/types/server.types.ts.txt

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

## Definitions

- `DevServer` (interface_declaration, line 1, exported)
- `Prefixed` (interface_declaration, line 8, exported)
- `Supervisor` (interface_declaration, line 13, exported)

## Contained in

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

## Source

```typescript
export interface DevServer {
    readonly args: readonly string[];
    readonly config: string;
    readonly label: string;
    readonly port: number;
}

export interface Prefixed {
    readonly carry: string;
    readonly lines: readonly string[];
}

export interface Supervisor {
    readonly stop: (code: number) => void;
    readonly stopped: () => boolean;
}
```
