Skip to content

@graphty/graphty-element / session / SetStatus

Interface: SetStatus ​

Defined in: graphty-element/src/session/sets/types.ts:70

Whether a set still means what it meant, derived on read from what its definition reads and the last pass over it. Never resolves.

Properties ​

earlierRuns ​

readonly earlierRuns: readonly string[]

Defined in: graphty-element/src/session/sets/types.ts:89

Runs whose held execution (in the definition or in what the set was created from) is no longer the run's current one: "Earlier run". Empty otherwise.


freshness ​

readonly freshness: "current" | "out-of-date" | "cannot-rerun" | "detached" | "unresolvable"

Defined in: graphty-element/src/session/sets/types.ts:79

OPEN UNION: values may be added in a minor release; handle unknown values. The screen never says "stale". out-of-date: a run it reads has inputs that changed (verb "Re-run"). cannot-rerun: the same, but the run's algorithm is no longer registered. detached: a referent was removed (verb "Restore"). unresolvable: nothing was removed, but the definition cannot be evaluated -- a cycle, a failed compile, a capability this element lacks (verbs "Edit rule" or "Update graphty-element").


reasons ​

readonly reasons: readonly SetStatusReason[]

Defined in: graphty-element/src/session/sets/types.ts:84

Why it is not current, or why it resolves to less than its definition names. May be non-empty when current: render reasons whatever the freshness.