All Classes and Interfaces

Class
Description
 
 
 
Abstract Yjs Type class
 
Utility module to work with Arrays.
 
Binary data constants.
Utility functions to work with buffers (Uint8Array).
An implementation of a map which has keys that expire.
Represents a change in a key's value in the YType.
Represents the changes that occurred in a YType.
 
 
 
 
 
 
 
 
 
 
Buffer Utility to handle big numbers
 
Record decoding position of Uint8Array.
Efficient schema-less binary decoding with support for variable length encoding.
Represents a Delete Item with a starting clock and a length.
We no longer maintain a DeleteStore.
Represents a change operation in the YType.
Represents a delete operation in the YType.
Represents an insert operation in the YType.
Represents a retain operation in the YType.
Efficient diffs.
A Yjs instance handles the state of shared data.
 
 
 
 
 
 
 
 
A BinaryEncoder handles the encoding to an Uint8Array.
Efficient schema-less binary encoding with support for variable length encoding.
We use the first five bits in the info flag for determining the type of the struct. 0: GC 1: Item with Deleted content 2: Item with JSON content 3: Item with Binary content 4: Item with String content 5: Item with Embed content (for rich text content) 6: Item with Format content (a formatting marker for rich text content) 7: Item with Type
General event handler implementation.
 
 
Increasing Uint Optimized RLE decoder
Increasing Uint Optimized RLE Encoder
Basic diff decoder using variable length decoding.
Basic diff encoder using variable length encoding.
A combination of the IntDiffDecoder and the UintOptRleDecoder.
A combination of the IntDiffEncoder and the UintOptRleEncoder.
 
Interface for the common behavior - read in decoders
Interface for the common behavior - write in encoders
 
 
 
LazyStructReader provides a mechanism to lazily read structs (Item, GC, Skip) from a decoder.
 
ListNode<T extends ListNode<T>>
Used in NodeList
Map Utility
 
Used in Metric
 
 
 
Number Utility
 
Handles named events.
 
Fast Pseudo Random Number Generators.
 
 
 
Used in Queue
Used in Queue
Random Utility
 
A relative position is based on the Yjs model and is not affected by document changes.
Basic Run Length decoder - a basic compression implementation.
Basic Run Length Encoder - a basic compression implementation.
A combination of IntDiffDecoder and RleDecoder.
A combination of IntDiffEncoder and RleEncoder.
Set Utility
Simple implementation to represent diff
 
 
Efficient sort implementations.
 
 
Statistic Utility
Optimized String Decoder.
Optimized String Encoder.
String Utility
 
 
 
Time Utility
A transaction is created for every change on the Yjs model.
Represents an operation that accepts three input arguments and returns no result.
Represents a function that accepts three arguments and produces a result.
An enhanced class using byte array to simulate Uint8Array
Optimized Rle decoder that does not suffer from the mentioned problem of the basic Rle decoder.
Optimized Rle encoder that does not suffer from the mentioned problem of the basic Rle encoder.
Fires 'stack-item-added' event when a stack item was added to either the undo- or the redo-stack.
 
 
 
 
 
 
 
 
 
A shared Array implementation.
 
YEvent describes the changes on a YType.
A shared Map implementation.
Interface representing a consumer function for YMap.
 
Type that represents text with formatting information.
Event that describes the changes on a YText type.
 
 
Represents a list of YXmlElement.and YXmlText types.
 
Represents text in a Dom Element.
Represents a subset of the nodes of a YXmlElement / YXmlFragment and a position within them.
Result of YXmlTreeWalker