StoredCommunity
@forge/monorepo / backend/src / StoredCommunity
Type Alias: StoredCommunity
StoredCommunity =
object
Defined in: backend/src/persistence/index.ts:1627
A community as stored: the cluster, and whatever summary has been written for it.
summaryFingerprint is the mechanism behind visible staleness. A summary records the membership it was
written against; when the graph changes and the community's fingerprint moves on, the two differ and the
summary is knowably out of date — without a timestamp anybody has to interpret, and without re-reading the
summary to guess.
Properties
chunkIds
readonlychunkIds: readonlystring[]
Defined in: backend/src/persistence/index.ts:1632
entityIds
readonlyentityIds: readonlystring[]
Defined in: backend/src/persistence/index.ts:1630
fingerprint
readonlyfingerprint:string
Defined in: backend/src/persistence/index.ts:1633
id
readonlyid:string
Defined in: backend/src/persistence/index.ts:1628
level
readonlylevel:number
Defined in: backend/src/persistence/index.ts:1629
relationshipIds
readonlyrelationshipIds: readonlystring[]
Defined in: backend/src/persistence/index.ts:1631
summarisedAt?
readonlyoptionalsummarisedAt?:string
Defined in: backend/src/persistence/index.ts:1637
summary?
readonlyoptionalsummary?:string
Defined in: backend/src/persistence/index.ts:1634
summaryFingerprint?
readonlyoptionalsummaryFingerprint?:string
Defined in: backend/src/persistence/index.ts:1636
The fingerprint the summary was written against. Differs from fingerprint exactly when stale.