---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/dev-tools/interfaces/FormatRequest.md
description: Request passed to a formatter.
---

# Interface: FormatRequest

Defined in: [src/batteries/dev\_tools/types.ts:138](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L138)

Request passed to a formatter.

## Extended by

* [`LintRequest`](LintRequest.md)

## Properties

| Property                                  | Type                                       | Description                                                                                      | Defined in                                                                                                                 |
| ----------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
|  `access?`    | [`DevFileAccess`](DevFileAccess.md)        | Scoped disk façade supplied only to in-place capabilities.                                       | [src/batteries/dev\_tools/types.ts:148](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L148) |
|  `files`       | `ReadonlyMap`<`string`, `WorkspaceFile`> | Current mutable workspace file map.                                                              | [src/batteries/dev\_tools/types.ts:140](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L140) |
|  `paths`       | readonly `string`\[]                        | Resolved existing workspace paths this invocation must handle; selection is frozen for the step. | [src/batteries/dev\_tools/types.ts:142](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L142) |
|  `root`         | `string`                                   | Absolute host workspace root used as the subprocess working directory.                           | [src/batteries/dev\_tools/types.ts:146](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L146) |
|  `selector` | readonly `string`\[] | `null`              | Normalized authored path patterns, or null when the step supplied no selector.                   | [src/batteries/dev\_tools/types.ts:144](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L144) |
|  `signal?`    | `AbortSignal`                              | Optional cancellation signal.                                                                    | [src/batteries/dev\_tools/types.ts:150](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L150) |
