Commit 1a3b7dd
authored
fix(ui): re-export PublicToolbarItemId from superdoc/ui (SD-2920) (#3135)
The toolbar-and-commands docs page (apps/docs/editor/custom-ui/
toolbar-and-commands.mdx) tells consumers to import PublicToolbarItemId
from superdoc/ui as the typed source of truth for command ids. SD-2920
shipped BUILT_IN_COMMAND_IDS at runtime through that path but never
re-exported the derived type, so consumers writing
`import type { PublicToolbarItemId } from 'superdoc/ui'` couldn't
actually find it from the documented entry. They had to dip into
superdoc/headless-toolbar instead.
skipLibCheck: true on most consumer tsconfigs masked the broken
re-export from typecheck signal. The dist now exposes the type
through the same barrel as BUILT_IN_COMMAND_IDS, matching what the
docs already promise.1 parent e627b28 commit 1a3b7dd
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments