API reference / @evolu/common / Evolu/Storage
Evolu/Storage
Interfaces
| Interface | Description |
|---|---|
| BaseRange | - |
| CrdtMessage | A CRDT message combining a unique Timestamp with a DbChange. |
| CreateSqliteStorageBaseOptions | - |
| EncryptedCrdtMessage | An encrypted CrdtMessage. |
| FingerprintRange | - |
| SkipRange | - |
| SqliteStorageBase | Common interface for both client and relay SQLite storages. |
| SqliteStorageBaseDep | - |
| Storage | Evolu Storage |
| StorageDep | - |
| TimestampsRange | - |
Type Aliases
| Type Alias | Description |
|---|---|
| DbChange | - |
| EncryptedDbChange | Encrypted DbChange |
| Fingerprint | A cryptographic hash used for efficiently comparing collections of TimestampBytess. |
| InfiniteUpperBound | - |
| Range | - |
| RangeType | - |
| RangeUpperBound | Union type for Range's upperBound: either a TimestampBytes or InfiniteUpperBound. |
| SqliteStorageDeps | - |
Variables
| Variable | Description |
|---|---|
| DbChange | A DbChange is a change to a table row. Together with a unique Timestamp, it forms a CrdtMessage. |
| fingerprintSize | - |
| InfiniteUpperBound | - |
| RangeType | - |
| zeroFingerprint | A fingerprint of an empty range. |
Functions
| Function | Description |
|---|---|
| createSqliteStorageBase | - |
| getTimestampByIndex | - |
| timestampBytesToFingerprint | - |