The implementation spec docs/git-sync-plan.md was removed as completed, but ~44 code comments still cited it as "plan §N". Strip those citations (comments only), keeping each comment grammatical. The vendored engine's own "SPEC §N" references point at a different, still-present spec and are left untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
28 lines
1005 B
TypeScript
28 lines
1005 B
TypeScript
/**
|
|
* Public surface of the vendored pure converter (the `lib/` half of the
|
|
* docmost-sync `docmost-client` package). This barrel re-exports only the
|
|
* PURE, IO-free pieces the sync engine needs: the self-contained markdown
|
|
* (de)serializers, the lossless ProseMirror <-> Markdown converter, the
|
|
* markdown -> ProseMirror import path, and semantic canonicalization for the
|
|
* round-trip idempotency check (SPEC §11).
|
|
*
|
|
* The REST client, websocket/collab write-path, auth-utils and page-lock from
|
|
* the upstream package are deliberately NOT vendored (the gitmost server writes
|
|
* natively).
|
|
*/
|
|
export {
|
|
serializeDocmostMarkdown,
|
|
parseDocmostMarkdown,
|
|
serializeDocmostMarkdownBody,
|
|
} from "./markdown-document";
|
|
export type { DocmostMdMeta } from "./markdown-document";
|
|
|
|
export { convertProseMirrorToMarkdown } from "./markdown-converter";
|
|
|
|
export { markdownToProseMirror } from "./markdown-to-prosemirror";
|
|
|
|
export {
|
|
canonicalizeContent,
|
|
docsCanonicallyEqual,
|
|
} from "./canonicalize";
|