Kind: Interface
Source: atloria-monorepo/apps/web/src/components/change-requests/section-merge.ts
Pure helpers for composing a resolved markdown document from per-section conflict choices (change-request three-way resolution).
The authoritative full text is the CURRENT document content ("mine"); a resolution replaces one heading-delimited section of it with the chosen text (usually the proposed "theirs" text, or a manual inline edit).
A "section" spans from its heading line (#{level} Heading) up to — but not
including — the next heading of the same or shallower level (or EOF).
Properties
| Property | Type |
|---|---|
heading | string |
level | number |
text | string |
Was this page helpful?