Skip to main content
Module

x/automerge/stable.ts>Conflicts

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Go to Latest
type alias Conflicts
import { type Conflicts } from "https://deno.land/x/automerge@2.2.0/stable.ts";

The type of conflicts for particular key or index

Maps and sequences in automerge can contain conflicting values for a particular key or index. In this case getConflicts can be used to obtain a Conflicts representing the multiple values present for the property

A Conflicts is a map from a unique (per property or index) key to one of the possible conflicting values for the given property.

definition: { [key: string]: AutomergeValue; }