Skip to content

@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 ​

readonly config: Readonly<Record<string, unknown>>

Defined in: graphty-element/src/session/sources/types.ts:141

The params, a REST mapping included.


credential ​

readonly credential: SourceCredentialIdentity | null

Defined in: graphty-element/src/session/sources/types.ts:155

Who the credential was, or null.


endpoint ​

readonly endpoint: string | null

Defined in: graphty-element/src/session/sources/types.ts:143

The endpoint, origin and path only.


expansions ​

readonly expansions: readonly SourceExpansionRecord[]

Defined in: graphty-element/src/session/sources/types.ts:157

Its expansions, in order.


key ​

readonly key: string

Defined in: graphty-element/src/session/sources/types.ts:135

Its key, also in _source.loads.


loadedAt ​

readonly loadedAt: string

Defined in: graphty-element/src/session/sources/types.ts:147

When the fetch finished, ISO-8601.


next ​

readonly next: Readonly<Record<string, string | number | boolean | null>> | null

Defined in: graphty-element/src/session/sources/types.ts:151

Where it continues, or null.


options ​

readonly options: 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 ​

readonly pages: number

Defined in: graphty-element/src/session/sources/types.ts:149

Pages read, so a refresh reads as many.


source ​

readonly source: string

Defined in: graphty-element/src/session/sources/types.ts:137

The source id.


validators ​

readonly validators: SourceValidators

Defined in: graphty-element/src/session/sources/types.ts:153

What tells whether it changed.


version ​

readonly version: number

Defined in: graphty-element/src/session/sources/types.ts:139

The source's descriptor version.