SyncRule.
One way or two ways from the same rows: pull arms cells, push runs as a move, a conflict is decided by the rule
Figure 1SyncRulespecified
- kind
- definition
- scope
- follows
- key
- the installed connector and the offer, versioned
- store
- postgres
- family
- sources
Fields#
| field | type | required | note |
|---|---|---|---|
installed_connector | id | yes | |
offer | SyncOffer | yes | |
direction | one of pull | push | both | yes | |
push_mappings | PushMapping | yes | the reverse of the mapping’s pull side |
pushes | Predicate | no | over entities or leads, previewed first |
conflict | one of the source wins | the record wins | the newest valid time wins | ask | yes | |
cadence | duration | no | pull arms cells at it |
grant | id | yes | the mode a push runs under |
state | Readiness | yes |
Routes that use it#
No route takes or returns SyncRule directly. The record holds it, and the objects that point at it reach it.