Skip to content

ReadPositionModel

ReadPositionModel = object

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

The resource that keeps how far each reader has read a record’s conversation: one record per reader and record, its .author() the reader, field a relation to the record and message the key of the newest message they read.

field: string

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

The relation of resource that holds the record’s key.


message: string

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

The integer field that holds the key of the newest message read; the message resource’s key is one integer column.


resource: string

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

The read position resource, which has an .author() field.