@dxos/echo
    Preparing search index...

    Function upgradeContent

    • Upgrades content in memory through the chain of content steps declared for type, from version to the newest version reachable. Readers use it for data that synced in before the migration pass ran; the pass itself applies the same chain. Content at a version no step starts from is returned as it is (same reference).

      Parameters

      Returns UpgradedContent

      O(steps) transforms; each costs what its transform does.