Interface: SourceAccess
@kortexya/reasoninglayer / SourceAccess
Interface: SourceAccess
Section titled “Interface: SourceAccess”Defined in: src/types/connectors.ts:241
What a source last said the caller may read of one library.
Properties
Section titled “Properties”checkedAt
Section titled “checkedAt”checkedAt:
string
Defined in: src/types/connectors.ts:243
When the source was asked.
connector
Section titled “connector”connector:
string
Defined in: src/types/connectors.ts:244
current
Section titled “current”current:
boolean
Defined in: src/types/connectors.ts:246
Whether that answer still holds.
detail?
Section titled “detail?”
optionaldetail?:string|null
Defined in: src/types/connectors.ts:248
What the source said when it did not confirm.
driveId
Section titled “driveId”driveId:
string
Defined in: src/types/connectors.ts:249
hidden
Section titled “hidden”hidden:
string[]
Defined in: src/types/connectors.ts:251
The first hidden files, by name.
hiddenCount
Section titled “hiddenCount”hiddenCount:
number
Defined in: src/types/connectors.ts:253
How many are hidden from the caller.
outcome
Section titled “outcome”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
Section titled “readable”readable:
number
Defined in: src/types/connectors.ts:259
How many of the library’s documents the caller may read.
validUntil
Section titled “validUntil”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.