@mongodb-js/compass-web 0.21.1 → 0.22.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.
@@ -253,6 +253,7 @@ export declare const CompassExperimentationProvider: React_2.FC<{
253
253
  children: React_2.ReactNode;
254
254
  useAssignment: UseAssignmentHook;
255
255
  assignExperiment: AssignExperimentFn;
256
+ getAssignment: GetAssignmentFn;
256
257
  }>;
257
258
 
258
259
  /** @public */
@@ -969,8 +970,11 @@ declare type FeatureFlags = {
969
970
  enableUnauthenticatedGenAI: boolean;
970
971
  enableAIAssistant: boolean;
971
972
  enablePerformanceInsightsEntrypoints: boolean;
973
+ enableAutomaticRelationshipInference: boolean;
972
974
  };
973
975
 
976
+ declare type GetAssignmentFn = (experimentName: ExperimentTestName, trackIsInSample: boolean, options?: types.GetAssignmentOptions<types.TypeData>) => Promise<types.SDKAssignment<ExperimentTestName, string> | null>;
977
+
974
978
  /**
975
979
  * Represents additional options for ExperimentSDK.getAssignments
976
980
  */
@@ -1594,6 +1598,7 @@ declare interface Tracker<ExperimentViewedProps> {
1594
1598
  enableExplainPlan: boolean;
1595
1599
  enableAtlasSearchIndexes: boolean;
1596
1600
  enableImportExport: boolean;
1601
+ enableMyQueries: boolean;
1597
1602
  enableAggregationBuilderRunPipeline: boolean;
1598
1603
  enableAggregationBuilderExtraOptions: boolean;
1599
1604
  enableGenAISampleDocumentPassing: boolean;