跳到主要内容

WriteEntryOrigin

type WriteEntryOrigin = "local" | "remote_sync";

Defined in: packages/rxdb-plugin-working-tree/src/working-tree/write-entry-matrix.ts:109

单元的来源

Remarks​

与「要不要进 changelog」是两个问题,即使今天答案一一对应。FR-046 点名的失败形态是 pull 写进来的实体被当成本地编辑再 push 回去(push echo);两者合成一个字段之后,「remote_sync 的单元要不要 push」就没有代码位置可改了。