@mongodb-js/compass-web 0.27.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/228.mjs +2 -0
- package/dist/228.mjs.LICENSE.txt +13 -0
- package/dist/268.mjs +2 -0
- package/dist/268.mjs.LICENSE.txt +5 -0
- package/dist/3.mjs +1 -0
- package/dist/305.mjs +23 -0
- package/dist/{mongodb-js__compass-components.js.LICENSE.txt → 305.mjs.LICENSE.txt} +1 -53
- package/dist/427.mjs +2 -0
- package/dist/{faker-js__faker.js.LICENSE.txt → 427.mjs.LICENSE.txt} +0 -2
- package/dist/680.mjs +339 -0
- package/dist/680.mjs.LICENSE.txt +19 -0
- package/dist/735.mjs +2 -0
- package/dist/{index.js.LICENSE.txt → 735.mjs.LICENSE.txt} +2 -58
- package/dist/752.mjs +2 -0
- package/dist/752.mjs.LICENSE.txt +17 -0
- package/dist/790.mjs +2 -0
- package/dist/790.mjs.LICENSE.txt +11 -0
- package/dist/compass-web.d.ts +13 -3
- package/dist/compass-web.mjs +210 -0
- package/dist/index-bde52cb3.mjs +1 -0
- package/package.json +32 -32
- package/dist/ag-grid-community.js +0 -2
- package/dist/ag-grid-community.js.LICENSE.txt +0 -6
- package/dist/bson-transpilers.js +0 -2
- package/dist/bson-transpilers.js.LICENSE.txt +0 -12
- package/dist/bson.js +0 -2
- package/dist/bson.js.LICENSE.txt +0 -10
- package/dist/faker-js__faker.js +0 -2
- package/dist/index.js +0 -220
- package/dist/mongodb-js__compass-components.js +0 -351
package/dist/compass-web.d.ts
CHANGED
|
@@ -88,6 +88,10 @@ declare interface AsyncStatus {
|
|
|
88
88
|
message?: string;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
declare const ATLAS_CLOUD_FEATURE_FLAGS: "DATA_EXPLORER_COMPASS_WEB_ENABLE_DATA_MODELING"[];
|
|
92
|
+
|
|
93
|
+
export declare type AtlasCloudFeatureFlags = Record<(typeof ATLAS_CLOUD_FEATURE_FLAGS)[number], boolean>;
|
|
94
|
+
|
|
91
95
|
/**
|
|
92
96
|
* Atlas metadata for clusters, refer to the backend implementation to see how
|
|
93
97
|
* the values are derived
|
|
@@ -257,7 +261,7 @@ export declare const CompassExperimentationProvider: React_2.FC<{
|
|
|
257
261
|
}>;
|
|
258
262
|
|
|
259
263
|
/** @public */
|
|
260
|
-
export declare const CompassWeb: ({ appName, orgId, projectId, darkMode, initialAutoconnectId, initialWorkspace, onActiveWorkspaceTabChange, initialPreferences, onLog, onDebug, onTrack, onOpenConnectViaModal, onFailToLoadConnections, onBeforeUnloadCallbackRequest, }: CompassWebProps) => React_2.JSX.Element;
|
|
264
|
+
export declare const CompassWeb: ({ appName, orgId, projectId, darkMode, initialAutoconnectId, initialWorkspace, onActiveWorkspaceTabChange, initialPreferences, atlasCloudFeatureFlags, onLog, onDebug, onTrack, onOpenConnectViaModal, onFailToLoadConnections, onBeforeUnloadCallbackRequest, }: CompassWebProps) => React_2.JSX.Element;
|
|
261
265
|
|
|
262
266
|
/** @public */
|
|
263
267
|
export declare type CompassWebProps = {
|
|
@@ -304,6 +308,12 @@ export declare type CompassWebProps = {
|
|
|
304
308
|
* Set of initial preferences to override default values
|
|
305
309
|
*/
|
|
306
310
|
initialPreferences?: Partial<AllPreferences>;
|
|
311
|
+
/**
|
|
312
|
+
* A subset of Atlas Cloud feature flags that maps to Compass feature flag
|
|
313
|
+
* preferences. These flags have any effect ONLY if they were defined as
|
|
314
|
+
* mapped for some Compass preferences feature flags
|
|
315
|
+
*/
|
|
316
|
+
atlasCloudFeatureFlags?: Partial<AtlasCloudFeatureFlags>;
|
|
307
317
|
/**
|
|
308
318
|
* Callback prop called every time any code inside Compass logs something
|
|
309
319
|
*/
|
|
@@ -951,8 +961,8 @@ declare type ExperimentSDKProviderProps<T extends TypeData> = React.PropsWithChi
|
|
|
951
961
|
export declare enum ExperimentTestGroup {
|
|
952
962
|
mockDataGeneratorVariant = "mockDataGeneratorVariant",
|
|
953
963
|
mockDataGeneratorControl = "mockDataGeneratorControl",
|
|
954
|
-
atlasSkillsVariant = "
|
|
955
|
-
atlasSkillsControl = "
|
|
964
|
+
atlasSkillsVariant = "atlasSkillsExperimentVariant",
|
|
965
|
+
atlasSkillsControl = "atlasSkillsExperimentControl"
|
|
956
966
|
}
|
|
957
967
|
|
|
958
968
|
export declare enum ExperimentTestName {
|