Scale Intelligence■ Docs
Docs / The model / CaptureDeclaration

CaptureDeclaration.

What the extension keeps on one platform or domain, as one row of the browser connector, parameterized by the platform: address patterns, the network events to keep, the visible links, the scopes and the redactions

Figure 1CaptureDeclarationspecified
CAPTUREDECLARATIONrow at platform scopethe platform's slug, or a domain: the parameter of the connector, and the row's keyplatformtextthe browser connector, the same for every rowconnectorConnectorthe registered source the platform's pages land under: the platform as read in the browser, with its own shapes; the same platform read another way is another sourcesourceSourceaddress_patterns[text]the store's review approved a standing host permission for this platform, so the extension's manifest carries it and the browser asks for it at install; absent when the grant is optional and the browser asks for it when a rule for every page needs it (24 §2.1, SR-2417)standing_grantbooloptionalthe responses to keepnetwork_events[ResourceFilter]the links visible on the pageneighbourhood_links[MappingConnection]scopes[enum:this item|this thre…redactions[RedactionRule]versiontextthe name of the platform's mark in the icon register, or none when no public-domain drawing of it existsmarktextoptionalthe platform's own colour for its tile, as its brand states ittinttextoptionalCONNECTORthrough connectorSOURCEthrough sourceRESOURCEFILTERthrough network_eventsMAPPINGCONNECTIONthrough neighbourhood_linksREDACTIONRULEthrough redactions
CaptureDeclaration is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
the platform
store
postgres
family
sources

Fields#

fieldtyperequirednote
platformtextyesthe platform’s slug, or a domain: the parameter of the connector, and the row’s key
connectorConnectoryesthe browser connector, the same for every row
sourceSourceyesthe registered source the platform’s pages land under: the platform as read in the browser, with its own shapes; the same platform read another way is another source
address_patterns[text]yes
standing_grantboolnothe store’s review approved a standing host permission for this platform, so the extension’s manifest carries it and the browser asks for it at install; absent when the grant is optional and the browser asks for it when a rule for every page needs it (24 §2.1)
network_eventsResourceFilteryesthe responses to keep
neighbourhood_linksMappingConnectionyesthe links visible on the page
scopes[one of this item | this thread | this channel as shown | this page | this meeting | my outbound message]yes
redactionsRedactionRuleyes
versiontextyes
marktextnothe name of the platform’s mark in the icon register, or none when no public-domain drawing of it exists
tinttextnothe platform’s own colour for its tile, as its brand states it

Routes that use it#

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