File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 33 "mainEntryPointFilePath" : " ./dist/index.d.ts" ,
44 "bundledPackages" : [
55 " @mongodb-js/*" ,
6+ " @mongodb-js/mdb-experiment-js" ,
7+ " @mongodb-js/connection-info" ,
68 " bson-transpilers" ,
79 " compass-e2e-tests" ,
810 " compass-preferences-model" ,
2325 },
2426 "dtsRollup" : {
2527 "enabled" : true ,
26- "untrimmedFilePath" : " ./dist/index.untrimmed.d.ts" ,
27- "publicTrimmedFilePath" : " ./dist/index.public.d.ts"
28+ "untrimmedFilePath" : " ./dist/index.untrimmed.d.ts"
2829 },
2930 "apiReport" : {
3031 "enabled" : false
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import AppRegistry, {
33 AppRegistryProvider ,
44 GlobalAppRegistryProvider ,
55} from '@mongodb-js/compass-app-registry' ;
6- import type { ConnectionInfo } from '@mongodb-js/connection-info' ;
6+ import type { AtlasClusterMetadata } from '@mongodb-js/connection-info' ;
77import { useConnectionActions } from '@mongodb-js/compass-connections/provider' ;
88import { CompassInstanceStorePlugin } from '@mongodb-js/compass-app-stores' ;
99import type {
@@ -166,9 +166,7 @@ export type CompassWebProps = {
166166 * when the action is selected from the sidebar actions. Should be used to
167167 * show the Atlas Cloud "Connect" modal
168168 */
169- onOpenConnectViaModal ?: (
170- atlasMetadata : ConnectionInfo [ 'atlasMetadata' ]
171- ) => void ;
169+ onOpenConnectViaModal ?: ( atlasMetadata ?: AtlasClusterMetadata ) => void ;
172170
173171 /**
174172 * Callback prop called when connections fail to load
You can’t perform that action at this time.
0 commit comments