Element details
type: meya.db.integration
class: DbIntegration
path: /meya/db/integration.py
signature: -
Fields
field | description
| required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
enabled | Enables the integration, allowing it to process events and HTTP/WS entries. | ○ | ○ | true | bool |
filter | Specifies the GridQL to filter | ○ | ○ | rx_sub: true | IntegrationFilter |
verify_token | The token to be verified for each incoming request. You need to add the | ○ | ○ | null | str |
max_attachment_size | Controls maximum attachment size supported by the integration in bytes. | ○ | ○ | null | int |
presence_queue | ○ | ○ | cache_maxlen: 10000 | DbQueueConfigSpec | |
presence_ledger | ○ | ○ | cache_maxlen: 200 | PresenceLedgerConfigSpec | |
presence_device_view | ○ | ○ | cache_ttl: 3m | PresenceHashViewConfigSpec | |
ws_queue | ○ | ○ | cache_maxlen: 10000 | DbQueueConfigSpec | |
ws_ledger | ○ | ○ | cache_maxlen: 2 | WsLedgerConfigSpec | |
Usage reference
Basic
type meya.db.integration
Full
type meya.db.integration
spec
type STRING
data
STRING ANY
timeout123
trigger_when ANY
enabledfalse
filter
rx_sub STRING
rx STRING
tx STRING
tx_pub STRING
verify_token STRING
max_attachment_size123
presence_queue
cache_maxlen123
presence_ledger
cache_maxlen123
cache_ttl 60s
persistfalse
presence_device_view
cache_ttl 60s
persistfalse
ws_queue
cache_maxlen123
ws_ledger
cache_maxlen123
cache_ttl 60s
persistfalse