@mongodb-js/compass-web 0.30.4 → 0.31.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.
Files changed (32) hide show
  1. package/dist/10.1f1a54d3a40efd8c2017.mjs +2 -0
  2. package/dist/17.362fcb811ee2ff871d32.mjs +2 -0
  3. package/dist/{305.mjs → 273.f8171afff21603205990.mjs} +2 -2
  4. package/dist/276.30ea2a26f486be6e78b1.mjs +1 -0
  5. package/dist/414.1038db81de0771ae4f6c.mjs +371 -0
  6. package/dist/{737.mjs.LICENSE.txt → 414.1038db81de0771ae4f6c.mjs.LICENSE.txt} +10 -0
  7. package/dist/423.45723618046344488182.mjs +2 -0
  8. package/dist/{427.mjs → 427.ea0869d385dd7ebc1ee3.mjs} +1 -1
  9. package/dist/752.be311c1a6bd153169544.mjs +2 -0
  10. package/dist/887.a7a72716c079e9aa117e.mjs +2 -0
  11. package/dist/assets-manifest.json +13 -0
  12. package/dist/compass-web.d.ts +35 -12
  13. package/dist/compass-web.mjs +22 -22
  14. package/dist/{index-bde52cb3.mjs → index-bde52cb3.0f5ab0c9a2dfc578bd9d.mjs} +1 -1
  15. package/dist/tsdoc-metadata.json +1 -1
  16. package/package.json +45 -42
  17. package/dist/120.mjs +0 -2
  18. package/dist/680f69f3c2e6b90c1812.png +0 -0
  19. package/dist/737.mjs +0 -352
  20. package/dist/752.mjs +0 -2
  21. package/dist/790.mjs +0 -2
  22. package/dist/7ea3a6d428136b87ab95.png +0 -0
  23. package/dist/858.mjs +0 -2
  24. package/dist/955.mjs +0 -2
  25. package/dist/a4e0eb7ad904a4858361.svg +0 -156
  26. /package/dist/{858.mjs.LICENSE.txt → 10.1f1a54d3a40efd8c2017.mjs.LICENSE.txt} +0 -0
  27. /package/dist/{790.mjs.LICENSE.txt → 17.362fcb811ee2ff871d32.mjs.LICENSE.txt} +0 -0
  28. /package/dist/{305.mjs.LICENSE.txt → 273.f8171afff21603205990.mjs.LICENSE.txt} +0 -0
  29. /package/dist/{955.mjs.LICENSE.txt → 423.45723618046344488182.mjs.LICENSE.txt} +0 -0
  30. /package/dist/{427.mjs.LICENSE.txt → 427.ea0869d385dd7ebc1ee3.mjs.LICENSE.txt} +0 -0
  31. /package/dist/{752.mjs.LICENSE.txt → 752.be311c1a6bd153169544.mjs.LICENSE.txt} +0 -0
  32. /package/dist/{120.mjs.LICENSE.txt → 887.a7a72716c079e9aa117e.mjs.LICENSE.txt} +0 -0
@@ -0,0 +1,13 @@
1
+ [
2
+ "compass-web.mjs",
3
+ "index-bde52cb3.0f5ab0c9a2dfc578bd9d.mjs",
4
+ "273.f8171afff21603205990.mjs",
5
+ "423.45723618046344488182.mjs",
6
+ "10.1f1a54d3a40efd8c2017.mjs",
7
+ "17.362fcb811ee2ff871d32.mjs",
8
+ "427.ea0869d385dd7ebc1ee3.mjs",
9
+ "752.be311c1a6bd153169544.mjs",
10
+ "887.a7a72716c079e9aa117e.mjs",
11
+ "414.1038db81de0771ae4f6c.mjs",
12
+ "276.30ea2a26f486be6e78b1.mjs"
13
+ ]
@@ -23,7 +23,7 @@ declare interface AddExperimentCallsProps<T extends TypeData> {
23
23
  allocationPointCalls?: Partial<Record<T['allocationPointName'], Promise<AsyncStatus>>>;
24
24
  }
25
25
 
26
- export declare type AllPreferences = UserPreferences & CliOnlyPreferences & NonUserPreferences & PermanentFeatureFlags;
26
+ export declare type AllPreferences = UserPreferences & CliOnlyPreferences & NonUserPreferences;
27
27
 
28
28
  declare type AnyWorkspace = WelcomeWorkspace | MyQueriesWorkspace | DataModelingWorkspace | ShellWorkspace | ServerStatsWorkspace | DatabasesWorkspace | CollectionsWorkspace | CollectionWorkspace;
29
29
 
@@ -306,7 +306,7 @@ export declare const CompassExperimentationProvider: React_2.FC<{
306
306
  }>;
307
307
 
308
308
  /** @public */
309
- export declare const CompassWeb: ({ appName, orgId, projectId, darkMode, initialAutoconnectId, initialWorkspace, onActiveWorkspaceTabChange, initialPreferences, atlasCloudFeatureFlags, onLog, onDebug, onTrack, onOpenConnectViaModal, onFailToLoadConnections, onBeforeUnloadCallbackRequest, }: CompassWebProps) => React_2.JSX.Element;
309
+ export declare const CompassWeb: ({ appName, orgId, projectId, darkMode, initialAutoconnectId, initialWorkspace: _initialWorkspace, onActiveWorkspaceTabChange, initialPreferences, atlasCloudFeatureFlags, onLog, onDebug, onTrack, onOpenConnectViaModal, onFailToLoadConnections, onBeforeUnloadCallbackRequest, }: CompassWebProps) => React_2.JSX.Element;
310
310
 
