Skip to content

TitleFromModel

TitleFromModel = object

Defined in: packages/schema/src/model.ts:1742

A record’s title derived in the browser, for the person reading it: the project UI’s titles[rule] gets the record’s fields and the reader, such as the names of a conversation’s other members. Presentation only: it is no field, filter or sort key. unreadable marks one that reads a field the caller cannot read, which then titles by the key.

fields: string[]

Defined in: packages/schema/src/model.ts:1746

The fields the rule reads, which every request that titles a record asks for.


rule: string

Defined in: packages/schema/src/model.ts:1744

The name of the function under the project UI’s titles.


optional unreadable?: true

Defined in: packages/schema/src/model.ts:1748

Set in /meta for a caller who cannot read one of the fields, which it then leaves out.