@mongodb-js/compass-aggregations 9.16.1 → 9.18.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/index.js +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/search/text-search.d.ts +21 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/search/text-search.d.ts.map +1 -0
- package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts +6 -2
- package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-ai.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/index.d.ts +7 -9
- package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
- package/dist/src/components/stage-wizard/index.d.ts.map +1 -1
- package/dist/src/modules/index.d.ts +5 -0
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/search-indexes.d.ts +26 -0
- package/dist/src/modules/search-indexes.d.ts.map +1 -0
- package/dist/src/stores/store.d.ts +6 -0
- package/dist/src/stores/store.d.ts.map +1 -1
- package/dist/src/utils/insights.d.ts +2 -1
- package/dist/src/utils/insights.d.ts.map +1 -1
- package/dist/src/utils/pipeline-storage.d.ts.map +1 -1
- package/package.json +32 -30
@@ -12,6 +12,7 @@ export type StageWizardUseCase = {
|
|
12
12
|
stageOperator: string;
|
13
13
|
wizardComponent: React.FunctionComponent<WizardComponentProps>;
|
14
14
|
serverVersion?: string;
|
15
|
+
isAtlasOnly?: boolean;
|
15
16
|
};
|
16
17
|
export declare const STAGE_WIZARD_USE_CASES: StageWizardUseCase[];
|
17
18
|
export { UseCaseCard };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/index.ts"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/index.ts"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAS1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG,WAAW,EAAE,CAAC;AAE9C,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EAmDtD,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/search/text-search.d.ts
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { SearchIndex } from 'mongodb-data-service';
|
3
|
+
import type { WizardComponentProps } from '..';
|
4
|
+
import { type SearchIndexesStatus } from '../../../../modules/search-indexes';
|
5
|
+
export declare const TextSearch: ({ fields, onChange, indexes, indexesStatus, onFetchIndexes, }: WizardComponentProps & {
|
6
|
+
indexes: SearchIndex[];
|
7
|
+
indexesStatus: SearchIndexesStatus;
|
8
|
+
onFetchIndexes: () => void;
|
9
|
+
}) => JSX.Element;
|
10
|
+
declare const _default: import("react-redux").ConnectedComponent<({ fields, onChange, indexes, indexesStatus, onFetchIndexes, }: WizardComponentProps & {
|
11
|
+
indexes: SearchIndex[];
|
12
|
+
indexesStatus: "INITIAL" | "LOADING" | "READY" | "ERROR";
|
13
|
+
onFetchIndexes: () => void;
|
14
|
+
}) => JSX.Element, {
|
15
|
+
onChange: (value: string, validationError: Error | null) => void;
|
16
|
+
fields: import("..").StageWizardFields;
|
17
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
18
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
19
|
+
}>;
|
20
|
+
export default _default;
|
21
|
+
//# sourceMappingURL=text-search.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"text-search.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/search/text-search.tsx"],"names":[],"mappings":"AAUA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE/C,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,oCAAoC,CAAC;AA6E5C,eAAO,MAAM,UAAU;aAOZ,WAAW,EAAE;mBACP,mBAAmB;oBAClB,MAAM,IAAI;iBAkJ3B,CAAC;;;;;;;;;;;AAEF,wBAQc"}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import type { Signal } from '@mongodb-js/compass-components';
|
2
1
|
import React from 'react';
|
2
|
+
import type { StoreStage } from '../../modules/pipeline-builder/stage-editor';
|
3
|
+
import type { ServerEnvironment } from '../../modules/env';
|
3
4
|
type Stage = {
|
4
5
|
idxInStore: number;
|
5
6
|
stageOperator: string | null;
|
@@ -8,7 +9,10 @@ type FocusModeModalHeaderProps = {
|
|
8
9
|
stageIndex: number;
|
9
10
|
isEnabled: boolean;
|
10
11
|
stages: Stage[];
|
11
|
-
|
12
|
+
stage?: StoreStage;
|
13
|
+
env: ServerEnvironment;
|
14
|
+
isSearchIndexesSupported: boolean;
|
15
|
+
onCreateSearchIndex: () => void;
|
12
16
|
onStageSelect: (index: number) => void;
|
13
17
|
onStageDisabledToggleClick: (index: number, newVal: boolean) => void;
|
14
18
|
onAddStageClick: (index: number) => void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"focus-mode-modal-header.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-modal-header.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"focus-mode-modal-header.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-modal-header.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAQjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAI9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,GAAG,EAAE,iBAAiB,CAAC;IACvB,wBAAwB,EAAE,OAAO,CAAC;IAClC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrE,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,CAAC;AAgDF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAAiB,CACxD,yBAAyB,CA6O1B,CAAC;;;;;AAEF,wBAmCwB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-ai.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-toolbar/pipeline-ai.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"pipeline-ai.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-toolbar/pipeline-ai.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAoCjD,KAAK,eAAe,GAAG;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,IAAI,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,IAAI,IAAI,CAAC;IACxB,+BAA+B,EAAE,OAAO,CAAC;IACzC,sCAAsC,IAAI,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CA8C/D,CAAC;AAEF,QAAA,MAAM,mBAAmB;;;EAqBZ,CAAC;AAEd,eAAe,mBAAmB,CAAC"}
|
@@ -1,18 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type {
|
2
|
+
import type { StoreStage } from '../../modules/pipeline-builder/stage-editor';
|
3
|
+
import type { ServerEnvironment } from '../../modules/env';
|
3
4
|
type StageToolbarProps = {
|
4
5
|
index: number;
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
isCollapsed?: boolean;
|
10
|
-
isDisabled?: boolean;
|
11
|
-
insight?: Signal;
|
6
|
+
stage: StoreStage;
|
7
|
+
env: ServerEnvironment;
|
8
|
+
isSearchIndexesSupported: boolean;
|
9
|
+
onCreateSearchIndex: () => void;
|
12
10
|
onOpenFocusMode: (index: number) => void;
|
13
11
|
onStageOperatorChange?: (index: number, name: string | null, snippet?: string) => void;
|
14
12
|
};
|
15
|
-
export declare function StageToolbar({ index,
|
13
|
+
export declare function StageToolbar({ index, stage, env, isSearchIndexesSupported, onCreateSearchIndex, onOpenFocusMode, onStageOperatorChange, }: StageToolbarProps): JSX.Element;
|
16
14
|
declare const _default: import("react-redux").ConnectedComponent<typeof StageToolbar, {
|
17
15
|
index: number;
|
18
16
|
onStageOperatorChange?: ((index: number, name: string | null, snippet?: string | undefined) => void) | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAoBvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAG9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAsE3D,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,UAAU,CAAC;IAClB,GAAG,EAAE,iBAAiB,CAAC;IACvB,wBAAwB,EAAE,OAAO,CAAC;IAClC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAEhC,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,qBAAqB,CAAC,EAAE,CACtB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,OAAO,CAAC,EAAE,MAAM,KACb,IAAI,CAAC;CACX,CAAC;AAMF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,GAAG,EACH,wBAAwB,EACxB,mBAAmB,EACnB,eAAe,EACf,qBAAqB,GACtB,EAAE,iBAAiB,eAwDnB;;;;;;;AAID,wBAoBgB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-wizard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-wizard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAW9D,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAM,kDAAkD,CAAC;AAe1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2EAA2E,CAAC;AA+C/G,KAAK,gBAAgB,GAAG,aAAa,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,WAAW,oGAUrB,gBAAgB,uBA4ElB,CAAC;;;;;;;;;AAMF,wBAyDe"}
|
@@ -80,6 +80,11 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
80
80
|
insights: {
|
81
81
|
isCollectionScan: boolean;
|
82
82
|
};
|
83
|
+
searchIndexes: {
|
84
|
+
isSearchIndexesSupported: boolean;
|
85
|
+
indexes: import("mongodb-data-service").SearchIndex[];
|
86
|
+
status: "INITIAL" | "LOADING" | "READY" | "ERROR";
|
87
|
+
};
|
83
88
|
}>, Action<any>>;
|
84
89
|
export type RootState = ReturnType<typeof rootReducer>;
|
85
90
|
export type PipelineBuilderExtraArgs = {
|
@@ -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;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAiCvE,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;
|
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;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAiCvE,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;AAajE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAsCf,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AACvD,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE,eAAe,CAAC;IACjC,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,4BAA4B,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,IACnE,aAAa,CAAC,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAExD,MAAM,MAAM,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"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import type { Reducer } from 'redux';
|
2
|
+
import type { PipelineBuilderThunkAction } from '.';
|
3
|
+
import type { SearchIndex } from 'mongodb-data-service';
|
4
|
+
declare enum SearchIndexesStatuses {
|
5
|
+
INITIAL = "INITIAL",
|
6
|
+
LOADING = "LOADING",
|
7
|
+
READY = "READY",
|
8
|
+
ERROR = "ERROR"
|
9
|
+
}
|
10
|
+
export type SearchIndexesStatus = keyof typeof SearchIndexesStatuses;
|
11
|
+
export declare enum ActionTypes {
|
12
|
+
FetchIndexesStarted = "compass-aggregations/search-indexes/FetchIndexesStarted",
|
13
|
+
FetchIndexesFinished = "compass-aggregations/search-indexes/FetchIndexesFinished",
|
14
|
+
FetchIndexesFailed = "compass-aggregations/search-indexes/FetchIndexesFailed"
|
15
|
+
}
|
16
|
+
type State = {
|
17
|
+
isSearchIndexesSupported: boolean;
|
18
|
+
indexes: SearchIndex[];
|
19
|
+
status: SearchIndexesStatus;
|
20
|
+
};
|
21
|
+
export declare const INITIAL_STATE: State;
|
22
|
+
declare const reducer: Reducer<State>;
|
23
|
+
export declare const fetchIndexes: () => PipelineBuilderThunkAction<Promise<void>>;
|
24
|
+
export declare const createSearchIndex: () => PipelineBuilderThunkAction<void>;
|
25
|
+
export default reducer;
|
26
|
+
//# sourceMappingURL=search-indexes.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"search-indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/search-indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,OAAO,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,aAAK,qBAAqB;IACxB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAErE,oBAAY,WAAW;IACrB,mBAAmB,4DAA4D;IAC/E,oBAAoB,6DAA6D;IACjF,kBAAkB,2DAA2D;CAC9E;AAeD,KAAK,KAAK,GAAG;IACX,wBAAwB,EAAE,OAAO,CAAC;IAClC,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CA8B3B,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,2BAA2B,QAAQ,IAAI,CAAC,CAgCvE,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,2BAA2B,IAAI,CAInE,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -34,6 +34,7 @@ export type ConfigureStoreOptions = {
|
|
34
34
|
collections: CollectionInfo[];
|
35
35
|
pipelineStorage: PipelineStorage;
|
36
36
|
atlasService: AtlasService;
|
37
|
+
isSearchIndexesSupported: boolean;
|
37
38
|
}>;
|
38
39
|
declare const configureStore: (options: ConfigureStoreOptions) => Store<import("redux").EmptyObject & {
|
39
40
|
appRegistry: unknown;
|
@@ -112,6 +113,11 @@ declare const configureStore: (options: ConfigureStoreOptions) => Store<import("
|
|
112
113
|
insights: {
|
113
114
|
isCollectionScan: boolean;
|
114
115
|
};
|
116
|
+
searchIndexes: {
|
117
|
+
isSearchIndexesSupported: boolean;
|
118
|
+
indexes: import("mongodb-data-service").SearchIndex[];
|
119
|
+
status: "INITIAL" | "LOADING" | "READY" | "ERROR";
|
120
|
+
};
|
115
121
|
}, import("redux").Action<any>> & {
|
116
122
|
dispatch: import("redux-thunk").ThunkDispatch<any, {
|
117
123
|
pipelineBuilder: PipelineBuilder;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAKnC,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAKlE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAE/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAM5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAK1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAKnC,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAKlE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAE/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAM5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAK1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAIpE,MAAM,MAAM,qBAAqB,GAAG;IAIlC,YAAY,EAAE;QACZ,YAAY,EAAE,IAAI,CAChB,WAAW,EACX,eAAe,GAAG,gBAAgB,GAAG,WAAW,GAAG,qBAAqB,CACzE,GAEC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC,CAAC;QACjD,KAAK,CAAC,EAAE,KAAK,CAAC;KACf,CAAC;IAIF,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC;IAMV,gBAAgB,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC;IAMhE,iBAAiB,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC;IAIjE,UAAU,EAAE,MAAM,CAAC;IAInB,aAAa,EAAE,MAAM,CAAC;IAKtB,YAAY,EAAE,OAAO,CAAC;IAKtB,UAAU,EAAE,OAAO,CAAC;IAKpB,GAAG,EAAE,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAIhC,eAAe,EAAE,OAAO,GAAG,IAAI,CAAC;IAIhC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAM3B,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAK1C,WAAW,EAAE,cAAc,CAAC;IAM5B,YAAY,EAAE,MAAM,CAAC;IAMrB,cAAc,EAAE,OAAO,EAAE,CAAC;IAK1B,QAAQ,EAAE,OAAO,EAAE,CAAC;IAIpB,YAAY,EAAE,MAAM,CAAC;IAKrB,WAAW,EAAE,cAAc,EAAE,CAAC;IAI9B,eAAe,EAAE,eAAe,CAAC;IAIjC,YAAY,EAAE,YAAY,CAAC;IAI3B,wBAAwB,EAAE,OAAO,CAAC;CACnC,CAAC,CAAC;AAEH,QAAA,MAAM,cAAc,YAAa,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuLrD,CAAC;AAiDF,eAAe,cAAc,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type Signal } from '@mongodb-js/compass-components';
|
2
2
|
import type { StoreStage } from '../modules/pipeline-builder/stage-editor';
|
3
|
-
|
3
|
+
import type { ServerEnvironment } from '../modules/env';
|
4
|
+
export declare const getInsightForStage: ({ stageOperator, value }: StoreStage, env: ServerEnvironment, isSearchIndexesSupported: boolean, onCreateSearchIndex: () => void) => Signal | undefined;
|
4
5
|
//# sourceMappingURL=insights.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"insights.d.ts","sourceRoot":"","sources":["../../../src/utils/insights.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,MAAM,EACZ,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;
|
1
|
+
{"version":3,"file":"insights.d.ts","sourceRoot":"","sources":["../../../src/utils/insights.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,MAAM,EACZ,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,eAAO,MAAM,kBAAkB,6BACH,UAAU,OAC/B,iBAAiB,4BACI,OAAO,uBACZ,MAAM,IAAI,KAC9B,MAAM,GAAG,SAoBX,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/pipeline-storage.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"pipeline-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/pipeline-storage.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,CAAC,EAAE,MAAM,+BAA+B,CAAC;AA0C5D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmChB,CAAC;AAEL,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7D,KAAK,gBAAgB,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAEzE,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAkC;gBAC/C,QAAQ,CAAC,EAAE,MAAM;IAO7B,OAAO,CAAC,UAAU;IAOZ,OAAO,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;YAY5B,OAAO;IAKf,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB;;;;;;;;;;;YAW/C,MAAM;IAQd,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,gBAAgB,CAAC;;;;;;;;;;;IASlE,MAAM,CAAC,EAAE,EAAE,MAAM;CAGxB"}
|
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.18.0",
|
5
5
|
"apiVersion": "3.0.0",
|
6
6
|
"description": "Compass Aggregation Pipeline Builder",
|
7
7
|
"main": "dist/index.js",
|
@@ -38,19 +38,20 @@
|
|
38
38
|
},
|
39
39
|
"license": "SSPL",
|
40
40
|
"peerDependencies": {
|
41
|
-
"@mongodb-js/atlas-service": "^0.
|
42
|
-
"@mongodb-js/compass-components": "^1.
|
43
|
-
"@mongodb-js/compass-crud": "^13.
|
44
|
-
"@mongodb-js/compass-editor": "^0.
|
45
|
-
"@mongodb-js/compass-
|
46
|
-
"@mongodb-js/compass-
|
47
|
-
"@mongodb-js/compass-
|
48
|
-
"@mongodb-js/
|
49
|
-
"@mongodb-js/
|
50
|
-
"@mongodb-js/mongodb-
|
41
|
+
"@mongodb-js/atlas-service": "^0.8.0",
|
42
|
+
"@mongodb-js/compass-components": "^1.17.0",
|
43
|
+
"@mongodb-js/compass-crud": "^13.17.0",
|
44
|
+
"@mongodb-js/compass-editor": "^0.16.0",
|
45
|
+
"@mongodb-js/compass-generative-ai": "^0.3.0",
|
46
|
+
"@mongodb-js/compass-logging": "^1.2.3",
|
47
|
+
"@mongodb-js/compass-user-data": "^0.1.6",
|
48
|
+
"@mongodb-js/compass-utils": "^0.5.2",
|
49
|
+
"@mongodb-js/explain-plan-helper": "^1.1.3",
|
50
|
+
"@mongodb-js/mongodb-constants": "^0.8.6",
|
51
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.13",
|
51
52
|
"bson": "^6.0.0",
|
52
|
-
"compass-preferences-model": "^2.15.
|
53
|
-
"hadron-document": "^8.4.
|
53
|
+
"compass-preferences-model": "^2.15.3",
|
54
|
+
"hadron-document": "^8.4.2",
|
54
55
|
"hadron-type-checker": "^7.1.0",
|
55
56
|
"react": "^17.0.2"
|
56
57
|
},
|
@@ -61,11 +62,11 @@
|
|
61
62
|
"@dnd-kit/core": "^6.0.7",
|
62
63
|
"@dnd-kit/sortable": "^7.0.2",
|
63
64
|
"@dnd-kit/utilities": "^3.2.1",
|
64
|
-
"@mongodb-js/eslint-config-compass": "^1.0.
|
65
|
+
"@mongodb-js/eslint-config-compass": "^1.0.10",
|
65
66
|
"@mongodb-js/mocha-config-compass": "^1.3.1",
|
66
67
|
"@mongodb-js/prettier-config-compass": "^1.0.1",
|
67
68
|
"@mongodb-js/tsconfig-compass": "^1.0.3",
|
68
|
-
"@mongodb-js/webpack-config-compass": "^1.2.
|
69
|
+
"@mongodb-js/webpack-config-compass": "^1.2.3",
|
69
70
|
"@testing-library/react": "^12.1.4",
|
70
71
|
"@testing-library/user-event": "^13.5.0",
|
71
72
|
"@types/lodash": "^4.14.188",
|
@@ -76,11 +77,11 @@
|
|
76
77
|
"ejson-shell-parser": "^1.2.4",
|
77
78
|
"enzyme": "^3.11.0",
|
78
79
|
"eslint": "^7.25.0",
|
79
|
-
"hadron-app-registry": "^9.0.
|
80
|
+
"hadron-app-registry": "^9.0.12",
|
80
81
|
"lodash": "^4.17.21",
|
81
82
|
"mocha": "^10.2.0",
|
82
83
|
"mongodb": "^6.0.0",
|
83
|
-
"mongodb-data-service": "^22.
|
84
|
+
"mongodb-data-service": "^22.13.0",
|
84
85
|
"mongodb-ns": "^2.4.0",
|
85
86
|
"mongodb-query-parser": "^3.1.3",
|
86
87
|
"mongodb-schema": "^11.2.1",
|
@@ -98,19 +99,20 @@
|
|
98
99
|
"xvfb-maybe": "^0.2.1"
|
99
100
|
},
|
100
101
|
"dependencies": {
|
101
|
-
"@mongodb-js/atlas-service": "^0.
|
102
|
-
"@mongodb-js/compass-components": "^1.
|
103
|
-
"@mongodb-js/compass-crud": "^13.
|
104
|
-
"@mongodb-js/compass-editor": "^0.
|
105
|
-
"@mongodb-js/compass-
|
106
|
-
"@mongodb-js/compass-
|
107
|
-
"@mongodb-js/compass-
|
108
|
-
"@mongodb-js/
|
109
|
-
"@mongodb-js/
|
110
|
-
"@mongodb-js/mongodb-
|
102
|
+
"@mongodb-js/atlas-service": "^0.8.0",
|
103
|
+
"@mongodb-js/compass-components": "^1.17.0",
|
104
|
+
"@mongodb-js/compass-crud": "^13.17.0",
|
105
|
+
"@mongodb-js/compass-editor": "^0.16.0",
|
106
|
+
"@mongodb-js/compass-generative-ai": "^0.3.0",
|
107
|
+
"@mongodb-js/compass-logging": "^1.2.3",
|
108
|
+
"@mongodb-js/compass-user-data": "^0.1.6",
|
109
|
+
"@mongodb-js/compass-utils": "^0.5.2",
|
110
|
+
"@mongodb-js/explain-plan-helper": "^1.1.3",
|
111
|
+
"@mongodb-js/mongodb-constants": "^0.8.6",
|
112
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.13",
|
111
113
|
"bson": "^6.0.0",
|
112
|
-
"compass-preferences-model": "^2.15.
|
113
|
-
"hadron-document": "^8.4.
|
114
|
+
"compass-preferences-model": "^2.15.3",
|
115
|
+
"hadron-document": "^8.4.2",
|
114
116
|
"hadron-type-checker": "^7.1.0"
|
115
117
|
},
|
116
118
|
"homepage": "https://github.com/mongodb-js/compass",
|
@@ -122,5 +124,5 @@
|
|
122
124
|
"type": "git",
|
123
125
|
"url": "https://github.com/mongodb-js/compass.git"
|
124
126
|
},
|
125
|
-
"gitHead": "
|
127
|
+
"gitHead": "f03a734c931d3ae5bb2fbbc0c71a3301ad509055"
|
126
128
|
}
|