---
url: 'https://adk.nht.io/api/@nhtio/adk/lib/patch/interfaces/WorkspaceFile.md'
description: One file in the virtual workspace a structured patch operates over.
---

# Interface: WorkspaceFile

Defined in: [src/lib/patch/index.ts:346](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/lib/patch/index.ts#L346)

One file in the virtual workspace a structured patch operates over.

## Properties

| Property                                  | Type     | Description                                                                 | Defined in                                                                                                    |
| ----------------------------------------- | -------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|  `mimeType` | `string` | The file's MIME type, used to choose a text family for added/updated files. | [src/lib/patch/index.ts:350](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/lib/patch/index.ts#L350) |
|  `text`         | `string` | The file's current text.                                                    | [src/lib/patch/index.ts:348](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/lib/patch/index.ts#L348) |
