Scale Intelligence■ Docs
Docs / The model / PlatformList

PlatformList.

A list a page or an API answer carries whose items are things of the platform, each keyed by the first of its key paths that holds a value, and the relation between the page's thing and each item

Figure 1PlatformListspecified
PLATFORMLISTvalue at none scopefieldtexta thing of the domainthingtexta relation of the domain; absent when the items stand alonerelationtextoptionalkey_paths[text]name_pathtextoptionaltrue when each item takes the relation's from role and the page's thing its to role; false the other way rounditems_are_fromboolthe thing each item belongs to, when the item carries its key: a comment's post, an edition's newsletterparentPlatformListParentoptionalwhat the viewer must be to see the list at allneedsenum:anyone|signed in|connected…PLATFORMLISTPARENTthrough parent
PlatformList 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
sources

Fields#

fieldtyperequirednote
fieldtextyes
thingtextyesa thing of the domain
relationtextnoa relation of the domain; absent when the items stand alone
key_paths[text]yes
name_pathtextno
items_are_fromboolyestrue when each item takes the relation’s from role and the page’s thing its to role; false the other way round
parentPlatformListParentnothe thing each item belongs to, when the item carries its key: a comment’s post, an edition’s newsletter
needsone of anyone | signed in | connected | member | admin | premium | licensedyeswhat the viewer must be to see the list at all

Routes that use it#

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