---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/dev-tools/interfaces/WorkspaceDelta.md
description: The common result of every engine capability.
---

# Interface: WorkspaceDelta

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

The common result of every engine capability.

## Properties

| Property                                         | Type                                                                                                      | Description                                                             | Defined in                                                                                                               |
| ------------------------------------------------ | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|  `added?`             | `Map`<`string`, `WorkspaceFile`>                                                                        | Optional inserted-line count; omitted when line diffing is unavailable. | [src/batteries/dev\_tools/types.ts:48](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L48) |
|  `changed?`         | `Map`<`string`, `string`>                                                                               | Path-to-text entries describing genuinely changed workspace files.      | [src/batteries/dev\_tools/types.ts:46](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L46) |
|  `deleted?`         | [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set)<`string`> | Paths removed from the workspace by this delta.                         | [src/batteries/dev\_tools/types.ts:50](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L50) |
|  `diagnostics?` | [`RawDiagnostic`](RawDiagnostic.md)\[]                                                                     | Engine findings before the registry adds provenance.                    | [src/batteries/dev\_tools/types.ts:54](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L54) |
|  `renamed?`         | `Map`<`string`, `string`>                                                                               | Source-to-destination moves preserving atomic rename semantics.         | [src/batteries/dev\_tools/types.ts:52](https://github.com/NHTIO/ADK/blob/master/src/src/batteries/dev_tools/types.ts#L52) |
