docs: define independent revision properties

This commit is contained in:
vorotamoroz
2026-08-19 06:25:00 +00:00
parent a0684c4b3a
commit f02470ec5c
13 changed files with 153 additions and 99 deletions
@@ -32,7 +32,7 @@ export type DocumentHistoryRestorationOptions = {
};
/**
* Restore historical content as a new child of the current live database winner, then reflect
* Restore historical content as a new child of the current database winner, then reflect
* that exact new revision to the Vault. The historical revision supplies content, not ancestry.
*/
export async function restoreDocumentHistoryRevision(
@@ -175,7 +175,7 @@ describe("restoreDocumentHistoryRevision", () => {
expect(getConflictedRevs).not.toHaveBeenCalled();
});
it("reports remaining live conflict leaves after restoration", async () => {
it("reports remaining conflict leaves after restoration", async () => {
const { core, getConflictedRevs } = createCore({ conflicts: ["3-other"] });
await expect(restoreDocumentHistoryRevision(core, path, "2-source")).resolves.toEqual({