跳到主要内容

CommitChangeSetPage

Defined in: packages/rxdb-plugin-working-tree/src/commit/commit-changes.ts:18

commitChanges 返回的一页:一个 commit 的全部变更单元,按写入顺序。

Properties​

commitId​

readonly commitId: string;

Defined in: packages/rxdb-plugin-working-tree/src/commit/commit-changes.ts:20

读的是哪个 commit;与入参逐字相同


entries​

readonly entries: readonly CommitChangeUnitContent[];

Defined in: packages/rxdb-plugin-working-tree/src/commit/commit-changes.ts:22

该 commit 的变更单元;按 sequence 升序,已过 codec 解码