@graphty/graphty-element / index / SourceLoadRecord
Interface: SourceLoadRecord ​
Defined in: graphty-element/src/session/sources/types.ts:133
One load from a network source as a project records it: everything needed to refresh it, and never a secret. Experimental.
Properties ​
config ​
readonlyconfig:Readonly<Record<string,unknown>>
Defined in: graphty-element/src/session/sources/types.ts:141
The params, a REST mapping included.
credential ​
readonlycredential:SourceCredentialIdentity|null
Defined in: graphty-element/src/session/sources/types.ts:155
Who the credential was, or null.
endpoint ​
readonlyendpoint:string|null
Defined in: graphty-element/src/session/sources/types.ts:143
The endpoint, origin and path only.
expansions ​
readonlyexpansions: readonlySourceExpansionRecord[]
Defined in: graphty-element/src/session/sources/types.ts:157
Its expansions, in order.
key ​
readonlykey:string
Defined in: graphty-element/src/session/sources/types.ts:135
Its key, also in _source.loads.
loadedAt ​
readonlyloadedAt:string
Defined in: graphty-element/src/session/sources/types.ts:147
When the fetch finished, ISO-8601.
next ​
readonlynext:Readonly<Record<string,string|number|boolean|null>> |null
Defined in: graphty-element/src/session/sources/types.ts:151
Where it continues, or null.
options ​
readonlyoptions:Readonly<Record<string,unknown>>
Defined in: graphty-element/src/session/sources/types.ts:145
The recorded load options: idPrefix, existing, limits and the like.
pages ​
readonlypages:number
Defined in: graphty-element/src/session/sources/types.ts:149
Pages read, so a refresh reads as many.
source ​
readonlysource:string
Defined in: graphty-element/src/session/sources/types.ts:137
The source id.
validators ​
readonlyvalidators:SourceValidators
Defined in: graphty-element/src/session/sources/types.ts:153
What tells whether it changed.
version ​
readonlyversion:number
Defined in: graphty-element/src/session/sources/types.ts:139
The source's descriptor version.