@mongodb-js/compass-aggregations 9.6.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/add-stage/add-stage.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
- package/dist/src/components/pipeline-confirm-modal/pipeline-confirm-modal.d.ts.map +1 -1
- package/dist/src/components/saved-pipelines/saved-pipeline-confirmation-modals.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-preview/output-stage-preview.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/constants.d.ts +4 -0
- package/dist/src/constants.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/dist/src/utils/stage.d.ts +0 -2
- package/dist/src/utils/stage.d.ts.map +1 -1
- package/package.json +33 -32
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"add-stage.d.ts","sourceRoot":"","sources":["../../../../src/components/add-stage/add-stage.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"add-stage.d.ts","sourceRoot":"","sources":["../../../../src/components/add-stage/add-stage.tsx"],"names":[],"mappings":";AA6BA,aAAK,aAAa,GAAG;IACnB,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,4BAA6B,aAAa,gBAkC9D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -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":"focus-mode.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoG1B,aAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAwFF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,
|
1
|
+
{"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoG1B,aAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAwFF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAuB7D,CAAC;;;;;AAUF,wBAAyD"}
|
@@ -1 +1 @@
|
|
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;
|
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;AAa1B,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,CA2B1B,CAAC;;;;;AAUF,wBAAoE"}
|
@@ -1 +1 @@
|
|
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;
|
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;AAI1B,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,CA2BA,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,CA0BA,CAAC"}
|
@@ -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 +1 @@
|
|
1
|
-
{"version":3,"file":"output-stage-preview.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/output-stage-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"output-stage-preview.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-preview/output-stage-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgD1B,aAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,6BAA6B,EAAE,OAAO,CAAC;IACvC,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,mBAAmB,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAyBF,eAAO,MAAM,WAAW,0JASrB,gBAAgB,uBAkDlB,CAAC;;;;;;AAiCF,wBAA2D"}
|
@@ -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"}
|
package/dist/src/constants.d.ts
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
export const DEFAULT_MAX_TIME_MS: 60000;
|
2
2
|
export const DEFAULT_SAMPLE_SIZE: 10;
|
3
3
|
export const DEFAULT_LARGE_LIMIT: 100000;
|
4
|
+
export const OUT_STAGE_PREVIEW_TEXT: string;
|
5
|
+
export const MERGE_STAGE_PREVIEW_TEXT: string;
|
6
|
+
export const PIPELINE_HELP_URI: "https://www.mongodb.com/docs/manual/reference/operator/aggregation-pipeline/";
|
7
|
+
export const STAGE_HELP_BASE_URL: "https://www.mongodb.com/docs/manual/reference/operator/aggregation";
|
4
8
|
//# sourceMappingURL=constants.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.js"],"names":[],"mappings":"AAGA,wCAAyC;AAKzC,qCAAsC;AAMtC,yCAA0C"}
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.js"],"names":[],"mappings":"AAGA,wCAAyC;AAKzC,qCAAsC;AAMtC,yCAA0C;AAE1C,4CAGkD;AAElD,8CAE4B;AAE5B,+GACiF;AAEjF,uGACuE"}
|
@@ -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"}
|
@@ -9,8 +9,6 @@ export function getStageInfo(namespace: string, stageOperator: string | undefine
|
|
9
9
|
destination?: string;
|
10
10
|
};
|
11
11
|
export function hasSyntaxError(stage: any): boolean;
|
12
|
-
export const OUT_STAGE_PREVIEW_TEXT: string;
|
13
|
-
export const MERGE_STAGE_PREVIEW_TEXT: string;
|
14
12
|
export function filterStageOperators({ serverVersion, env, isTimeSeries, sourceName, preferencesReadOnly, }: Object): any[];
|
15
13
|
export function getStageHelpLink(stageOperator: any): string | null;
|
16
14
|
export function getLastStageOperator(pipeline: import('mongodb').Document[]): string;
|
@@ -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":"AA2BA,mDAEC;AAuDD,wCAHW,OAAO,GACL,MAAM,GAAG,SAAS,CAI9B;AAcD,4DAJW,MAAM,SACN,OAAO,SAAS,EAAE,QAAQ,GACxB,MAAM,CAoBlB;AAyDD,6CAHW,MAAM,GACJ,OAAO,CAInB;AAOD,gDAHW,MAAM,GACJ,OAAO,CAInB;AAmBD,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,CA2BzE;AA+CD,oDAEC;AArOM,6GARI,MAAM,SAoChB;AAkHM,oEAKN;AAuCM,+CAHI,OAAO,SAAS,EAAE,QAAQ,EAAE,GAC1B,MAAM,CAKlB;AAMM,iDAHI,OAAO,SAAS,EAAE,QAAQ,EAAE,GAC1B,OAAO,CAInB;AAOM,gDAJI,MAAM,GAAG,IAAI,GAAG,SAAS,YACzB,MAAM,GAAG,IAAI,GAAG,SAAS,eACzB,OAAO,SAAS,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,WAe/D;AAMM,6CAFI,MAAM,EAAE,sBAIlB"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mongodb-js/compass-aggregations",
|
3
3
|
"productName": "Aggregations plugin",
|
4
|
-
"version": "9.
|
4
|
+
"version": "9.7.0",
|
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": "^1.0.
|
63
|
+
"@mongodb-js/eslint-config-compass": "^1.0.3",
|
64
64
|
"@mongodb-js/mocha-config-compass": "^1.0.2",
|
65
65
|
"@mongodb-js/prettier-config-compass": "^1.0.0",
|
66
66
|
"@mongodb-js/tsconfig-compass": "^1.0.1",
|
67
|
-
"@mongodb-js/webpack-config-compass": "^1.0.
|
67
|
+
"@mongodb-js/webpack-config-compass": "^1.0.6",
|
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": "^9.0.
|
79
|
+
"hadron-app-registry": "^9.0.4",
|
80
80
|
"lodash": "^4.17.21",
|
81
81
|
"mocha": "^8.4.0",
|
82
|
-
"mongodb": "^
|
83
|
-
"mongodb-data-service": "^22.
|
82
|
+
"mongodb": "^5.1.0",
|
83
|
+
"mongodb-data-service": "^22.5.0",
|
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": "^1.
|
102
|
-
"@mongodb-js/compass-crud": "^13.
|
103
|
-
"@mongodb-js/compass-editor": "^0.
|
104
|
-
"@mongodb-js/compass-logging": "^1.1.
|
105
|
-
"@mongodb-js/compass-utils": "^0.2.
|
106
|
-
"@mongodb-js/explain-plan-helper": "^1.0.
|
107
|
-
"@mongodb-js/mongodb-constants": "^0.1
|
108
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
109
|
-
"bson": "^
|
110
|
-
"compass-preferences-model": "^2.
|
111
|
-
"hadron-document": "^8.1.
|
102
|
+
"@mongodb-js/compass-components": "^1.6.0",
|
103
|
+
"@mongodb-js/compass-crud": "^13.6.0",
|
104
|
+
"@mongodb-js/compass-editor": "^0.5.0",
|
105
|
+
"@mongodb-js/compass-logging": "^1.1.3",
|
106
|
+
"@mongodb-js/compass-utils": "^0.2.2",
|
107
|
+
"@mongodb-js/explain-plan-helper": "^1.0.3",
|
108
|
+
"@mongodb-js/mongodb-constants": "^0.2.1",
|
109
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.5",
|
110
|
+
"bson": "^5.0.1",
|
111
|
+
"compass-preferences-model": "^2.6.0",
|
112
|
+
"hadron-document": "^8.1.1"
|
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": "96ec6b32140254def920e2b4a8dba9be56633f75"
|
123
124
|
}
|