@mongodb-js/compass-web 0.36.1 → 1.0.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.
- package/dist/106.e50960c29b57a8b92ec5.mjs +2 -0
- package/dist/128.2ec06394c7c1718c925f.mjs +1 -0
- package/dist/14.ee5055b184ec8814d6f7.mjs +2 -0
- package/dist/{941.489a74e5b1130ccb5673.mjs.LICENSE.txt → 14.ee5055b184ec8814d6f7.mjs.LICENSE.txt} +5 -17
- package/dist/260.52fdf61d69ac2a2921dc.mjs +2 -0
- package/dist/260.52fdf61d69ac2a2921dc.mjs.LICENSE.txt +13 -0
- package/dist/302.34205d8fa79ef45d79b5.mjs +1 -0
- package/dist/318.ca5407b8a126de079455.mjs +2 -0
- package/dist/318.ca5407b8a126de079455.mjs.LICENSE.txt +34 -0
- package/dist/560.e85e11aa098b341006f3.mjs +23 -0
- package/dist/568.5af0b00ce345e98d8b78.mjs +1 -0
- package/dist/714.fde8d188a97cdddc2703.mjs +344 -0
- package/dist/717.e27dd37bf389fe1e1fe3.mjs +1 -0
- package/dist/810.c52538ab1ee7a0892ac8.mjs +2 -0
- package/dist/{832.e3ec48107659934f74e7.mjs.LICENSE.txt → 810.c52538ab1ee7a0892ac8.mjs.LICENSE.txt} +0 -7
- package/dist/assets-manifest.json +13 -11
- package/dist/compass-web.d.ts +8 -291
- package/dist/compass-web.mjs +20 -48
- package/dist/index-0b9a48a6.e104f028edf21b1c2537.mjs +29 -0
- package/dist/index-bde52cb3.96252163ac8fa874fc4c.mjs +1 -0
- package/package.json +40 -41
- package/dist/157.ab4998e7eb2874601f10.mjs +0 -2
- package/dist/157.ab4998e7eb2874601f10.mjs.LICENSE.txt +0 -11
- package/dist/183.652977da27df0eb51f2b.mjs +0 -23
- package/dist/187.761186d8e743ea68ec17.mjs +0 -2
- package/dist/503.edf8a9c8de8551ffb233.mjs +0 -378
- package/dist/811.caf23f67d965d1c56224.mjs +0 -1
- package/dist/819.a2cb944a78e8da07819a.mjs +0 -2
- package/dist/819.a2cb944a78e8da07819a.mjs.LICENSE.txt +0 -8
- package/dist/832.e3ec48107659934f74e7.mjs +0 -2
- package/dist/941.489a74e5b1130ccb5673.mjs +0 -2
- package/dist/957.77fd779cd858963de4c6.mjs +0 -1
- package/dist/965.521bb6d90f74d9a364b7.mjs +0 -1
- package/dist/index-bde52cb3.dcb93bf5aae17031a20c.mjs +0 -1
- /package/dist/{187.761186d8e743ea68ec17.mjs.LICENSE.txt → 106.e50960c29b57a8b92ec5.mjs.LICENSE.txt} +0 -0
- /package/dist/{183.652977da27df0eb51f2b.mjs.LICENSE.txt → 560.e85e11aa098b341006f3.mjs.LICENSE.txt} +0 -0
- /package/dist/{503.edf8a9c8de8551ffb233.mjs.LICENSE.txt → 714.fde8d188a97cdddc2703.mjs.LICENSE.txt} +0 -0
package/dist/{832.e3ec48107659934f74e7.mjs.LICENSE.txt → 810.c52538ab1ee7a0892ac8.mjs.LICENSE.txt}
RENAMED
|
@@ -5,13 +5,6 @@
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
/*!
|
|
9
|
-
* The buffer module from node.js, for the browser.
|
|
10
|
-
*
|
|
11
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
12
|
-
* @license MIT
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
8
|
/*! https://mths.be/codepointat v0.2.0 by @mathias */
|
|
16
9
|
|
|
17
10
|
/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
[
|
|
2
2
|
"compass-web.mjs",
|
|
3
|
-
"index-
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
3
|
+
"index-0b9a48a6.e104f028edf21b1c2537.mjs",
|
|
4
|
+
"index-bde52cb3.96252163ac8fa874fc4c.mjs",
|
|
5
|
+
"128.2ec06394c7c1718c925f.mjs",
|
|
6
|
+
"560.e85e11aa098b341006f3.mjs",
|
|
7
|
+
"302.34205d8fa79ef45d79b5.mjs",
|
|
8
|
+
"717.e27dd37bf389fe1e1fe3.mjs",
|
|
9
|
+
"714.fde8d188a97cdddc2703.mjs",
|
|
10
|
+
"568.5af0b00ce345e98d8b78.mjs",
|
|
11
|
+
"318.ca5407b8a126de079455.mjs",
|
|
12
|
+
"14.ee5055b184ec8814d6f7.mjs",
|
|
13
|
+
"260.52fdf61d69ac2a2921dc.mjs",
|
|
14
|
+
"810.c52538ab1ee7a0892ac8.mjs",
|
|
15
|
+
"106.e50960c29b57a8b92ec5.mjs"
|
|
14
16
|
]
|
package/dist/compass-web.d.ts
CHANGED
|
@@ -23,8 +23,6 @@ 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;
|
|
27
|
-
|
|
28
26
|
/**
|
|
29
27
|
* Represents additional options for ExperimentSDK.assignByPoints
|
|
30
28
|
* Right now it's aliased to the "AssignOptions" interface because the same options apply for this function.
|
|
@@ -87,10 +85,6 @@ declare interface AsyncStatus {
|
|
|
87
85
|
message?: string;
|
|
88
86
|
}
|
|
89
87
|
|
|
90
|
-
declare const ATLAS_CLOUD_FEATURE_FLAGS: NonNullable<"DATA_EXPLORER_COMPASS_WEB_ENABLE_DATA_MODELING" | "DATA_EXPLORER_ENABLE_SEARCH_INDEXES_MANAGEMENT" | "DATA_EXPLORER_ENABLE_TOOL_CALLING" | "DATA_EXPLORER_COMPASS_WEB_ENABLE_RESTORE_WORKSPACES" | "DATA_EXPLORER_ENABLE_MULTIPLEX_WEBSOCKET_ON_WEB" | null>[];
|
|
91
|
-
|
|
92
|
-
export declare type AtlasCloudFeatureFlags = Record<(typeof ATLAS_CLOUD_FEATURE_FLAGS)[number], boolean>;
|
|
93
|
-
|
|
94
88
|
/**
|
|
95
89
|
* Atlas metadata for clusters, refer to the backend implementation to see how
|
|
96
90
|
* the values are derived
|
|
@@ -180,15 +174,6 @@ export declare interface AtlasClusterMetadata {
|
|
|
180
174
|
userConnectionString: string;
|
|
181
175
|
}
|
|
182
176
|
|
|
183
|
-
declare type AtlasOrgPreferences = {
|
|
184
|
-
enableGenAIFeaturesAtlasOrg: boolean;
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
declare type AtlasProjectPreferences = {
|
|
188
|
-
enableGenAIFeaturesAtlasProject: boolean;
|
|
189
|
-
enableGenAIToolCallingAtlasProject: boolean;
|
|
190
|
-
};
|
|
191
|
-
|
|
192
177
|
declare interface BasicAPICallingFunctionOptions<LoggerTeam> extends BasicFunctionOptions<LoggerTeam> {
|
|
193
178
|
/**
|
|
194
179
|
* An API timeout value, in milliseconds
|
|
@@ -216,17 +201,6 @@ declare interface BasicHookResponse {
|
|
|
216
201
|
error: Error | null;
|
|
217
202
|
}
|
|
218
203
|
|
|
219
|
-
declare type CliOnlyPreferences = {
|
|
220
|
-
exportConnections?: string;
|
|
221
|
-
importConnections?: string;
|
|
222
|
-
passphrase?: string;
|
|
223
|
-
version?: boolean;
|
|
224
|
-
versions?: boolean;
|
|
225
|
-
help?: boolean;
|
|
226
|
-
showExampleConfig?: boolean;
|
|
227
|
-
trustedConnectionString?: boolean;
|
|
228
|
-
};
|
|
229
|
-
|
|
230
204
|
export declare type CollectionTabInfo = {
|
|
231
205
|
isTimeSeries: boolean;
|
|
232
206
|
isReadonly: boolean;
|
|
@@ -243,7 +217,7 @@ export declare const CompassExperimentationProvider: React_2.FC<{
|
|
|
243
217
|
}>;
|
|
244
218
|
|
|
245
219
|
/** @public */
|
|
246
|
-
export declare const CompassWeb: (
|
|
220
|
+
export declare const CompassWeb: (props: CompassWebProps) => React_2.JSX.Element;
|
|
247
221
|
|
|
248
222
|
/** @public */
|
|
249
223
|
export declare type CompassWebProps = {
|
|
@@ -264,16 +238,6 @@ export declare type CompassWebProps = {
|
|
|
264
238
|
* Whether or not darkMode should be active for the app
|
|
265
239
|
*/
|
|
266
240
|
darkMode?: boolean;
|
|
267
|
-
/**
|
|
268
|
-
* Set of initial preferences to override default values
|
|
269
|
-
*/
|
|
270
|
-
initialPreferences?: Partial<AllPreferences>;
|
|
271
|
-
/**
|
|
272
|
-
* A subset of Atlas Cloud feature flags that maps to Compass feature flag
|
|
273
|
-
* preferences. These flags have any effect ONLY if they were defined as
|
|
274
|
-
* mapped for some Compass preferences feature flags
|
|
275
|
-
*/
|
|
276
|
-
atlasCloudFeatureFlags?: Partial<AtlasCloudFeatureFlags>;
|
|
277
241
|
/**
|
|
278
242
|
* Callback prop called every time any code inside Compass logs something
|
|
279
243
|
*/
|
|
@@ -914,15 +878,18 @@ export declare type ExperimentTestGroup = (typeof ExperimentTestGroups)[keyof ty
|
|
|
914
878
|
export declare const ExperimentTestGroups: {
|
|
915
879
|
readonly mockDataGeneratorVariant: "mockDataGeneratorVariant";
|
|
916
880
|
readonly mockDataGeneratorControl: "mockDataGeneratorControl";
|
|
917
|
-
readonly
|
|
918
|
-
readonly
|
|
881
|
+
readonly searchActivationProgramP1Variant: "searchActivationProgramP1Variant";
|
|
882
|
+
readonly searchActivationProgramP1Control: "searchActivationProgramP1Control";
|
|
883
|
+
readonly searchActivationProgramP2Variant: "searchActivationProgramP2Variant";
|
|
884
|
+
readonly searchActivationProgramP2Control: "searchActivationProgramP2Control";
|
|
919
885
|
};
|
|
920
886
|
|
|
921
887
|
export declare type ExperimentTestName = (typeof ExperimentTestNames)[keyof typeof ExperimentTestNames];
|
|
922
888
|
|
|
923
889
|
export declare const ExperimentTestNames: {
|
|
924
|
-
readonly mockDataGenerator: "
|
|
925
|
-
readonly
|
|
890
|
+
readonly mockDataGenerator: "MOCK_DATA_GENERATOR_ITERATION_20260507";
|
|
891
|
+
readonly searchActivationProgramP1: "SEARCH_ACTIVATION_PROGRAM_P1_20260427";
|
|
892
|
+
readonly searchActivationProgramP2: "SEARCH_ACTIVATION_PROGRAM_P2_20260609";
|
|
926
893
|
};
|
|
927
894
|
|
|
928
895
|
declare enum ExperimentViewedEventName {
|
|
@@ -930,156 +897,6 @@ declare enum ExperimentViewedEventName {
|
|
|
930
897
|
EXPERIMENT_GHOSTVIEWED = "Experiment GhostViewed"
|
|
931
898
|
}
|
|
932
899
|
|
|
933
|
-
declare const FEATURE_FLAG_DEFINITIONS: readonly [{
|
|
934
|
-
readonly name: "enableOidc";
|
|
935
|
-
readonly stage: "released";
|
|
936
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
937
|
-
readonly description: {
|
|
938
|
-
readonly short: "Enable OIDC Authentication";
|
|
939
|
-
};
|
|
940
|
-
}, {
|
|
941
|
-
readonly name: "newExplainPlan";
|
|
942
|
-
readonly stage: "released";
|
|
943
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
944
|
-
readonly description: {
|
|
945
|
-
readonly short: "Access explain plan from query bar";
|
|
946
|
-
readonly long: "Explain plan is now accessible right from the query bar. To view a query’s execution plan, click “Explain” as you would on an aggregation pipeline.";
|
|
947
|
-
};
|
|
948
|
-
}, {
|
|
949
|
-
readonly name: "showInsights";
|
|
950
|
-
readonly stage: "released";
|
|
951
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
952
|
-
readonly description: {
|
|
953
|
-
readonly short: "Show performance insights";
|
|
954
|
-
readonly long: "Surface visual signals in the Compass interface to highlight potential performance issues and anti-patterns.";
|
|
955
|
-
};
|
|
956
|
-
}, {
|
|
957
|
-
readonly name: "enableRenameCollectionModal";
|
|
958
|
-
readonly stage: "released";
|
|
959
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
960
|
-
readonly description: {
|
|
961
|
-
readonly short: "Enables renaming a collection";
|
|
962
|
-
readonly long: "Allows users to rename a collection from the sidebar";
|
|
963
|
-
};
|
|
964
|
-
}, {
|
|
965
|
-
readonly name: "enableProxySupport";
|
|
966
|
-
readonly stage: "released";
|
|
967
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
968
|
-
readonly description: {
|
|
969
|
-
readonly short: "Enables support for explicit proxy configuration.";
|
|
970
|
-
readonly long: "Allows users to specify proxy configuration for the entire Compass application.";
|
|
971
|
-
};
|
|
972
|
-
}, {
|
|
973
|
-
readonly name: "showDisabledConnections";
|
|
974
|
-
readonly stage: "released";
|
|
975
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
976
|
-
readonly description: {
|
|
977
|
-
readonly short: "Show clusters that are not in a \"connectable\" state in Atlas Cloud";
|
|
978
|
-
};
|
|
979
|
-
}, {
|
|
980
|
-
readonly name: "enableRollingIndexes";
|
|
981
|
-
readonly stage: "released";
|
|
982
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
983
|
-
readonly description: {
|
|
984
|
-
readonly short: "Enable creating indexes with the rolling build in Atlas Cloud";
|
|
985
|
-
};
|
|
986
|
-
}, {
|
|
987
|
-
readonly name: "enableGlobalWrites";
|
|
988
|
-
readonly stage: "released";
|
|
989
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
990
|
-
readonly description: {
|
|
991
|
-
readonly short: "Enable Global Writes tab in Atlas Cloud";
|
|
992
|
-
};
|
|
993
|
-
}, {
|
|
994
|
-
readonly name: "enableExportSchema";
|
|
995
|
-
readonly stage: "released";
|
|
996
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
997
|
-
readonly description: {
|
|
998
|
-
readonly short: "Enable schema export";
|
|
999
|
-
};
|
|
1000
|
-
}, {
|
|
1001
|
-
readonly name: "enableDataModeling";
|
|
1002
|
-
readonly stage: "released";
|
|
1003
|
-
readonly atlasCloudFeatureFlagName: "DATA_EXPLORER_COMPASS_WEB_ENABLE_DATA_MODELING";
|
|
1004
|
-
readonly description: {
|
|
1005
|
-
readonly short: "Design, Visualize, and Evolve your Data Model";
|
|
1006
|
-
};
|
|
1007
|
-
}, {
|
|
1008
|
-
readonly name: "enableDataModelingCollapse";
|
|
1009
|
-
readonly stage: "released";
|
|
1010
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
1011
|
-
readonly description: {
|
|
1012
|
-
readonly short: "Enable Collapse / Expand functionality in Data Modeling";
|
|
1013
|
-
};
|
|
1014
|
-
}, {
|
|
1015
|
-
readonly name: "enableContextMenus";
|
|
1016
|
-
readonly stage: "released";
|
|
1017
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
1018
|
-
readonly description: {
|
|
1019
|
-
readonly short: "Enable context (right-click) menus";
|
|
1020
|
-
};
|
|
1021
|
-
}, {
|
|
1022
|
-
readonly name: "enableUnauthenticatedGenAI";
|
|
1023
|
-
readonly stage: "released";
|
|
1024
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
1025
|
-
readonly description: {
|
|
1026
|
-
readonly short: "Enable GenAI for unauthenticated users";
|
|
1027
|
-
};
|
|
1028
|
-
}, {
|
|
1029
|
-
readonly name: "enableSearchActivationProgramP1";
|
|
1030
|
-
readonly stage: "development";
|
|
1031
|
-
readonly atlasCloudFeatureFlagName: "DATA_EXPLORER_ENABLE_SEARCH_INDEXES_MANAGEMENT";
|
|
1032
|
-
readonly description: {
|
|
1033
|
-
readonly short: "Enable interface to view and modify search indexes";
|
|
1034
|
-
};
|
|
1035
|
-
}, {
|
|
1036
|
-
readonly name: "enableAIAssistant";
|
|
1037
|
-
readonly stage: "released";
|
|
1038
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
1039
|
-
readonly description: {
|
|
1040
|
-
readonly short: "Enable AI Assistant";
|
|
1041
|
-
};
|
|
1042
|
-
}, {
|
|
1043
|
-
readonly name: "enableToolCalling";
|
|
1044
|
-
readonly stage: "released";
|
|
1045
|
-
readonly atlasCloudFeatureFlagName: "DATA_EXPLORER_ENABLE_TOOL_CALLING";
|
|
1046
|
-
readonly description: {
|
|
1047
|
-
readonly short: "Enable tool calling in the AI Assistant";
|
|
1048
|
-
};
|
|
1049
|
-
}, {
|
|
1050
|
-
readonly name: "enableRestoreWorkspaces";
|
|
1051
|
-
readonly stage: "development";
|
|
1052
|
-
readonly atlasCloudFeatureFlagName: "DATA_EXPLORER_COMPASS_WEB_ENABLE_RESTORE_WORKSPACES";
|
|
1053
|
-
readonly description: {
|
|
1054
|
-
readonly short: "Enable restoring previous workspace tabs on startup";
|
|
1055
|
-
};
|
|
1056
|
-
}, {
|
|
1057
|
-
readonly name: "enableAutomaticRelationshipInference";
|
|
1058
|
-
readonly stage: "released";
|
|
1059
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
1060
|
-
readonly description: {
|
|
1061
|
-
readonly short: "Enable automatic relationship inference during data model generation";
|
|
1062
|
-
};
|
|
1063
|
-
}, {
|
|
1064
|
-
readonly name: "enableChatbotEndpointForGenAI";
|
|
1065
|
-
readonly stage: "released";
|
|
1066
|
-
readonly atlasCloudFeatureFlagName: null;
|
|
1067
|
-
readonly description: {
|
|
1068
|
-
readonly short: "Enable Chatbot API for Generative AI";
|
|
1069
|
-
};
|
|
1070
|
-
}, {
|
|
1071
|
-
readonly name: "enableMultiplexWebSocketOnWeb";
|
|
1072
|
-
readonly stage: "development";
|
|
1073
|
-
readonly atlasCloudFeatureFlagName: "DATA_EXPLORER_ENABLE_MULTIPLEX_WEBSOCKET_ON_WEB";
|
|
1074
|
-
readonly description: {
|
|
1075
|
-
readonly short: "Enable multiplexing websocket on web";
|
|
1076
|
-
};
|
|
1077
|
-
}];
|
|
1078
|
-
|
|
1079
|
-
declare type FeatureFlagDefinitions = typeof FEATURE_FLAG_DEFINITIONS;
|
|
1080
|
-
|
|
1081
|
-
declare type FeatureFlags = Record<FeatureFlagDefinitions[number]['name'], boolean>;
|
|
1082
|
-
|
|
1083
900
|
declare type GetAssignmentFn = (experimentName: ExperimentTestName, trackIsInSample: boolean, options?: types.GetAssignmentOptions<types.TypeData>) => Promise<types.SDKAssignment<ExperimentTestName, string> | null>;
|
|
1084
901
|
|
|
1085
902
|
/**
|
|
@@ -1127,39 +944,6 @@ declare enum HookAsyncStatus {
|
|
|
1127
944
|
ERROR = "ERROR"
|
|
1128
945
|
}
|
|
1129
946
|
|
|
1130
|
-
/**
|
|
1131
|
-
* Internally used preferences that are not configurable by users.
|
|
1132
|
-
*/
|
|
1133
|
-
declare type InternalUserPreferences = {
|
|
1134
|
-
showedNetworkOptIn: boolean;
|
|
1135
|
-
id: string;
|
|
1136
|
-
cloudFeatureRolloutAccess?: {
|
|
1137
|
-
GEN_AI_COMPASS?: boolean;
|
|
1138
|
-
};
|
|
1139
|
-
lastKnownVersion: string;
|
|
1140
|
-
highestInstalledVersion?: string;
|
|
1141
|
-
currentUserId?: string;
|
|
1142
|
-
telemetryAnonymousId?: string;
|
|
1143
|
-
telemetryAtlasUserId?: string;
|
|
1144
|
-
userCreatedAt: number;
|
|
1145
|
-
enableConnectInNewWindow: boolean;
|
|
1146
|
-
showEndOfLifeConnectionModal: boolean;
|
|
1147
|
-
zoomLevel?: number;
|
|
1148
|
-
windowBounds?: {
|
|
1149
|
-
x?: number;
|
|
1150
|
-
y?: number;
|
|
1151
|
-
width?: number;
|
|
1152
|
-
height?: number;
|
|
1153
|
-
isMaximized?: boolean;
|
|
1154
|
-
isFullScreen?: boolean;
|
|
1155
|
-
};
|
|
1156
|
-
enableGuideCues: boolean;
|
|
1157
|
-
};
|
|
1158
|
-
|
|
1159
|
-
declare const LEGACY_UUID_ENCODINGS: readonly ["", "LegacyJavaUUID", "LegacyCSharpUUID", "LegacyPythonUUID"];
|
|
1160
|
-
|
|
1161
|
-
declare type LEGACY_UUID_ENCODINGS = (typeof LEGACY_UUID_ENCODINGS)[number];
|
|
1162
|
-
|
|
1163
947
|
/**
|
|
1164
948
|
* The interface for a log message + metadata, for use with the {@link Logger}.
|
|
1165
949
|
*/
|
|
@@ -1224,19 +1008,6 @@ export declare type LogMessage = {
|
|
|
1224
1008
|
attr?: any;
|
|
1225
1009
|
};
|
|
1226
1010
|
|
|
1227
|
-
declare type NonUserPreferences = {
|
|
1228
|
-
ignoreAdditionalCommandLineFlags?: boolean;
|
|
1229
|
-
positionalArguments?: string[];
|
|
1230
|
-
file?: string;
|
|
1231
|
-
username?: string;
|
|
1232
|
-
password?: string;
|
|
1233
|
-
};
|
|
1234
|
-
|
|
1235
|
-
declare type PermanentFeatureFlags = {
|
|
1236
|
-
showDevFeatureFlags?: boolean;
|
|
1237
|
-
enableDebugUseCsfleSchemaMap?: boolean;
|
|
1238
|
-
};
|
|
1239
|
-
|
|
1240
1011
|
/**
|
|
1241
1012
|
* An experiment assignment for a given entity and experiment in the SDK.
|
|
1242
1013
|
* This represents an assignment object in {@link ExperimentSDK.#assignmentsMap}
|
|
@@ -1418,10 +1189,6 @@ declare enum Severity {
|
|
|
1418
1189
|
ERROR = "error"
|
|
1419
1190
|
}
|
|
1420
1191
|
|
|
1421
|
-
declare const SORT_ORDER_VALUES: readonly ["", "{ _id: 1 }", "{ _id: -1 }", "{ $natural: -1 }"];
|
|
1422
|
-
|
|
1423
|
-
declare type SORT_ORDERS = (typeof SORT_ORDER_VALUES)[number];
|
|
1424
|
-
|
|
1425
1192
|
/**
|
|
1426
1193
|
* Commonly used status codes (for {@link AsyncStatus})
|
|
1427
1194
|
* Currently we only create AsyncStatus objects for success states; errors are thrown
|
|
@@ -1432,10 +1199,6 @@ declare enum StatusCode {
|
|
|
1432
1199
|
ACCEPTED = 202
|
|
1433
1200
|
}
|
|
1434
1201
|
|
|
1435
|
-
declare type THEMES = (typeof THEMES_VALUES)[number];
|
|
1436
|
-
|
|
1437
|
-
declare const THEMES_VALUES: readonly ["DARK", "LIGHT", "OS_THEME"];
|
|
1438
|
-
|
|
1439
1202
|
/**
|
|
1440
1203
|
* A Tracker object that can send data on client metrics.
|
|
1441
1204
|
*/
|
|
@@ -1667,52 +1430,6 @@ declare interface Tracker<ExperimentViewedProps> {
|
|
|
1667
1430
|
assignment: SDKAssignment<T['experimentName'], T['experimentVariantName']> | null;
|
|
1668
1431
|
}
|
|
1669
1432
|
|
|
1670
|
-
declare type UserConfigurablePreferences = PermanentFeatureFlags & FeatureFlags & {
|
|
1671
|
-
autoUpdates: boolean;
|
|
1672
|
-
enableGenAIFeatures: boolean;
|
|
1673
|
-
enableMaps: boolean;
|
|
1674
|
-
trackUsageStatistics: boolean;
|
|
1675
|
-
enableFeedbackPanel: boolean;
|
|
1676
|
-
networkTraffic: boolean;
|
|
1677
|
-
readOnly: boolean;
|
|
1678
|
-
readWrite: boolean;
|
|
1679
|
-
enableShell: boolean;
|
|
1680
|
-
enableDbAndCollStats: boolean;
|
|
1681
|
-
protectConnectionStrings?: boolean;
|
|
1682
|
-
forceConnectionOptions?: [key: string, value: string][];
|
|
1683
|
-
showKerberosPasswordField: boolean;
|
|
1684
|
-
showOIDCDeviceAuthFlow: boolean;
|
|
1685
|
-
browserCommandForOIDCAuth?: string;
|
|
1686
|
-
persistOIDCTokens?: boolean;
|
|
1687
|
-
enableDevTools: boolean;
|
|
1688
|
-
theme: THEMES;
|
|
1689
|
-
maxTimeMS?: number;
|
|
1690
|
-
installURLHandlers: boolean;
|
|
1691
|
-
protectConnectionStringsForNewConnections: boolean;
|
|
1692
|
-
legacyUUIDDisplayEncoding: LEGACY_UUID_ENCODINGS;
|
|
1693
|
-
atlasServiceBackendPreset: 'atlas-local' | 'atlas-dev' | 'atlas-qa' | 'atlas-staging' | 'atlas';
|
|
1694
|
-
optInGenAIFeatures: boolean;
|
|
1695
|
-
enableExplainPlan: boolean;
|
|
1696
|
-
enableAtlasSearchIndexes: boolean;
|
|
1697
|
-
enableImportExport: boolean;
|
|
1698
|
-
enableMyQueries: boolean;
|
|
1699
|
-
enableAggregationBuilderRunPipeline: boolean;
|
|
1700
|
-
enableAggregationBuilderExtraOptions: boolean;
|
|
1701
|
-
enableGenAISampleDocumentPassing: boolean;
|
|
1702
|
-
enableGenAIToolCalling: boolean;
|
|
1703
|
-
enablePerformanceAdvisorBanner: boolean;
|
|
1704
|
-
maximumNumberOfActiveConnections?: number;
|
|
1705
|
-
defaultSortOrder: SORT_ORDERS;
|
|
1706
|
-
enableShowDialogOnQuit: boolean;
|
|
1707
|
-
enableCreatingNewConnections: boolean;
|
|
1708
|
-
enableProxySupport: boolean;
|
|
1709
|
-
proxy: string;
|
|
1710
|
-
inferNamespacesFromPrivileges?: boolean;
|
|
1711
|
-
maxTimeMSEnvLimit?: number;
|
|
1712
|
-
};
|
|
1713
|
-
|
|
1714
|
-
declare type UserPreferences = UserConfigurablePreferences & InternalUserPreferences & AtlasOrgPreferences & AtlasProjectPreferences;
|
|
1715
|
-
|
|
1716
1433
|
declare type UseTrackInSampleHook = (experimentName: ExperimentTestName, shouldFireEvent?: boolean, customProperties?: types.TypeData['experimentViewedProps'], team?: types.TypeData['loggerTeam']) => typesReact.BasicHookResponse;
|
|
1717
1434
|
|
|
1718
1435
|
/**
|