ApplyPatchDeleteFileOperation - TypeScript SDK

ApplyPatchDeleteFileOperation type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

The delete_file variant of an apply_patch_call.operation. Identifies the file to remove; no diff is required.

Example Usage

1import { ApplyPatchDeleteFileOperation } from "@openrouter/sdk/models";
2
3let value: ApplyPatchDeleteFileOperation = {
4 path: "/src/main.ts",
5 type: "delete_file",
6};

Fields

FieldTypeRequiredDescription
pathstring✔️N/A
type”delete_file”✔️N/A