Skip to content

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 36 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from 14 commits
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 Jan 24, 2024
0e17bc2
fixup: add index signature support
addaleax Jan 24, 2024
4d72278
fixup
addaleax Jan 24, 2024
256fc60
more bundled packages
lerouxb Apr 15, 2025
d81ff54
Merge branch 'main' into shell-api-ac-type-definitions
lerouxb Apr 15, 2025
198fb06
add rs, sh, sp generics
lerouxb Apr 17, 2025
59c04f3
fix tests
lerouxb Apr 17, 2025
3545fd8
hopefully fix the api export
lerouxb Apr 17, 2025
f34e213
something went wrong with the package-lock.json file
lerouxb Apr 17, 2025
51946ea
don't include the REPLACEME boilerplate which will be added on the ou…
lerouxb Apr 22, 2025
41a4560
workaround possible false positive error
lerouxb Apr 22, 2025
33ee0b5
no idea why it added that
lerouxb Apr 22, 2025
ae48313
we should probably run api-generate automatically
lerouxb Apr 22, 2025
880135f
add missing deps
lerouxb Apr 22, 2025
25240df
add the ShellApi and ShellBson globals to the shell api
lerouxb Apr 24, 2025
5511582
remove comment
lerouxb Apr 24, 2025
c6d8219
linebreak
lerouxb Apr 28, 2025
8f11992
add help comments to the extracted/generated shell-api
lerouxb Apr 28, 2025
4ad7978
strip down api.ts
lerouxb May 8, 2025
adaf032
remove commented code
lerouxb May 8, 2025
109ce54
no idea
lerouxb May 8, 2025
d88317b
remove TODO
lerouxb May 19, 2025
9b3779d
keep bson separate so we can ship it once
lerouxb May 19, 2025
0bd794f
generate and export a file that just exports the api as a string
lerouxb May 19, 2025
a982b05
Merge branch 'main' into shell-api-ac-type-definitions-fork
lerouxb May 19, 2025
26451e2
CollectionWithSchema, DatabaseWithSchema
lerouxb May 20, 2025
115281b
remove _typeLaunder()
lerouxb May 20, 2025
3ace495
more generics
lerouxb May 20, 2025
619c7e6
api extractor warnings cause errors
lerouxb May 20, 2025
359d155
export the new types
lerouxb May 20, 2025
5443bf6
Update packages/shell-api/src/mongo.spec.ts
lerouxb May 20, 2025
a80c347
Fix type assertions to be to collection and database with schema
lerouxb May 21, 2025
3b29328
api-generate as part of compile
lerouxb May 21, 2025
637500e
Update packages/shell-api/bin/api-postprocess.ts
lerouxb May 21, 2025
37fa446
Merge branch 'shell-api-ac-type-definitions-fork' of https://github.c…
lerouxb May 21, 2025
22ac9bd
add some logging as documentation
lerouxb May 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
322 changes: 320 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading