Skip to content

basalt / drives-dropbox/src / toDriveChange

Function: toDriveChange() ​

> toDriveChange(entry): DriveChange

Defined in: drives-dropbox/src/metadata.ts:78

Maps a delta entry to a change.

A deleted entry carries no id — Dropbox only tells you the path of the thing that used to be there. The contract now says so explicitly (DriveChange); flattening it into an externalId would have made every ledger lookup miss in silence.

Parameters ​

entry ​

DropboxEntry

Returns ​

DriveChange

Released under the MIT License.