Skip to content

basalt / drives/src / DriveConnectionPatch

Interface: DriveConnectionPatch ​

Defined in: drives/src/store.ts:111

Mutable fields. Spelled out rather than Partial<> so it can state the rule a durable store needs: a key present with undefined clears the column, an absent key leaves it alone — the same contract @basaltkit/files' FilePatch documents, and the only way to express "drop the cursor" under exactOptionalPropertyTypes.

Properties ​

account? ​

> optional account?: DriveConnectionAccount

Defined in: drives/src/store.ts:113


cursor? ​

> optional cursor?: string

Defined in: drives/src/store.ts:117


label? ​

> optional label?: string

Defined in: drives/src/store.ts:112


lastSyncedAt? ​

> optional lastSyncedAt?: number

Defined in: drives/src/store.ts:119


rootId? ​

> optional rootId?: string

Defined in: drives/src/store.ts:120


scopes? ​

> optional scopes?: readonly string[]

Defined in: drives/src/store.ts:115


secret? ​

> optional secret?: string

Defined in: drives/src/store.ts:116


status? ​

> optional status?: DriveConnectionStatus

Defined in: drives/src/store.ts:114


watch? ​

> optional watch?: DriveConnectionWatch

Defined in: drives/src/store.ts:118

Released under the MIT License.