recordFromTransaction
function recordFromTransaction(tx, options?): LedgerRecord;Defined in: ledger.ts:125
Build a self-contained LedgerRecord from a committed (or in-flight)
transaction. Ops and meta are deep-cloned to JSON so the record never
aliases live editor state, and touches is resolved once against the base
document the transaction was authored against.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
tx | Transaction |
options | RecordFromTransactionOptions |