Skip to content

feat(public-facade): phase 4a flip subpath types to public facade (SD-3211)#3374

Merged
caio-pizzol merged 1 commit into
mainfrom
caio-pizzol/SD-3211-phase4-types-flip
May 18, 2026
Merged

feat(public-facade): phase 4a flip subpath types to public facade (SD-3211)#3374
caio-pizzol merged 1 commit into
mainfrom
caio-pizzol/SD-3211-phase4-types-flip

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

TypeScript contract switch for 9 scaffolded subpaths only. Each subpath's types and typesVersions field now resolves through the curated dist/superdoc/src/public/** declarations built by SD-3178 and its leaves.

Subpaths flipped: ./types, ./ui, ./ui/react, ./headless-toolbar, ./headless-toolbar/react, ./headless-toolbar/vue, ./converter, ./docx-zipper, ./file-zipper.

Not in this PR:

  • Root . entry stays on historical types. A dry-run flip surfaced a 196-name consumer-fixture surface vs the 24-name SD-3185 curated facade (31 of 57 matrix scenarios failed). The mismatch requires classification before flipping; tracked as Phase 4b (SD-3212).
  • ./super-editor entry stays on historical types (SD-3181 deferred).
  • No import / require / source field changes. Runtime module identity unchanged for every consumer.

Verified locally:

  • Facade verifier: clean across 10 entries.
  • Consumer-typecheck matrix: 57/57 scenarios pass.
  • check-export-coverage: 12 entries OK.
  • SD-3176 subpath snapshots: clean.

This is the safe half of Phase 4. The root half (SD-3212) is the strategic work, scoped separately to keep regressions isolated and to give the root classification its own evidence-based decision pass.

Related: SD-3211 (this PR), SD-3175 (path-as-contract umbrella), SD-3178 (Phase 3 scaffold), SD-3185 (root facade curation), SD-3212 (Phase 4b root work), SD-3181 (deferred super-editor).

…-3211)

TypeScript contract switch for 9 scaffolded subpaths only. Each subpath's
`types` and `typesVersions` field now resolves through the curated
`dist/superdoc/src/public/**` declarations built by SD-3178 and its leaves.

Subpaths flipped:
  ./types, ./ui, ./ui/react,
  ./headless-toolbar, ./headless-toolbar/react, ./headless-toolbar/vue,
  ./converter, ./docx-zipper, ./file-zipper.

Explicitly NOT in this PR:
  Root `.` entry stays on historical types. Dry-run found a 196-name
  consumer-fixture surface vs the 24-name SD-3185 curated facade. The
  mismatch requires classification before flipping; tracked as Phase 4b
  (SD-3212).

  `./super-editor` entry stays on historical types (SD-3181 deferred).

  No `import` / `require` / `source` field changes. Runtime module
  identity unchanged for every consumer.

Verified locally:
  - Facade verifier: clean across 10 entries.
  - Consumer-typecheck matrix: 57/57 scenarios pass.
  - check-export-coverage: 12 entries OK.
  - SD-3176 subpath snapshots: clean.

This is the safe half of Phase 4. The root half (SD-3212) is the
strategic work, scoped separately to keep regressions isolated.
@caio-pizzol caio-pizzol requested a review from a team as a code owner May 18, 2026 21:58
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 18, 2026

SD-3211

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@caio-pizzol caio-pizzol merged commit 4d97307 into main May 18, 2026
71 checks passed
@caio-pizzol caio-pizzol deleted the caio-pizzol/SD-3211-phase4-types-flip branch May 18, 2026 22:20
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 19, 2026

🎉 This PR is included in superdoc-sdk v1.10.0

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 19, 2026

🎉 This PR is included in @superdoc-dev/mcp v0.6.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 19, 2026

🎉 This PR is included in superdoc v1.34.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 19, 2026

🎉 This PR is included in @superdoc-dev/react v1.5.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 19, 2026

🎉 This PR is included in vscode-ext v2.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants