-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(web): move model/types
to web/types
🏗️
#12370
Conversation
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
model/types
to web/types
model/types
to web/types
🏗️
6edff3a
to
0da4d57
Compare
0da4d57
to
c3e5871
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This needs to be documented as a breaking change for 18.0 -- API surface has significant refactor (albeit just moving things around, nothing new)
common/web/types/src/main.ts
Outdated
@@ -29,3 +29,5 @@ export * as KMXPlus from './kmx/kmx-plus/kmx-plus.js'; | |||
export { UnicodeSetParser, UnicodeSet } from './ldml-keyboard/unicodeset-parser-api.js'; | |||
export { VariableParser, MarkerParser } from './ldml-keyboard/pattern-parser.js'; | |||
export { ElementString } from './kmx/kmx-plus/element-string.js'; | |||
|
|||
export * from './lexical-model-types.js'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we enumerate all the exports here? It's busy work but it helps us be explicit about what is a supported API surface. You'll note that we do not have other top-level global exports; they are all * as xxxx
.
Addresses code review comments.
@mcdurdin I added the change to the release notes section in the Google Doc. Does the breaking change has to be added elsewhere? |
That is all we need -- it'll make its way from there into the 18.0 release notes eventually |
Missed a few exports in the last commit.
Changes in this pull request will be available for download in Keyman version 18.0.108-alpha |
Part-of: #12133
@keymanapp-test-bot skip