Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "listmodel/index"

file

This file contains the bulky position manipulation logic for any list- based CRDT (arrays, text, rich text, etc.)

author

Nathan Pennie kb1rd@kb1rd.net

Index

Type aliases

InsertionOperation

InsertionOperation: object

Type declaration

  • length: number
  • offset: number
  • start: number
  • type: "i"

JoinFunction

JoinFunction: function

A function that determines if two LogootNodeGroups should be in the same ConflictGroup. The two arguments must be in order.

param

The first LogootNodeGroup

param

The second LogootNodeGroup

returns

True if the two groups can be joined.

Type declaration

KnownPositionBst

KnownPositionBst: DBst<ConflictGroup>

LogootBst

LogootBst: Bst<LogootNodeGroup, object>

MarkOperation

MarkOperation: object

Type declaration

  • conflicting: boolean
  • length: number
  • start: number
  • type: "m"

Operation

An operation returned by _mergeNode to be run on the local document.

Removal

Removal: object

A Logoot removal.

Type declaration

RemovalOperation

RemovalOperation: object

Type declaration

  • length: number
  • start: number
  • type: "r"

TranslationOperation

TranslationOperation: object

Type declaration

  • dest: number
  • length: number
  • source: number
  • type: "t"

Functions

Const MinimalJoinFunction

Generated using TypeDoc