@mongodb-js/compass-aggregations 0.0.0-next-68d544d11ad6fdad02d93fe36714c06c35871ec6 → 0.0.0-next-d3d1c1d3cacc133f6181b84cd4c74f1334a3ce17
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 +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/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/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 +10 -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 -8
- 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-builder-ui-workspace/index.d.ts +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/index.d.ts +1 -1
- 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/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/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/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 +52 -8
- 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 +9 -9
- 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 +42 -41
- 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 +5 -10
- 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 +1 -0
- 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 +2 -1
- 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 +7 -22
- 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 +38 -37
- package/dist/index.css +0 -43
- package/dist/src/modules/projections.d.ts +0 -4
- package/dist/src/modules/projections.d.ts.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"insights.d.ts","sourceRoot":"","sources":["../../../src/modules/insights.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"insights.d.ts","sourceRoot":"","sources":["../../../src/modules/insights.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAG9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAapD,QAAA,MAAM,0BAA0B,mDAC4B,CAAC;AAC7D,UAAU,6BAA6B;IACrC,IAAI,EAAE,OAAO,0BAA0B,CAAC;IACxC,WAAW,EAAE,WAAW,CAAC;CAC1B;AACD,MAAM,MAAM,cAAc,GAAG,6BAA6B,CAAC;AAI3D,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC;IAAE,gBAAgB,EAAE,OAAO,CAAA;CAAE,CA8BnD,CAAC;AAWF,eAAO,MAAM,uBAAuB,QAAO,2BACzC,QAAQ,IAAI,CAAC,CAoCd,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,2BAA2B,IAAI,CAKtE,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"is-modified.d.ts","sourceRoot":"","sources":["../../../src/modules/is-modified.
|
1
|
+
{"version":3,"file":"is-modified.d.ts","sourceRoot":"","sources":["../../../src/modules/is-modified.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,qBAAQ,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CA2CzE"}
|
@@ -1,6 +1,16 @@
|
|
1
1
|
import type { PipelineBuilderThunkAction } from '.';
|
2
|
+
import type Stage from './pipeline-builder/stage';
|
3
|
+
import type { Document } from 'bson';
|
4
|
+
import type { PipelineParserError } from './pipeline-builder/pipeline-parser/utils';
|
2
5
|
export declare enum ActionTypes {
|
3
6
|
NewPipelineConfirmed = "compass-aggregations/is-new-pipeline-confirm/newPipelineConfirmed"
|
4
7
|
}
|
8
|
+
export type NewPipelineConfirmedAction = {
|
9
|
+
type: ActionTypes.NewPipelineConfirmed;
|
10
|
+
stages: Stage[];
|
11
|
+
pipelineText: string;
|
12
|
+
pipeline: Document[] | null;
|
13
|
+
syntaxErrors: PipelineParserError[];
|
14
|
+
};
|
5
15
|
export declare const confirmNewPipeline: () => PipelineBuilderThunkAction<void>;
|
6
16
|
//# sourceMappingURL=is-new-pipeline-confirm.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"is-new-pipeline-confirm.d.ts","sourceRoot":"","sources":["../../../src/modules/is-new-pipeline-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;
|
1
|
+
{"version":3,"file":"is-new-pipeline-confirm.d.ts","sourceRoot":"","sources":["../../../src/modules/is-new-pipeline-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAIpD,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAGpF,oBAAY,WAAW;IACrB,oBAAoB,sEAAsE;CAC3F;AACD,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,WAAW,CAAC,oBAAoB,CAAC;IACvC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,mBAAmB,EAAE,CAAC;CACrC,CAAC;AAKF,eAAO,MAAM,kBAAkB,QACzB,2BAA2B,IAAI,CAuBlC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"is-time-series.d.ts","sourceRoot":"","sources":["../../../src/modules/is-time-series.
|
1
|
+
{"version":3,"file":"is-time-series.d.ts","sourceRoot":"","sources":["../../../src/modules/is-time-series.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,QAAQ,CAAC;AAKnC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,GAAE,OAAuB,GAAG,OAAO,CAEvE"}
|
@@ -1,3 +1,5 @@
|
|
1
|
-
|
2
|
-
export
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
export type LargeLimitState = number;
|
3
|
+
export declare const INITIAL_STATE = 100000;
|
4
|
+
export default function reducer(state: number | undefined, action: AnyAction): LargeLimitState;
|
3
5
|
//# sourceMappingURL=large-limit.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"large-limit.d.ts","sourceRoot":"","sources":["../../../src/modules/large-limit.
|
1
|
+
{"version":3,"file":"large-limit.d.ts","sourceRoot":"","sources":["../../../src/modules/large-limit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AACrC,eAAO,MAAM,aAAa,SAAsB,CAAC;AAEjD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAAiC,EACtC,MAAM,EAAE,SAAS,GAChB,eAAe,CAajB"}
|
@@ -1,3 +1,5 @@
|
|
1
|
-
|
2
|
-
export
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
export type LimitState = number;
|
3
|
+
export declare const INITIAL_STATE: LimitState;
|
4
|
+
export default function reducer(state: number | undefined, action: AnyAction): LimitState;
|
3
5
|
//# sourceMappingURL=limit.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"limit.d.ts","sourceRoot":"","sources":["../../../src/modules/limit.
|
1
|
+
{"version":3,"file":"limit.d.ts","sourceRoot":"","sources":["../../../src/modules/limit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,eAAO,MAAM,aAAa,EAAE,UAAgC,CAAC;AAE7D,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,oBAA4B,EACjC,MAAM,EAAE,SAAS,GAChB,UAAU,CAaZ"}
|
@@ -1,10 +1,14 @@
|
|
1
|
-
import type {
|
2
|
-
export declare const MAX_TIME_MS_CHANGED
|
1
|
+
import type { Reducer } from 'redux';
|
2
|
+
export declare const MAX_TIME_MS_CHANGED: "aggregations/max-time-ms/MAX_TIME_MS_CHANGED";
|
3
|
+
export interface MaxTimeMSChangedAction {
|
4
|
+
type: typeof MAX_TIME_MS_CHANGED;
|
5
|
+
maxTimeMS: number | null;
|
6
|
+
}
|
3
7
|
type State = null | number;
|
4
8
|
export declare const INITIAL_STATE: State;
|
5
|
-
declare const reducer: Reducer<State
|
9
|
+
declare const reducer: Reducer<State>;
|
6
10
|
export declare const maxTimeMSChanged: (value: number) => {
|
7
|
-
type:
|
11
|
+
type: "aggregations/max-time-ms/MAX_TIME_MS_CHANGED";
|
8
12
|
maxTimeMS: number | null;
|
9
13
|
};
|
10
14
|
export default reducer;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"max-time-ms.d.ts","sourceRoot":"","sources":["../../../src/modules/max-time-ms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"max-time-ms.d.ts","sourceRoot":"","sources":["../../../src/modules/max-time-ms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrC,eAAO,MAAM,mBAAmB,gDACyB,CAAC;AAC1D,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,mBAAmB,CAAC;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,KAAK,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;AAE3B,eAAO,MAAM,aAAa,EAAE,KAAY,CAAC;AAEzC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CAa3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,MAAM;;;CAG5C,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import type {
|
2
|
-
type
|
3
|
-
export declare const INITIAL_STATE:
|
4
|
-
declare const reducer: Reducer<
|
1
|
+
import type { Reducer } from 'redux';
|
2
|
+
export type NameState = string;
|
3
|
+
export declare const INITIAL_STATE: NameState;
|
4
|
+
declare const reducer: Reducer<NameState>;
|
5
5
|
export default reducer;
|
6
6
|
//# sourceMappingURL=name.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"name.d.ts","sourceRoot":"","sources":["../../../src/modules/name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"name.d.ts","sourceRoot":"","sources":["../../../src/modules/name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAerC,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,eAAO,MAAM,aAAa,EAAE,SAAc,CAAC;AAK3C,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,SAAS,CAwB/B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../../src/modules/namespace.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../../src/modules/namespace.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,KAAK,CAAC;AAKhC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,GAAE,MAAsB,GAAG,MAAM,CAErE"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
|
2
|
-
export
|
3
|
-
export
|
4
|
-
|
5
|
-
|
6
|
-
export
|
1
|
+
import type { PipelineBuilderThunkAction } from '.';
|
2
|
+
export type OutResultsFnState = null | ((namespace: string) => void);
|
3
|
+
export declare const INITIAL_STATE: OutResultsFnState;
|
4
|
+
export default function reducer(state?: OutResultsFnState): OutResultsFnState;
|
5
|
+
export declare const gotoOutResults: (index: number) => PipelineBuilderThunkAction<void>;
|
6
|
+
export declare const viewOutResults: (index: number) => PipelineBuilderThunkAction<void>;
|
7
7
|
//# sourceMappingURL=out-results-fn.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"out-results-fn.d.ts","sourceRoot":"","sources":["../../../src/modules/out-results-fn.
|
1
|
+
{"version":3,"file":"out-results-fn.d.ts","sourceRoot":"","sources":["../../../src/modules/out-results-fn.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAEpD,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC,CAAC;AAKrE,eAAO,MAAM,aAAa,EAAE,iBAAwB,CAAC;AAKrD,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,GAAE,iBAAiC,GACvC,iBAAiB,CAEnB;AAKD,eAAO,MAAM,cAAc,UAClB,MAAM,KACZ,2BAA2B,IAAI,CAajC,CAAC;AAEF,eAAO,MAAM,cAAc,UAClB,MAAM,KACZ,2BAA2B,IAAI,CAOjC,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { PipelineBuilderThunkAction, RootState } from '..';
|
2
2
|
import type { PipelineBuilder } from './pipeline-builder';
|
3
3
|
export declare const updatePipelinePreview: () => PipelineBuilderThunkAction<void>;
|
4
|
-
export declare function getStagesFromBuilderState(state: RootState, pipelineBuilder: PipelineBuilder):
|
4
|
+
export declare function getStagesFromBuilderState(state: RootState, pipelineBuilder: PipelineBuilder): (import("bson").Document | null)[];
|
5
5
|
export declare function getPipelineFromBuilderState(state: RootState, pipelineBuilder: PipelineBuilder): import("bson").Document[];
|
6
6
|
export declare function getPipelineStringFromBuilderState(state: RootState, pipelineBuilder: PipelineBuilder): string;
|
7
7
|
export declare function getPipelineStageOperatorsFromBuilderState(state: RootState, filterEmptyStageOperators?: true): string[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder-helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/builder-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK1D,eAAO,MAAM,qBAAqB,QAC5B,2BAA2B,IAAI,CAWlC,CAAC;AAEJ,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,
|
1
|
+
{"version":3,"file":"builder-helpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/builder-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK1D,eAAO,MAAM,qBAAqB,QAC5B,2BAA2B,IAAI,CAWlC,CAAC;AAEJ,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,sCAOjC;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,6BAOjC;AAED,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,eAAe,GAC/B,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,SAAS,EAChB,yBAAyB,CAAC,EAAE,IAAI,GAC/B,MAAM,EAAE,CAAC;AACZ,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,SAAS,EAChB,yBAAyB,CAAC,EAAE,KAAK,GAChC,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC;AAoBrB,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,SAAS,EAChB,mBAAmB,UAAO,GACzB,OAAO,CAcT;AAED,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAExD,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,SAAS,GACf,cAAc,CAMhB"}
|
@@ -4,11 +4,7 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
4
4
|
stageEditor: import("./stage-editor").StageEditorState;
|
5
5
|
textEditor: import("redux").CombinedState<{
|
6
6
|
pipeline: import("./text-editor-pipeline").TextEditorState;
|
7
|
-
outputStage:
|
8
|
-
isLoading: boolean;
|
9
|
-
serverError: import("mongodb").MongoServerError | null;
|
10
|
-
isComplete: boolean;
|
11
|
-
};
|
7
|
+
outputStage: import("./text-editor-output-stage").OutputStageState;
|
12
8
|
}>;
|
13
9
|
}>, import("redux").AnyAction>;
|
14
10
|
export default reducer;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO;;;;;;;;8BAQX,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
@@ -27,6 +27,9 @@ export declare const enum AIPipelineActionTypes {
|
|
27
27
|
PipelineGeneratedFromQuery = "compass-aggregations/pipeline-builder/pipeline-ai/PipelineGeneratedFromQuery",
|
28
28
|
AtlasServiceDisableAIFeature = "compass-aggregations/pipeline-builder/pipeline-ai/AtlasServiceDisableAIFeature"
|
29
29
|
}
|
30
|
+
type ShowInputAction = {
|
31
|
+
type: AIPipelineActionTypes.ShowInput;
|
32
|
+
};
|
30
33
|
type HideInputAction = {
|
31
34
|
type: AIPipelineActionTypes.HideInput;
|
32
35
|
};
|
@@ -61,6 +64,10 @@ type AIPipelineFailedAction = {
|
|
61
64
|
export type PipelineGeneratedFromQueryAction = {
|
62
65
|
type: AIPipelineActionTypes.PipelineGeneratedFromQuery;
|
63
66
|
text: string;
|
67
|
+
stages: Stage[];
|
68
|
+
pipelineText: string;
|
69
|
+
pipeline: Document[] | null;
|
70
|
+
syntaxErrors: PipelineParserError[];
|
64
71
|
};
|
65
72
|
export declare const runAIPipelineGeneration: (userInput: string) => PipelineBuilderThunkAction<Promise<void>, AIPipelineStartedAction | AIPipelineFailedAction | LoadGeneratedPipelineAction>;
|
66
73
|
type CancelAIPipelineGenerationAction = {
|
@@ -73,7 +80,11 @@ type resetIsAggregationGeneratedFromQueryAction = {
|
|
73
80
|
export declare const resetIsAggregationGeneratedFromQuery: () => PipelineBuilderThunkAction<void, resetIsAggregationGeneratedFromQueryAction>;
|
74
81
|
export declare const showInput: () => PipelineBuilderThunkAction<Promise<void>>;
|
75
82
|
export declare const hideInput: () => PipelineBuilderThunkAction<void, HideInputAction>;
|
83
|
+
type AtlasServiceDisableAIFeatureAction = {
|
84
|
+
type: AIPipelineActionTypes.AtlasServiceDisableAIFeature;
|
85
|
+
};
|
76
86
|
export declare const disableAIFeature: () => PipelineBuilderThunkAction<void>;
|
77
|
-
|
87
|
+
export type AIPipelineAction = AIPipelineStartedAction | AIPipelineFailedAction | LoadGeneratedPipelineAction | PipelineGeneratedFromQueryAction | LoadGeneratedPipelineAction | CancelAIPipelineGenerationAction | resetIsAggregationGeneratedFromQueryAction | ShowInputAction | HideInputAction | ChangeAIPromptTextAction | AtlasServiceDisableAIFeatureAction;
|
88
|
+
declare const aiPipelineReducer: Reducer<AIPipelineState, AIPipelineAction>;
|
78
89
|
export default aiPipelineReducer;
|
79
90
|
//# sourceMappingURL=pipeline-ai.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-ai.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-ai.ts"],"names":[],"mappings":"AAAA,OAAO,KAA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BACF,IAAI,EACJ,0CAA0C,CAO3C,CAAC;AAEJ,eAAO,MAAM,SAAS,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CAcpE,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,2BAC3B,IAAI,EACJ,eAAe,CAOhB,CAAC;AAEF,KAAK,kCAAkC,GAAG;IACxC,IAAI,EAAE,qBAAqB,CAAC,4BAA4B,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,2BAA2B,IAAI,CAKlE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,2BAA2B,GAC3B,gCAAgC,GAChC,2BAA2B,GAC3B,gCAAgC,GAChC,0CAA0C,GAC1C,eAAe,GACf,eAAe,GACf,wBAAwB,GACxB,kCAAkC,CAAC;AACvC,QAAA,MAAM,iBAAiB,EAAE,OAAO,CAAC,eAAe,EAAE,gBAAgB,CAoIjE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type { DataService } from 'mongodb-data-service';
|
2
1
|
import type { Document } from 'bson';
|
3
2
|
import { PipelinePreviewManager } from './pipeline-preview-manager';
|
4
3
|
import type { PreviewOptions } from './pipeline-preview-manager';
|
5
4
|
import Stage from './stage';
|
5
|
+
import type { DataService } from '../data-service';
|
6
6
|
export declare const DEFAULT_PIPELINE = "[]";
|
7
7
|
export declare class PipelineBuilder {
|
8
8
|
source: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-builder.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-builder.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"pipeline-builder.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-builder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,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AAQ,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,UAAsB,GAAG,MAAM;IAiBjE,2BAA2B,IAAI,MAAM;IAYrC,qBAAqB,CAAC,MAAM,UAAsB,GAAG,QAAQ,EAAE;IAO/D,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI;IAOhC,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAOvC,wBAAwB;IAOxB,kBAAkB,CAChB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,EACvB,KAAK,UAAQ,GACZ,OAAO,CAAC,QAAQ,EAAE,CAAC;IActB,uBAAuB,CACrB,GAAG,EAAE,MAAM,EACX,QAAQ,GAAE,QAAQ,EAEjB;IAQH,qBAAqB,CACnB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,EACvB,iBAAiB,UAAQ,GACxB,OAAO,CAAC,QAAQ,EAAE,CAAC;IAkBtB,0BAA0B,CACxB,QAAQ,GAAE,QAAQ,EAAiC,EACnD,iBAAiB,UAAQ;CAY5B"}
|
@@ -15,9 +15,10 @@ export type PipelineModeToggledAction = {
|
|
15
15
|
syntaxErrors: PipelineParserError[];
|
16
16
|
stages: Stage[];
|
17
17
|
};
|
18
|
-
type
|
19
|
-
export
|
20
|
-
declare const
|
18
|
+
export type PipelineModeState = PipelineMode;
|
19
|
+
export type PipelineModeAction = PipelineModeToggledAction;
|
20
|
+
export declare const INITIAL_STATE: PipelineModeState;
|
21
|
+
declare const reducer: Reducer<PipelineModeState>;
|
21
22
|
export declare const changePipelineMode: (newMode: PipelineMode) => PipelineBuilderThunkAction<void, PipelineModeToggledAction>;
|
22
23
|
export default reducer;
|
23
24
|
//# sourceMappingURL=pipeline-mode.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-mode.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AAOrD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
1
|
+
{"version":3,"file":"pipeline-mode.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/pipeline-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AAOrD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAYnE,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,SAAS,CAAC;AAEpD,oBAAY,WAAW;IACrB,mBAAmB,6CAA6C;CACjE;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAAC;IACtC,IAAI,EAAE,YAAY,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC;AAC7C,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AAE3D,eAAO,MAAM,aAAa,EAAE,iBAAgC,CAAC;AAE7D,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAuBvC,CAAC;AAEF,eAAO,MAAM,kBAAkB,YACpB,YAAY,KACpB,2BAA2B,IAAI,EAAE,yBAAyB,CAkC5D,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import type { Node } from '@babel/types';
|
2
|
-
import type { Document } from 'mongodb';
|
3
2
|
import type { FormatOptions } from '@mongodb-js/compass-editor';
|
4
3
|
type ErrorLoc = {
|
5
4
|
line: number;
|
@@ -12,6 +11,6 @@ export declare class PipelineParserError extends SyntaxError {
|
|
12
11
|
constructor(message: string, loc?: ErrorLoc | undefined, code?: number | undefined);
|
13
12
|
}
|
14
13
|
export declare function generate(ast: Node, formatOptions?: FormatOptions): string;
|
15
|
-
export declare function parseShellBSON(source: string):
|
14
|
+
export declare function parseShellBSON<T = unknown>(source: string): T;
|
16
15
|
export { prettify } from '@mongodb-js/compass-editor';
|
17
16
|
//# 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;AAGzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,WAAW;IACd,GAAG,CAAC;IAAmB,IAAI,CAAC;gBAApD,OAAO,EAAE,MAAM,EAAS,GAAG,CAAC,sBAAU,EAAS,IAAI,CAAC,oBAAQ;CAGzE;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,aAAa,CAAC,EAAE,aAAa,UAMhE;AAMD,wBAAgB,cAAc,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC,CAQ7D;AAED,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { DataService } from 'mongodb-data-service';
|
2
1
|
import type { AggregateOptions, Document } from 'mongodb';
|
2
|
+
import type { DataService } from '../data-service';
|
3
3
|
export declare const DEFAULT_SAMPLE_SIZE = 100000;
|
4
4
|
export declare const DEFAULT_PREVIEW_LIMIT = 10;
|
5
5
|
export interface PreviewOptions extends AggregateOptions {
|
@@ -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,
|
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,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAa1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,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;;KA4BP;AAED,qBAAa,sBAAsB;IAGrB,OAAO,CAAC,WAAW;IAF/B,OAAO,CAAC,KAAK,CAAsC;IACnD,OAAO,CAAC,YAAY,CAAiC;gBACjC,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;IAuBtB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,OAAO;IAO/D,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAS3C,UAAU,CAAC,IAAI,SAAI;CASpB"}
|
@@ -110,6 +110,7 @@ type WizardToStageAction = {
|
|
110
110
|
at: number;
|
111
111
|
stage: StoreStage;
|
112
112
|
};
|
113
|
+
export type StageEditorAction = StagePreviewFetchAction | StagePreviewFetchSkippedAction | StagePreviewFetchSuccessAction | StagePreviewFetchErrorAction | StageRunAction | StageRunSuccessAction | StageRunErrorAction | ChangeStageValueAction | ChangeStageOperatorAction | ChangeStageCollapsedAction | ChangeStageOperatorAction | ChangeStageDisabledAction | StageAddAction | StageRemoveAction | StageMoveAction | WizardAddAction | WizardRemoveAction | WizardChangeAction | WizardToStageAction;
|
113
114
|
export declare function storeIndexToPipelineIndex(stages: StageEditorState['stages'], indexInStore: number, { includeIndex }?: {
|
114
115
|
includeIndex: boolean;
|
115
116
|
}): number;
|
@@ -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,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
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,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAKlE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAWjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAiBnE,0BAAkB,sBAAsB;IACtC,iBAAiB,yEAAyE;IAC1F,wBAAwB,gFAAgF;IACxG,wBAAwB,gFAAgF;IACxG,sBAAsB,8EAA8E;IACpG,QAAQ,gEAAgE;IACxE,eAAe,uEAAuE;IACtF,aAAa,8EAA8E;IAC3F,gBAAgB,wEAAwE;IACxF,mBAAmB,2EAA2E;IAC9F,oBAAoB,4EAA4E;IAChG,mBAAmB,2EAA2E;IAC9F,UAAU,kEAAkE;IAC5E,YAAY,oEAAoE;IAChF,UAAU,kEAAkE;IAC5E,WAAW,mEAAmE;IAC9E,aAAa,qEAAqE;IAClF,aAAa,qEAAqE;IAClF,oBAAoB,4EAA4E;CACjG;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,sBAAsB,CAAC,iBAAiB,CAAC;IAC/C,EAAE,EAAE,MA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type { PipelineParserError } from './pipeline-parser/utils';
|
3
|
+
import type { Document } from 'bson';
|
3
4
|
export default class Stage {
|
4
5
|
id: number;
|
5
6
|
node: t.Expression;
|
@@ -13,6 +14,6 @@ export default class Stage {
|
|
13
14
|
changeOperator(operator: string): this;
|
14
15
|
changeDisabled(value: boolean): this;
|
15
16
|
toString(): string;
|
16
|
-
toBSON():
|
17
|
+
toBSON(): Document | null;
|
17
18
|
}
|
18
19
|
//# sourceMappingURL=stage.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/stage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAUlC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
1
|
+
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../../src/modules/pipeline-builder/stage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAUlC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAInE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAyBrC,MAAM,CAAC,OAAO,OAAO,KAAK;IACxB,EAAE,SAAW;IACb,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC;IACnB,QAAQ,UAAS;IACjB,WAAW,EAAE,mBAAmB,GAAG,IAAI,CAAQ;IAC/C,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;gBAE1B,IAAI,GAAE,CAAC,CAAC,UAAyD;IAiBnE,IAAI,OAAO,IAAI,OAAO,CAYrB;IAED,WAAW,CAAC,KAAK,EAAE,MAAM;IAgBzB,cAAc,CAAC,QAAQ,EAAE,MAAM;IAgB/B,cAAc,CAAC,KAAK,EAAE,OAAO;IAM7B,QAAQ;IAqDR,MAAM;CAMP"}
|
@@ -1,7 +1,23 @@
|
|
1
1
|
import type { Reducer } from 'redux';
|
2
2
|
import type { MongoServerError } from 'mongodb';
|
3
3
|
import type { PipelineBuilderThunkAction } from '..';
|
4
|
-
|
4
|
+
declare const enum OutputStageActionTypes {
|
5
|
+
FetchStarted = "compass-aggregations/pipeline-builder/text-editor-output-stage/FetchStarted",
|
6
|
+
FetchSucceded = "compass-aggregations/pipeline-builder/text-editor-output-stage/FetchSucceded",
|
7
|
+
FetchFailed = "compass-aggregations/pipeline-builder/text-editor-output-stage/FetchFailed"
|
8
|
+
}
|
9
|
+
type OutputStageFetchStartedAction = {
|
10
|
+
type: OutputStageActionTypes.FetchStarted;
|
11
|
+
};
|
12
|
+
type OutputStageFetchSuccededAction = {
|
13
|
+
type: OutputStageActionTypes.FetchSucceded;
|
14
|
+
};
|
15
|
+
type OutputStageFetchFailedAction = {
|
16
|
+
type: OutputStageActionTypes.FetchFailed;
|
17
|
+
serverError: MongoServerError;
|
18
|
+
};
|
19
|
+
export type OutputStageAction = OutputStageFetchStartedAction | OutputStageFetchSuccededAction | OutputStageFetchFailedAction;
|
20
|
+
export type OutputStageState = {
|
5
21
|
isLoading: boolean;
|
6
22
|
serverError: MongoServerError | null;
|
7
23
|
isComplete: boolean;
|
@@ -1 +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;
|
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;AAoBrD,mBAAW,sBAAsB;IAC/B,YAAY,gFAAgF;IAC5F,aAAa,iFAAiF;IAC9F,WAAW,+EAA+E;CAC3F;AAED,KAAK,6BAA6B,GAAG;IACnC,IAAI,EAAE,sBAAsB,CAAC,YAAY,CAAC;CAC3C,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,sBAAsB,CAAC,aAAa,CAAC;CAC5C,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,IAAI,EAAE,sBAAsB,CAAC,WAAW,CAAC;IACzC,WAAW,EAAE,gBAAgB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GACzB,6BAA6B,GAC7B,8BAA8B,GAC9B,4BAA4B,CAAC;AAEjC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,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,CAmEtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAO,2BAC5C,QAAQ,IAAI,CAAC,CAkDd,CAAC;AAEF,eAAO,MAAM,yBAAyB,QAChC,2BAA2B,IAAI,CAalC,CAAC;AAEJ,eAAe,OAAO,CAAC"}
|
@@ -30,6 +30,7 @@ type EditorPreviewFetchErrorAction = {
|
|
30
30
|
type: EditorActionTypes.EditorPreviewFetchError;
|
31
31
|
serverError: MongoServerError;
|
32
32
|
};
|
33
|
+
export type TextEditorAction = EditorPreviewFetchAction | EditorPreviewFetchErrorAction | EditorPreviewFetchSuccessAction | EditorPreviewFetchSkippedAction | EditorValueChangeAction;
|
33
34
|
export type TextEditorState = {
|
34
35
|
pipelineText: string;
|
35
36
|
pipeline: Document[];
|
@@ -40,7 +41,7 @@ export type TextEditorState = {
|
|
40
41
|
isPreviewStale: boolean;
|
41
42
|
};
|
42
43
|
declare const reducer: Reducer<TextEditorState>;
|
43
|
-
export declare function canRunPipeline(autoPreview: boolean, syntaxErrors: PipelineParserError[]): boolean;
|
44
|
+
export declare function canRunPipeline(autoPreview: boolean | undefined, syntaxErrors: PipelineParserError[]): boolean | undefined;
|
44
45
|
export declare const loadPreviewForPipeline: () => PipelineBuilderThunkAction<Promise<void>, EditorPreviewFetchAction | EditorPreviewFetchSuccessAction | EditorPreviewFetchErrorAction | EditorPreviewFetchSkippedAction>;
|
45
46
|
export declare const changeEditorValue: (newValue: string) => PipelineBuilderThunkAction<void, EditorValueChangeAction>;
|
46
47
|
export declare const expandPreviewDocs: () => PipelineBuilderThunkAction<void>;
|
@@ -1 +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,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AAQrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
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,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,0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IACrC,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAYF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,eAAe,CA+GrC,CAAC;AAEF,wBAAgB,cAAc,CAC5B,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,YAAY,EAAE,mBAAmB,EAAE,uBAGpC;AAED,eAAO,MAAM,sBAAsB,QAAO,2BACxC,QAAQ,IAAI,CAAC,EACX,wBAAwB,GACxB,+BAA+B,GAC/B,6BAA6B,GAC7B,+BAA+B,CAqElC,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAClB,MAAM,KACf,2BAA2B,IAAI,EAAE,uBAAuB,CA0B1D,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,2BAA2B,IAAI,CAYnE,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,2BAA2B,IAAI,CAYrE,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1,35 +1,41 @@
|
|
1
|
-
import type { AnyAction } from 'redux';
|
2
1
|
import type { PipelineBuilderThunkAction } from '.';
|
3
2
|
import type { SavedPipeline } from '@mongodb-js/my-queries-storage';
|
4
|
-
|
5
|
-
|
3
|
+
import type { PipelineBuilder } from './pipeline-builder/pipeline-builder';
|
4
|
+
import type { AnyAction } from 'redux';
|
5
|
+
export declare const SAVED_PIPELINE_ADD: "aggregations/saved-pipeline/ADD";
|
6
|
+
export declare const RESTORE_PIPELINE: "aggregations/saved-pipeline/RESTORE_PIPELINE";
|
7
|
+
export interface SavedPipelineAddAction {
|
8
|
+
type: typeof SAVED_PIPELINE_ADD;
|
9
|
+
pipelines: SavedPipeline[];
|
10
|
+
}
|
11
|
+
export type RestorePipelineAction = ReturnType<typeof restorePipeline>;
|
12
|
+
export type SavedPipelineAction = SavedPipelineAddAction | RestorePipelineAction;
|
6
13
|
export type SavedPipelineState = {
|
7
14
|
pipelines: SavedPipeline[];
|
8
15
|
isLoaded: boolean;
|
9
16
|
};
|
10
17
|
export declare const INITIAL_STATE: SavedPipelineState;
|
11
|
-
export default function reducer(state: SavedPipelineState | undefined, action: AnyAction):
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
type:
|
17
|
-
|
18
|
+
export default function reducer(state: SavedPipelineState | undefined, action: AnyAction): SavedPipelineState;
|
19
|
+
export declare const savedPipelineAdd: (pipelines: SavedPipeline[]) => SavedPipelineAddAction;
|
20
|
+
export declare const getSavedPipelines: () => PipelineBuilderThunkAction<void>;
|
21
|
+
export declare const updatePipelineList: () => PipelineBuilderThunkAction<void>;
|
22
|
+
declare function restorePipeline(pipelineData: SavedPipeline, pipelineBuilder: PipelineBuilder): {
|
23
|
+
type: "aggregations/saved-pipeline/RESTORE_PIPELINE";
|
24
|
+
stages: import("./pipeline-builder/stage").default[];
|
25
|
+
pipelineText: string;
|
26
|
+
pipeline: import("bson").Document[] | null;
|
27
|
+
syntaxErrors: import("./pipeline-builder/pipeline-parser/utils").PipelineParserError[];
|
28
|
+
storedOptions: {
|
18
29
|
id: string;
|
19
30
|
name: string;
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
collationString?: string | undefined;
|
25
|
-
host?: string | null | undefined;
|
26
|
-
lastModified?: Date | undefined;
|
27
|
-
}[];
|
31
|
+
collationString: string | undefined;
|
32
|
+
comments: boolean | undefined;
|
33
|
+
autoPreview: boolean | undefined;
|
34
|
+
};
|
28
35
|
};
|
29
|
-
export declare const getSavedPipelines: () => PipelineBuilderThunkAction<void>;
|
30
|
-
export declare const updatePipelineList: () => PipelineBuilderThunkAction<void>;
|
31
36
|
export declare const openStoredPipeline: (pipelineData: SavedPipeline, updatePreview?: boolean) => PipelineBuilderThunkAction<void>;
|
32
37
|
export declare const saveCurrentPipeline: () => PipelineBuilderThunkAction<void>;
|
33
38
|
export declare const confirmOpenPipeline: (pipelineData: SavedPipeline) => PipelineBuilderThunkAction<void>;
|
34
39
|
export declare const confirmDeletePipeline: (pipelineId: string) => PipelineBuilderThunkAction<void>;
|
40
|
+
export {};
|
35
41
|
//# sourceMappingURL=saved-pipeline.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"saved-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/saved-pipeline.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"saved-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/saved-pipeline.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAWpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,eAAO,MAAM,kBAAkB,mCAA2B,CAAC;AAC3D,eAAO,MAAM,gBAAgB,gDAAwC,CAAC;AAEtE,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,OAAO,kBAAkB,CAAC;IAChC,SAAS,EAAE,aAAa,EAAE,CAAC;CAC5B;AACD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AACvE,MAAM,MAAM,mBAAmB,GAC3B,sBAAsB,GACtB,qBAAqB,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAuBF,MAAM,CAAC,OAAO,UAAU,OAAO,CAC7B,KAAK,gCAAoC,EACzC,MAAM,EAAE,SAAS,sBAIlB;AAED,eAAO,MAAM,gBAAgB,cAChB,aAAa,EAAE,KACzB,sBAGD,CAAC;AAEH,eAAO,MAAM,iBAAiB,QACxB,2BAA2B,IAAI,CAIlC,CAAC;AAKJ,eAAO,MAAM,kBAAkB,QACzB,2BAA2B,IAAI,CAiBlC,CAAC;AAEJ,iBAAS,eAAe,CACtB,YAAY,EAAE,aAAa,EAC3B,eAAe,EAAE,eAAe;;;;;;;;;;;;;EAgBjC;AAKD,eAAO,MAAM,kBAAkB,iBACf,aAAa,8BAE1B,2BAA2B,IAAI,CAwBjC,CAAC;AAKF,eAAO,MAAM,mBAAmB,QAC1B,2BAA2B,IAAI,CAiDlC,CAAC;AAEJ,eAAO,MAAM,mBAAmB,iBACf,aAAa,KAAG,2BAA2B,IAAI,CAqB7D,CAAC;AAEJ,eAAO,MAAM,qBAAqB,eACnB,MAAM,KAAG,2BAA2B,IAAI,CAoBpD,CAAC"}
|
@@ -1,21 +1,39 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export const
|
4
|
-
export
|
5
|
-
|
6
|
-
|
7
|
-
const isOpen: boolean;
|
8
|
-
const name: string;
|
9
|
-
const isSaveAs: boolean;
|
1
|
+
import type { PipelineBuilderThunkAction } from '.';
|
2
|
+
import type { AnyAction } from 'redux';
|
3
|
+
export declare const SAVING_PIPELINE_NAME_CHANGED: "aggregations/saving-pipeline/NAME_CHANGED";
|
4
|
+
export interface SavingPipelineNameChangedAction {
|
5
|
+
type: typeof SAVING_PIPELINE_NAME_CHANGED;
|
6
|
+
name: string;
|
10
7
|
}
|
11
|
-
export
|
12
|
-
export
|
13
|
-
|
14
|
-
|
8
|
+
export declare const SAVING_PIPELINE_APPLY: "aggregations/saving-pipeline/APPLY";
|
9
|
+
export interface SavingPipelineApplyAction {
|
10
|
+
type: typeof SAVING_PIPELINE_APPLY;
|
11
|
+
name: string;
|
12
|
+
}
|
13
|
+
export declare const SAVING_PIPELINE_CANCEL: "aggregations/saving-pipeline/CANCEL";
|
14
|
+
export interface SavingPipelineCancelAction {
|
15
|
+
type: typeof SAVING_PIPELINE_CANCEL;
|
16
|
+
}
|
17
|
+
export declare const SAVING_PIPELINE_OPEN: "aggregations/saving-pipeline/OPEN";
|
18
|
+
export interface SavingPipelineOpenAction {
|
19
|
+
type: typeof SAVING_PIPELINE_OPEN;
|
20
|
+
name: string;
|
21
|
+
isSaveAs: boolean;
|
22
|
+
}
|
23
|
+
export type SavingPipelineAction = SavingPipelineNameChangedAction | SavingPipelineApplyAction | SavingPipelineCancelAction | SavingPipelineOpenAction;
|
24
|
+
export interface SavingPipelineState {
|
25
|
+
isOpen: boolean;
|
26
|
+
name: string;
|
27
|
+
isSaveAs: boolean;
|
28
|
+
}
|
29
|
+
export declare const INITIAL_STATE: SavingPipelineState;
|
30
|
+
export default function reducer(state: SavingPipelineState | undefined, action: AnyAction): SavingPipelineState;
|
31
|
+
export declare const savingPipelineNameChanged: (name: string) => SavingPipelineNameChangedAction;
|
32
|
+
export declare const savingPipelineApply: () => PipelineBuilderThunkAction<void, SavingPipelineApplyAction>;
|
33
|
+
export declare const savingPipelineCancel: () => SavingPipelineCancelAction;
|
34
|
+
export declare const savingPipelineOpen: ({ name, isSaveAs, }?: {
|
15
35
|
name?: string | undefined;
|
16
36
|
isSaveAs?: boolean | undefined;
|
17
|
-
})
|
18
|
-
export
|
19
|
-
pipelineBuilder: any;
|
20
|
-
}) => void;
|
37
|
+
}) => SavingPipelineOpenAction;
|
38
|
+
export declare const openCreateView: () => PipelineBuilderThunkAction<void>;
|
21
39
|
//# sourceMappingURL=saving-pipeline.d.ts.map
|