Skip to content

Commit

Permalink
fix: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Leeeon233 committed Nov 10, 2023
1 parent 46cdf8a commit 3637f4d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions loro-js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,19 @@ export type TreeDiff = {
export type Diff = ListDiff | TextDiff | MapDiff | TreeDiff;

export interface LoroEvent {
/**
* If true, this event was triggered by a local change.
*/
local: boolean;
origin?: string;
/**
* If true, this event was triggered by a child container.
*/
fromChildren: boolean;
/**
* If true, this event was triggered by a checkout.
*/
fromCheckout: boolean;
diff: Diff;
target: ContainerID;
path: Path;
Expand Down

0 comments on commit 3637f4d

Please sign in to comment.