Skip to content

basalt / drives/src / DriveRemoval

Interface: DriveRemoval ​

Defined in: drives/src/sync.ts:57

An item the provider says is gone.

externalId and path mirror DriveChange: a vendor reports a deletion by whichever handle it still has, and Dropbox only has the path (a deleted entry carries no id). targetId is therefore resolvable only for an id-based removal; a path-based one is reported for the app to correlate against whatever it stored at import time.

Properties ​

connectionId ​

> connectionId: string

Defined in: drives/src/sync.ts:59


externalId? ​

> optional externalId?: string

Defined in: drives/src/sync.ts:60


path? ​

> optional path?: string

Defined in: drives/src/sync.ts:62

The provider's path for the item, when the deletion is reported by path.


targetId? ​

> optional targetId?: string

Defined in: drives/src/sync.ts:64

What the ledger recorded for it, when it had been imported and the removal named an id.


tenantId ​

> tenantId: string

Defined in: drives/src/sync.ts:58

Released under the MIT License.