ExtensionDocument

A document used to store and sync an extension's state and configuration.

An extension's state, such as which topics it is enabled in, is stored in the database as an ExtensionDocument. Extension documents are synced across a user's app instances in order to ensure that each instance uses the same extensions with the same configuration.

PropertyTypeDescription
id*stringThe document ID.
extension*stringThe ID of the extension.
enabled*booleanIndicates whether the extension is enabled or not.
topics*string[]The IDs of the topics for which this extension is enabled.