311
311
  /** @public */
312
312
  export declare type CompassWebProps = {
@@ -1017,17 +1017,21 @@ declare interface ExperimentSDKContextType<T extends TypeData> {
1017
1017
  */
1018
1018
  declare type ExperimentSDKProviderProps<T extends TypeData> = React.PropsWithChildren<ExperimentSDKContextType<T>>;
1019
1019
 
1020
- export declare enum ExperimentTestGroup {
1021
- mockDataGeneratorVariant = "mockDataGeneratorVariant",
1022
- mockDataGeneratorControl = "mockDataGeneratorControl",
1023
- atlasSkillsVariant = "atlasSkillsExperimentVariant",
1024
- atlasSkillsControl = "atlasSkillsExperimentControl"
1025
- }
1020
+ export declare type ExperimentTestGroup = (typeof ExperimentTestGroups)[keyof typeof ExperimentTestGroups];
1026
1021
 
1027
- export declare enum ExperimentTestName {
1028
- mockDataGenerator = "MOCK_DATA_GENERATOR_20251001",
1029
- atlasSkills = "ATLAS_SKILLS_EXPERIMENT_20251007"
1030
- }
1022
+ export declare const ExperimentTestGroups: {
1023
+ readonly mockDataGeneratorVariant: "mockDataGeneratorVariant";
1024
+ readonly mockDataGeneratorControl: "mockDataGeneratorControl";
1025
+ readonly atlasSkillsVariant: "atlasSkillsExperimentVariant";
1026
+ readonly atlasSkillsControl: "atlasSkillsExperimentControl";
1027
+ };
1028
+
1029
+ export declare type ExperimentTestName = (typeof ExperimentTestNames)[keyof typeof ExperimentTestNames];
1030
+
1031
+ export declare const ExperimentTestNames: {
1032
+ readonly mockDataGenerator: "MOCK_DATA_GENERATOR_20251001";
1033
+ readonly atlasSkills: "ATLAS_SKILLS_EXPERIMENT_20251007";
1034
+ };
1031
1035
 
1032
1036
  declare enum ExperimentViewedEventName {
1033
1037
  EXPERIMENT_VIEWED = "Experiment Viewed",
@@ -1150,6 +1154,13 @@ declare const FEATURE_FLAG_DEFINITIONS: readonly [{
1150
1154
  readonly description: {
1151
1155
  readonly short: "Enable the performance insights AI Assistant entrypoints";
1152
1156
  };
1157
+ }, {
1158
+ readonly name: "enableToolCalling";
1159
+ readonly stage: "development";
1160
+ readonly atlasCloudFeatureFlagName: null;
1161
+ readonly description: {
1162
+ readonly short: "Enable tool calling in the AI Assistant";
1163
+ };
1153
1164
  }, {
1154
1165
  readonly name: "enableRestoreWorkspaces";
1155
1166
  readonly stage: "development";
@@ -1164,6 +1175,13 @@ declare const FEATURE_FLAG_DEFINITIONS: readonly [{
1164
1175
  readonly description: {
1165
1176
  readonly short: "Enable automatic relationship inference during data model generation";
1166
1177
  };
1178
+ }, {
1179
+ readonly name: "enableChatbotEndpointForGenAI";
1180
+ readonly stage: "released";
1181
+ readonly atlasCloudFeatureFlagName: null;
1182
+ readonly description: {
1183
+ readonly short: "Enable Chatbot API for Generative AI";
1184
+ };
1167
1185
  }];
1168
1186
 
1169
1187
  declare type FeatureFlagDefinitions = typeof FEATURE_FLAG_DEFINITIONS;
@@ -1252,6 +1270,10 @@ declare type InternalUserPreferences = {
1252
1270
  enableGuideCues: boolean;
1253
1271
  };
1254
1272
 
1273
+ declare const LEGACY_UUID_ENCODINGS: readonly ["", "LegacyJavaUUID", "LegacyCSharpUUID", "LegacyPythonUUID"];
1274
+
1275
+ declare type LEGACY_UUID_ENCODINGS = (typeof LEGACY_UUID_ENCODINGS)[number];
1276
+
1255
1277
  /**
1256
1278
  * The interface for a log message + metadata, for use with the {@link Logger}.
1257
1279
  */
@@ -1827,6 +1849,7 @@ declare interface Tracker<ExperimentViewedProps> {
1827
1849
  maxTimeMS?: number;
1828
1850
  installURLHandlers: boolean;
1829
1851
  protectConnectionStringsForNewConnections: boolean;
1852
+ legacyUUIDDisplayEncoding: LEGACY_UUID_ENCODINGS;
1830
1853
  atlasServiceBackendPreset: 'atlas-local' | 'atlas-dev' | 'atlas-qa' | 'atlas-staging' | 'atlas' | 'web-sandbox-atlas-local' | 'web-sandbox-atlas-dev' | 'web-sandbox-atlas-qa' | 'web-sandbox-atlas';
1831
1854
  optInGenAIFeatures: boolean;
1832
1855
  enableExplainPlan: boolean;