Skip to content

Commit 7fecfac

Browse files
committed
use the new mongodb-schema
1 parent b1ccc97 commit 7fecfac

File tree

3 files changed

+91
-93
lines changed

3 files changed

+91
-93
lines changed

package-lock.json

Lines changed: 88 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/shell-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@mongosh/i18n": "2.9.1",
4747
"@mongosh/service-provider-core": "3.1.0",
4848
"mongodb-redact": "^1.1.5",
49-
"mongodb-schema": "^12.5.2"
49+
"mongodb-schema": "^12.6.2"
5050
},
5151
"devDependencies": {
5252
"@mongodb-js/eslint-config-mongosh": "^1.0.0",

packages/shell-api/src/shell-instance-state.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ import constructShellBson from './shell-bson';
3838
import { Streams } from './streams';
3939
import { ShellLog } from './shell-log';
4040

41-
import type {
42-
AutocompletionContext,
43-
JSONSchema,
44-
} from '@mongodb-js/mongodb-ts-autocomplete';
41+
import type { AutocompletionContext } from '@mongodb-js/mongodb-ts-autocomplete';
42+
import type { JSONSchema } from 'mongodb-schema';
4543
import { analyzeDocuments } from 'mongodb-schema';
4644

4745
/**

0 commit comments

Comments
 (0)