Scale Intelligence■ Docs
Docs / The model / Connector

Connector.

The code for one source's ways and actions, with what it declares; one package of rows plus one implementation (18 §2.1)

Figure 1Connectorspecified
CONNECTORrow at platform scopenametextabsent for a connector parameterized by its declarations, such as the browser capture, whose declarations each name theirssourceSourceoptionalcode_versiontextThe names of the kinds of reading, the kinds of action and the capture declarations whose rows name this connector. The register build derives the list from those rows; nobody types it.declares[text]the trait's behaviours the rows declare; one not implemented fails the buildbehaviours[enum:probe|read|subscribe|backfi…the recorded wire capturessamples_hashhashoptionalfor a connector that writes more than one shape (a catalogue builder whose views differ), the checked schema hash of each source object it returns, by the object's name; a connector that writes one shape records samples_hash alonesamples{text:hash}optionalsync_offers[SyncOffer]stateReadinessSOURCEthrough sourceSYNCOFFERthrough sync_offersREADINESSthrough state
Connector is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
its name and the version of its code
store
postgres
family
sources

Fields#

fieldtyperequirednote
nametextyes
sourceSourcenoabsent for a connector parameterized by its declarations, such as the browser capture, whose declarations each name theirs
code_versiontextyes
declares[text]yesThe names of the kinds of reading, the kinds of action and the capture declarations whose rows name this connector. The register build derives the list from those rows; nobody types it.
behaviours[one of probe | read | subscribe | backfill | act | undo | resolve | capture]yesthe trait’s behaviours the rows declare; one not implemented fails the build
samples_hashhashnothe recorded wire captures
samples{text:hash}nofor a connector that writes more than one shape (a catalogue builder whose views differ), the checked schema hash of each source object it returns, by the object’s name; a connector that writes one shape records samples_hash alone
sync_offersSyncOfferyes
stateReadinessyes

Routes that use it#

No route takes or returns Connector directly. The record holds it, and the objects that point at it reach it.