Skip to content

@graphty/graphty-element / session / RunScopeRecord

Interface: RunScopeRecord ​

Defined in: graphty-element/src/session/runs/types.ts:277

The scope a run ran over, in the structured-cloneable form a record carries.

Properties ​

digest ​

readonly digest: string

Defined in: graphty-element/src/session/runs/types.ts:285

The digest the staleness comparison reads.


edges ​

readonly edges: number

Defined in: graphty-element/src/session/runs/types.ts:283

How many edges it resolved to.


nodes ​

readonly nodes: number

Defined in: graphty-element/src/session/runs/types.ts:281

How many nodes it resolved to.


reading? ​

readonly optional reading?: EdgeReading

Defined in: graphty-element/src/session/runs/types.ts:297

Which edges came with the scope's nodes. OPEN UNION, as EdgeReading.


set? ​

readonly optional set?: object

Defined in: graphty-element/src/session/runs/types.ts:290

The kept set a { set } scope named, and its revision when the run resolved it, so a reader can tell whether the set has been redefined since. Absent for every other scope.

id ​

readonly id: string

The kept set's id.

revision ​

readonly revision: string

The set's revision when the run resolved it.


spec ​

readonly spec: Scope

Defined in: graphty-element/src/session/runs/types.ts:279

What was asked for.