Skip to content

Interface: SelectedLibrary

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SelectedLibrary

Defined in: src/types/connectors.ts:207

A selected library and how fresh the box’s copy is.

connector: string

Defined in: src/types/connectors.ts:208


driveId: string

Defined in: src/types/connectors.ts:209


intervalSeconds: number

Defined in: src/types/connectors.ts:210


itemsFailed: number

Defined in: src/types/connectors.ts:212

Files the last attempt failed on; each is tried again at every sync.


itemsSynced: number

Defined in: src/types/connectors.ts:214

Files the box holds as documents.


optional lastAttemptAt?: string | null

Defined in: src/types/connectors.ts:215


optional lastError?: string | null

Defined in: src/types/connectors.ts:216


optional lastStatus?: string | null

Defined in: src/types/connectors.ts:219

succeeded, partial, failed or unauthorized; absent before the first sync.


optional lastSuccessfulSyncAt?: string | null

Defined in: src/types/connectors.ts:222

When the source was last read to the end of its changes. Absent until the first sync ends.


name: string

Defined in: src/types/connectors.ts:223


optional nextSyncAt?: string | null

Defined in: src/types/connectors.ts:224


selectedAt: string

Defined in: src/types/connectors.ts:225


selectedBy: string

Defined in: src/types/connectors.ts:226


stale: boolean

Defined in: src/types/connectors.ts:229

The box’s copy may be behind the source: never synced, the last sync did not reach the source, or two intervals passed since one did.


optional webUrl?: string | null

Defined in: src/types/connectors.ts:230