Scale Intelligence■ Docs
Docs / The model / HeaderRule

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
HEADERRULEvalue at none scopethe kind's role, and the header column that fills itroles{text:enum:own_id|author_account|parent|thread_ro…which rows of silver the rule readswhenenum:always|the row is its thread's root|the row …the rule's version, written on every connection the view yieldsversioncountpoints at no other object
HeaderRule is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
record

Fields#

fieldtyperequirednote
roles{text:enum:own_id | author_account | parent | thread_root | community}yesthe kind’s role, and the header column that fills it
whenone of always | the row is its thread's root | the row has a parentyeswhich rows of silver the rule reads
versioncountyesthe 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.