Skip to content

PeerborneCollectionOptions

Defined in: index.ts:14

Row extends object

Key extends string | number

Doc

Change

PublicKey

getKey: (row) => Key

Defined in: index.ts:23

Row

Key


id: string

Defined in: index.ts:21


mutate: (mutations) => Change

Defined in: index.ts:27

Translate field changes into CRDT operations; do not replace whole documents.

readonly PeerborneRowMutation<Row, Key>[]

Change


select: (document) => readonly Row[]

Defined in: index.ts:25

Return plain, structured-cloneable rows with unique, stable keys.

Doc

readonly Row[]


store: DocumentStore<Doc, Change, PublicKey>

Defined in: index.ts:22