@mongodb-js/compass-web 0.21.0 → 0.21.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 +4 -0
- package/dist/index.js +67 -67
- package/dist/mongodb-js__compass-components.js +112 -112
- package/package.json +35 -34
package/dist/compass-web.d.ts
CHANGED
|
@@ -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 */
|
|
@@ -971,6 +972,8 @@ declare type FeatureFlags = {
|
|
|
971
972
|
enablePerformanceInsightsEntrypoints: boolean;
|
|
972
973
|
};
|
|
973
974
|
|
|
975
|
+
declare type GetAssignmentFn = (experimentName: ExperimentTestName, trackIsInSample: boolean, options?: types.GetAssignmentOptions<types.TypeData>) => Promise<types.SDKAssignment<ExperimentTestName, string> | null>;
|
|
976
|
+
|
|
974
977
|
/**
|
|
975
978
|
* Represents additional options for ExperimentSDK.getAssignments
|
|
976
979
|
*/
|
|
@@ -1594,6 +1597,7 @@ declare interface Tracker<ExperimentViewedProps> {
|
|
|
1594
1597
|
enableExplainPlan: boolean;
|
|
1595
1598
|
enableAtlasSearchIndexes: boolean;
|
|
1596
1599
|
enableImportExport: boolean;
|
|
1600
|
+
enableMyQueries: boolean;
|
|
1597
1601
|
enableAggregationBuilderRunPipeline: boolean;
|
|
1598
1602
|
enableAggregationBuilderExtraOptions: boolean;
|
|
1599
1603
|
enableGenAISampleDocumentPassing: boolean;
|