DataStoreOperation
A version-one journal operation. These fields form a published wire format.
Import:
import type { DataStoreOperation } from '@mnaoumov/obsidian-lib/data-stores/data-store-replica';Signature:
export interface DataStoreOperationProperties
| Property | Type | Description |
|---|---|---|
| counter | number | Logical counter within the wall-clock millisecond. |
| deleted | boolean | Whether this is a removal. |
| device | string | Unique writer incarnation, stored locally rather than in plugin settings. |
| key | string | Record key, or set member. |
| sequence | number | Strictly increasing writer sequence, starting at one. |
| tags? | readonly string[] | Observed addition tags removed by a set operation. |
| time | number | Hybrid logical clock wall time. |
| value | unknown | JSON-compatible value; set members use true. |
Links to this page: