# types/server.types.ts

> 8 lines of code and 2 definitions.

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

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

## Definitions

- `ListenerSurfaces` (interface_declaration, line 1, exported)
- `TransportFinding` (interface_declaration, line 6, exported)

## Contained in

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

## Source

```typescript
export interface ListenerSurfaces {
    readonly preview?: { readonly https?: unknown };
    readonly server?: { readonly https?: unknown; readonly middlewareMode?: unknown };
}

export interface TransportFinding {
    readonly file: string;
    readonly surface: string;
}
```
