Skip to content

Interface: TopologyPartitionState ​

Defined in: ports/topology-partition-state.ts:7

Live or overlay state record for a single logical partition in TopologyStore.

Tracks the partition identifier, monotonic contract epoch, contract text, update timestamp, and optional last-mutating run ID across per-run Copy-on-Write overlays.

Properties ​

PropertyModifierTypeDescriptionDefined in
contractTextreadonlystringCurrent Markdown or structured contract text for the partition.ports/topology-partition-state.ts:13
epochreadonlynumberMonotonic integer contract epoch number.ports/topology-partition-state.ts:11
lastMutatedByRunId?readonlystringOptional runId that most recently mutated this partition's contract in the active overlay lineage.ports/topology-partition-state.ts:17
partitionIdreadonlystringLogical identifier of the partition.ports/topology-partition-state.ts:9
updatedAtreadonlystringISO-8601 timestamp when the partition contract was last updated.ports/topology-partition-state.ts:15

Released under the MIT License.