HeaderRule.
How a kind of connection is read off the shared silver header: each role bound to one header column, and the rows the rule applies to
Figure 1HeaderRulespecified
- kind
- value
- scope
- none
- key
- none
- store
- none
- family
- record
Fields#
| field | type | required | note |
|---|---|---|---|
roles | {text:enum:own_id | author_account | parent | thread_root | community} | yes | the kind’s role, and the header column that fills it |
when | one of always | the row is its thread's root | the row has a parent | yes | which rows of silver the rule reads |
version | count | yes | the rule’s version, written on every connection the view yields |
Routes that use it#
No route takes or returns HeaderRule directly. The record holds it, and the objects that point at it reach it.