Skip to content
Sheetwrite

Sheetwrite / Documentation

validateTransactionResources@sheetwrite/core

Incrementally validate the operation count and exact encoded payload size without constructing a JSON string.

Incrementally validate the operation count and exact encoded payload size without constructing a JSON string. Compact operation ranges are measured by their serialized fields; their logical cell area is deliberately irrelevant.

Declaration

function validateTransactionResources(
operations: readonly DocumentOp[],
limits?: Readonly<TransactionResourceLimits>,
): TransactionResourceValidationResult