Commit ddc751a
authored
fix(types): drop accidental BasicUpload public re-export (SD-2893) (#3151)
BasicUpload was re-exported through `superdoc/super-editor` and
`superdoc` despite being marked `@internal` at the export site
(packages/super-editor/src/editors/v1/index.js:103). It is not
documented in any README, AGENTS guide, or example. The two dev
components that use it (SuperdocDev.vue, DeveloperPlayground.vue)
import it directly from `@superdoc/common/components/BasicUpload.vue`,
not via the public re-export.
Drop the re-export rather than relocating the .vue file. The upload
widget is dev-tooling, not a public API. The bare
`@superdoc/common/components/BasicUpload.vue` shim entry goes away
because no public d.ts file references it anymore.
Also removes the BasicUpload assertion from the consumer-typecheck
customer-scenario fixture so the matrix stays green; the fixture
was the only place the public re-export was exercised.
Shim count: 3 to 2. Remaining: @superdoc/common (5 dist refs,
catch-all bin), @superdoc/style-engine/ooxml (10 dist refs).
Verified: build:es clean (8 guarded packages, 2 shim modules),
consumer matrix 47/0/0, runtime smoke 4/4 with BasicUpload
explicitly asserted absent from main and super-editor entries.1 parent 806451a commit ddc751a
3 files changed
Lines changed: 0 additions & 7 deletions
File tree
- packages
- super-editor/src/editors/v1
- superdoc/src
- tests/consumer-typecheck/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
103 | | - | |
104 | | - | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
289 | 288 | | |
290 | 289 | | |
291 | 290 | | |
292 | | - | |
293 | 291 | | |
294 | 292 | | |
295 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
831 | 830 | | |
832 | 831 | | |
833 | 832 | | |
834 | | - | |
835 | 833 | | |
836 | 834 | | |
837 | 835 | | |
| |||
0 commit comments