@mongodb-js/compass-aggregations 9.21.0 → 9.23.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/README.md +0 -18
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/src/components/add-stage/index.d.ts +1 -1
- package/dist/src/components/add-stage/index.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/index.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts.map +1 -1
- package/dist/src/components/aggregations/aggregations.d.ts +13 -17
- package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
- package/dist/src/components/aggregations/index.d.ts +1 -2
- package/dist/src/components/aggregations/index.d.ts.map +1 -1
- package/dist/src/components/create-view-modal/create-view-modal.d.ts +31 -43
- package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -1
- package/dist/src/components/create-view-modal/index.d.ts +1 -2
- package/dist/src/components/create-view-modal/index.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts +5 -3
- package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode.d.ts +1 -1
- package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
- package/dist/src/components/loading-overlay/index.d.ts +1 -1
- package/dist/src/components/loading-overlay/index.d.ts.map +1 -1
- package/dist/src/components/modify-source-banner/index.d.ts +1 -1
- package/dist/src/components/modify-source-banner/index.d.ts.map +1 -1
- package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +9 -7
- package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -1
- package/dist/src/components/pipeline/index.d.ts +1 -1
- package/dist/src/components/pipeline/index.d.ts.map +1 -1
- package/dist/src/components/pipeline/pipeline.d.ts +24 -12
- package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +4 -3
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts +4 -2
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts +0 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-output-options-menu.d.ts +0 -1
- package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -1
- package/dist/src/components/pipeline-results-workspace/index.d.ts +2 -4
- package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts +2 -5
- package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts.map +1 -1
- package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts +2 -3
- package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/index.d.ts +1 -6
- package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-options/pipeline-collation.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-toolbar-container.d.ts +1 -0
- package/dist/src/components/pipeline-toolbar/pipeline-toolbar-container.d.ts.map +1 -1
- package/dist/src/components/saving-pipeline-modal/index.d.ts +1 -1
- package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -1
- package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +18 -9
- package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
- package/dist/src/components/settings/settings.d.ts +2 -3
- package/dist/src/components/settings/settings.d.ts.map +1 -1
- package/dist/src/components/stage-editor/index.d.ts +1 -1
- package/dist/src/components/stage-editor/index.d.ts.map +1 -1
- package/dist/src/components/stage-preview/stage-preview-header.d.ts +3 -3
- package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/option-menu.d.ts +6 -2
- package/dist/src/components/stage-toolbar/option-menu.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +2 -1
- package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
- package/dist/src/components/stage.d.ts +1 -1
- package/dist/src/components/stage.d.ts.map +1 -1
- package/dist/src/constants.d.ts +7 -7
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/index.d.ts +64 -9
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/modules/aggregation-workspace-id.d.ts +2 -2
- package/dist/src/modules/aggregation-workspace-id.d.ts.map +1 -1
- package/dist/src/modules/aggregation.d.ts +15 -12
- package/dist/src/modules/aggregation.d.ts.map +1 -1
- package/dist/src/modules/auto-preview.d.ts +4 -2
- package/dist/src/modules/auto-preview.d.ts.map +1 -1
- package/dist/src/modules/clone-pipeline.d.ts +5 -4
- package/dist/src/modules/clone-pipeline.d.ts.map +1 -1
- package/dist/src/modules/collation-string.d.ts +2 -1
- package/dist/src/modules/collation-string.d.ts.map +1 -1
- package/dist/src/modules/collections-fields.d.ts +2 -1
- package/dist/src/modules/collections-fields.d.ts.map +1 -1
- package/dist/src/modules/comments.d.ts +4 -2
- package/dist/src/modules/comments.d.ts.map +1 -1
- package/dist/src/modules/count-documents.d.ts.map +1 -1
- package/dist/src/modules/create-view/index.d.ts +57 -19
- package/dist/src/modules/create-view/index.d.ts.map +1 -1
- package/dist/src/modules/data-service.d.ts +7 -9
- package/dist/src/modules/data-service.d.ts.map +1 -1
- package/dist/src/modules/edit-view-name.d.ts +2 -2
- package/dist/src/modules/edit-view-name.d.ts.map +1 -1
- package/dist/src/modules/env.d.ts +1 -1
- package/dist/src/modules/export-to-language.d.ts +2 -1
- package/dist/src/modules/export-to-language.d.ts.map +1 -1
- package/dist/src/modules/fields.d.ts +13 -11
- package/dist/src/modules/fields.d.ts.map +1 -1
- package/dist/src/modules/focus-mode.d.ts +9 -7
- package/dist/src/modules/focus-mode.d.ts.map +1 -1
- package/dist/src/modules/id.d.ts +12 -5
- package/dist/src/modules/id.d.ts.map +1 -1
- package/dist/src/modules/index.d.ts +17 -46
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/input-documents.d.ts +9 -14
- package/dist/src/modules/input-documents.d.ts.map +1 -1
- package/dist/src/modules/insights.d.ts +7 -0
- package/dist/src/modules/insights.d.ts.map +1 -1
- package/dist/src/modules/is-modified.d.ts +2 -1
- package/dist/src/modules/is-modified.d.ts.map +1 -1
- package/dist/src/modules/is-new-pipeline-confirm.d.ts +10 -0
- package/dist/src/modules/is-new-pipeline-confirm.d.ts.map +1 -1
- package/dist/src/modules/is-time-series.d.ts +1 -1
- package/dist/src/modules/is-time-series.d.ts.map +1 -1
- package/dist/src/modules/large-limit.d.ts +4 -2
- package/dist/src/modules/large-limit.d.ts.map +1 -1
- package/dist/src/modules/limit.d.ts +4 -2
- package/dist/src/modules/limit.d.ts.map +1 -1
- package/dist/src/modules/max-time-ms.d.ts +8 -4
- package/dist/src/modules/max-time-ms.d.ts.map +1 -1
- package/dist/src/modules/name.d.ts +4 -4
- package/dist/src/modules/name.d.ts.map +1 -1
- package/dist/src/modules/namespace.d.ts.map +1 -1
- package/dist/src/modules/out-results-fn.d.ts +6 -6
- package/dist/src/modules/out-results-fn.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +1 -1
- package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/index.d.ts +1 -5
- package/dist/src/modules/pipeline-builder/index.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-ai.d.ts +12 -1
- package/dist/src/modules/pipeline-builder/pipeline-ai.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +4 -3
- package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +1 -2
- package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/stage-editor.d.ts +8 -4
- package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/stage.d.ts +2 -1
- package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +17 -1
- package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +7 -3
- package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
- package/dist/src/modules/saved-pipeline.d.ts +26 -20
- package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
- package/dist/src/modules/saving-pipeline.d.ts +35 -17
- package/dist/src/modules/saving-pipeline.d.ts.map +1 -1
- package/dist/src/modules/search-indexes.d.ts +11 -0
- package/dist/src/modules/search-indexes.d.ts.map +1 -1
- package/dist/src/modules/server-version.d.ts +1 -1
- package/dist/src/modules/server-version.d.ts.map +1 -1
- package/dist/src/modules/settings.d.ts +32 -23
- package/dist/src/modules/settings.d.ts.map +1 -1
- package/dist/src/modules/side-panel.d.ts +5 -4
- package/dist/src/modules/side-panel.d.ts.map +1 -1
- package/dist/src/modules/source-name.d.ts +2 -2
- package/dist/src/modules/source-name.d.ts.map +1 -1
- package/dist/src/modules/update-view.d.ts +19 -7
- package/dist/src/modules/update-view.d.ts.map +1 -1
- package/dist/src/modules/workspace.d.ts +3 -3
- package/dist/src/modules/workspace.d.ts.map +1 -1
- package/dist/src/plugin.d.ts +1 -5
- package/dist/src/plugin.d.ts.map +1 -1
- package/dist/src/stores/create-view.d.ts +23 -3
- package/dist/src/stores/create-view.d.ts.map +1 -1
- package/dist/src/stores/store.d.ts +62 -95
- package/dist/src/stores/store.d.ts.map +1 -1
- package/dist/src/utils/cancellable-aggregation.d.ts +1 -1
- package/dist/src/utils/cancellable-aggregation.d.ts.map +1 -1
- package/dist/src/utils/stage.d.ts +30 -15
- package/dist/src/utils/stage.d.ts.map +1 -1
- package/package.json +45 -43
- package/dist/index.css +0 -43
- package/dist/src/components/create-view-plugin.d.ts +0 -14
- package/dist/src/components/create-view-plugin.d.ts.map +0 -1
- package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +0 -49
- package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +0 -1
- package/dist/src/components/duplicate-view-modal/index.d.ts +0 -5
- package/dist/src/components/duplicate-view-modal/index.d.ts.map +0 -1
- package/dist/src/components/duplicate-view-plugin.d.ts +0 -10
- package/dist/src/components/duplicate-view-plugin.d.ts.map +0 -1
- package/dist/src/modules/create-view/error.d.ts +0 -7
- package/dist/src/modules/create-view/error.d.ts.map +0 -1
- package/dist/src/modules/create-view/is-duplicating.d.ts +0 -5
- package/dist/src/modules/create-view/is-duplicating.d.ts.map +0 -1
- package/dist/src/modules/create-view/is-running.d.ts +0 -5
- package/dist/src/modules/create-view/is-running.d.ts.map +0 -1
- package/dist/src/modules/create-view/is-visible.d.ts +0 -8
- package/dist/src/modules/create-view/is-visible.d.ts.map +0 -1
- package/dist/src/modules/create-view/name.d.ts +0 -5
- package/dist/src/modules/create-view/name.d.ts.map +0 -1
- package/dist/src/modules/create-view/pipeline.d.ts +0 -5
- package/dist/src/modules/create-view/pipeline.d.ts.map +0 -1
- package/dist/src/modules/create-view/reset.d.ts +0 -3
- package/dist/src/modules/create-view/reset.d.ts.map +0 -1
- package/dist/src/modules/create-view/source.d.ts +0 -5
- package/dist/src/modules/create-view/source.d.ts.map +0 -1
- package/dist/src/modules/projections.d.ts +0 -4
- package/dist/src/modules/projections.d.ts.map +0 -1
- package/dist/src/stores/duplicate-view.d.ts +0 -3
- package/dist/src/stores/duplicate-view.d.ts.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../src/modules/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../src/modules/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAMpD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,gBAAgB,0CAA0C;CAC3D;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,WAAW,CAAC,gBAAgB,CAAC;IACnC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,sBAAsB,CAAC;AAC7C,MAAM,MAAM,KAAK,GAAG,SAAS,CAAC;AAE9B,eAAO,MAAM,aAAa,EAAE,KAAiB,CAAC;AAE9C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAgB3B,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,2BAA2B,IAAI,CAS9D,CAAC;AACF,eAAe,OAAO,CAAC"}
|
package/dist/src/plugin.d.ts
CHANGED
@@ -1,6 +1,2 @@
|
|
1
|
-
export
|
2
|
-
export const Plugin: (props: Omit<any, "enableExplainPlan" | "enableImportExport" | "enableAggregationBuilderRunPipeline"> & Partial<Pick<any, "enableExplainPlan" | "enableImportExport" | "enableAggregationBuilderRunPipeline">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>;
|
3
|
-
import configureStore from './stores/store';
|
4
|
-
import React from 'react';
|
5
|
-
export { configureStore };
|
1
|
+
export declare function AggregationsPlugin(): JSX.Element;
|
6
2
|
//# sourceMappingURL=plugin.d.ts.map
|
package/dist/src/plugin.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.tsx"],"names":[],"mappings":"AAKA,wBAAgB,kBAAkB,gBAiBjC"}
|
@@ -1,4 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import type { Action } from 'redux';
|
2
|
+
import type { ThunkAction } from 'redux-thunk';
|
3
|
+
import type { CreateViewAction } from '../modules/create-view';
|
4
|
+
import type AppRegistry from 'hadron-app-registry';
|
5
|
+
import type { DataService } from 'mongodb-data-service';
|
6
|
+
import type { LoggerAndTelemetry } from '@mongodb-js/compass-logging/provider';
|
7
|
+
type CreateViewServices = {
|
8
|
+
globalAppRegistry: AppRegistry;
|
9
|
+
dataService: Pick<DataService, 'createView'>;
|
10
|
+
logger: LoggerAndTelemetry;
|
11
|
+
};
|
12
|
+
export declare function configureStore(services: CreateViewServices): import("redux").Store<import("../modules/create-view").CreateViewState, CreateViewAction> & {
|
13
|
+
dispatch: import("redux-thunk").ThunkDispatch<any, CreateViewServices, import("redux").AnyAction>;
|
14
|
+
};
|
15
|
+
export type CreateViewRootState = ReturnType<ReturnType<typeof configureStore>['getState']>;
|
16
|
+
export type CreateViewThunkAction<R, A extends Action = CreateViewAction> = ThunkAction<R, CreateViewRootState, CreateViewServices, A>;
|
17
|
+
export declare function activateCreateViewPlugin(_: unknown, { globalAppRegistry, dataService, logger }: CreateViewServices): {
|
18
|
+
store: import("redux").Store<import("../modules/create-view").CreateViewState, CreateViewAction> & {
|
19
|
+
dispatch: import("redux-thunk").ThunkDispatch<any, CreateViewServices, import("redux").AnyAction>;
|
20
|
+
};
|
21
|
+
deactivate(this: void): void;
|
22
|
+
};
|
23
|
+
export {};
|
4
24
|
//# sourceMappingURL=create-view.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-view.d.ts","sourceRoot":"","sources":["../../../src/stores/create-view.
|
1
|
+
{"version":3,"file":"create-view.d.ts","sourceRoot":"","sources":["../../../src/stores/create-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,KAAK,kBAAkB,GAAG;IACxB,iBAAiB,EAAE,WAAW,CAAC;IAC/B,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IAC7C,MAAM,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,kBAAkB;;EAK1D;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAC1C,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,UAAU,CAAC,CAC9C,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAC/B,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,gBAAgB,IACjC,WAAW,CAAC,CAAC,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC;AAE/D,wBAAgB,wBAAwB,CACtC,CAAC,EAAE,OAAO,EACV,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,kBAAkB;;;;qBAgB3C,IAAI;EAIxB"}
|
@@ -1,21 +1,14 @@
|
|
1
1
|
import type { Store } from 'redux';
|
2
2
|
import { AtlasService } from '@mongodb-js/atlas-service/renderer';
|
3
|
-
import {
|
4
|
-
import type { SavedPipeline } from '@mongodb-js/my-queries-storage';
|
3
|
+
import type { PipelineBuilderThunkDispatch } from '../modules';
|
5
4
|
import { PipelineStorage } from '@mongodb-js/my-queries-storage';
|
6
|
-
import type { DataService } from 'mongodb-data-service';
|
7
5
|
import type AppRegistry from 'hadron-app-registry';
|
8
6
|
import type { ENVS } from '@mongodb-js/mongodb-constants';
|
9
7
|
import type { CollectionInfo } from '../modules/collections-fields';
|
8
|
+
import type { DataService } from '../modules/data-service';
|
10
9
|
export type ConfigureStoreOptions = {
|
11
|
-
dataProvider: {
|
12
|
-
dataProvider: Pick<DataService, 'isCancelError' | 'estimatedCount' | 'aggregate' | 'getConnectionString'> & Partial<Pick<DataService, 'explainAggregate'>>;
|
13
|
-
error?: Error;
|
14
|
-
};
|
15
10
|
namespace: string;
|
16
11
|
} & Partial<{
|
17
|
-
localAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'getStore'>;
|
18
|
-
globalAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'getStore'>;
|
19
12
|
sourceName: string;
|
20
13
|
serverVersion: string;
|
21
14
|
isTimeSeries: boolean;
|
@@ -25,7 +18,7 @@ export type ConfigureStoreOptions = {
|
|
25
18
|
name: string;
|
26
19
|
}[];
|
27
20
|
outResultsFn: (namespace: string) => void;
|
28
|
-
aggregation:
|
21
|
+
aggregation: unknown;
|
29
22
|
editViewName: string;
|
30
23
|
sourcePipeline: unknown[];
|
31
24
|
pipeline: unknown[];
|
@@ -35,93 +28,67 @@ export type ConfigureStoreOptions = {
|
|
35
28
|
atlasService: AtlasService;
|
36
29
|
isSearchIndexesSupported: boolean;
|
37
30
|
}>;
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
};
|
62
|
-
name: string;
|
63
|
-
collationString: import("../modules/collation-string").CollationStringState;
|
64
|
-
id: string;
|
65
|
-
isModified: boolean;
|
66
|
-
settings: {
|
67
|
-
isExpanded: boolean;
|
68
|
-
isCommentMode: boolean;
|
69
|
-
isDirty: boolean;
|
70
|
-
sampleSize: number;
|
31
|
+
export type AggregationsPluginServices = {
|
32
|
+
dataService: DataService;
|
33
|
+
localAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'removeListener' | 'getStore'>;
|
34
|
+
globalAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'removeListener' | 'getStore'>;
|
35
|
+
};
|
36
|
+
export declare function activateAggregationsPlugin(options: ConfigureStoreOptions, { dataService, localAppRegistry, globalAppRegistry, }: AggregationsPluginServices): {
|
37
|
+
store: Store<import("redux").CombinedState<{
|
38
|
+
appRegistry: unknown;
|
39
|
+
comments: boolean;
|
40
|
+
autoPreview: import("../modules/auto-preview").AutoPreviewState;
|
41
|
+
dataService: import("../modules/data-service").DataServiceState;
|
42
|
+
fields: import("../modules/fields").FieldsState;
|
43
|
+
inputDocuments: import("../modules/input-documents").InputDocumentsState;
|
44
|
+
namespace: string;
|
45
|
+
env: "atlas" | "adl" | "on-prem";
|
46
|
+
isTimeSeries: boolean;
|
47
|
+
serverVersion: string;
|
48
|
+
savedPipeline: import("../modules/saved-pipeline").SavedPipelineState;
|
49
|
+
name: string;
|
50
|
+
collationString: import("../modules/collation-string").CollationStringState;
|
51
|
+
id: string;
|
52
|
+
isModified: boolean;
|
53
|
+
settings: import("../modules/settings").SettingsState;
|
71
54
|
limit: number;
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
pipeline: import("../modules/pipeline-builder/text-editor-pipeline").TextEditorState;
|
93
|
-
outputStage: {
|
94
|
-
isLoading: boolean;
|
95
|
-
serverError: import("mongodb").MongoServerError | null;
|
96
|
-
isComplete: boolean;
|
97
|
-
};
|
55
|
+
largeLimit: number;
|
56
|
+
maxTimeMS: number | null;
|
57
|
+
savingPipeline: import("../modules/saving-pipeline").SavingPipelineState;
|
58
|
+
editViewName: string | null;
|
59
|
+
sourceName: string | null;
|
60
|
+
outResultsFn: import("../modules/out-results-fn").OutResultsFnState;
|
61
|
+
updateViewError: import("../modules/update-view").UpdateViewState;
|
62
|
+
aggregation: import("../modules/aggregation").State;
|
63
|
+
workspace: import("../modules/workspace").Workspace;
|
64
|
+
countDocuments: import("../modules/count-documents").State;
|
65
|
+
aggregationWorkspaceId: string;
|
66
|
+
isDataLake: boolean;
|
67
|
+
pipelineBuilder: import("redux").CombinedState<{
|
68
|
+
aiPipeline: import("../modules/pipeline-builder/pipeline-ai").AIPipelineState;
|
69
|
+
pipelineMode: import("../modules/pipeline-builder/pipeline-mode").PipelineMode;
|
70
|
+
stageEditor: import("../modules/pipeline-builder/stage-editor").StageEditorState;
|
71
|
+
textEditor: import("redux").CombinedState<{
|
72
|
+
pipeline: import("../modules/pipeline-builder/text-editor-pipeline").TextEditorState;
|
73
|
+
outputStage: import("../modules/pipeline-builder/text-editor-output-stage").OutputStageState;
|
74
|
+
}>;
|
98
75
|
}>;
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
searchIndexes: {
|
115
|
-
isSearchIndexesSupported: boolean;
|
116
|
-
indexes: import("mongodb-data-service").SearchIndex[];
|
117
|
-
status: "INITIAL" | "LOADING" | "READY" | "ERROR";
|
76
|
+
focusMode: import("../modules/focus-mode").FocusModeState;
|
77
|
+
sidePanel: import("../modules/side-panel").SidePanelState;
|
78
|
+
collectionsFields: {
|
79
|
+
[x: string]: import("../modules/collections-fields").CollectionData;
|
80
|
+
};
|
81
|
+
insights: {
|
82
|
+
isCollectionScan: boolean;
|
83
|
+
};
|
84
|
+
searchIndexes: {
|
85
|
+
isSearchIndexesSupported: boolean;
|
86
|
+
indexes: import("mongodb-data-service").SearchIndex[];
|
87
|
+
status: "INITIAL" | "LOADING" | "READY" | "ERROR";
|
88
|
+
};
|
89
|
+
}>, import("redux").AnyAction> & {
|
90
|
+
dispatch: PipelineBuilderThunkDispatch;
|
118
91
|
};
|
119
|
-
|
120
|
-
dispatch: import("redux-thunk").ThunkDispatch<any, {
|
121
|
-
pipelineBuilder: PipelineBuilder;
|
122
|
-
pipelineStorage: PipelineStorage;
|
123
|
-
atlasService: AtlasService;
|
124
|
-
}, import("redux").AnyAction>;
|
92
|
+
deactivate(): void;
|
125
93
|
};
|
126
|
-
export default configureStore;
|
127
94
|
//# sourceMappingURL=store.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAKnC,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAKnC,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,KAAK,EAAE,4BAA4B,EAAa,MAAM,YAAY,CAAC;AAQ1E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAMjE,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAK1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAKpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,qBAAqB,GAAG;IAIlC,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC;IAIV,UAAU,EAAE,MAAM,CAAC;IAInB,aAAa,EAAE,MAAM,CAAC;IAKtB,YAAY,EAAE,OAAO,CAAC;IAKtB,UAAU,EAAE,OAAO,CAAC;IAKpB,GAAG,EAAE,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAIhC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAM3B,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAK1C,WAAW,EAAE,OAAO,CAAC;IAMrB,YAAY,EAAE,MAAM,CAAC;IAMrB,cAAc,EAAE,OAAO,EAAE,CAAC;IAK1B,QAAQ,EAAE,OAAO,EAAE,CAAC;IAIpB,YAAY,EAAE,MAAM,CAAC;IAKrB,WAAW,EAAE,cAAc,EAAE,CAAC;IAI9B,eAAe,EAAE,eAAe,CAAC;IAIjC,YAAY,EAAE,YAAY,CAAC;IAI3B,wBAAwB,EAAE,OAAO,CAAC;CACnC,CAAC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG;IACvC,WAAW,EAAE,WAAW,CAAC;IACzB,gBAAgB,EAAE,IAAI,CACpB,WAAW,EACX,IAAI,GAAG,MAAM,GAAG,gBAAgB,GAAG,UAAU,CAC9C,CAAC;IACF,iBAAiB,EAAE,IAAI,CACrB,WAAW,EACX,IAAI,GAAG,MAAM,GAAG,gBAAgB,GAAG,UAAU,CAC9C,CAAC;CACH,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,qBAAqB,EAC9B,EACE,WAAW,EACX,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+L9B"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { AggregateOptions, Document } from 'mongodb';
|
2
|
-
import type { DataService } from '
|
2
|
+
import type { DataService } from '../modules/data-service';
|
3
3
|
export declare function aggregatePipeline({ dataService, signal, namespace, pipeline, options, skip, limit, }: {
|
4
4
|
dataService: DataService;
|
5
5
|
signal: AbortSignal;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cancellable-aggregation.d.ts","sourceRoot":"","sources":["../../../src/utils/cancellable-aggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"cancellable-aggregation.d.ts","sourceRoot":"","sources":["../../../src/utils/cancellable-aggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQ3D,wBAAsB,iBAAiB,CAAC,EACtC,WAAW,EACX,MAAM,EACN,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,KAAK,GACN,EAAE;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAgBtB"}
|
@@ -1,18 +1,33 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
export function
|
6
|
-
export
|
1
|
+
import { getFilteredCompletions } from '@mongodb-js/mongodb-constants';
|
2
|
+
import type { StoreStage } from '../modules/pipeline-builder/stage-editor';
|
3
|
+
import type { ServerEnvironment } from '../modules/env';
|
4
|
+
import type { MongoServerError } from 'mongodb';
|
5
|
+
export declare function isAtlasOnly(operatorEnv: readonly ServerEnvironment[]): boolean;
|
6
|
+
export type FilteredStageOperators = (ReturnType<typeof getFilteredCompletions>[number] & {
|
7
|
+
name: string;
|
8
|
+
env: ServerEnvironment[];
|
9
|
+
description: string;
|
10
|
+
})[];
|
11
|
+
export declare const filterStageOperators: ({ serverVersion, env, isTimeSeries, sourceName, preferencesReadOnly, }: {
|
12
|
+
serverVersion: string;
|
13
|
+
env: ServerEnvironment;
|
14
|
+
isTimeSeries: boolean;
|
15
|
+
sourceName: string | null;
|
16
|
+
preferencesReadOnly: boolean;
|
17
|
+
}) => FilteredStageOperators;
|
18
|
+
export declare function getStageOperator(stage: Record<string, unknown> | undefined | null): string | undefined;
|
19
|
+
export declare function getDestinationNamespaceFromStage(namespace: string, stage: Record<string, unknown> | null): string | null;
|
20
|
+
export declare function isOutputStage(stageOperator: string | null | undefined): boolean;
|
21
|
+
export declare function isAtlasOnlyStage(stageOperator: string | null | undefined): boolean;
|
22
|
+
export declare const getStageHelpLink: (stageOperator: string | null | undefined) => string | null;
|
23
|
+
export declare function getStageInfo(namespace: string, stageOperator: string | null, stageValue: string | undefined | null): {
|
7
24
|
description?: string;
|
8
|
-
link
|
9
|
-
destination
|
25
|
+
link: string | null;
|
26
|
+
destination: string | null;
|
10
27
|
};
|
11
|
-
export
|
12
|
-
export
|
13
|
-
export
|
14
|
-
export
|
15
|
-
export function
|
16
|
-
export function isMissingAtlasStageSupport(env: string | null | undefined, operator: string | null | undefined, serverError: import('mongodb').MongoServerError | null | undefined): boolean;
|
17
|
-
export function findAtlasOperator(operators: string[]): string | undefined;
|
28
|
+
export declare const getLastStageOperator: (pipeline: Record<string, unknown>[]) => string;
|
29
|
+
export declare const isLastStageOutputStage: (pipeline: Record<string, unknown>[]) => boolean;
|
30
|
+
export declare const isMissingAtlasStageSupport: (env: ServerEnvironment, operator: string | null | undefined, serverError: MongoServerError | null | undefined) => boolean;
|
31
|
+
export declare const findAtlasOperator: (operators: string[]) => string | undefined;
|
32
|
+
export declare function hasSyntaxError(stage: StoreStage): boolean;
|
18
33
|
//# sourceMappingURL=stage.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/utils/stage.
|
1
|
+
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/utils/stage.ts"],"names":[],"mappings":"AACA,OAAO,EASL,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAY,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE1D,wBAAgB,WAAW,CAAC,WAAW,EAAE,SAAS,iBAAiB,EAAE,WAEpE;AAgBD,MAAM,MAAM,sBAAsB,GAAG,CAAC,UAAU,CAC9C,OAAO,sBAAsB,CAC9B,CAAC,MAAM,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,iBAAiB,EAAE,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,CAAC;AAK/E,eAAO,MAAM,oBAAoB;mBAOhB,MAAM;SAChB,iBAAiB;kBACR,OAAO;gBACT,MAAM,GAAG,IAAI;yBACJ,OAAO;4BAwC7B,CAAC;AAEF,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,GAChD,MAAM,GAAG,SAAS,CAEpB;AAUD,wBAAgB,gCAAgC,CAC9C,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GACpC,MAAM,GAAG,IAAI,CAkBf;AA8DD,wBAAgB,aAAa,CAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACvC,OAAO,CAET;AAED,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACvC,OAAO,CAET;AAMD,eAAO,MAAM,gBAAgB,kBACZ,MAAM,GAAG,IAAI,GAAG,SAAS,KACvC,MAAM,GAAG,IAKX,CAAC;AAEF,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,GAAG,IAAI,EAC5B,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GACpC;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CA4B3E;AAMD,eAAO,MAAM,oBAAoB,aAAc,OAAO,MAAM,EAAE,OAAO,CAAC,EAAE,WAGvE,CAAC;AAMF,eAAO,MAAM,sBAAsB,aAAc,OAAO,MAAM,EAAE,OAAO,CAAC,EAAE,YAEzE,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAChC,iBAAiB,YACZ,MAAM,GAAG,IAAI,GAAG,SAAS,eACtB,gBAAgB,GAAG,IAAI,GAAG,SAAS,YAcjD,CAAC;AAMF,eAAO,MAAM,iBAAiB,cAAe,MAAM,EAAE,uBAEpD,CAAC;AAEF,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,WAE/C"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mongodb-js/compass-aggregations",
|
3
3
|
"productName": "Aggregations plugin",
|
4
|
-
"version": "9.
|
4
|
+
"version": "9.23.0",
|
5
5
|
"apiVersion": "3.0.0",
|
6
6
|
"description": "Compass Aggregation Pipeline Builder",
|
7
7
|
"main": "dist/index.js",
|
@@ -34,25 +34,27 @@
|
|
34
34
|
"test-ci": "npm run test-cov",
|
35
35
|
"test-ci-electron": "npm run test-electron",
|
36
36
|
"prettier": "prettier",
|
37
|
-
"reformat": "npm run
|
37
|
+
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
|
38
38
|
},
|
39
39
|
"license": "SSPL",
|
40
40
|
"peerDependencies": {
|
41
|
-
"@mongodb-js/atlas-service": "^0.
|
42
|
-
"@mongodb-js/compass-components": "^1.
|
43
|
-
"@mongodb-js/compass-crud": "^13.
|
44
|
-
"@mongodb-js/compass-editor": "^0.
|
45
|
-
"@mongodb-js/compass-generative-ai": "^0.
|
46
|
-
"@mongodb-js/compass-logging": "^1.2.
|
47
|
-
"@mongodb-js/compass-utils": "^0.5.
|
48
|
-
"@mongodb-js/explain-plan-helper": "^1.1.
|
41
|
+
"@mongodb-js/atlas-service": "^0.12.0",
|
42
|
+
"@mongodb-js/compass-components": "^1.20.0",
|
43
|
+
"@mongodb-js/compass-crud": "^13.21.1",
|
44
|
+
"@mongodb-js/compass-editor": "^0.19.0",
|
45
|
+
"@mongodb-js/compass-generative-ai": "^0.6.0",
|
46
|
+
"@mongodb-js/compass-logging": "^1.2.7",
|
47
|
+
"@mongodb-js/compass-utils": "^0.5.6",
|
48
|
+
"@mongodb-js/explain-plan-helper": "^1.1.5",
|
49
49
|
"@mongodb-js/mongodb-constants": "^0.8.7",
|
50
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
51
|
-
"@mongodb-js/my-queries-storage": "^0.
|
52
|
-
"bson": "^6.
|
53
|
-
"compass-preferences-model": "^2.
|
54
|
-
"hadron-
|
55
|
-
"hadron-
|
50
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.17",
|
51
|
+
"@mongodb-js/my-queries-storage": "^0.3.0",
|
52
|
+
"bson": "^6.2.0",
|
53
|
+
"compass-preferences-model": "^2.16.0",
|
54
|
+
"hadron-app-registry": "^9.1.1",
|
55
|
+
"hadron-document": "^8.4.4",
|
56
|
+
"hadron-type-checker": "^7.1.1",
|
57
|
+
"mongodb-data-service": "^22.16.1",
|
56
58
|
"react": "^17.0.2"
|
57
59
|
},
|
58
60
|
"devDependencies": {
|
@@ -62,58 +64,58 @@
|
|
62
64
|
"@dnd-kit/core": "^6.0.7",
|
63
65
|
"@dnd-kit/sortable": "^7.0.2",
|
64
66
|
"@dnd-kit/utilities": "^3.2.1",
|
65
|
-
"@mongodb-js/
|
66
|
-
"@mongodb-js/
|
67
|
+
"@mongodb-js/compass-collection": "^4.20.1",
|
68
|
+
"@mongodb-js/eslint-config-compass": "^1.0.12",
|
69
|
+
"@mongodb-js/mocha-config-compass": "^1.3.3",
|
67
70
|
"@mongodb-js/prettier-config-compass": "^1.0.1",
|
68
71
|
"@mongodb-js/tsconfig-compass": "^1.0.3",
|
69
|
-
"@mongodb-js/webpack-config-compass": "^1.2.
|
72
|
+
"@mongodb-js/webpack-config-compass": "^1.2.6",
|
70
73
|
"@testing-library/react": "^12.1.4",
|
71
74
|
"@testing-library/user-event": "^13.5.0",
|
72
75
|
"@types/lodash": "^4.14.188",
|
73
76
|
"@types/semver": "^7.3.9",
|
74
77
|
"chai": "^4.3.6",
|
75
|
-
"debug": "^4.2.0",
|
76
78
|
"depcheck": "^1.4.1",
|
77
|
-
"ejson-shell-parser": "^
|
79
|
+
"ejson-shell-parser": "^2.0.0",
|
78
80
|
"enzyme": "^3.11.0",
|
79
81
|
"eslint": "^7.25.0",
|
80
|
-
"hadron-app-registry": "^9.0.14",
|
81
82
|
"lodash": "^4.17.21",
|
82
83
|
"mocha": "^10.2.0",
|
83
|
-
"mongodb": "^6.
|
84
|
-
"mongodb-data-service": "^22.15.1",
|
84
|
+
"mongodb": "^6.3.0",
|
85
85
|
"mongodb-ns": "^2.4.0",
|
86
|
-
"mongodb-query-parser": "^
|
87
|
-
"mongodb-schema": "^12.
|
86
|
+
"mongodb-query-parser": "^4.0.0",
|
87
|
+
"mongodb-schema": "^12.1.0",
|
88
88
|
"nyc": "^15.1.0",
|
89
89
|
"prettier": "^2.7.1",
|
90
90
|
"prop-types": "^15.7.2",
|
91
91
|
"re-resizable": "^6.9.0",
|
92
92
|
"react": "^17.0.2",
|
93
93
|
"react-dom": "^17.0.2",
|
94
|
-
"react-redux": "^8.
|
94
|
+
"react-redux": "^8.1.3",
|
95
95
|
"redux": "^4.2.1",
|
96
|
-
"redux-thunk": "^2.4.
|
96
|
+
"redux-thunk": "^2.4.2",
|
97
97
|
"semver": "^5.7.1",
|
98
98
|
"sinon": "^9.2.3",
|
99
99
|
"xvfb-maybe": "^0.2.1"
|
100
100
|
},
|
101
101
|
"dependencies": {
|
102
|
-
"@mongodb-js/atlas-service": "^0.
|
103
|
-
"@mongodb-js/compass-components": "^1.
|
104
|
-
"@mongodb-js/compass-crud": "^13.
|
105
|
-
"@mongodb-js/compass-editor": "^0.
|
106
|
-
"@mongodb-js/compass-generative-ai": "^0.
|
107
|
-
"@mongodb-js/compass-logging": "^1.2.
|
108
|
-
"@mongodb-js/compass-utils": "^0.5.
|
109
|
-
"@mongodb-js/explain-plan-helper": "^1.1.
|
102
|
+
"@mongodb-js/atlas-service": "^0.12.0",
|
103
|
+
"@mongodb-js/compass-components": "^1.20.0",
|
104
|
+
"@mongodb-js/compass-crud": "^13.21.1",
|
105
|
+
"@mongodb-js/compass-editor": "^0.19.0",
|
106
|
+
"@mongodb-js/compass-generative-ai": "^0.6.0",
|
107
|
+
"@mongodb-js/compass-logging": "^1.2.7",
|
108
|
+
"@mongodb-js/compass-utils": "^0.5.6",
|
109
|
+
"@mongodb-js/explain-plan-helper": "^1.1.5",
|
110
110
|
"@mongodb-js/mongodb-constants": "^0.8.7",
|
111
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
112
|
-
"@mongodb-js/my-queries-storage": "^0.
|
113
|
-
"bson": "^6.
|
114
|
-
"compass-preferences-model": "^2.
|
115
|
-
"hadron-
|
116
|
-
"hadron-
|
111
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.17",
|
112
|
+
"@mongodb-js/my-queries-storage": "^0.3.0",
|
113
|
+
"bson": "^6.2.0",
|
114
|
+
"compass-preferences-model": "^2.16.0",
|
115
|
+
"hadron-app-registry": "^9.1.1",
|
116
|
+
"hadron-document": "^8.4.4",
|
117
|
+
"hadron-type-checker": "^7.1.1",
|
118
|
+
"mongodb-data-service": "^22.16.1"
|
117
119
|
},
|
118
120
|
"homepage": "https://github.com/mongodb-js/compass",
|
119
121
|
"bugs": {
|
@@ -124,5 +126,5 @@
|
|
124
126
|
"type": "git",
|
125
127
|
"url": "https://github.com/mongodb-js/compass.git"
|
126
128
|
},
|
127
|
-
"gitHead": "
|
129
|
+
"gitHead": "a39a661edf19844c3d6dd82f0954527504e8d85e"
|
128
130
|
}
|
package/dist/index.css
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
.pipeline-module-pipeline__zEbsA {
|
2
|
-
display: flex;
|
3
|
-
flex-grow: 1;
|
4
|
-
flex-direction: column;
|
5
|
-
width: 100%;
|
6
|
-
height: 100%;
|
7
|
-
min-height: 0;
|
8
|
-
position: relative;
|
9
|
-
}
|
10
|
-
.pipeline-module-pipeline-collation-toolbar-container__\+1WeG {
|
11
|
-
padding: 6px 10px 6px 15px;
|
12
|
-
border-bottom: 1px solid rgba(0, 30, 43, 0.2);
|
13
|
-
box-shadow: 1px 1px 3px rgba(0, 30, 43, 0.4);
|
14
|
-
}
|
15
|
-
.pipeline-module-pipeline-error-banner-container__ipoef {
|
16
|
-
margin-left: 20px;
|
17
|
-
margin-right: 36px;
|
18
|
-
}
|
19
|
-
.pipeline-module-pipeline-fullscreen__Sy1Jk {
|
20
|
-
position: absolute;
|
21
|
-
top: 0;
|
22
|
-
right: 0;
|
23
|
-
left: 0;
|
24
|
-
bottom: 0;
|
25
|
-
}
|
26
|
-
|
27
|
-
.modify-source-banner-module-modify-source-banner__Klti\+ {
|
28
|
-
text-align: center;
|
29
|
-
margin: 5px auto;
|
30
|
-
margin-top: 20px;
|
31
|
-
z-index: 500;
|
32
|
-
}
|
33
|
-
|
34
|
-
.aggregations-module-aggregations__mpPiK {
|
35
|
-
display: flex;
|
36
|
-
align-items: flex-start;
|
37
|
-
background-color: #f9fbfa;
|
38
|
-
position: relative;
|
39
|
-
width: 100%;
|
40
|
-
z-index: 0;
|
41
|
-
height: 100%;
|
42
|
-
}
|
43
|
-
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export default CreateViewPlugin;
|
2
|
-
declare class CreateViewPlugin extends React.Component<any, any, any> {
|
3
|
-
static displayName: string;
|
4
|
-
static propTypes: {
|
5
|
-
store: PropTypes.Validator<object>;
|
6
|
-
};
|
7
|
-
constructor(props: any);
|
8
|
-
constructor(props: any, context: any);
|
9
|
-
render(): React.Component;
|
10
|
-
}
|
11
|
-
import React from 'react';
|
12
|
-
import { Component } from 'react';
|
13
|
-
import PropTypes from 'prop-types';
|
14
|
-
//# sourceMappingURL=create-view-plugin.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-view-plugin.d.ts","sourceRoot":"","sources":["../../../src/components/create-view-plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAAwC;IACxC;;MAEE;IAiBgxlB,wBAA8C;IAAA,sCAAyJ;IAVz9lB,UAFa,eAAe,CAQ3B;CACF;kBAvBgC,OAAO;0BAAP,OAAO;sBAClB,YAAY"}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
export default MappedDuplicateViewModal;
|
2
|
-
declare const MappedDuplicateViewModal: import("react-redux").ConnectedComponent<typeof DuplicateViewModal, {
|
3
|
-
source?: string | undefined;
|
4
|
-
name?: string | null | undefined;
|
5
|
-
error?: object | null | undefined;
|
6
|
-
pipeline?: any[] | undefined;
|
7
|
-
isVisible?: boolean | undefined;
|
8
|
-
isRunning?: boolean | undefined;
|
9
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
10
|
-
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
11
|
-
} | {
|
12
|
-
source?: string | undefined;
|
13
|
-
name?: string | null | undefined;
|
14
|
-
error?: object | null | undefined;
|
15
|
-
pipeline?: any[] | undefined;
|
16
|
-
isVisible?: boolean | undefined;
|
17
|
-
isRunning?: boolean | undefined;
|
18
|
-
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
19
|
-
}>;
|
20
|
-
export class DuplicateViewModal extends React.PureComponent<any, any, any> {
|
21
|
-
static displayName: string;
|
22
|
-
static propTypes: {
|
23
|
-
createView: PropTypes.Validator<(...args: any[]) => any>;
|
24
|
-
isVisible: PropTypes.Validator<boolean>;
|
25
|
-
toggleIsVisible: PropTypes.Validator<(...args: any[]) => any>;
|
26
|
-
name: PropTypes.Requireable<string>;
|
27
|
-
changeViewName: PropTypes.Validator<(...args: any[]) => any>;
|
28
|
-
source: PropTypes.Validator<string>;
|
29
|
-
pipeline: PropTypes.Validator<any[]>;
|
30
|
-
isRunning: PropTypes.Validator<boolean>;
|
31
|
-
error: PropTypes.Requireable<object>;
|
32
|
-
};
|
33
|
-
static defaultProps: {
|
34
|
-
name: string;
|
35
|
-
source: string;
|
36
|
-
pipeline: never[];
|
37
|
-
isRunning: boolean;
|
38
|
-
isVisible: boolean;
|
39
|
-
};
|
40
|
-
constructor(props: any);
|
41
|
-
constructor(props: any, context: any);
|
42
|
-
componentDidUpdate(prevProps: any): void;
|
43
|
-
onNameChange: (evt: any) => void;
|
44
|
-
onCancel: () => void;
|
45
|
-
render(): Component;
|
46
|
-
}
|
47
|
-
import React from 'react';
|
48
|
-
import PropTypes from 'prop-types';
|
49
|
-
//# sourceMappingURL=duplicate-view-modal.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"duplicate-view-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/duplicate-view-modal/duplicate-view-modal.jsx"],"names":[],"mappings":";AA6HA;;;;;;;;;;;;;;;;;GAIuB;AApGvB;IACE,2BAAmD;IAEnD;;;;;;;;;;MAaE;IAEF;;;;;;MAME;IAgFqtgB,wBAA8C;IAAA,sCAAyJ;IA9E95gB,yCAIC;IAED,iCAEE;IAEF,qBAEE;IAOF,oBA4BC;CACF;kBAvGoC,OAAO;sBACtB,YAAY"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/duplicate-view-modal/index.js"],"names":[],"mappings":";;qCAEO,wBAAwB;mCAAxB,wBAAwB"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
export default DuplicateViewPlugin;
|
2
|
-
declare class DuplicateViewPlugin extends React.Component<any, any, any> {
|
3
|
-
static displayName: string;
|
4
|
-
constructor(props: any);
|
5
|
-
constructor(props: any, context: any);
|
6
|
-
render(): React.Component;
|
7
|
-
}
|
8
|
-
import React from 'react';
|
9
|
-
import { Component } from 'react';
|
10
|
-
//# sourceMappingURL=duplicate-view-plugin.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"duplicate-view-plugin.d.ts","sourceRoot":"","sources":["../../../src/components/duplicate-view-plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAA2C;IAiB0xlB,wBAA8C;IAAA,sCAAyJ;IAV5gmB,UAFa,eAAe,CAQ3B;CACF;kBApBgC,OAAO;0BAAP,OAAO"}
|