Interface: DocChange<T>
A single change applied to a watched collection.
Type Parameters
| Type Parameter |
|---|
T |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
data | T | The item data (last known state for removals). | 4Players/cortex-typescript-sdk/src/realtime/watch.ts:24 |
id | string | The stable id of the affected item. | 4Players/cortex-typescript-sdk/src/realtime/watch.ts:22 |
type | "added" | "modified" | "removed" | Whether the item was added, modified, or removed from the collection. | 4Players/cortex-typescript-sdk/src/realtime/watch.ts:20 |