@mongodb-js/compass-web 0.35.6 → 0.36.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/149.abccc0e903c0f5ea7354.mjs +372 -0
- package/dist/20.f2c2353886886939e128.mjs +2 -0
- package/dist/207.d69541eff41412663f35.mjs +2 -0
- package/dist/563.mjs +1 -0
- package/dist/566.513352a4be9e2a46530b.mjs +23 -0
- package/dist/68.f1ca0ed16b5fa27e2cf1.mjs +1 -0
- package/dist/69.mjs +1 -0
- package/dist/724.8aae14d079e334751961.mjs +8 -0
- package/dist/737.mjs +1 -0
- package/dist/745.mjs +1 -0
- package/dist/832.a6fb147f7fd965a7f30c.mjs +2 -0
- package/dist/938.e127bbcdd0ce0eab8722.mjs +2 -0
- package/dist/{689.4dcae6a48b5ab6519016.mjs.LICENSE.txt → 938.e127bbcdd0ce0eab8722.mjs.LICENSE.txt} +0 -2
- package/dist/965.3c1bdf715c3551cfe1ba.mjs +1 -0
- package/dist/995.c3bb8ac49cdffa0211da.mjs +2 -0
- package/dist/assets-manifest.json +11 -12
- package/dist/compass-web.d.ts +20 -293
- package/dist/compass-web.mjs +23 -23
- package/dist/index-bde52cb3.a964d5743a224d2efb82.mjs +1 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +55 -54
- package/dist/128.d74f22fdbc215f781713.mjs +0 -2
- package/dist/145.bb3ab3ecc577c03d4719.mjs +0 -1
- package/dist/221.73c874bae77f258d1063.mjs +0 -2
- package/dist/455.00dd3b68f4afab746f19.mjs +0 -1
- package/dist/531.763ecadd9feb95d2dac6.mjs +0 -23
- package/dist/583.aa2542a4a9a81cf18049.mjs +0 -378
- package/dist/689.4dcae6a48b5ab6519016.mjs +0 -2
- package/dist/755.3d354b04ff596a23fd46.mjs +0 -2
- package/dist/800.6acd53ae9617e3cb63ed.mjs +0 -2
- package/dist/901.2101dc93082369c119a3.mjs +0 -2
- package/dist/965.d5a6b7e950f14396c862.mjs +0 -1
- package/dist/index-bde52cb3.291f8ae4bc856eb51b2e.mjs +0 -1
- /package/dist/{583.aa2542a4a9a81cf18049.mjs.LICENSE.txt → 149.abccc0e903c0f5ea7354.mjs.LICENSE.txt} +0 -0
- /package/dist/{901.2101dc93082369c119a3.mjs.LICENSE.txt → 20.f2c2353886886939e128.mjs.LICENSE.txt} +0 -0
- /package/dist/{128.d74f22fdbc215f781713.mjs.LICENSE.txt → 207.d69541eff41412663f35.mjs.LICENSE.txt} +0 -0
- /package/dist/{531.763ecadd9feb95d2dac6.mjs.LICENSE.txt → 566.513352a4be9e2a46530b.mjs.LICENSE.txt} +0 -0
- /package/dist/{755.3d354b04ff596a23fd46.mjs.LICENSE.txt → 724.8aae14d079e334751961.mjs.LICENSE.txt} +0 -0
- /package/dist/{800.6acd53ae9617e3cb63ed.mjs.LICENSE.txt → 832.a6fb147f7fd965a7f30c.mjs.LICENSE.txt} +0 -0
- /package/dist/{221.73c874bae77f258d1063.mjs.LICENSE.txt → 995.c3bb8ac49cdffa0211da.mjs.LICENSE.txt} +0 -0
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
[
|
|
2
2
|
"compass-web.mjs",
|
|
3
|
-
"index-bde52cb3.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"965.
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"755.3d354b04ff596a23fd46.mjs"
|
|
3
|
+
"index-bde52cb3.a964d5743a224d2efb82.mjs",
|
|
4
|
+
"68.f1ca0ed16b5fa27e2cf1.mjs",
|
|
5
|
+
"566.513352a4be9e2a46530b.mjs",
|
|
6
|
+
"965.3c1bdf715c3551cfe1ba.mjs",
|
|
7
|
+
"149.abccc0e903c0f5ea7354.mjs",
|
|
8
|
+
"207.d69541eff41412663f35.mjs",
|
|
9
|
+
"938.e127bbcdd0ce0eab8722.mjs",
|
|
10
|
+
"995.c3bb8ac49cdffa0211da.mjs",
|
|
11
|
+
"832.a6fb147f7fd965a7f30c.mjs",
|
|
12
|
+
"20.f2c2353886886939e128.mjs",
|
|
13
|
+
"724.8aae14d079e334751961.mjs"
|
|
15
14
|
]
|
package/dist/compass-web.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { History as History_2 } from 'history';
|
|
1
2
|
import { default as React_2 } from 'react';
|
|
2
|
-
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Valid statuses for activeOrLaunchedExperimentsToStatus
|
|
@@ -25,8 +25,6 @@ declare interface AddExperimentCallsProps<T extends TypeData> {
|
|
|
25
25
|
|
|
26
26
|
export declare type AllPreferences = UserPreferences & CliOnlyPreferences & NonUserPreferences;
|
|
27
27
|
|
|
28
|
-
declare type AnyWorkspace = WelcomeWorkspace | MyQueriesWorkspace | DataModelingWorkspace | ShellWorkspace | ServerStatsWorkspace | DatabasesWorkspace | CollectionsWorkspace | CollectionWorkspace;
|
|
29
|
-
|
|
30
28
|
/**
|
|
31
29
|
* Represents additional options for ExperimentSDK.assignByPoints
|
|
32
30
|
* Right now it's aliased to the "AssignOptions" interface because the same options apply for this function.
|
|
@@ -89,7 +87,7 @@ declare interface AsyncStatus {
|
|
|
89
87
|
message?: string;
|
|
90
88
|
}
|
|
91
89
|
|
|
92
|
-
declare const ATLAS_CLOUD_FEATURE_FLAGS: NonNullable<"DATA_EXPLORER_COMPASS_WEB_ENABLE_DATA_MODELING" | "DATA_EXPLORER_ENABLE_TOOL_CALLING" | "DATA_EXPLORER_COMPASS_WEB_ENABLE_RESTORE_WORKSPACES" | null>[];
|
|
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>[];
|
|
93
91
|
|
|
94
92
|
export declare type AtlasCloudFeatureFlags = Record<(typeof ATLAS_CLOUD_FEATURE_FLAGS)[number], boolean>;
|
|
95
93
|
|
|
@@ -229,29 +227,6 @@ declare type CliOnlyPreferences = {
|
|
|
229
227
|
trustedConnectionString?: boolean;
|
|
230
228
|
};
|
|
231
229
|
|
|
232
|
-
declare type CollectionSubtab = z.output<typeof CollectionSubtabSchema>;
|
|
233
|
-
|
|
234
|
-
declare const CollectionSubtabSchema: z.ZodEnum<["Documents", "Aggregations", "Schema", "Indexes", "Validation", "GlobalWrites"]>;
|
|
235
|
-
|
|
236
|
-
declare type CollectionsWorkspace = z.output<typeof CollectionsWorkspaceSchema>;
|
|
237
|
-
|
|
238
|
-
declare const CollectionsWorkspaceSchema: z.ZodObject<{
|
|
239
|
-
type: z.ZodLiteral<"Collections">;
|
|
240
|
-
connectionId: z.ZodString;
|
|
241
|
-
namespace: z.ZodString;
|
|
242
|
-
inferredFromPrivileges: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
-
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
type: "Collections";
|
|
245
|
-
connectionId: string;
|
|
246
|
-
namespace: string;
|
|
247
|
-
inferredFromPrivileges?: boolean | undefined;
|
|
248
|
-
}, {
|
|
249
|
-
type: "Collections";
|
|
250
|
-
connectionId: string;
|
|
251
|
-
namespace: string;
|
|
252
|
-
inferredFromPrivileges?: boolean | undefined;
|
|
253
|
-
}>;
|
|
254
|
-
|
|
255
230
|
export declare type CollectionTabInfo = {
|
|
256
231
|
isTimeSeries: boolean;
|
|
257
232
|
isReadonly: boolean;
|
|
@@ -259,45 +234,6 @@ export declare type CollectionTabInfo = {
|
|
|
259
234
|
inferredFromPrivileges: boolean;
|
|
260
235
|
};
|
|
261
236
|
|
|
262
|
-
declare type CollectionWorkspace = z.output<typeof CollectionWorkspaceSchema> & {
|
|
263
|
-
tabId: string;
|
|
264
|
-
};
|
|
265
|
-
|
|
266
|
-
declare const CollectionWorkspaceSchema: z.ZodObject<{
|
|
267
|
-
type: z.ZodLiteral<"Collection">;
|
|
268
|
-
subTab: z.ZodEnum<["Documents", "Aggregations", "Schema", "Indexes", "Validation", "GlobalWrites"]>;
|
|
269
|
-
initialQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
270
|
-
initialPipeline: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
271
|
-
initialPipelineText: z.ZodOptional<z.ZodString>;
|
|
272
|
-
initialAggregation: z.ZodOptional<z.ZodUnknown>;
|
|
273
|
-
editViewName: z.ZodOptional<z.ZodString>;
|
|
274
|
-
connectionId: z.ZodString;
|
|
275
|
-
namespace: z.ZodString;
|
|
276
|
-
inferredFromPrivileges: z.ZodOptional<z.ZodBoolean>;
|
|
277
|
-
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
type: "Collection";
|
|
279
|
-
connectionId: string;
|
|
280
|
-
namespace: string;
|
|
281
|
-
subTab: "Documents" | "Aggregations" | "Schema" | "Indexes" | "Validation" | "GlobalWrites";
|
|
282
|
-
inferredFromPrivileges?: boolean | undefined;
|
|
283
|
-
initialQuery?: Record<string, any> | undefined;
|
|
284
|
-
initialPipeline?: unknown[] | undefined;
|
|
285
|
-
initialPipelineText?: string | undefined;
|
|
286
|
-
initialAggregation?: unknown;
|
|
287
|
-
editViewName?: string | undefined;
|
|
288
|
-
}, {
|
|
289
|
-
type: "Collection";
|
|
290
|
-
connectionId: string;
|
|
291
|
-
namespace: string;
|
|
292
|
-
subTab: "Documents" | "Aggregations" | "Schema" | "Indexes" | "Validation" | "GlobalWrites";
|
|
293
|
-
inferredFromPrivileges?: boolean | undefined;
|
|
294
|
-
initialQuery?: Record<string, any> | undefined;
|
|
295
|
-
initialPipeline?: unknown[] | undefined;
|
|
296
|
-
initialPipelineText?: string | undefined;
|
|
297
|
-
initialAggregation?: unknown;
|
|
298
|
-
editViewName?: string | undefined;
|
|
299
|
-
}>;
|
|
300
|
-
|
|
301
237
|
export declare const CompassExperimentationProvider: React_2.FC<{
|
|
302
238
|
children: React_2.ReactNode;
|
|
303
239
|
useAssignment: UseAssignmentHook;
|
|
@@ -307,7 +243,7 @@ export declare const CompassExperimentationProvider: React_2.FC<{
|
|
|
307
243
|
}>;
|
|
308
244
|
|
|
309
245
|
/** @public */
|
|
310
|
-
export declare const CompassWeb: ({ appName, orgId, projectId, darkMode,
|
|
246
|
+
export declare const CompassWeb: ({ appName, orgId, projectId, darkMode, initialPreferences, atlasCloudFeatureFlags, onLog, onDebug, onTrack, onOpenConnectViaModal, history, historyRoutePrefix, }: CompassWebProps) => React_2.JSX.Element;
|
|
311
247
|
|
|
312
248
|
/** @public */
|
|
313
249
|
export declare type CompassWebProps = {
|
|
@@ -328,28 +264,6 @@ export declare type CompassWebProps = {
|
|
|
328
264
|
* Whether or not darkMode should be active for the app
|
|
329
265
|
*/
|
|
330
266
|
darkMode?: boolean;
|
|
331
|
-
/**
|
|
332
|
-
* Optional. If passed, compass-web will try to find connection info with that
|
|
333
|
-
* id in connection storage and pass it as autoconnect info to the
|
|
334
|
-
* compass-connections
|
|
335
|
-
*/
|
|
336
|
-
initialAutoconnectId?: string;
|
|
337
|
-
/**
|
|
338
|
-
* Optional. If passed, compass-web will open provided workspace right away.
|
|
339
|
-
* If workspace requires active connection, the connectionId from the
|
|
340
|
-
* workspace will be used for the autoconnect info getter. In that case
|
|
341
|
-
* connectionId from the workspace takes precedence over
|
|
342
|
-
* `initialAutoconnectId`
|
|
343
|
-
*/
|
|
344
|
-
initialWorkspace?: OpenWorkspaceOptions;
|
|
345
|
-
/**
|
|
346
|
-
* Callback prop called when current active workspace changes. Can be used to
|
|
347
|
-
* communicate current workspace back to the parent component for example to
|
|
348
|
-
* sync router with the current active workspace
|
|
349
|
-
*/
|
|
350
|
-
onActiveWorkspaceTabChange: <WS extends WorkspaceTab>(ws: WS | null, collectionInfo: WS extends {
|
|
351
|
-
type: 'Collection';
|
|
352
|
-
} ? CollectionTabInfo | null : never) => void;
|
|
353
267
|
/**
|
|
354
268
|
* Set of initial preferences to override default values
|
|
355
269
|
*/
|
|
@@ -380,11 +294,15 @@ export declare type CompassWebProps = {
|
|
|
380
294
|
*/
|
|
381
295
|
onOpenConnectViaModal?: (atlasMetadata?: AtlasClusterMetadata) => void;
|
|
382
296
|
/**
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
|
|
297
|
+
* A "react-router"-like history instance to be used to manipulate the current
|
|
298
|
+
* route state. Optional, if not provided, no router handling logic will apply
|
|
299
|
+
*/
|
|
300
|
+
history?: History_2;
|
|
301
|
+
/**
|
|
302
|
+
* Optional prefix to take into consideration when parsing current route
|
|
303
|
+
* (default: "explorer")
|
|
386
304
|
*/
|
|
387
|
-
|
|
305
|
+
historyRoutePrefix?: string;
|
|
388
306
|
};
|
|
389
307
|
|
|
390
308
|
/**
|
|
@@ -401,29 +319,6 @@ declare interface ConstructorOptions<T extends TypeData> {
|
|
|
401
319
|
trackerOptions?: TrackerOptions<T['experimentViewedProps']>;
|
|
402
320
|
}
|
|
403
321
|
|
|
404
|
-
declare type DatabasesWorkspace = z.output<typeof DatabasesWorkspaceSchema>;
|
|
405
|
-
|
|
406
|
-
declare const DatabasesWorkspaceSchema: z.ZodObject<{
|
|
407
|
-
type: z.ZodLiteral<"Databases">;
|
|
408
|
-
connectionId: z.ZodString;
|
|
409
|
-
}, "strip", z.ZodTypeAny, {
|
|
410
|
-
type: "Databases";
|
|
411
|
-
connectionId: string;
|
|
412
|
-
}, {
|
|
413
|
-
type: "Databases";
|
|
414
|
-
connectionId: string;
|
|
415
|
-
}>;
|
|
416
|
-
|
|
417
|
-
declare type DataModelingWorkspace = z.output<typeof DataModelingWorkspaceSchema>;
|
|
418
|
-
|
|
419
|
-
declare const DataModelingWorkspaceSchema: z.ZodObject<{
|
|
420
|
-
type: z.ZodLiteral<"Data Modeling">;
|
|
421
|
-
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
type: "Data Modeling";
|
|
423
|
-
}, {
|
|
424
|
-
type: "Data Modeling";
|
|
425
|
-
}>;
|
|
426
|
-
|
|
427
322
|
/** @public */
|
|
428
323
|
export declare type DebugFunction = (...args: any[]) => void;
|
|
429
324
|
|
|
@@ -1133,7 +1028,7 @@ declare const FEATURE_FLAG_DEFINITIONS: readonly [{
|
|
|
1133
1028
|
}, {
|
|
1134
1029
|
readonly name: "enableSearchActivationProgramP1";
|
|
1135
1030
|
readonly stage: "development";
|
|
1136
|
-
readonly atlasCloudFeatureFlagName:
|
|
1031
|
+
readonly atlasCloudFeatureFlagName: "DATA_EXPLORER_ENABLE_SEARCH_INDEXES_MANAGEMENT";
|
|
1137
1032
|
readonly description: {
|
|
1138
1033
|
readonly short: "Enable interface to view and modify search indexes";
|
|
1139
1034
|
};
|
|
@@ -1172,6 +1067,13 @@ declare const FEATURE_FLAG_DEFINITIONS: readonly [{
|
|
|
1172
1067
|
readonly description: {
|
|
1173
1068
|
readonly short: "Enable Chatbot API for Generative AI";
|
|
1174
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
|
+
};
|
|
1175
1077
|
}];
|
|
1176
1078
|
|
|
1177
1079
|
declare type FeatureFlagDefinitions = typeof FEATURE_FLAG_DEFINITIONS;
|
|
@@ -1215,12 +1117,6 @@ declare interface GetPropertiesResponse<T extends TypeData> {
|
|
|
1215
1117
|
environment: Environment;
|
|
1216
1118
|
}
|
|
1217
1119
|
|
|
1218
|
-
/** @public */
|
|
1219
|
-
export declare function getRouteFromWorkspaceTab(tab: WorkspaceTab | null): string;
|
|
1220
|
-
|
|
1221
|
-
/** @public */
|
|
1222
|
-
export declare function getWorkspaceTabFromRoute(route: string): OpenWorkspaceOptions | null;
|
|
1223
|
-
|
|
1224
1120
|
/**
|
|
1225
1121
|
* Valid values to represent the lifecycle of a hook with an async call.
|
|
1226
1122
|
* "null" is the default status when a hook is initialized
|
|
@@ -1328,16 +1224,6 @@ export declare type LogMessage = {
|
|
|
1328
1224
|
attr?: any;
|
|
1329
1225
|
};
|
|
1330
1226
|
|
|
1331
|
-
declare type MyQueriesWorkspace = z.output<typeof MyQueriesWorkspaceSchema>;
|
|
1332
|
-
|
|
1333
|
-
declare const MyQueriesWorkspaceSchema: z.ZodObject<{
|
|
1334
|
-
type: z.ZodLiteral<"My Queries">;
|
|
1335
|
-
}, "strip", z.ZodTypeAny, {
|
|
1336
|
-
type: "My Queries";
|
|
1337
|
-
}, {
|
|
1338
|
-
type: "My Queries";
|
|
1339
|
-
}>;
|
|
1340
|
-
|
|
1341
1227
|
declare type NonUserPreferences = {
|
|
1342
1228
|
ignoreAdditionalCommandLineFlags?: boolean;
|
|
1343
1229
|
positionalArguments?: string[];
|
|
@@ -1346,10 +1232,6 @@ declare type NonUserPreferences = {
|
|
|
1346
1232
|
password?: string;
|
|
1347
1233
|
};
|
|
1348
1234
|
|
|
1349
|
-
export declare type OpenWorkspaceOptions = Pick<Workspace<'Welcome'>, 'type'> | Pick<Workspace<'My Queries'>, 'type'> | Pick<Workspace<'Data Modeling'>, 'type'> | Pick<Workspace<'Shell'>, 'type' | 'connectionId' | 'initialEvaluate' | 'initialInput'> | Pick<Workspace<'Databases'>, 'type' | 'connectionId'> | Pick<Workspace<'Performance'>, 'type' | 'connectionId'> | Pick<Workspace<'Collections'>, 'type' | 'connectionId' | 'namespace'> | (Pick<Workspace<'Collection'>, 'type' | 'connectionId' | 'namespace'> & Partial<Pick<Workspace<'Collection'>, 'initialQuery' | 'initialAggregation' | 'initialPipeline' | 'initialPipelineText' | 'editViewName'>> & {
|
|
1350
|
-
initialSubtab?: CollectionSubtab;
|
|
1351
|
-
});
|
|
1352
|
-
|
|
1353
1235
|
declare type PermanentFeatureFlags = {
|
|
1354
1236
|
showDevFeatureFlags?: boolean;
|
|
1355
1237
|
enableDebugUseCsfleSchemaMap?: boolean;
|
|
@@ -1527,19 +1409,6 @@ declare interface ServerGhostAssignment<ExperimentName, ExperimentVariantName> e
|
|
|
1527
1409
|
linkedHoldoutTestName: string;
|
|
1528
1410
|
}
|
|
1529
1411
|
|
|
1530
|
-
declare type ServerStatsWorkspace = z.output<typeof ServerStatsWorkspaceSchema>;
|
|
1531
|
-
|
|
1532
|
-
declare const ServerStatsWorkspaceSchema: z.ZodObject<{
|
|
1533
|
-
type: z.ZodLiteral<"Performance">;
|
|
1534
|
-
connectionId: z.ZodString;
|
|
1535
|
-
}, "strip", z.ZodTypeAny, {
|
|
1536
|
-
type: "Performance";
|
|
1537
|
-
connectionId: string;
|
|
1538
|
-
}, {
|
|
1539
|
-
type: "Performance";
|
|
1540
|
-
connectionId: string;
|
|
1541
|
-
}>;
|
|
1542
|
-
|
|
1543
1412
|
/**
|
|
1544
1413
|
* The different values of severity for logging
|
|
1545
1414
|
*/
|
|
@@ -1549,25 +1418,6 @@ declare enum Severity {
|
|
|
1549
1418
|
ERROR = "error"
|
|
1550
1419
|
}
|
|
1551
1420
|
|
|
1552
|
-
declare type ShellWorkspace = z.output<typeof ShellWorkspaceSchema>;
|
|
1553
|
-
|
|
1554
|
-
declare const ShellWorkspaceSchema: z.ZodObject<{
|
|
1555
|
-
type: z.ZodLiteral<"Shell">;
|
|
1556
|
-
connectionId: z.ZodString;
|
|
1557
|
-
initialEvaluate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1558
|
-
initialInput: z.ZodOptional<z.ZodString>;
|
|
1559
|
-
}, "strip", z.ZodTypeAny, {
|
|
1560
|
-
type: "Shell";
|
|
1561
|
-
connectionId: string;
|
|
1562
|
-
initialEvaluate?: string | string[] | undefined;
|
|
1563
|
-
initialInput?: string | undefined;
|
|
1564
|
-
}, {
|
|
1565
|
-
type: "Shell";
|
|
1566
|
-
connectionId: string;
|
|
1567
|
-
initialEvaluate?: string | string[] | undefined;
|
|
1568
|
-
initialInput?: string | undefined;
|
|
1569
|
-
}>;
|
|
1570
|
-
|
|
1571
1421
|
declare const SORT_ORDER_VALUES: readonly ["", "{ _id: 1 }", "{ _id: -1 }", "{ $natural: -1 }"];
|
|
1572
1422
|
|
|
1573
1423
|
declare type SORT_ORDERS = (typeof SORT_ORDER_VALUES)[number];
|
|
@@ -1840,7 +1690,7 @@ declare interface Tracker<ExperimentViewedProps> {
|
|
|
1840
1690
|
installURLHandlers: boolean;
|
|
1841
1691
|
protectConnectionStringsForNewConnections: boolean;
|
|
1842
1692
|
legacyUUIDDisplayEncoding: LEGACY_UUID_ENCODINGS;
|
|
1843
|
-
atlasServiceBackendPreset: 'atlas-local' | 'atlas-dev' | 'atlas-qa' | 'atlas-staging' | 'atlas'
|
|
1693
|
+
atlasServiceBackendPreset: 'atlas-local' | 'atlas-dev' | 'atlas-qa' | 'atlas-staging' | 'atlas';
|
|
1844
1694
|
optInGenAIFeatures: boolean;
|
|
1845
1695
|
enableExplainPlan: boolean;
|
|
1846
1696
|
enableAtlasSearchIndexes: boolean;
|
|
@@ -1875,127 +1725,4 @@ declare interface Tracker<ExperimentViewedProps> {
|
|
|
1875
1725
|
team?: LoggerTeam;
|
|
1876
1726
|
}
|
|
1877
1727
|
|
|
1878
|
-
declare type WelcomeWorkspace = z.output<typeof WelcomeWorkspaceSchema>;
|
|
1879
|
-
|
|
1880
|
-
declare const WelcomeWorkspaceSchema: z.ZodObject<{
|
|
1881
|
-
type: z.ZodLiteral<"Welcome">;
|
|
1882
|
-
}, "strip", z.ZodTypeAny, {
|
|
1883
|
-
type: "Welcome";
|
|
1884
|
-
}, {
|
|
1885
|
-
type: "Welcome";
|
|
1886
|
-
}>;
|
|
1887
|
-
|
|
1888
|
-
declare type Workspace<T extends AnyWorkspace['type']> = Extract<AnyWorkspace, {
|
|
1889
|
-
type: T;
|
|
1890
|
-
}>;
|
|
1891
|
-
|
|
1892
|
-
export declare type WorkspaceTab = z.output<typeof WorkspaceTabSchema>;
|
|
1893
|
-
|
|
1894
|
-
declare const WorkspaceTabSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1895
|
-
type: z.ZodLiteral<"Welcome">;
|
|
1896
|
-
}, "strip", z.ZodTypeAny, {
|
|
1897
|
-
type: "Welcome";
|
|
1898
|
-
}, {
|
|
1899
|
-
type: "Welcome";
|
|
1900
|
-
}>, z.ZodObject<{
|
|
1901
|
-
type: z.ZodLiteral<"My Queries">;
|
|
1902
|
-
}, "strip", z.ZodTypeAny, {
|
|
1903
|
-
type: "My Queries";
|
|
1904
|
-
}, {
|
|
1905
|
-
type: "My Queries";
|
|
1906
|
-
}>, z.ZodObject<{
|
|
1907
|
-
type: z.ZodLiteral<"Data Modeling">;
|
|
1908
|
-
}, "strip", z.ZodTypeAny, {
|
|
1909
|
-
type: "Data Modeling";
|
|
1910
|
-
}, {
|
|
1911
|
-
type: "Data Modeling";
|
|
1912
|
-
}>, z.ZodObject<{
|
|
1913
|
-
type: z.ZodLiteral<"Databases">;
|
|
1914
|
-
connectionId: z.ZodString;
|
|
1915
|
-
}, "strip", z.ZodTypeAny, {
|
|
1916
|
-
type: "Databases";
|
|
1917
|
-
connectionId: string;
|
|
1918
|
-
}, {
|
|
1919
|
-
type: "Databases";
|
|
1920
|
-
connectionId: string;
|
|
1921
|
-
}>, z.ZodObject<{
|
|
1922
|
-
type: z.ZodLiteral<"Performance">;
|
|
1923
|
-
connectionId: z.ZodString;
|
|
1924
|
-
}, "strip", z.ZodTypeAny, {
|
|
1925
|
-
type: "Performance";
|
|
1926
|
-
connectionId: string;
|
|
1927
|
-
}, {
|
|
1928
|
-
type: "Performance";
|
|
1929
|
-
connectionId: string;
|
|
1930
|
-
}>, z.ZodObject<{
|
|
1931
|
-
type: z.ZodLiteral<"Shell">;
|
|
1932
|
-
connectionId: z.ZodString;
|
|
1933
|
-
initialEvaluate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1934
|
-
initialInput: z.ZodOptional<z.ZodString>;
|
|
1935
|
-
}, "strip", z.ZodTypeAny, {
|
|
1936
|
-
type: "Shell";
|
|
1937
|
-
connectionId: string;
|
|
1938
|
-
initialEvaluate?: string | string[] | undefined;
|
|
1939
|
-
initialInput?: string | undefined;
|
|
1940
|
-
}, {
|
|
1941
|
-
type: "Shell";
|
|
1942
|
-
connectionId: string;
|
|
1943
|
-
initialEvaluate?: string | string[] | undefined;
|
|
1944
|
-
initialInput?: string | undefined;
|
|
1945
|
-
}>, z.ZodObject<{
|
|
1946
|
-
type: z.ZodLiteral<"Collections">;
|
|
1947
|
-
connectionId: z.ZodString;
|
|
1948
|
-
namespace: z.ZodString;
|
|
1949
|
-
inferredFromPrivileges: z.ZodOptional<z.ZodBoolean>;
|
|
1950
|
-
}, "strip", z.ZodTypeAny, {
|
|
1951
|
-
type: "Collections";
|
|
1952
|
-
connectionId: string;
|
|
1953
|
-
namespace: string;
|
|
1954
|
-
inferredFromPrivileges?: boolean | undefined;
|
|
1955
|
-
}, {
|
|
1956
|
-
type: "Collections";
|
|
1957
|
-
connectionId: string;
|
|
1958
|
-
namespace: string;
|
|
1959
|
-
inferredFromPrivileges?: boolean | undefined;
|
|
1960
|
-
}>, z.ZodObject<{
|
|
1961
|
-
type: z.ZodLiteral<"Collection">;
|
|
1962
|
-
subTab: z.ZodEnum<["Documents", "Aggregations", "Schema", "Indexes", "Validation", "GlobalWrites"]>;
|
|
1963
|
-
initialQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1964
|
-
initialPipeline: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1965
|
-
initialPipelineText: z.ZodOptional<z.ZodString>;
|
|
1966
|
-
initialAggregation: z.ZodOptional<z.ZodUnknown>;
|
|
1967
|
-
editViewName: z.ZodOptional<z.ZodString>;
|
|
1968
|
-
connectionId: z.ZodString;
|
|
1969
|
-
namespace: z.ZodString;
|
|
1970
|
-
inferredFromPrivileges: z.ZodOptional<z.ZodBoolean>;
|
|
1971
|
-
}, "strip", z.ZodTypeAny, {
|
|
1972
|
-
type: "Collection";
|
|
1973
|
-
connectionId: string;
|
|
1974
|
-
namespace: string;
|
|
1975
|
-
subTab: "Documents" | "Aggregations" | "Schema" | "Indexes" | "Validation" | "GlobalWrites";
|
|
1976
|
-
inferredFromPrivileges?: boolean | undefined;
|
|
1977
|
-
initialQuery?: Record<string, any> | undefined;
|
|
1978
|
-
initialPipeline?: unknown[] | undefined;
|
|
1979
|
-
initialPipelineText?: string | undefined;
|
|
1980
|
-
initialAggregation?: unknown;
|
|
1981
|
-
editViewName?: string | undefined;
|
|
1982
|
-
}, {
|
|
1983
|
-
type: "Collection";
|
|
1984
|
-
connectionId: string;
|
|
1985
|
-
namespace: string;
|
|
1986
|
-
subTab: "Documents" | "Aggregations" | "Schema" | "Indexes" | "Validation" | "GlobalWrites";
|
|
1987
|
-
inferredFromPrivileges?: boolean | undefined;
|
|
1988
|
-
initialQuery?: Record<string, any> | undefined;
|
|
1989
|
-
initialPipeline?: unknown[] | undefined;
|
|
1990
|
-
initialPipelineText?: string | undefined;
|
|
1991
|
-
initialAggregation?: unknown;
|
|
1992
|
-
editViewName?: string | undefined;
|
|
1993
|
-
}>]>, z.ZodObject<{
|
|
1994
|
-
id: z.ZodString;
|
|
1995
|
-
}, "strip", z.ZodTypeAny, {
|
|
1996
|
-
id: string;
|
|
1997
|
-
}, {
|
|
1998
|
-
id: string;
|
|
1999
|
-
}>>;
|
|
2000
|
-
|
|
2001
1728
|
export { }
|