Skip to content

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.

depRead: EventDefFacts

Defined in: packages/@livestore/common/dist/schema/EventDef/facts.d.ts:53

Facts this event reads (but doesn’t require).


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: EventDefFacts

Defined in: packages/@livestore/common/dist/schema/EventDef/facts.d.ts:43

Facts this event sets to a new value.


modifyUnset: EventDefFacts

Defined in: packages/@livestore/common/dist/schema/EventDef/facts.d.ts:45

Facts this event removes/unsets.