Skip to main content

Module app_data

Module app_data 

Source
Expand description

The AppData dictionary: component IDs, the component registry, typed component values, validation, and creation-time synthesis.

fields is the developer-facing view: typed metadata fields and user data read from one committed dictionary snapshot. typed_facade gives protocol code single typed component reads.

Modules§

component_id
component_permissions
component_registry
component_source
Single source-of-truth for the per-ComponentId read/encode/apply logic.
components
Concrete Component impls for every well-known XMTP component id. One submodule per family of identically-shaped components (Bytes/String metadata attributes share a module; the heterogeneous Set/Map components each get their own).
creation
App-data dictionary values that are synthesized when a conversation is created.
fields
Typed metadata fields: the developer-facing view of a group’s AppData dictionary.
migration
Shared types, errors, and encoding helpers for the app-data migration synthesis path.
policy_set
Project the public policy view from the component registry.
protocol_floor
The committed MIN_SUPPORTED_PROTOCOL_VERSION floor check.
registry_table
Static dispatch table for well-known [Component] impls.
typed
Typed dispatch for AppData components.
typed_facade
Typed read facade over an OpenMLS group’s AppData dictionary.
validation