Skip to content

Interface: SourceAccess

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SourceAccess

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

What a source last said the caller may read of one library.

checkedAt: string

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

When the source was asked.


connector: string

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


current: boolean

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

Whether that answer still holds.


optional detail?: string | null

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

What the source said when it did not confirm.


driveId: string

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


hidden: string[]

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

The first hidden files, by name.


hiddenCount: number

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

How many are hidden from the caller.


outcome: string

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

confirmed: the source answered, and hid what hidden lists. Otherwise why the whole library is hidden: source_not_connected, source_grant_refused or source_authorization_unavailable.


readable: number

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

How many of the library’s documents the caller may read.


validUntil: string

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

Until when the engine serves on that answer; after it, nothing from the library is shown until the source is asked again.