Function updateRawSection

  • Update an existing RawSection. The id field must be set in properties which will determine the section to update. NB. rate limited - do not call this unless there is a corresponding user action

    Parameters

    Returns void

    Must pass a copy. Never mutate a snapshot then pass it here. Don't: snap.properties.name = 'Lot A'; updateRawSection(snap); Instead, use structuredClone(section) or { ...section, ...changes }.