@mongodb-js/compass-aggregations 0.0.0-next-10815be8fd57f3bfd89d061e1592eb7136d4a0fb → 0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba
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/index.js +2 -2
- 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-settings/pipeline-menus.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 +1 -1
- package/dist/src/modules/pipeline-builder/pipeline-builder.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/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} +8 -7
- 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 -18
- 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;AAkBnG,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;;
|
|
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;AAkBnG,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;AA+CxC,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;AA2DF,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":";AAwCA,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;AA+FxC,aAAK,6BAA6B,GAAG;IACnC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,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,
|
|
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;AA+FxC,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;AAUlD,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACjD,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,IAAI,EAAE,eAAe,CAAC;CACvB,CAyBA,CAAC;AAEF,eAAe,mBAAmB,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;AAUlD,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,CAyBA,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-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,CAyBxE,CAAC;AAKF,eAAO,MAAM,UAAU,iMAGD,CAAC"}
|
|
@@ -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"}
|
|
@@ -23,7 +23,7 @@ export declare class PipelineBuilder {
|
|
|
23
23
|
sourceToStages(): void;
|
|
24
24
|
private validateSource;
|
|
25
25
|
getPipelineFromSource(): Document[];
|
|
26
|
-
getPreviewForPipeline(namespace: string, options: PreviewOptions): Promise<Document[]>;
|
|
26
|
+
getPreviewForPipeline(namespace: string, options: PreviewOptions, filterOutputStage?: boolean): Promise<Document[]>;
|
|
27
27
|
stagesToSource(): void;
|
|
28
28
|
getStage(idx: number): Stage;
|
|
29
29
|
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;AAC5B,OAAO,EAAc,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI1E,eAAO,MAAM,gBAAgB,aAAa,CAAC;AAE3C,qBAAa,eAAe;IAC1B,OAAO,CAAC,OAAO,CAA4B;IAE3C,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAQ;IACnC,IAAI,EAAE,CAAC,CAAC,eAAe,GAAG,IAAI,CAAQ;IACtC,MAAM,EAAE,KAAK,EAAE,CAAM;IACrB,WAAW,EAAE,mBAAmB,EAAE,CAAM;IAExC,cAAc,EAAE,sBAAsB,CAAC;gBAE3B,WAAW,EAAE,WAAW,EAAE,MAAM,SAAmB;IAM/D,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,EAGxB;IAED,IAAI,MAAM,IALS,MAAM,CAOxB;IAED,OAAO,CAAC,qBAAqB;IAW7B,KAAK,CAAC,MAAM,SAAmB;IAW/B,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI;IAOhC,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAQlC,cAAc,IAAI,IAAI;IAmBtB,OAAO,CAAC,cAAc;IAUtB,qBAAqB,IAAI,QAAQ,EAAE;IAanC,qBAAqB,CACnB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,EACvB,iBAAiB,UAAQ,GACxB,OAAO,CAAC,QAAQ,EAAE,CAAC;IAiBtB,cAAc,IAAI,IAAI;IAgBtB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK;IAQ5B,QAAQ,CAAC,KAAK,GAAE,MAA+B,GAAG,KAAK;IASvD,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,KAAK;IAQ9B,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,KAAK;IAU1C,2BAA2B,CAAC,MAAM,UAAc,GAAG,MAAM;IAYzD,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"}
|
|
@@ -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;IAItC,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"}
|
|
@@ -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;AA8BrD,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,CAqDtC,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,12 @@ 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
|
-
EditorPreviewFetchSuccess = "compass-aggregations/pipeline-builder/text-editor/TextEditorPreviewFetchSuccess",
|
|
8
|
-
EditorPreviewFetchError = "compass-aggregations/pipeline-builder/text-editor/TextEditorPreviewFetchError",
|
|
9
|
-
EditorValueChange = "compass-aggregations/pipeline-builder/text-editor/TextEditorValueChange"
|
|
6
|
+
EditorPreviewFetch = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorPreviewFetch",
|
|
7
|
+
EditorPreviewFetchSuccess = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorPreviewFetchSuccess",
|
|
8
|
+
EditorPreviewFetchError = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorPreviewFetchError",
|
|
9
|
+
EditorValueChange = "compass-aggregations/pipeline-builder/text-editor-pipeline/TextEditorValueChange"
|
|
10
10
|
}
|
|
11
|
-
declare type EditorValueChangeAction = {
|
|
11
|
+
export declare type EditorValueChangeAction = {
|
|
12
12
|
type: EditorActionTypes.EditorValueChange;
|
|
13
13
|
pipelineText: string;
|
|
14
14
|
pipeline: Document[] | null;
|
|
@@ -30,11 +30,12 @@ export declare type TextEditorState = {
|
|
|
30
30
|
stageOperators: string[];
|
|
31
31
|
syntaxErrors: PipelineParserError[];
|
|
32
32
|
serverError: MongoServerError | null;
|
|
33
|
-
|
|
33
|
+
isLoading: boolean;
|
|
34
34
|
previewDocs: Document[] | null;
|
|
35
35
|
};
|
|
36
36
|
declare const reducer: Reducer<TextEditorState>;
|
|
37
|
+
export declare function canRunPipeline(autoPreview: boolean, syntaxErrors: PipelineParserError[]): boolean;
|
|
37
38
|
export declare const loadPreviewForPipeline: () => PipelineBuilderThunkAction<Promise<void>, EditorPreviewFetchAction | EditorPreviewFetchSuccessAction | EditorPreviewFetchErrorAction>;
|
|
38
39
|
export declare const changeEditorValue: (value: string) => PipelineBuilderThunkAction<void, EditorValueChangeAction>;
|
|
39
40
|
export default reducer;
|
|
40
|
-
//# sourceMappingURL=text-editor.d.ts.map
|
|
41
|
+
//# 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,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;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,CAwErC,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,CAkD9B,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"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongodb-js/compass-aggregations",
|
|
3
3
|
"productName": "Aggregations plugin",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
5
5
|
"apiVersion": "3.0.0",
|
|
6
6
|
"description": "Compass Aggregation Pipeline Builder",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"@babel/parser": "^7.19.4",
|
|
56
56
|
"@babel/types": "^7.19.4",
|
|
57
57
|
"@electron/remote": "^2.0.8",
|
|
58
|
-
"@mongodb-js/eslint-config-compass": "0.0.0-next-
|
|
59
|
-
"@mongodb-js/mocha-config-compass": "0.0.0-next-
|
|
60
|
-
"@mongodb-js/prettier-config-compass": "0.0.0-next-
|
|
61
|
-
"@mongodb-js/tsconfig-compass": "0.0.0-next-
|
|
62
|
-
"@mongodb-js/webpack-config-compass": "0.0.0-next-
|
|
58
|
+
"@mongodb-js/eslint-config-compass": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
59
|
+
"@mongodb-js/mocha-config-compass": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
60
|
+
"@mongodb-js/prettier-config-compass": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
61
|
+
"@mongodb-js/tsconfig-compass": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
62
|
+
"@mongodb-js/webpack-config-compass": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
63
63
|
"@testing-library/react": "^12.1.4",
|
|
64
64
|
"@testing-library/user-event": "^13.5.0",
|
|
65
65
|
"@types/prettier": "^2.7.1",
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"electron": "^15.5.7",
|
|
74
74
|
"enzyme": "^3.11.0",
|
|
75
75
|
"eslint": "^7.25.0",
|
|
76
|
-
"hadron-app-registry": "0.0.0-next-
|
|
76
|
+
"hadron-app-registry": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
77
77
|
"is-electron-renderer": "^2.0.1",
|
|
78
78
|
"mocha": "^8.4.0",
|
|
79
79
|
"mongodb": "^4.10.0",
|
|
80
|
-
"mongodb-data-service": "0.0.0-next-
|
|
80
|
+
"mongodb-data-service": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
81
81
|
"mongodb-ns": "^2.4.0",
|
|
82
82
|
"mongodb-query-parser": "^2.4.6",
|
|
83
83
|
"nyc": "^15.1.0",
|
|
@@ -96,17 +96,17 @@
|
|
|
96
96
|
"xvfb-maybe": "^0.2.1"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@mongodb-js/compass-components": "0.0.0-next-
|
|
100
|
-
"@mongodb-js/compass-crud": "0.0.0-next-
|
|
101
|
-
"@mongodb-js/compass-editor": "0.0.0-next-
|
|
102
|
-
"@mongodb-js/compass-logging": "0.0.0-next-
|
|
103
|
-
"@mongodb-js/explain-plan-helper": "0.0.0-next-
|
|
99
|
+
"@mongodb-js/compass-components": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
100
|
+
"@mongodb-js/compass-crud": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
101
|
+
"@mongodb-js/compass-editor": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
102
|
+
"@mongodb-js/compass-logging": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
103
|
+
"@mongodb-js/explain-plan-helper": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
104
104
|
"@mongodb-js/mongodb-constants": "^0.1.4",
|
|
105
|
-
"@mongodb-js/mongodb-redux-common": "0.0.0-next-
|
|
105
|
+
"@mongodb-js/mongodb-redux-common": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
106
106
|
"bson": "^4.4.1",
|
|
107
|
-
"hadron-document": "0.0.0-next-
|
|
108
|
-
"hadron-react-buttons": "0.0.0-next-
|
|
109
|
-
"hadron-react-components": "0.0.0-next-
|
|
107
|
+
"hadron-document": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
108
|
+
"hadron-react-buttons": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
109
|
+
"hadron-react-components": "0.0.0-next-ea4f317e964c0504e54c01d83c385280a9135bba",
|
|
110
110
|
"react": "^16.14.0"
|
|
111
111
|
},
|
|
112
112
|
"homepage": "https://github.com/mongodb-js/compass",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"type": "git",
|
|
119
119
|
"url": "https://github.com/mongodb-js/compass.git"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "ea4f317e964c0504e54c01d83c385280a9135bba"
|
|
122
122
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text-editor.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/text-editor.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;AAQnE,0BAAkB,iBAAiB;IACjC,kBAAkB,6EAA6E;IAC/F,yBAAyB,oFAAoF;IAC7G,uBAAuB,kFAAkF;IACzG,iBAAiB,4EAA4E;CAC9F;AAED,aAAK,uBAAuB,GAAG;IAC7B,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;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,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;CAChC,CAAC;AAWF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,eAAe,CAwErC,CAAC;AAOF,eAAO,MAAM,sBAAsB,QAChC,2BACD,QAAQ,IAAI,CAAC,EACb,wBAAwB,GACxB,+BAA+B,GAC/B,6BAA6B,CAyD9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UACrB,MAAM,KACZ,2BAA2B,IAAI,EAAE,uBAAuB,CAW1D,CAAC;AAGF,eAAe,OAAO,CAAC"}
|