-
Notifications
You must be signed in to change notification settings - Fork 76
feat: Shell API autocomplete type definitions MONGOSH-2031 MONGOSH-2032 MONGOSH-2173 #2434
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
cfbafad
[Do Not Merge] PoC for shell-api autocomplete type definitions
addaleax 0e17bc2
fixup: add index signature support
addaleax 4d72278
fixup
addaleax 256fc60
more bundled packages
lerouxb d81ff54
Merge branch 'main' into shell-api-ac-type-definitions
lerouxb 198fb06
add rs, sh, sp generics
lerouxb 59c04f3
fix tests
lerouxb 3545fd8
hopefully fix the api export
lerouxb f34e213
something went wrong with the package-lock.json file
lerouxb 51946ea
don't include the REPLACEME boilerplate which will be added on the ou…
lerouxb 41a4560
workaround possible false positive error
lerouxb 33ee0b5
no idea why it added that
lerouxb ae48313
we should probably run api-generate automatically
lerouxb 880135f
add missing deps
lerouxb 25240df
add the ShellApi and ShellBson globals to the shell api
lerouxb 5511582
remove comment
lerouxb c6d8219
linebreak
lerouxb 8f11992
add help comments to the extracted/generated shell-api
lerouxb 4ad7978
strip down api.ts
lerouxb adaf032
remove commented code
lerouxb 109ce54
no idea
lerouxb d88317b
remove TODO
lerouxb 9b3779d
keep bson separate so we can ship it once
lerouxb 0bd794f
generate and export a file that just exports the api as a string
lerouxb a982b05
Merge branch 'main' into shell-api-ac-type-definitions-fork
lerouxb 26451e2
CollectionWithSchema, DatabaseWithSchema
lerouxb 115281b
remove _typeLaunder()
lerouxb 3ace495
more generics
lerouxb 619c7e6
api extractor warnings cause errors
lerouxb 359d155
export the new types
lerouxb 5443bf6
Update packages/shell-api/src/mongo.spec.ts
lerouxb a80c347
Fix type assertions to be to collection and database with schema
lerouxb 3b29328
api-generate as part of compile
lerouxb 637500e
Update packages/shell-api/bin/api-postprocess.ts
lerouxb 37fa446
Merge branch 'shell-api-ac-type-definitions-fork' of https://github.c…
lerouxb 22ac9bd
add some logging as documentation
lerouxb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.