Skip to main content

Module states

Module states 

Source
Expand description

Event lifecycle state type definitions.

This module defines the four states an event can be in during its lifecycle:

  • Draft: Raw user intent (content + type only)
  • Contextualized: Contextualized in the DAG with auth/prev events
  • Signed: Signed with event ID and signatures
  • Verified: Verified signatures and authorization

Structsยง

Contextualized
State representing an event contextualized in the room DAG.
Draft
State representing a draft event containing only user intent.
Signed
State representing a signed event with event ID and signatures.
Verified
State representing a fully verified event ready for persistence or distribution.