@mongodb-js/compass-web 0.26.1 → 0.26.2
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/compass-web.d.ts
CHANGED
|
@@ -253,6 +253,7 @@ export declare const CompassExperimentationProvider: React_2.FC<{
|
|
|
253
253
|
useAssignment: UseAssignmentHook;
|
|
254
254
|
assignExperiment: AssignExperimentFn;
|
|
255
255
|
getAssignment: GetAssignmentFn;
|
|
256
|
+
useTrackInSample: UseTrackInSampleHook;
|
|
256
257
|
}>;
|
|
257
258
|
|
|
258
259
|
/** @public */
|
|
@@ -949,12 +950,15 @@ declare type ExperimentSDKProviderProps<T extends TypeData> = React.PropsWithChi
|
|
|
949
950
|
|
|
950
951
|
export declare enum ExperimentTestGroup {
|
|
951
952
|
mockDataGeneratorVariant = "mockDataGeneratorVariant",
|
|
952
|
-
mockDataGeneratorControl = "mockDataGeneratorControl"
|
|
953
|
+
mockDataGeneratorControl = "mockDataGeneratorControl",
|
|
954
|
+
atlasSkillsVariant = "atlasSkillsVariant",
|
|
955
|
+
atlasSkillsControl = "atlasSkillsControl"
|
|
953
956
|
}
|
|
954
957
|
|
|
955
958
|
export declare enum ExperimentTestName {
|
|
956
959
|
earlyJourneyIndexesGuidance = "EARLY_JOURNEY_INDEXES_GUIDANCE_20250328",
|
|
957
|
-
mockDataGenerator = "MOCK_DATA_GENERATOR_20251001"
|
|
960
|
+
mockDataGenerator = "MOCK_DATA_GENERATOR_20251001",
|
|
961
|
+
atlasSkills = "ATLAS_SKILLS_EXPERIMENT_20251007"
|
|
958
962
|
}
|
|
959
963
|
|
|
960
964
|
declare enum ExperimentViewedEventName {
|
|
@@ -1054,6 +1058,14 @@ declare type InternalUserPreferences = {
|
|
|
1054
1058
|
enableConnectInNewWindow: boolean;
|
|
1055
1059
|
showEndOfLifeConnectionModal: boolean;
|
|
1056
1060
|
zoomLevel?: number;
|
|
1061
|
+
windowBounds?: {
|
|
1062
|
+
x?: number;
|
|
1063
|
+
y?: number;
|
|
1064
|
+
width?: number;
|
|
1065
|
+
height?: number;
|
|
1066
|
+
isMaximized?: boolean;
|
|
1067
|
+
isFullScreen?: boolean;
|
|
1068
|
+
};
|
|
1057
1069
|
};
|
|
1058
1070
|
|
|
1059
1071
|
/**
|
|
@@ -1622,10 +1634,13 @@ declare interface Tracker<ExperimentViewedProps> {
|
|
|
1622
1634
|
enableProxySupport: boolean;
|
|
1623
1635
|
proxy: string;
|
|
1624
1636
|
inferNamespacesFromPrivileges?: boolean;
|
|
1637
|
+
maxTimeMSEnvLimit?: number;
|
|
1625
1638
|
};
|
|
1626
1639
|
|
|
1627
1640
|
declare type UserPreferences = UserConfigurablePreferences & InternalUserPreferences & AtlasOrgPreferences & AtlasProjectPreferences;
|
|
1628
1641
|
|
|
1642
|
+
declare type UseTrackInSampleHook = (experimentName: ExperimentTestName, shouldFireEvent?: boolean, customProperties?: types.TypeData['experimentViewedProps'], team?: types.TypeData['loggerTeam']) => typesReact.BasicHookResponse;
|
|
1643
|
+
|
|
1629
1644
|
/**
|
|
1630
1645
|
* Config object passed into the {@link useTrackIsInSample} hook.
|
|
1631
1646
|
*/
|