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
- kind
- row
- scope
- platform
- key
- the platform
- store
- postgres
- family
- sources
Fields#
| field | type | required | note |
|---|---|---|---|
platform | text | yes | the platform’s slug, or a domain: the parameter of the connector, and the row’s key |
connector | Connector | yes | the browser connector, the same for every row |
source | Source | yes | the 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_grant | bool | no | 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) |
network_events | ResourceFilter | yes | the responses to keep |
neighbourhood_links | MappingConnection | yes | the links visible on the page |
scopes | [one of this item | this thread | this channel as shown | this page | this meeting | my outbound message] | yes | |
redactions | RedactionRule | yes | |
version | text | yes | |
mark | text | no | the name of the platform’s mark in the icon register, or none when no public-domain drawing of it exists |
tint | text | no | the 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.