Module app_data
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-
ComponentIdread/encode/apply logic. - components
- Concrete
Componentimpls 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.
- dm_
registry_ profile - DM registry profiles (DMS section 2). A profile lists the registry entries
outside the application range that a DM holds from its creation. A DM
keeps them for life and new installations keep joining it, so a profile is
never changed or removed: a change to what a DM creator writes is a new
profile, appended to
PROFILES. The rows are literal so that a change to the creator path cannot change a profile. - fields
- Typed metadata fields: the developer-facing view of a group’s AppData dictionary.
- group_
root - The group root in a group context’s
GROUP_ROOT_KEYcomponent. - 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_VERSIONfloor 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