Skip to content
1 min read · 163 words

Interface: EditRequest

Defined in: src/batteries/media/contracts.ts:356

A structural document operation handed to an EditCapability: one named op with its verb-table args, applied to in-memory bytes. Unlike the fused MutateRequest (which folds adjacent image transforms into one decode/encode), edits run one op per request — a worksheet splice is not a pixel pass and gains nothing from fusion.

Properties

PropertyTypeDescriptionDefined in
argsRecord<string, unknown>The op's arguments, in the verb table's declared shapes.src/batteries/media/contracts.ts:364
bytesUint8ArrayThe input bytes.src/batteries/media/contracts.ts:358
mimeTypestringThe input MIME type.src/batteries/media/contracts.ts:360
opstringThe operation name, namespaced as in the verb table (sheet.update_cells, …).src/batteries/media/contracts.ts:362
signal?AbortSignalAbort signal threaded from the pipeline execution.src/batteries/media/contracts.ts:366