@mongodb-js/compass-aggregations 0.0.0-next-014cd3f52319f9c3e62d458f4c10e0af7ae98052 → 0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c
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 -4
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +0 -4
- package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts.map +1 -1
- package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
- package/dist/src/components/saved-pipelines/saved-pipelines.d.ts +2 -4
- package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -1
- package/dist/src/components/stage-editor/stage-editor.d.ts +7 -15
- package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/index.d.ts +7 -2
- package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +4 -1
- package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
- package/dist/src/components/stage.d.ts.map +1 -1
- package/dist/src/modules/index.d.ts +0 -1
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/is-new-pipeline-confirm.d.ts +0 -10
- package/dist/src/modules/is-new-pipeline-confirm.d.ts.map +1 -1
- package/dist/src/modules/saved-pipeline.d.ts +2 -1
- package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
- package/dist/src/utils/local-storage.d.ts +3 -0
- package/dist/src/utils/local-storage.d.ts.map +1 -0
- package/package.json +36 -35
- package/dist/src/components/pipeline-confirm-modal/pipeline-confirm-modal.d.ts +0 -13
- package/dist/src/components/pipeline-confirm-modal/pipeline-confirm-modal.d.ts.map +0 -1
- package/dist/src/components/saved-pipelines/saved-pipeline-confirmation-modals.d.ts +0 -12
- package/dist/src/components/saved-pipelines/saved-pipeline-confirmation-modals.d.ts.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"focus-mode-stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-stage-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"focus-mode-stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-stage-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAiCtC,eAAO,MAAM,oBAAoB;WAIxB,MAAM;cACH,MAAM,GAAG,IAAI;wBAyBxB,CAAC;;;;;;;;AAeF,wBAAuD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/pipeline.jsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/pipeline.jsx"],"names":[],"mappings":";AAsBA;IACE,2BAAyC;IAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BE;IAEF;;;;MAIE;IA6Fg6c,wBAA8C;IAAA,sCAAyJ;IA3Fzmd;;MAEE;IAEF,kEAEE;IAEF,0DAcC;IAED,qCAUC;IAOD,oBA8CC;CACF"}
|
@@ -1,17 +1,15 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { type EditorViewType } from '../../modules/pipeline-builder/builder-helpers';
|
3
2
|
declare type SavedPipelinesProps = {
|
4
3
|
namespace: string;
|
5
4
|
savedPipelines: {
|
6
5
|
id: string;
|
7
6
|
name: string;
|
8
7
|
}[];
|
9
|
-
editor_view_type: EditorViewType;
|
10
8
|
onOpenPipeline: (pipelineId: string) => void;
|
11
9
|
onDeletePipeline: (pipelineId: string) => void;
|
12
10
|
};
|
13
|
-
export declare const SavedPipelines: ({ namespace, savedPipelines,
|
14
|
-
declare const _default: import("react-redux").ConnectedComponent<({ namespace, savedPipelines,
|
11
|
+
export declare const SavedPipelines: ({ namespace, savedPipelines, onOpenPipeline, onDeletePipeline, }: SavedPipelinesProps) => JSX.Element;
|
12
|
+
declare const _default: import("react-redux").ConnectedComponent<({ namespace, savedPipelines, onOpenPipeline, onDeletePipeline, }: SavedPipelinesProps) => JSX.Element, {
|
15
13
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
16
14
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
17
15
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"saved-pipelines.d.ts","sourceRoot":"","sources":["../../../../src/components/saved-pipelines/saved-pipelines.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"saved-pipelines.d.ts","sourceRoot":"","sources":["../../../../src/components/saved-pipelines/saved-pipelines.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAwD1B,aAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/C,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,cAAc,qEAKxB,mBAAmB,gBAwCrB,CAAC;;;;;AAWF,wBAA8D"}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { MongoServerError } from 'mongodb';
|
3
|
-
import type { CompletionWithServerInfo } from '@mongodb-js/compass-editor';
|
3
|
+
import type { AceEditor, CompletionWithServerInfo } from '@mongodb-js/compass-editor';
|
4
4
|
import type { PipelineParserError } from '../../modules/pipeline-builder/pipeline-parser/utils';
|
5
5
|
declare type StageEditorProps = {
|
6
|
-
darkMode?: boolean;
|
7
6
|
index: number;
|
8
7
|
stageOperator: string | null;
|
9
8
|
stageValue: string | null;
|
@@ -13,21 +12,14 @@ declare type StageEditorProps = {
|
|
13
12
|
serverError: MongoServerError | null;
|
14
13
|
num_stages: number;
|
15
14
|
editor_view_type: string;
|
16
|
-
className
|
15
|
+
className?: string;
|
17
16
|
onChange: (index: number, value: string) => void;
|
17
|
+
onLoad?: (editor: AceEditor) => void;
|
18
18
|
};
|
19
|
-
export declare const StageEditor:
|
20
|
-
declare const _default: import("react-redux").ConnectedComponent<
|
21
|
-
className
|
22
|
-
|
23
|
-
index: number;
|
24
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
25
|
-
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
26
|
-
} | {
|
27
|
-
ref?: React.LegacyRef<React.Component<StageEditorProps, any, any>> | undefined;
|
28
|
-
className: string;
|
29
|
-
key?: React.Key | null | undefined;
|
30
|
-
darkMode?: boolean | undefined;
|
19
|
+
export declare const StageEditor: ({ stageValue, stageOperator, index, onChange, serverError, syntaxError, className, autocompleteFields, serverVersion, num_stages, editor_view_type, onLoad, }: StageEditorProps) => JSX.Element;
|
20
|
+
declare const _default: import("react-redux").ConnectedComponent<({ stageValue, stageOperator, index, onChange, serverError, syntaxError, className, autocompleteFields, serverVersion, num_stages, editor_view_type, onLoad, }: StageEditorProps) => JSX.Element, {
|
21
|
+
className?: string | undefined;
|
22
|
+
onLoad?: ((editor: import("ace-builds").Ace.Editor) => void) | undefined;
|
31
23
|
index: number;
|
32
24
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
33
25
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-editor/stage-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAOhD,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-editor/stage-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAOhD,OAAO,KAAK,EACV,SAAS,EACT,wBAAwB,EAEzB,MAAM,4BAA4B,CAAC;AAapC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAyChG,aAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,wBAAwB,EAAE,CAAC;IAC/C,WAAW,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACxC,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAC;CACtC,CAAC;AAqBF,eAAO,MAAM,WAAW,kKAarB,gBAAgB,gBAkGlB,CAAC;;;;WAGsC,MAAM;;;;AAD9C,wBAiBe"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import { type AceEditor } from '@mongodb-js/compass-editor';
|
2
3
|
declare type StageToolbarProps = {
|
3
4
|
index: number;
|
4
5
|
isAutoPreviewing?: boolean;
|
@@ -6,11 +7,15 @@ declare type StageToolbarProps = {
|
|
6
7
|
hasServerError?: boolean;
|
7
8
|
isCollapsed?: boolean;
|
8
9
|
isDisabled?: boolean;
|
9
|
-
|
10
|
+
onFocusModeClicked: () => void;
|
11
|
+
onOpenFocusMode: () => void;
|
12
|
+
editorRef: React.RefObject<AceEditor | undefined>;
|
10
13
|
};
|
11
|
-
export declare function StageToolbar({ index, hasSyntaxError, hasServerError, isCollapsed, isDisabled,
|
14
|
+
export declare function StageToolbar({ index, hasSyntaxError, hasServerError, isCollapsed, isDisabled, onOpenFocusMode, editorRef, }: StageToolbarProps): JSX.Element;
|
12
15
|
declare const _default: import("react-redux").ConnectedComponent<typeof StageToolbar, {
|
13
16
|
index: number;
|
17
|
+
editorRef: React.RefObject<import("ace-builds").Ace.Editor | undefined>;
|
18
|
+
onFocusModeClicked: () => void;
|
14
19
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
15
20
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
16
21
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAyE5D,aAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;CACnD,CAAC;AAMF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,cAAc,EACd,cAAc,EACd,WAAW,EACX,UAAU,EACV,eAAe,EACf,SAAS,GACV,EAAE,iBAAiB,eAyCnB;;;;;;;;AAOD,wBAiBgB"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import { type AceEditor } from '@mongodb-js/compass-editor';
|
2
3
|
declare type StageOperatorSelectProps = {
|
3
4
|
onChange: (index: number, name: string | null) => void;
|
4
5
|
index: number;
|
@@ -25,10 +26,12 @@ declare type EnvAwareStageOperatorSelectProps = {
|
|
25
26
|
};
|
26
27
|
onChange: (index: number, name: string) => void;
|
27
28
|
index: number;
|
29
|
+
editorRef: React.RefObject<AceEditor | undefined>;
|
28
30
|
};
|
29
|
-
declare function EnvAwareStageOperatorSelect({ envInfo: { serverVersion, env, isTimeSeries, isReadonly, sourceName }, stage, onChange, index, }: EnvAwareStageOperatorSelectProps): JSX.Element;
|
31
|
+
declare function EnvAwareStageOperatorSelect({ envInfo: { serverVersion, env, isTimeSeries, isReadonly, sourceName }, stage, onChange, index, editorRef, }: EnvAwareStageOperatorSelectProps): JSX.Element;
|
30
32
|
declare const _default: import("react-redux").ConnectedComponent<typeof EnvAwareStageOperatorSelect, {
|
31
33
|
index: number;
|
34
|
+
editorRef: React.RefObject<import("ace-builds").Ace.Editor | undefined>;
|
32
35
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
33
36
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
34
37
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage-operator-select.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/stage-operator-select.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"stage-operator-select.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/stage-operator-select.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAiC5D,aAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;KACrB,EAAE,CAAC;CACL,CAAC;AAGF,eAAO,MAAM,mBAAmB,4DAM7B,wBAAwB,gBAkC1B,CAAC;AAEF,aAAK,gCAAgC,GAAG;IACtC,OAAO,EAAE;QACP,aAAa,EAAE,MAAM,CAAC;QACtB,GAAG,EAAE,MAAM,CAAC;QACZ,YAAY,EAAE,OAAO,CAAC;QACtB,UAAU,EAAE,OAAO,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,KAAK,EAAE;QACL,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;IACF,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;CACnD,CAAC;AACF,iBAAS,2BAA2B,CAAC,EACnC,OAAO,EAAE,EAAE,aAAa,EAAE,GAAG,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,EACrE,KAAK,EACL,QAAQ,EACR,KAAK,EACL,SAAS,GACV,EAAE,gCAAgC,eAmClC;;WAGuC,MAAM;;;;;AAD9C,wBAc+B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AA6IxE,oBAAY,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AA6BF,iBAAS,KAAK,CAAC,EACb,EAAE,EACF,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,GACjB,EAAE,UAAU,eAsFZ;;;;;;AAMD,wBAUU"}
|
@@ -48,7 +48,6 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
48
48
|
editViewName: any;
|
49
49
|
sourceName: any;
|
50
50
|
outResultsFn: any;
|
51
|
-
isNewPipelineConfirm: any;
|
52
51
|
updateViewError: any;
|
53
52
|
aggregation: import("./aggregation").State;
|
54
53
|
workspace: import("./workspace").Workspace;
|
@@ -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;
|
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;AAqC/C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AASjE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAqCf,CAAC;AAEH,oBAAY,SAAS,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AACvD,oBAAY,wBAAwB,GAAG;IACrC,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE,eAAe,CAAC;CAClC,CAAC;AAEF,oBAAY,4BAA4B,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,IACnE,aAAa,CAAC,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAExD,oBAAY,0BAA0B,CACpC,CAAC,EACD,CAAC,SAAS,MAAM,GAAG,SAAS,IAC1B,WAAW,CAAC,CAAC,EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAE3D,eAAe,WAAW,CAAC"}
|
@@ -1,16 +1,6 @@
|
|
1
|
-
import type { AnyAction } from 'redux';
|
2
1
|
import type { PipelineBuilderThunkAction } from '.';
|
3
2
|
export declare enum ActionTypes {
|
4
|
-
ToggleConfirmNewPipeline = "compass-aggregations/is-new-pipeline-confirm/toggleConfirmNewPipeline",
|
5
3
|
NewPipelineConfirmed = "compass-aggregations/is-new-pipeline-confirm/newPipelineConfirmed"
|
6
4
|
}
|
7
|
-
declare type SetConfirmNewPipelineAction = {
|
8
|
-
type: ActionTypes.ToggleConfirmNewPipeline;
|
9
|
-
confirm: boolean;
|
10
|
-
};
|
11
|
-
export declare const INITIAL_STATE = false;
|
12
|
-
export default function reducer(state: boolean | undefined, action: AnyAction): any;
|
13
|
-
export declare const toggleNewPipelineModal: (confirm: boolean) => SetConfirmNewPipelineAction;
|
14
5
|
export declare const confirmNewPipeline: () => PipelineBuilderThunkAction<void>;
|
15
|
-
export {};
|
16
6
|
//# 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,
|
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;AAMpD,oBAAY,WAAW;IACrB,oBAAoB,sEAAsE;CAC3F;AAKD,eAAO,MAAM,kBAAkB,QACzB,2BAA2B,IAAI,CAuBlC,CAAC"}
|
@@ -22,7 +22,8 @@ export declare const savedPipelineAdd: (pipelines: StoredPipeline[]) => {
|
|
22
22
|
};
|
23
23
|
export declare const getSavedPipelines: () => PipelineBuilderThunkAction<void>;
|
24
24
|
export declare const updatePipelineList: () => PipelineBuilderThunkAction<void>;
|
25
|
-
export declare const deletePipelineById: (pipelineId: string) => PipelineBuilderThunkAction<Promise<void>>;
|
26
25
|
export declare const openPipelineById: (id: string) => PipelineBuilderThunkAction<Promise<void>>;
|
27
26
|
export declare const saveCurrentPipeline: () => PipelineBuilderThunkAction<void>;
|
27
|
+
export declare const confirmOpenPipeline: (pipelineId: string) => PipelineBuilderThunkAction<void>;
|
28
|
+
export declare const confirmDeletePipeline: (pipelineId: string) => PipelineBuilderThunkAction<void>;
|
28
29
|
//# 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":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"saved-pipeline.d.ts","sourceRoot":"","sources":["../../../src/modules/saved-pipeline.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAgBhE,eAAO,MAAM,wBAAwB,QAAuB,CAAC;AAC7D,eAAO,MAAM,kBAAkB,QAAkB,CAAC;AAClD,eAAO,MAAM,gBAAgB,QAA+B,CAAC;AAE7D,oBAAY,kBAAkB,GAAG;IAC/B,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAI3B,CAAC;AAuBF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,gCAAgB,EAAE,MAAM,EAAE,SAAS;;;;EAGvE;AAED,eAAO,MAAM,qBAAqB,SACzB,OAAO,KAAG,2BAA2B,IAAI,CAS/C,CAAC;AAEJ,eAAO,MAAM,gBAAgB,cAAe,cAAc,EAAE;;;CAG1D,CAAC;AAEH,eAAO,MAAM,iBAAiB,QACxB,2BAA2B,IAAI,CAIlC,CAAC;AAKJ,eAAO,MAAM,kBAAkB,QACzB,2BAA2B,IAAI,CAiBlC,CAAC;AAKJ,eAAO,MAAM,gBAAgB,OACvB,MAAM,KACT,2BAA2B,QAAQ,IAAI,CAAC,CAiC1C,CAAC;AAKF,eAAO,MAAM,mBAAmB,QAC1B,2BAA2B,IAAI,CAiDlC,CAAC;AAEJ,eAAO,MAAM,mBAAmB,eACjB,MAAM,KAAG,2BAA2B,IAAI,CAqBpD,CAAC;AAEJ,eAAO,MAAM,qBAAqB,eACnB,MAAM,KAAG,2BAA2B,IAAI,CAoBpD,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/local-storage.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,QAAO,OAE3C,CAAC;AAEF,eAAO,MAAM,2BAA2B,QAAO,IAE9C,CAAC"}
|
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-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
5
5
|
"apiVersion": "3.0.0",
|
6
6
|
"description": "Compass Aggregation Pipeline Builder",
|
7
7
|
"main": "dist/index.js",
|
@@ -35,21 +35,21 @@
|
|
35
35
|
"test-ci": "npm run test-cov",
|
36
36
|
"test-ci-electron": "npm run test-electron",
|
37
37
|
"prettier": "prettier",
|
38
|
-
"reformat": "npm run prettier -- --write ."
|
38
|
+
"reformat": "npm run prettier -- --write . && npm run eslint . --fix"
|
39
39
|
},
|
40
40
|
"license": "SSPL",
|
41
41
|
"peerDependencies": {
|
42
|
-
"@mongodb-js/compass-components": "^1.
|
43
|
-
"@mongodb-js/compass-crud": "^13.
|
44
|
-
"@mongodb-js/compass-editor": "^0.
|
45
|
-
"@mongodb-js/compass-logging": "^1.1.
|
46
|
-
"@mongodb-js/compass-utils": "^0.2.
|
47
|
-
"@mongodb-js/explain-plan-helper": "^1.0.
|
48
|
-
"@mongodb-js/mongodb-constants": "^0.1
|
49
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
50
|
-
"bson": "^
|
51
|
-
"compass-preferences-model": "^2.
|
52
|
-
"hadron-document": "^8.1.
|
42
|
+
"@mongodb-js/compass-components": "^1.6.0",
|
43
|
+
"@mongodb-js/compass-crud": "^13.6.0",
|
44
|
+
"@mongodb-js/compass-editor": "^0.5.0",
|
45
|
+
"@mongodb-js/compass-logging": "^1.1.3",
|
46
|
+
"@mongodb-js/compass-utils": "^0.2.2",
|
47
|
+
"@mongodb-js/explain-plan-helper": "^1.0.3",
|
48
|
+
"@mongodb-js/mongodb-constants": "^0.2.1",
|
49
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.5",
|
50
|
+
"bson": "^5.0.1",
|
51
|
+
"compass-preferences-model": "^2.6.0",
|
52
|
+
"hadron-document": "^8.1.1",
|
53
53
|
"react": "^17.0.2"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
@@ -60,11 +60,11 @@
|
|
60
60
|
"@dnd-kit/sortable": "^7.0.2",
|
61
61
|
"@dnd-kit/utilities": "^3.2.1",
|
62
62
|
"@electron/remote": "^2.0.9",
|
63
|
-
"@mongodb-js/eslint-config-compass": "0.0.0-next-
|
64
|
-
"@mongodb-js/mocha-config-compass": "0.0.0-next-
|
65
|
-
"@mongodb-js/prettier-config-compass": "0.0.0-next-
|
66
|
-
"@mongodb-js/tsconfig-compass": "0.0.0-next-
|
67
|
-
"@mongodb-js/webpack-config-compass": "0.0.0-next-
|
63
|
+
"@mongodb-js/eslint-config-compass": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
64
|
+
"@mongodb-js/mocha-config-compass": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
65
|
+
"@mongodb-js/prettier-config-compass": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
66
|
+
"@mongodb-js/tsconfig-compass": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
67
|
+
"@mongodb-js/webpack-config-compass": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
68
68
|
"@testing-library/react": "^12.1.4",
|
69
69
|
"@testing-library/user-event": "^13.5.0",
|
70
70
|
"@types/lodash": "^4.14.188",
|
@@ -72,23 +72,24 @@
|
|
72
72
|
"chai": "^4.3.6",
|
73
73
|
"debug": "^4.2.0",
|
74
74
|
"depcheck": "^1.4.1",
|
75
|
-
"ejson-shell-parser": "^1.2.
|
75
|
+
"ejson-shell-parser": "^1.2.1",
|
76
76
|
"electron": "^22.0.2",
|
77
77
|
"enzyme": "^3.11.0",
|
78
78
|
"eslint": "^7.25.0",
|
79
|
-
"hadron-app-registry": "0.0.0-next-
|
79
|
+
"hadron-app-registry": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
80
80
|
"lodash": "^4.17.21",
|
81
81
|
"mocha": "^8.4.0",
|
82
|
-
"mongodb": "^
|
83
|
-
"mongodb-data-service": "0.0.0-next-
|
82
|
+
"mongodb": "^5.1.0",
|
83
|
+
"mongodb-data-service": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
84
84
|
"mongodb-ns": "^2.4.0",
|
85
|
-
"mongodb-query-parser": "^2.4.
|
85
|
+
"mongodb-query-parser": "^2.4.8",
|
86
86
|
"nyc": "^15.1.0",
|
87
87
|
"prettier": "^2.7.1",
|
88
88
|
"prop-types": "^15.7.2",
|
89
89
|
"re-resizable": "^6.9.0",
|
90
90
|
"react": "^17.0.2",
|
91
91
|
"react-dom": "^17.0.2",
|
92
|
+
"react-intersection-observer": "^8.34.0",
|
92
93
|
"react-redux": "^8.0.5",
|
93
94
|
"redux": "^4.2.0",
|
94
95
|
"redux-thunk": "^2.3.0",
|
@@ -98,17 +99,17 @@
|
|
98
99
|
"xvfb-maybe": "^0.2.1"
|
99
100
|
},
|
100
101
|
"dependencies": {
|
101
|
-
"@mongodb-js/compass-components": "0.0.0-next-
|
102
|
-
"@mongodb-js/compass-crud": "0.0.0-next-
|
103
|
-
"@mongodb-js/compass-editor": "0.0.0-next-
|
104
|
-
"@mongodb-js/compass-logging": "0.0.0-next-
|
105
|
-
"@mongodb-js/compass-utils": "0.0.0-next-
|
106
|
-
"@mongodb-js/explain-plan-helper": "0.0.0-next-
|
107
|
-
"@mongodb-js/mongodb-constants": "^0.1
|
108
|
-
"@mongodb-js/mongodb-redux-common": "0.0.0-next-
|
109
|
-
"bson": "^
|
110
|
-
"compass-preferences-model": "0.0.0-next-
|
111
|
-
"hadron-document": "0.0.0-next-
|
102
|
+
"@mongodb-js/compass-components": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
103
|
+
"@mongodb-js/compass-crud": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
104
|
+
"@mongodb-js/compass-editor": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
105
|
+
"@mongodb-js/compass-logging": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
106
|
+
"@mongodb-js/compass-utils": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
107
|
+
"@mongodb-js/explain-plan-helper": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
108
|
+
"@mongodb-js/mongodb-constants": "^0.2.1",
|
109
|
+
"@mongodb-js/mongodb-redux-common": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
110
|
+
"bson": "^5.0.1",
|
111
|
+
"compass-preferences-model": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c",
|
112
|
+
"hadron-document": "0.0.0-next-7675c98b3881009dcc19690b66a6e63e65e1a13c"
|
112
113
|
},
|
113
114
|
"homepage": "https://github.com/mongodb-js/compass",
|
114
115
|
"bugs": {
|
@@ -119,5 +120,5 @@
|
|
119
120
|
"type": "git",
|
120
121
|
"url": "https://github.com/mongodb-js/compass.git"
|
121
122
|
},
|
122
|
-
"gitHead": "
|
123
|
+
"gitHead": "7675c98b3881009dcc19690b66a6e63e65e1a13c"
|
123
124
|
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
declare type PipelineConfirmModalProps = {
|
3
|
-
isModalOpen: boolean;
|
4
|
-
onCloseModal: () => void;
|
5
|
-
onConfirmNewPipeline: () => void;
|
6
|
-
};
|
7
|
-
export declare const PipelineConfirmModal: React.FunctionComponent<PipelineConfirmModalProps>;
|
8
|
-
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineConfirmModalProps>, {
|
9
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
10
|
-
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
11
|
-
}>;
|
12
|
-
export default _default;
|
13
|
-
//# sourceMappingURL=pipeline-confirm-modal.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pipeline-confirm-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-confirm-modal/pipeline-confirm-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,aAAK,yBAAyB,GAAG;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,oBAAoB,EAAE,MAAM,IAAI,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAAiB,CACxD,yBAAyB,CAgB1B,CAAC;;;;;AAUF,wBAAoE"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare const OpenPipelineConfirmationModal: React.FunctionComponent<{
|
3
|
-
isOpen: boolean;
|
4
|
-
onCancel: () => void;
|
5
|
-
onConfirm: () => void;
|
6
|
-
}>;
|
7
|
-
export declare const DeletePipelineConfirmationModal: React.FunctionComponent<{
|
8
|
-
isOpen: boolean;
|
9
|
-
onCancel: () => void;
|
10
|
-
onConfirm: () => void;
|
11
|
-
}>;
|
12
|
-
//# sourceMappingURL=saved-pipeline-confirmation-modals.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"saved-pipeline-confirmation-modals.d.ts","sourceRoot":"","sources":["../../../../src/components/saved-pipelines/saved-pipeline-confirmation-modals.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAClE,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAgBA,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACpE,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAeA,CAAC"}
|