Skip to content

Commit d591616

Browse files
vanceingallsclaude
andcommitted
fix(sdk): restore full public exports now session/document modules exist
index.ts re-exports document/session/history/persist-queue (trimmed in the engine-layer PR to keep it self-contained); drops the temporary fallow suppressions whose consumers now exist. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent edf7306 commit d591616

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

packages/sdk/src/adapters/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Consumed by session.ts + adapter implementations in the next stacked PR (#1325).
2-
// fallow-ignore-file unused-file
31
import type { PersistErrorEvent } from "../types.js";
42

53
// ─── PersistAdapter ───────────────────────────────────────────────────────────

packages/sdk/src/engine/patches.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ export function pathToKey(path: string): string | null {
105105

106106
// ─── Patch event builder ──────────────────────────────────────────────────────
107107

108-
// Consumed by session.ts dispatch/batch in the next stacked PR (#1325).
109-
// fallow-ignore-next-line unused-export
110108
export function buildPatchEvent(
111109
forward: readonly JsonPatchOp[],
112110
inverse: readonly JsonPatchOp[],

packages/sdk/src/index.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,14 @@ export type {
1717
} from "./types.js";
1818

1919
export { ORIGIN_APPLY_PATCHES, ORIGIN_LOCAL } from "./types.js";
20+
21+
export { buildDocument, buildRoots, flatElements } from "./document.js";
22+
23+
export { openComposition } from "./session.js";
24+
export type { OpenCompositionOptions } from "./session.js";
25+
26+
export { createHistory } from "./history.js";
27+
export type { HistoryModule, HistoryOptions, HistoryEntry } from "./history.js";
28+
29+
export { createPersistQueue } from "./persist-queue.js";
30+
export type { PersistQueueModule, PersistQueueOptions } from "./persist-queue.js";

0 commit comments

Comments
 (0)