@mongodb-js/compass-web 0.30.4 → 0.31.0

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 +37 -16
  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 +46 -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
 
@@ -45,7 +45,7 @@ declare type AssignByPointsOptions<LoggerTeam> = BasicAPICallingFunctionOptions<
45
45
  useV3Assignment?: boolean;
46
46
  };
47
47
 
48
- declare type AssignExperimentFn = (experimentName: ExperimentTestName, options?: types.AssignOptions<string>) => Promise<types.AsyncStatus | null>;
48
+ declare type AssignExperimentFn = (experimentName: ExperimentTestName_2, options?: types.AssignOptions<string>) => Promise<types.AsyncStatus | null>;
49
49
 
50
50
  /**
51
51
  * Entity assignment data. Used in {@link SDKAssignment}, {@link SDKGhostAssignment}, and {@link SDKGenericAssignment}
@@ -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,19 @@ 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 const ExperimentTestGroup: {
1021
+ readonly mockDataGeneratorVariant: "mockDataGeneratorVariant";
1022
+ readonly mockDataGeneratorControl: "mockDataGeneratorControl";
1023
+ readonly atlasSkillsVariant: "atlasSkillsExperimentVariant";
1024
+ readonly atlasSkillsControl: "atlasSkillsExperimentControl";
1025
+ };
1026
1026
 
1027
- export declare enum ExperimentTestName {
1028
- mockDataGenerator = "MOCK_DATA_GENERATOR_20251001",
1029
- atlasSkills = "ATLAS_SKILLS_EXPERIMENT_20251007"
1030
- }
1027
+ export declare const ExperimentTestName: {
1028
+ readonly mockDataGenerator: "MOCK_DATA_GENERATOR_20251001";
1029
+ readonly atlasSkills: "ATLAS_SKILLS_EXPERIMENT_20251007";
1030
+ };
1031
+
1032
+ declare type ExperimentTestName_2 = (typeof ExperimentTestName)[keyof typeof ExperimentTestName];
1031
1033
 
1032
1034
  declare enum ExperimentViewedEventName {
1033
1035
  EXPERIMENT_VIEWED = "Experiment Viewed",
@@ -1150,6 +1152,13 @@ declare const FEATURE_FLAG_DEFINITIONS: readonly [{
1150
1152
  readonly description: {
1151
1153
  readonly short: "Enable the performance insights AI Assistant entrypoints";
1152
1154
  };
1155
+ }, {
1156
+ readonly name: "enableToolCalling";
1157
+ readonly stage: "development";
1158
+ readonly atlasCloudFeatureFlagName: null;
1159
+ readonly description: {
1160
+ readonly short: "Enable tool calling in the AI Assistant";
1161
+ };
1153
1162
  }, {
1154
1163
  readonly name: "enableRestoreWorkspaces";
1155
1164
  readonly stage: "development";
@@ -1164,13 +1173,20 @@ declare const FEATURE_FLAG_DEFINITIONS: readonly [{
1164
1173
  readonly description: {
1165
1174
  readonly short: "Enable automatic relationship inference during data model generation";
1166
1175
  };
1176
+ }, {
1177
+ readonly name: "enableChatbotEndpointForGenAI";
1178
+ readonly stage: "released";
1179
+ readonly atlasCloudFeatureFlagName: null;
1180
+ readonly description: {
1181
+ readonly short: "Enable Chatbot API for Generative AI";
1182
+ };
1167
1183
  }];
1168
1184
 
1169
1185
  declare type FeatureFlagDefinitions = typeof FEATURE_FLAG_DEFINITIONS;
1170
1186
 
1171
1187
  declare type FeatureFlags = Record<FeatureFlagDefinitions[number]['name'], boolean>;
1172
1188
 
1173
- declare type GetAssignmentFn = (experimentName: ExperimentTestName, trackIsInSample: boolean, options?: types.GetAssignmentOptions<types.TypeData>) => Promise<types.SDKAssignment<ExperimentTestName, string> | null>;
1189
+ declare type GetAssignmentFn = (experimentName: ExperimentTestName_2, trackIsInSample: boolean, options?: types.GetAssignmentOptions<types.TypeData>) => Promise<types.SDKAssignment<ExperimentTestName_2, string> | null>;
1174
1190
 
1175
1191
  /**
1176
1192
  * Represents additional options for ExperimentSDK.getAssignments
@@ -1252,6 +1268,10 @@ declare type InternalUserPreferences = {
1252
1268
  enableGuideCues: boolean;
1253
1269
  };
1254
1270
 
1271
+ declare const LEGACY_UUID_ENCODINGS: readonly ["", "LegacyJavaUUID", "LegacyCSharpUUID", "LegacyPythonUUID"];
1272
+
1273
+ declare type LEGACY_UUID_ENCODINGS = (typeof LEGACY_UUID_ENCODINGS)[number];
1274
+
1255
1275
  /**
1256
1276
  * The interface for a log message + metadata, for use with the {@link Logger}.
1257
1277
  */
@@ -1784,7 +1804,7 @@ declare interface Tracker<ExperimentViewedProps> {
1784
1804
  }
1785
1805
  }
1786
1806
 
1787
- declare type UseAssignmentHook = (experimentName: ExperimentTestName, trackIsInSample: boolean, options?: typesReact.UseAssignmentOptions<types.TypeData>) => typesReact.UseAssignmentResponse<types.TypeData>;
1807
+ declare type UseAssignmentHook = (experimentName: ExperimentTestName_2, trackIsInSample: boolean, options?: typesReact.UseAssignmentOptions<types.TypeData>) => typesReact.UseAssignmentResponse<types.TypeData>;
1788
1808
 
1789
1809
  /**
1790
1810
  * Additional options the useAssignment hook can take beyond the {@link GetAssignmentOptions} options.
@@ -1827,6 +1847,7 @@ declare interface Tracker<ExperimentViewedProps> {
1827
1847
  maxTimeMS?: number;
1828
1848
  installURLHandlers: boolean;
1829
1849
  protectConnectionStringsForNewConnections: boolean;
1850
+ legacyUUIDDisplayEncoding: LEGACY_UUID_ENCODINGS;
1830
1851
  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
1852
  optInGenAIFeatures: boolean;
1832
1853
  enableExplainPlan: boolean;
@@ -1849,7 +1870,7 @@ declare interface Tracker<ExperimentViewedProps> {
1849
1870
 
1850
1871
  declare type UserPreferences = UserConfigurablePreferences & InternalUserPreferences & AtlasOrgPreferences & AtlasProjectPreferences;
1851
1872
 
1852
- declare type UseTrackInSampleHook = (experimentName: ExperimentTestName, shouldFireEvent?: boolean, customProperties?: types.TypeData['experimentViewedProps'], team?: types.TypeData['loggerTeam']) => typesReact.BasicHookResponse;
1873
+ declare type UseTrackInSampleHook = (experimentName: ExperimentTestName_2, shouldFireEvent?: boolean, customProperties?: types.TypeData['experimentViewedProps'], team?: types.TypeData['loggerTeam']) => typesReact.BasicHookResponse;
1853
1874
 
1854
1875
  /**
1855
1876
  * Config object passed into the {@link useTrackIsInSample} hook.