EventDefFactsGroup
EventDefFactsGroup =
object
Defined in: packages/@livestore/common/dist/schema/EventDef/facts.d.ts:41
Groups of facts that an event interacts with. Used internally to track how events modify and depend on facts.
Properties
Section titled “Properties”depRead
Section titled “depRead”depRead:
EventDefFacts
Defined in: packages/@livestore/common/dist/schema/EventDef/facts.d.ts:53
Facts this event reads (but doesn’t require).
depRequire
Section titled “depRequire”depRequire:
EventDefFacts
Defined in: packages/@livestore/common/dist/schema/EventDef/facts.d.ts:51
Facts this event requires to exist with specific values. Events on independent dependency branches are commutative, which can facilitate more prioritized syncing.
modifySet
Section titled “modifySet”modifySet:
EventDefFacts
Defined in: packages/@livestore/common/dist/schema/EventDef/facts.d.ts:43
Facts this event sets to a new value.
modifyUnset
Section titled “modifyUnset”modifyUnset:
EventDefFacts
Defined in: packages/@livestore/common/dist/schema/EventDef/facts.d.ts:45
Facts this event removes/unsets.