@mongodb-js/compass-aggregations 0.0.0-next-10815be8fd57f3bfd89d061e1592eb7136d4a0fb → 0.0.0-next-bfa0f33f79b0349abe5ad03576e17682f507fe04
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/browser.js +1 -1
- package/dist/browser.js.LICENSE.txt +0 -6
- package/dist/index.css +0 -48
- package/dist/index.js +1 -22
- package/dist/index.js.LICENSE.txt +0 -6
- package/dist/src/components/create-view-modal/create-view-modal.d.ts +1 -1
- package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +1 -1
- package/dist/src/components/pipeline/pipeline.d.ts +4 -0
- package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
- 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 +3 -1
- 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-as-text-workspace/pipeline-stages-preview.d.ts +13 -0
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts.map +1 -0
- package/dist/src/components/pipeline-output-options-menu.d.ts +7 -0
- package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -0
- package/dist/src/components/pipeline-results-workspace/index.d.ts +1 -0
- 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 +3 -0
- 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 +1 -0
- package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/index.d.ts +3 -0
- package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +3 -3
- package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts.map +1 -1
- package/dist/src/components/stage-editor-toolbar/stage-operator-select.d.ts +36 -10
- package/dist/src/components/stage-editor-toolbar/stage-operator-select.d.ts.map +1 -1
- package/dist/src/components/stage-preview/stage-preview.d.ts.map +1 -1
- package/dist/src/modules/index.d.ts +8 -1
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/index.d.ts +8 -1
- package/dist/src/modules/pipeline-builder/index.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts +4 -2
- package/dist/src/modules/pipeline-builder/pipeline-builder.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.map +1 -1
- package/dist/src/modules/pipeline-builder/stage-editor.d.ts +6 -1
- package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
- package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +13 -0
- package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -0
- package/dist/src/modules/pipeline-builder/{text-editor.d.ts → text-editor-pipeline.d.ts} +13 -8
- package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -0
- package/dist/src/utils/stage.d.ts +5 -1
- package/dist/src/utils/stage.d.ts.map +1 -1
- package/package.json +18 -21
- package/dist/src/components/stage-editor-toolbar/select-option-with-tooltip/select-option-with-tooltip.d.ts +0 -14
- package/dist/src/components/stage-editor-toolbar/select-option-with-tooltip/select-option-with-tooltip.d.ts.map +0 -1
- package/dist/src/modules/pipeline-builder/text-editor.d.ts.map +0 -1
@@ -21,7 +21,7 @@ declare const MappedCreateViewModal: import("react-redux").ConnectedComponent<ty
|
|
21
21
|
pipeline: PropTypes.Validator<any[]>;
|
22
22
|
isRunning: PropTypes.Validator<boolean>;
|
23
23
|
error: PropTypes.Requireable<object>;
|
24
|
-
}>, "source" | "name" | "pipeline" | "
|
24
|
+
}>, "source" | "name" | "pipeline" | "isVisible" | "isRunning" | "isDuplicating">> & Partial<Pick<{
|
25
25
|
name: string;
|
26
26
|
source: string;
|
27
27
|
pipeline: never[];
|
@@ -19,7 +19,7 @@ declare const MappedDuplicateViewModal: import("react-redux").ConnectedComponent
|
|
19
19
|
pipeline: PropTypes.Validator<any[]>;
|
20
20
|
isRunning: PropTypes.Validator<boolean>;
|
21
21
|
error: PropTypes.Requireable<object>;
|
22
|
-
}>, "source" | "name" | "pipeline" | "
|
22
|
+
}>, "source" | "name" | "pipeline" | "isVisible" | "isRunning">> & Partial<Pick<{
|
23
23
|
name: string;
|
24
24
|
source: string;
|
25
25
|
pipeline: never[];
|
@@ -48,6 +48,10 @@ declare class Pipeline extends React.PureComponent<any, any, any> {
|
|
48
48
|
};
|
49
49
|
constructor(props: any);
|
50
50
|
constructor(props: any, context: any);
|
51
|
+
state: {
|
52
|
+
pipelineOutputOption: string;
|
53
|
+
};
|
54
|
+
onChangePipelineOutputOption: (pipelineOutputOption: any) => void;
|
51
55
|
renderModifyingViewSourceError(): JSX.Element | undefined;
|
52
56
|
renderPipelineToolbar(): JSX.Element;
|
53
57
|
render(): Component;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/pipeline.jsx"],"names":[],"mappings":";AAwBA;IACE,2BAAyC;IAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuCE;IAEF;;;;MAIE;
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/pipeline.jsx"],"names":[],"mappings":";AAwBA;IACE,2BAAyC;IAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuCE;IAEF;;;;MAIE;IA+Gsia,wBAA8C;IAAA,sCAAyJ;IA7G/ua;;MAEE;IAEF,kEAEE;IAEF,0DAcC;IAED,qCAUC;IAOD,oBAgEC;CACF"}
|
package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA+B1B,aAAK,4BAA4B,GAAG;IAClC,aAAa,EAAE,OAAO,CAAC;CACxB,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,iBAAiB,CAC3D,4BAA4B,CAc7B,CAAC;;AASF,wBAA0D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-editor.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAS9D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAS3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;
|
1
|
+
{"version":3,"file":"pipeline-editor.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAS9D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAS3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAyBnG,aAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,wBAAwB,EAAE,CAAC;IACnC,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;AAoBF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAiEvE,CAAC;;AA2BF,wBAA8D"}
|
@@ -2,9 +2,11 @@ import React from 'react';
|
|
2
2
|
import type { Document } from 'mongodb';
|
3
3
|
declare type PipelinePreviewProps = {
|
4
4
|
isLoading: boolean;
|
5
|
+
isMergeStage: boolean;
|
6
|
+
isOutStage: boolean;
|
5
7
|
previewDocs: Document[] | null;
|
6
8
|
};
|
7
9
|
export declare const PipelinePreview: React.FunctionComponent<PipelinePreviewProps>;
|
8
|
-
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelinePreviewProps>, Omit<PipelinePreviewProps, "previewDocs" | "isLoading"> & import("react-redux").ConnectProps>;
|
10
|
+
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelinePreviewProps>, Omit<PipelinePreviewProps, "previewDocs" | "isLoading" | "isMergeStage" | "isOutStage"> & import("react-redux").ConnectProps>;
|
9
11
|
export default _default;
|
10
12
|
//# sourceMappingURL=pipeline-preview.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-preview.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"pipeline-preview.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAWjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAiDxC,aAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;CAChC,CAAC;AA6DF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CA0CzE,CAAC;;AAcF,wBAAkD"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare type OutputStageProps = {
|
3
|
+
stageOperator: '$out' | '$merge' | null;
|
4
|
+
isAtlas: boolean;
|
5
|
+
isLoading: boolean;
|
6
|
+
isComplete: boolean;
|
7
|
+
onSaveCollection: () => void;
|
8
|
+
onOpenCollection: () => void;
|
9
|
+
};
|
10
|
+
export declare const OutputStagePreview: ({ stageOperator, isAtlas, isLoading, isComplete, onSaveCollection, onOpenCollection, }: OutputStageProps) => JSX.Element | null;
|
11
|
+
export declare const OutputStageBanner: import("react-redux").ConnectedComponent<({ stageOperator, isAtlas, isLoading, isComplete, onSaveCollection, onOpenCollection, }: OutputStageProps) => JSX.Element | null, Omit<OutputStageProps, "isLoading" | "isComplete" | "isAtlas" | "onSaveCollection" | "onOpenCollection"> & import("react-redux").ConnectProps>;
|
12
|
+
export {};
|
13
|
+
//# sourceMappingURL=pipeline-stages-preview.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pipeline-stages-preview.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.tsx"],"names":[],"mappings":";AAuCA,aAAK,gBAAgB,GAAG;IACtB,aAAa,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAAC;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AA+BF,eAAO,MAAM,kBAAkB,2FAO5B,gBAAgB,uBAyClB,CAAC;AAoBF,eAAO,MAAM,iBAAiB,oIA7D3B,gBAAgB,uKAgEE,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare type PipelineOutputOption = 'expand' | 'collapse';
|
3
|
+
export declare const PipelineOutputOptionsMenu: React.FunctionComponent<{
|
4
|
+
option: PipelineOutputOption;
|
5
|
+
onChangeOption: (option: PipelineOutputOption) => void;
|
6
|
+
}>;
|
7
|
+
//# sourceMappingURL=pipeline-output-options-menu.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pipeline-output-options-menu.d.ts","sourceRoot":"","sources":["../../../src/components/pipeline-output-options-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,oBAAY,oBAAoB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAMzD,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAC9D,MAAM,EAAE,oBAAoB,CAAC;IAC7B,cAAc,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACxD,CAaA,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-results-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-results-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AA8FxC,aAAK,6BAA6B,GAAG;IACnC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,MAAM,CAAC;IACrC,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAAC,6BAA6B,CA2EzF,CAAC;;AAoCJ,wBAAwE"}
|
@@ -1,9 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { ResultsViewType } from './pipeline-results-list';
|
3
|
+
import type { PipelineOutputOption } from '../pipeline-output-options-menu';
|
3
4
|
declare type PipelineResultsHeaderProps = {
|
4
5
|
onChangeResultsView: (viewType: ResultsViewType) => void;
|
5
6
|
resultsViewType: ResultsViewType;
|
6
7
|
isMergeOrOutPipeline: boolean;
|
8
|
+
onChangePipelineOutputOption: (val: PipelineOutputOption) => void;
|
9
|
+
pipelineOutputOption: PipelineOutputOption;
|
7
10
|
};
|
8
11
|
export declare const PipelineResultsHeader: React.FunctionComponent<PipelineResultsHeaderProps>;
|
9
12
|
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineResultsHeaderProps>, Omit<PipelineResultsHeaderProps, "resultsViewType" | "onChangeResultsView" | "isMergeOrOutPipeline"> & import("react-redux").ConnectProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-results-header.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-results-workspace/pipeline-results-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAQ/D,aAAK,0BAA0B,GAAG;IAChC,mBAAmB,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;IACzD,eAAe,EAAE,eAAe,CAAC;IACjC,oBAAoB,EAAE,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"pipeline-results-header.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-results-workspace/pipeline-results-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAQ/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAE5E,aAAK,0BAA0B,GAAG;IAChC,mBAAmB,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;IACzD,eAAe,EAAE,eAAe,CAAC;IACjC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,4BAA4B,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAClE,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C,CAAC;AAmBF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,iBAAiB,CACzD,0BAA0B,CA+B3B,CAAC;;AAkBF,wBAAqE"}
|
@@ -3,6 +3,7 @@ import type { Document } from 'mongodb';
|
|
3
3
|
export declare type ResultsViewType = 'document' | 'json';
|
4
4
|
declare const PipelineResultsList: React.FunctionComponent<{
|
5
5
|
documents: Document[];
|
6
|
+
allDocsExpanded?: boolean;
|
6
7
|
view: ResultsViewType;
|
7
8
|
}>;
|
8
9
|
export default PipelineResultsList;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-results-list.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-results-workspace/pipeline-results-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,oBAAY,eAAe,GAAG,UAAU,GAAG,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"pipeline-results-list.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-results-workspace/pipeline-results-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,oBAAY,eAAe,GAAG,UAAU,GAAG,MAAM,CAAC;AAMlD,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACjD,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,eAAe,CAAC;CACvB,CA2BA,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
@@ -1,10 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import type { PipelineOutputOption } from '../pipeline-output-options-menu';
|
2
3
|
declare type PipelineToolbarProps = {
|
3
4
|
darkMode?: boolean;
|
4
5
|
isBuilderView: boolean;
|
5
6
|
showRunButton: boolean;
|
6
7
|
showExportButton: boolean;
|
7
8
|
showExplainButton: boolean;
|
9
|
+
onChangePipelineOutputOption: (val: PipelineOutputOption) => void;
|
10
|
+
pipelineOutputOption: PipelineOutputOption;
|
8
11
|
};
|
9
12
|
export declare const PipelineToolbar: React.FunctionComponent<PipelineToolbarProps>;
|
10
13
|
declare const _default: React.ComponentType<Omit<PipelineToolbarProps, "isBuilderView"> & import("react-redux").ConnectProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAsC5E,aAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,4BAA4B,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAClE,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAqDzE,CAAC;;AAKF,wBAA6D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-actions.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-header/pipeline-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2B1B,a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uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IAEjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CA2EzE,CAAC;;AAwBF,wBAA2E"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
declare type PipelineSettingsProps = {
|
3
|
-
|
4
|
-
|
3
|
+
isSavePipelineDisplayed?: boolean;
|
4
|
+
isCreatePipelineDisplayed?: boolean;
|
5
5
|
isExportToLanguageEnabled?: boolean;
|
6
6
|
onExportToLanguage: () => void;
|
7
7
|
};
|
8
8
|
export declare const PipelineSettings: React.FunctionComponent<PipelineSettingsProps>;
|
9
|
-
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineSettingsProps>, Omit<PipelineSettingsProps, "
|
9
|
+
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineSettingsProps>, Omit<PipelineSettingsProps, "isSavePipelineDisplayed" | "isCreatePipelineDisplayed" | "isExportToLanguageEnabled" | "onExportToLanguage"> & import("react-redux").ConnectProps>;
|
10
10
|
export default _default;
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-settings/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8B1B,aAAK,qBAAqB,GAAG;IAC3B,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-settings/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8B1B,aAAK,qBAAqB,GAAG;IAC3B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CACpD,qBAAqB,CAiCtB,CAAC;;AAEF,wBAYoB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-menus.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"pipeline-menus.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAiBvC,aAAK,aAAa,GAAG;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAKF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CA8CpE,CAAC;AA2BF,eAAO,MAAM,QAAQ,4OAGD,CAAC;AAGrB,aAAK,eAAe,GAAG;IACrB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,wBAAwB,EAAE,MAAM,IAAI,CAAC;CACtC,CAAC;AAKF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAsCxE,CAAC;AAKF,eAAO,MAAM,UAAU,iMAGD,CAAC"}
|
@@ -1,24 +1,50 @@
|
|
1
|
-
export
|
2
|
-
|
1
|
+
export function StageOperatorSelect({ onChange, index, selectedStage, stages }: {
|
2
|
+
onChange: any;
|
3
|
+
index: any;
|
4
|
+
selectedStage: any;
|
5
|
+
stages: any;
|
6
|
+
}): JSX.Element;
|
7
|
+
export namespace StageOperatorSelect {
|
8
|
+
namespace propTypes {
|
9
|
+
const index: PropTypes.Validator<number>;
|
10
|
+
const stages: PropTypes.Validator<any[]>;
|
11
|
+
const selectedStage: PropTypes.Requireable<string>;
|
12
|
+
const onChange: PropTypes.Validator<(...args: any[]) => any>;
|
13
|
+
const isDisabled: PropTypes.Requireable<boolean>;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
declare const _default: import("react-redux").ConnectedComponent<{
|
17
|
+
({ onChange, index, selectedStage, stages }: {
|
18
|
+
onChange: any;
|
19
|
+
index: any;
|
20
|
+
selectedStage: any;
|
21
|
+
stages: any;
|
22
|
+
}): JSX.Element;
|
23
|
+
propTypes: {
|
3
24
|
index: PropTypes.Validator<number>;
|
4
25
|
stages: PropTypes.Validator<any[]>;
|
5
26
|
selectedStage: PropTypes.Requireable<string>;
|
6
27
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
7
28
|
isDisabled: PropTypes.Requireable<boolean>;
|
8
29
|
};
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
30
|
+
}, Omit<Pick<{
|
31
|
+
onChange: any;
|
32
|
+
index: any;
|
33
|
+
selectedStage: any;
|
34
|
+
stages: any;
|
35
|
+
}, never> & Pick<PropTypes.InferProps<{
|
36
|
+
index: PropTypes.Validator<number>;
|
37
|
+
stages: PropTypes.Validator<any[]>;
|
38
|
+
selectedStage: PropTypes.Requireable<string>;
|
39
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
40
|
+
isDisabled: PropTypes.Requireable<boolean>;
|
41
|
+
}>, "isDisabled" | "selectedStage" | PropTypes.RequiredKeys<{
|
15
42
|
index: PropTypes.Validator<number>;
|
16
43
|
stages: PropTypes.Validator<any[]>;
|
17
44
|
selectedStage: PropTypes.Requireable<string>;
|
18
45
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
19
46
|
isDisabled: PropTypes.Requireable<boolean>;
|
20
|
-
}
|
47
|
+
}>>, "onChange" | "stages" | "isDisabled" | "selectedStage"> & import("react-redux").ConnectProps>;
|
21
48
|
export default _default;
|
22
|
-
import React from "react";
|
23
49
|
import PropTypes from "prop-types";
|
24
50
|
//# sourceMappingURL=stage-operator-select.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-operator-select.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-editor-toolbar/stage-operator-select.jsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"stage-operator-select.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-editor-toolbar/stage-operator-select.jsx"],"names":[],"mappings":"AAwCO;;;;;gBAmCN"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-preview.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/stage-preview.jsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"stage-preview.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/stage-preview.jsx"],"names":[],"mappings":"AAoBA;IACE;;;;;;;;;;;;;;;MAeC;IA6Q+7S,wBAA8C;IAAA,sCAAyJ;IAxQvoT,+BAEC;IAKD,6BAEC;IAKD,4BAEC;IAOD,gCAsCC;IAOD,8BAsCC;IAQD,gDA4BC;IAOD,2BA+CC;IAOD,2BAUC;IAOD,UAFa,MAAM,SAAS,CAS3B;CACF"}
|
@@ -55,7 +55,14 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
55
55
|
pipelineBuilder: import("redux").CombinedState<{
|
56
56
|
pipelineMode: import("./pipeline-builder/pipeline-mode").PipelineMode;
|
57
57
|
stageEditor: import("./pipeline-builder/stage-editor").StageEditorState;
|
58
|
-
textEditor: import("
|
58
|
+
textEditor: import("redux").CombinedState<{
|
59
|
+
pipeline: import("./pipeline-builder/text-editor-pipeline").TextEditorState;
|
60
|
+
outputStage: {
|
61
|
+
isLoading: boolean;
|
62
|
+
serverError: import("mongodb").MongoServerError | null;
|
63
|
+
isComplete: boolean;
|
64
|
+
};
|
65
|
+
}>;
|
59
66
|
}>;
|
60
67
|
}>, Action<any>>;
|
61
68
|
export declare type RootState = ReturnType<typeof rootReducer>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAuC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAQjE,QAAA,MAAM,WAAW
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAuC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAQjE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAsCf,CAAC;AAEH,oBAAY,SAAS,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAEvD,oBAAY,0BAA0B,CACpC,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,SAAS,IAC1B,WAAW,CACb,CAAC,EACD,SAAS,EACT;IAAE,eAAe,EAAE,eAAe,CAAC;IAAC,eAAe,EAAE,eAAe,CAAA;CAAE,EACtE,CAAC,CACF,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -1,7 +1,14 @@
|
|
1
1
|
declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
2
2
|
pipelineMode: import("./pipeline-mode").PipelineMode;
|
3
3
|
stageEditor: import("./stage-editor").StageEditorState;
|
4
|
-
textEditor: import("
|
4
|
+
textEditor: import("redux").CombinedState<{
|
5
|
+
pipeline: import("./text-editor-pipeline").TextEditorState;
|
6
|
+
outputStage: {
|
7
|
+
isLoading: boolean;
|
8
|
+
serverError: import("mongodb").MongoServerError | null;
|
9
|
+
isComplete: boolean;
|
10
|
+
};
|
11
|
+
}>;
|
5
12
|
}>, import("redux").AnyAction>;
|
6
13
|
export default reducer;
|
7
14
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;8BAOX,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
@@ -5,7 +5,7 @@ import { PipelinePreviewManager } from './pipeline-preview-manager';
|
|
5
5
|
import type { PreviewOptions } from './pipeline-preview-manager';
|
6
6
|
import Stage from './stage';
|
7
7
|
import { PipelineParserError } from './pipeline-parser/utils';
|
8
|
-
export declare const DEFAULT_PIPELINE = "[
|
8
|
+
export declare const DEFAULT_PIPELINE = "[]";
|
9
9
|
export declare class PipelineBuilder {
|
10
10
|
private _source;
|
11
11
|
pipeline: Document[] | null;
|
@@ -19,11 +19,13 @@ export declare class PipelineBuilder {
|
|
19
19
|
private parseSourceToPipeline;
|
20
20
|
reset(source?: string): void;
|
21
21
|
stopPreview(from?: number): void;
|
22
|
+
cancelPreviewForStage(id: number): void;
|
22
23
|
changeSource(source: string): void;
|
23
24
|
sourceToStages(): void;
|
24
25
|
private validateSource;
|
25
26
|
getPipelineFromSource(): Document[];
|
26
|
-
getPreviewForPipeline(namespace: string, options: PreviewOptions): Promise<Document[]>;
|
27
|
+
getPreviewForPipeline(namespace: string, options: PreviewOptions, filterOutputStage?: boolean): Promise<Document[]>;
|
28
|
+
cancelPreviewForPipeline(): void;
|
27
29
|
stagesToSource(): void;
|
28
30
|
getStage(idx: number): Stage;
|
29
31
|
addStage(after?: number): Stage;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-builder.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,EAAc,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
1
|
+
{"version":3,"file":"pipeline-builder.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,KAAK,CAAC,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,KAAK,MAAM,SAAS,CAAC;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D,2BAA2B,IAAI,MAAM;IAQrC,qBAAqB,CAAC,MAAM,UAAc,GAAG,QAAQ,EAAE;IAOvD,kBAAkB,CAChB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,EACvB,KAAK,UAAQ,GACZ,OAAO,CAAC,QAAQ,EAAE,CAAC;CASvB"}
|
@@ -9,7 +9,6 @@ export declare class PipelineParserError extends SyntaxError {
|
|
9
9
|
constructor(message: string, loc?: ErrorLoc);
|
10
10
|
}
|
11
11
|
export declare function generate(ast: Node): string;
|
12
|
-
export declare function prettify(code: string): string;
|
13
12
|
export declare function parseEJSON(source: string): Document[];
|
14
|
-
export {};
|
13
|
+
export { prettify } from '@mongodb-js/compass-editor';
|
15
14
|
//# sourceMappingURL=utils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/modules/pipeline-builder/pipeline-parser/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxC,aAAK,QAAQ,GAAG;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAA;AACD,qBAAa,mBAAoB,SAAQ,WAAW;IAClD,GAAG,EAAE,QAAQ,GAAG,SAAS,CAAC;gBACd,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,QAAQ;CAI5C;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,IAAI,UAEjC;AAMD,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,CAQrD;AAED,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-preview-manager.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-preview-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAS1D,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAexC,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,QAAQ,EAAE,EACpB,OAAO,GAAE,IAAI,CACX,cAAc,EACd,YAAY,GAAG,aAAa,GAAG,oBAAoB,CAC/C,
|
1
|
+
{"version":3,"file":"pipeline-preview-manager.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-preview-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAS1D,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAexC,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,QAAQ,EAAE,EACpB,OAAO,GAAE,IAAI,CACX,cAAc,EACd,YAAY,GAAG,aAAa,GAAG,oBAAoB,CAC/C,cA8BP;AAED,qBAAa,sBAAsB;IAErB,OAAO,CAAC,WAAW;IAD/B,OAAO,CAAC,KAAK,CAAsC;gBAC/B,WAAW,EAAE,WAAW;IAKtC,kBAAkB,CACtB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAAE,EACpB,EACE,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,GAAG,OAAO,EACX,GAAE,cAAmB,EACtB,KAAK,UAAQ,GACZ,OAAO,CAAC,QAAQ,EAAE,CAAC;IAyBtB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAQ3C,UAAU,CAAC,IAAI,SAAI;CAQpB"}
|
@@ -5,6 +5,7 @@ import type Stage from './stage';
|
|
5
5
|
import type { PipelineParserError } from './pipeline-parser/utils';
|
6
6
|
export declare const enum StageEditorActionTypes {
|
7
7
|
StagePreviewFetch = "compass-aggregations/pipeline-builder/stage-editor/StagePreviewFetch",
|
8
|
+
StagePreviewFetchSkipped = "compass-aggregations/pipeline-builder/stage-editor/StagePreviewFetchSkipped",
|
8
9
|
StagePreviewFetchSuccess = "compass-aggregations/pipeline-builder/stage-editor/StagePreviewFetchSuccess",
|
9
10
|
StagePreviewFetchError = "compass-aggregations/pipeline-builder/stage-editor/StagePreviewFetchError",
|
10
11
|
StageRun = "compass-aggregations/pipeline-builder/stage-editor/StageRun",
|
@@ -22,6 +23,10 @@ export declare type StagePreviewFetchAction = {
|
|
22
23
|
type: StageEditorActionTypes.StagePreviewFetch;
|
23
24
|
id: number;
|
24
25
|
};
|
26
|
+
export declare type StagePreviewFetchSkippedAction = {
|
27
|
+
type: StageEditorActionTypes.StagePreviewFetchSkipped;
|
28
|
+
id: number;
|
29
|
+
};
|
25
30
|
export declare type StagePreviewFetchSuccessAction = {
|
26
31
|
type: StageEditorActionTypes.StagePreviewFetchSuccess;
|
27
32
|
id: number;
|
@@ -80,7 +85,7 @@ export declare type StageMoveAction = {
|
|
80
85
|
from: number;
|
81
86
|
to: number;
|
82
87
|
};
|
83
|
-
export declare const loadStagePreview: (idx: number) => PipelineBuilderThunkAction<Promise<void>, StagePreviewFetchAction | StagePreviewFetchSuccessAction | StagePreviewFetchErrorAction>;
|
88
|
+
export declare const loadStagePreview: (idx: number) => PipelineBuilderThunkAction<Promise<void>, StagePreviewFetchAction | StagePreviewFetchSuccessAction | StagePreviewFetchErrorAction | StagePreviewFetchSkippedAction>;
|
84
89
|
export declare const loadPreviewForStagesFrom: (from: number) => PipelineBuilderThunkAction<void>;
|
85
90
|
export declare const runStage: (idx: number) => PipelineBuilderThunkAction<Promise<void>>;
|
86
91
|
export declare const changeStageValue: (id: number, newVal: string) => PipelineBuilderThunkAction<void, ChangeStageValueAction>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/stage-editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAoB,QAAQ,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAI5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAWjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAInE,0BAAkB,sBAAsB;IACtC,iBAAiB,yEAAyE;IAC1F,wBAAwB,gFAAgF;IACxG,sBAAsB,8EAA8E;IACpG,QAAQ,gEAAgE;IACxE,eAAe,uEAAuE;IACtF,aAAa,8EAA8E;IAC3F,gBAAgB,wEAAwE;IACxF,mBAAmB,2EAA2E;IAC9F,oBAAoB,4EAA4E;IAChG,mB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QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAgOtC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { Reducer } from 'redux';
|
2
|
+
import type { MongoServerError } from 'mongodb';
|
3
|
+
import type { PipelineBuilderThunkAction } from '..';
|
4
|
+
declare type OutputStageState = {
|
5
|
+
isLoading: boolean;
|
6
|
+
serverError: MongoServerError | null;
|
7
|
+
isComplete: boolean;
|
8
|
+
};
|
9
|
+
declare const reducer: Reducer<OutputStageState>;
|
10
|
+
export declare const runPipelineWithOutputStage: () => PipelineBuilderThunkAction<Promise<void>>;
|
11
|
+
export declare const gotoOutputStageCollection: () => PipelineBuilderThunkAction<void>;
|
12
|
+
export default reducer;
|
13
|
+
//# sourceMappingURL=text-editor-output-stage.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"text-editor-output-stage.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/text-editor-output-stage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AAgCrD,aAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAQF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAyDtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QACpC,2BAA2B,QAAQ,IAAI,CAAC,CA8C1C,CAAC;AAEF,eAAO,MAAM,yBAAyB,QACnC,2BAA2B,IAAI,CAejC,CAAC;AAGF,eAAe,OAAO,CAAC"}
|
@@ -3,12 +3,13 @@ import type { Document, MongoServerError } from 'mongodb';
|
|
3
3
|
import type { PipelineBuilderThunkAction } from '..';
|
4
4
|
import type { PipelineParserError } from './pipeline-parser/utils';
|
5
5
|
export declare const enum EditorActionTypes {
|
6
|
-
EditorPreviewFetch = "compass-aggregations/pipeline-builder/text-editor/TextEditorPreviewFetch",
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
EditorPreviewFetch = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorPreviewFetch",
|
7
|
+
EditorPreviewFetchSkipped = "compass-aggregations/pipeline-builder/text-editor-pipeline/EditorPreviewFetchSkipped",
|
8
|
+
EditorPreviewFetchSuccess = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorPreviewFetchSuccess",
|
9
|
+
EditorPreviewFetchError = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorPreviewFetchError",
|
10
|
+
EditorValueChange = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorValueChange"
|
10
11
|
}
|
11
|
-
declare type EditorValueChangeAction = {
|
12
|
+
export declare type EditorValueChangeAction = {
|
12
13
|
type: EditorActionTypes.EditorValueChange;
|
13
14
|
pipelineText: string;
|
14
15
|
pipeline: Document[] | null;
|
@@ -17,6 +18,9 @@ declare type EditorValueChangeAction = {
|
|
17
18
|
declare type EditorPreviewFetchAction = {
|
18
19
|
type: EditorActionTypes.EditorPreviewFetch;
|
19
20
|
};
|
21
|
+
declare type EditorPreviewFetchSkippedAction = {
|
22
|
+
type: EditorActionTypes.EditorPreviewFetchSkipped;
|
23
|
+
};
|
20
24
|
declare type EditorPreviewFetchSuccessAction = {
|
21
25
|
type: EditorActionTypes.EditorPreviewFetchSuccess;
|
22
26
|
previewDocs: Document[];
|
@@ -30,11 +34,12 @@ export declare type TextEditorState = {
|
|
30
34
|
stageOperators: string[];
|
31
35
|
syntaxErrors: PipelineParserError[];
|
32
36
|
serverError: MongoServerError | null;
|
33
|
-
|
37
|
+
isLoading: boolean;
|
34
38
|
previewDocs: Document[] | null;
|
35
39
|
};
|
36
40
|
declare const reducer: Reducer<TextEditorState>;
|
37
|
-
export declare
|
41
|
+
export declare function canRunPipeline(autoPreview: boolean, syntaxErrors: PipelineParserError[]): boolean;
|
42
|
+
export declare const loadPreviewForPipeline: () => PipelineBuilderThunkAction<Promise<void>, EditorPreviewFetchAction | EditorPreviewFetchSuccessAction | EditorPreviewFetchErrorAction | EditorPreviewFetchSkippedAction>;
|
38
43
|
export declare const changeEditorValue: (value: string) => PipelineBuilderThunkAction<void, EditorValueChangeAction>;
|
39
44
|
export default reducer;
|
40
|
-
//# sourceMappingURL=text-editor.d.ts.map
|
45
|
+
//# sourceMappingURL=text-editor-pipeline.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"text-editor-pipeline.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/text-editor-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AASrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAOnE,0BAAkB,iBAAiB;IACjC,kBAAkB,sFAAsF;IACxG,yBAAyB,yFAAyF;IAClH,yBAAyB,6FAA6F;IACtH,uBAAuB,2FAA2F;IAClH,iBAAiB,qFAAqF;CACvG;AAED,oBAAY,uBAAuB,GAAG;IACpC,IAAI,EAAE,iBAAiB,CAAC,iBAAiB,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,mBAAmB,EAAE,CAAC;CACrC,CAAC;AAEF,aAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,iBAAiB,CAAC,kBAAkB,CAAC;CAC5C,CAAC;AAEF,aAAK,+BAA+B,GAAG;IACrC,IAAI,EAAE,iBAAiB,CAAC,yBAAyB,CAAC;CACnD,CAAC;AAEF,aAAK,+BAA+B,GAAG;IACrC,IAAI,EAAE,iBAAiB,CAAC,yBAAyB,CAAC;IAClD,WAAW,EAAE,QAAQ,EAAE,CAAC;CACzB,CAAC;AAEF,aAAK,6BAA6B,GAAG;IACnC,IAAI,EAAE,iBAAiB,CAAC,uBAAuB,CAAC;IAChD,WAAW,EAAE,gBAAgB,CAAC;CAC/B,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;CAChC,CAAC;AAWF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,eAAe,CAyFrC,CAAC;AAEF,wBAAgB,cAAc,CAC5B,WAAW,EAAE,OAAO,EACpB,YAAY,EAAE,mBAAmB,EAAE,WAGpC;AAED,eAAO,MAAM,sBAAsB,QAChC,2BACD,QAAQ,IAAI,CAAC,EACb,wBAAwB,GACxB,+BAA+B,GAC/B,6BAA6B,GAC7B,+BAA+B,CAyDhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,UACrB,MAAM,KACZ,2BAA2B,IAAI,EAAE,uBAAuB,CAW1D,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1,11 +1,15 @@
|
|
1
1
|
export function isAtlasOnly(operatorEnv: any): any;
|
2
2
|
export function getStageOperator(stage: unknown): string | undefined;
|
3
|
-
export function getDestinationNamespaceFromStage(namespace: string, stage:
|
3
|
+
export function getDestinationNamespaceFromStage(namespace: string, stage: import('mongodb').Document): string;
|
4
4
|
export function isOutputStage(stageOperator: string): boolean;
|
5
5
|
export function getStageInfo(namespace: string, stageOperator: string | undefined | null, stageValue: string | undefined | null): {
|
6
6
|
description?: string;
|
7
7
|
link?: string;
|
8
8
|
destination?: string;
|
9
9
|
};
|
10
|
+
export const OUT_STAGE_PREVIEW_TEXT: string;
|
11
|
+
export const MERGE_STAGE_PREVIEW_TEXT: string;
|
10
12
|
export function filterStageOperators({ serverVersion, env, isTimeSeries, sourceName }: Object): any[];
|
13
|
+
export function getLastStageOperator(pipeline: import('mongodb').Document[]): string;
|
14
|
+
export function isLastStageOutputStage(pipeline: import('mongodb').Document[]): boolean;
|
11
15
|
//# sourceMappingURL=stage.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/utils/stage.js"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/utils/stage.js"],"names":[],"mappings":"AAkCA,mDAEC;AAgDD,wCAHW,OAAO,GACL,MAAM,GAAG,SAAS,CAI9B;AAcA,4DAJU,MAAM,SACN,OAAO,SAAS,EAAE,QAAQ,GACxB,MAAM,CAyBlB;AAQD,6CAHW,MAAM,GACJ,OAAO,CAInB;AAYD,wCALW,MAAM,iBACN,MAAM,GAAG,SAAS,GAAG,IAAI,cACzB,MAAM,GAAG,SAAS,GAAG,IAAI,GACvB;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAgCzE;AAnKD,4CAGkD;AAElD,8CAE4B;AAwCrB,uFARI,MAAM,SA2BhB;AAuGO,+CAHG,OAAO,SAAS,EAAE,QAAQ,EAAE,GAC1B,MAAM,CAKlB;AAMM,iDAHI,OAAO,SAAS,EAAE,QAAQ,EAAE,GAC1B,OAAO,CAInB"}
|