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.
Property | Type | Description |
---|---|---|
id* | string | The document ID. |
extension* | string | The ID of the extension. |
enabled* | boolean | Indicates whether the extension is enabled or not. |
topics* | string[] | The IDs of the topics for which this extension is enabled. |