basalt / drives/src / DriveSyncResult
Interface: DriveSyncResult
Defined in: drives/src/sync.ts:97
Properties
connectionId
> connectionId: string
Defined in: drives/src/sync.ts:98
cursor?
> optional cursor?: string
Defined in: drives/src/sync.ts:121
enqueued
> enqueued: number
Defined in: drives/src/sync.ts:102
Items handed to enqueue.
mode
> mode: "delta" | "listing"
Defined in: drives/src/sync.ts:120
Whether the provider's change feed was used, or a full listing.
removed
> removed: number
Defined in: drives/src/sync.ts:106
Removals reported.
reset?
> optional reset?: boolean
Defined in: drives/src/sync.ts:118
The provider invalidated the stored cursor and the feed was restarted.
The cursor has been dropped, so the next run re-primes from the beginning and the ledger absorbs the repetition. Worth surfacing because a reset that happens every run means something is wrong (a cursor being aged out faster than the sync interval), and a silent full re-walk is an expensive thing to be silent about.
seen
> seen: number
Defined in: drives/src/sync.ts:100
Items the provider reported.
skipped
> skipped: number
Defined in: drives/src/sync.ts:104
Items the filter or the folder rule rejected.
truncated
> truncated: boolean
Defined in: drives/src/sync.ts:108
The run stopped on maxItems/maxPages and there is more to read.