@mongodb-js/compass-aggregations 0.0.0-next-28d3c6ea9e684b19e4fcfd38c8b4e94fba06844f → 0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054
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/add-stage.d.ts +1 -1
- package/dist/src/components/add-stage/add-stage.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/index.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts +21 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts +2 -4
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts +8 -11
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts +27 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts +9 -6
- 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/lookup/lookup.d.ts +9 -12
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts +44 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts +29 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts +41 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts +8 -12
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts +2 -4
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts.map +1 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts +12 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts +14 -1
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts.map +1 -1
- package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
- package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/index.d.ts +0 -1
- package/dist/src/components/pipeline-builder-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts +8 -0
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts.map +1 -0
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts +3 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -1
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts +1 -2
- package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts.map +1 -1
- package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
- package/dist/src/components/stage-toolbar/index.d.ts +1 -3
- package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
- package/dist/src/components/stage-wizard/index.d.ts +2 -1
- package/dist/src/components/stage-wizard/index.d.ts.map +1 -1
- package/dist/src/components/stage.d.ts.map +1 -1
- package/dist/src/components/use-case-droppable-area/index.d.ts +11 -0
- package/dist/src/components/use-case-droppable-area/index.d.ts.map +1 -0
- package/dist/src/components/use-guide-cue.d.ts +15 -0
- package/dist/src/components/use-guide-cue.d.ts.map +1 -0
- package/dist/src/modules/aggregation.d.ts.map +1 -1
- package/dist/src/modules/explain.d.ts +1 -55
- package/dist/src/modules/explain.d.ts.map +1 -1
- package/dist/src/modules/index.d.ts +0 -2
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/stores/store.d.ts +0 -2
- package/dist/src/stores/store.d.ts.map +1 -1
- package/dist/src/utils/get-schema.d.ts +7 -1
- package/dist/src/utils/get-schema.d.ts.map +1 -1
- package/dist/src/utils/local-storage.d.ts +2 -2
- package/dist/src/utils/local-storage.d.ts.map +1 -1
- package/package.json +26 -28
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.d.ts +0 -6
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.d.ts.map +0 -1
- package/dist/src/components/pipeline-explain/explain-indexes.d.ts +0 -8
- package/dist/src/components/pipeline-explain/explain-indexes.d.ts.map +0 -1
- package/dist/src/components/pipeline-explain/explain-query-performance.d.ts +0 -10
- package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +0 -1
- package/dist/src/components/pipeline-explain/explain-results.d.ts +0 -9
- package/dist/src/components/pipeline-explain/explain-results.d.ts.map +0 -1
- package/dist/src/components/pipeline-explain/index.d.ts +0 -17
- package/dist/src/components/pipeline-explain/index.d.ts.map +0 -1
- package/dist/src/modules/indexes.d.ts +0 -22
- package/dist/src/modules/indexes.d.ts.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/use-case-droppable-area/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAGF,eAAO,MAAM,kBAAkB,OAAQ,MAAM,YAAgC,CAAC;AAC9E,eAAO,MAAM,oBAAoB,UAAW,MAAM,WAAyB,CAAC;AAC5E,eAAO,MAAM,oBAAoB,OAAQ,MAAM,kBAM9C,CAAC;AAoBF,QAAA,MAAM,oBAAoB,yBAGvB,yBAAyB,gBAiB3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const GuideCueStorageKeys: {
|
3
|
+
readonly STAGE_WIZARD: "has_seen_stage_wizard_guide_cue";
|
4
|
+
readonly STAGE_WIZARD_LIST: "has_seen_stage_wizard_list_guide_cue";
|
5
|
+
};
|
6
|
+
type ValueOf<T> = T[keyof T];
|
7
|
+
type GuideCueKeys = ValueOf<typeof GuideCueStorageKeys>;
|
8
|
+
export declare const useGuideCue: <T = HTMLElement>(key: GuideCueKeys) => {
|
9
|
+
cueRefEl: import("react").MutableRefObject<T | null>;
|
10
|
+
cueIntersectingRef: (node?: Element | null | undefined) => void;
|
11
|
+
isCueVisible: boolean;
|
12
|
+
markCueVisited: () => void;
|
13
|
+
};
|
14
|
+
export {};
|
15
|
+
//# sourceMappingURL=use-guide-cue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"use-guide-cue.d.ts","sourceRoot":"","sources":["../../../src/components/use-guide-cue.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,mBAAmB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AAC;AAEF,eAAO,MAAM,aAAa,QAAO,2BAC/B,QAAQ,IAAI,CAAC,EACb,OAAO,CAWR,CAAC;AAEF,eAAO,MAAM,aAAa,QAAO,2BAC/B,QAAQ,IAAI,CAAC,EACb,OAAO,CAWR,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,2BAClC,QAAQ,IAAI,CAAC,EACb,OAAO,CAQR,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,2BACnC,IAAI,EACJ,OAAO,CAcR,CAAC;AAqGF,eAAO,MAAM,wBAAwB,QAC/B,2BAA2B,IAAI,CA6BlC,CAAC;AAEJ,eAAO,MAAM,cAAc,gBAAiB,UAAU,GAAG,MAAM;;;CAK9D,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1,57 +1,3 @@
|
|
1
|
-
import type { AnyAction, Reducer } from 'redux';
|
2
|
-
import type { Document } from 'mongodb';
|
3
|
-
import type { ExplainExecuteOptions } from 'mongodb-data-service';
|
4
|
-
import type { IndexInformation } from '@mongodb-js/explain-plan-helper';
|
5
1
|
import type { PipelineBuilderThunkAction } from '.';
|
6
|
-
|
7
|
-
export declare enum ActionTypes {
|
8
|
-
ExplainStarted = "compass-aggregations/explainStarted",
|
9
|
-
ExplainFinished = "compass-aggregations/explainFinished",
|
10
|
-
ExplainFailed = "compass-aggregations/explainFailed",
|
11
|
-
ExplainCancelled = "compass-aggregations/explainCancelled"
|
12
|
-
}
|
13
|
-
type ExplainStartedAction = {
|
14
|
-
type: ActionTypes.ExplainStarted;
|
15
|
-
abortController: AbortController;
|
16
|
-
};
|
17
|
-
type ExplainFinishedAction = {
|
18
|
-
type: ActionTypes.ExplainFinished;
|
19
|
-
explain: ExplainData;
|
20
|
-
};
|
21
|
-
type ExplainFailedAction = {
|
22
|
-
type: ActionTypes.ExplainFailed;
|
23
|
-
error: string;
|
24
|
-
};
|
25
|
-
type ExplainCancelledAction = {
|
26
|
-
type: ActionTypes.ExplainCancelled;
|
27
|
-
};
|
28
|
-
export type Actions = ExplainStartedAction | ExplainFinishedAction | ExplainFailedAction | ExplainCancelledAction;
|
29
|
-
export type ExplainIndex = {
|
30
|
-
name: string;
|
31
|
-
shard?: string;
|
32
|
-
key: IndexInfo['key'];
|
33
|
-
};
|
34
|
-
export type ExplainData = {
|
35
|
-
plan: Document;
|
36
|
-
stats?: {
|
37
|
-
executionTimeMillis: number;
|
38
|
-
nReturned: number;
|
39
|
-
indexes: ExplainIndex[];
|
40
|
-
};
|
41
|
-
};
|
42
|
-
export type State = {
|
43
|
-
isLoading: boolean;
|
44
|
-
isModalOpen: boolean;
|
45
|
-
explain?: ExplainData;
|
46
|
-
abortController?: AbortController;
|
47
|
-
error?: string;
|
48
|
-
};
|
49
|
-
export declare const INITIAL_STATE: State;
|
50
|
-
declare const reducer: Reducer<State, AnyAction>;
|
51
|
-
export declare const closeExplainModal: () => PipelineBuilderThunkAction<void>;
|
52
|
-
export declare const cancelExplain: () => PipelineBuilderThunkAction<void>;
|
53
|
-
export declare const explainAggregation: () => PipelineBuilderThunkAction<Promise<void>>;
|
54
|
-
export declare const _getExplainVerbosity: (pipeline: Document[], isDataLake: boolean) => ExplainExecuteOptions['explainVerbosity'];
|
55
|
-
export declare const _mapIndexesInformation: (collectionIndexes: IndexInfo[], explainIndexes: IndexInformation[]) => ExplainIndex[];
|
56
|
-
export default reducer;
|
2
|
+
export declare const explainAggregation: () => PipelineBuilderThunkAction<void>;
|
57
3
|
//# sourceMappingURL=explain.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../src/modules/explain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"explain.d.ts","sourceRoot":"","sources":["../../../src/modules/explain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAIpD,eAAO,MAAM,kBAAkB,QAAO,2BAA2B,IAAI,CAapE,CAAC"}
|
@@ -52,9 +52,7 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
52
52
|
workspace: import("./workspace").Workspace;
|
53
53
|
countDocuments: import("./count-documents").State;
|
54
54
|
aggregationWorkspaceId: string;
|
55
|
-
explain: import("./explain").State;
|
56
55
|
isDataLake: boolean;
|
57
|
-
indexes: import("./indexes").State;
|
58
56
|
pipelineBuilder: import("redux").CombinedState<{
|
59
57
|
pipelineMode: import("./pipeline-builder/pipeline-mode").PipelineMode;
|
60
58
|
stageEditor: import("./pipeline-builder/stage-editor").StageEditorState;
|
@@ -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;AAkC/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;AAWjE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAoCf,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;CAClC,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"}
|
@@ -82,9 +82,7 @@ declare const configureStore: (options: ConfigureStoreOptions) => Store<import("
|
|
82
82
|
workspace: import("../modules/workspace").Workspace;
|
83
83
|
countDocuments: import("../modules/count-documents").State;
|
84
84
|
aggregationWorkspaceId: string;
|
85
|
-
explain: import("../modules/explain").State;
|
86
85
|
isDataLake: boolean;
|
87
|
-
indexes: import("../modules/indexes").State;
|
88
86
|
pipelineBuilder: import("redux").CombinedState<{
|
89
87
|
pipelineMode: import("../modules/pipeline-builder/pipeline-mode").PipelineMode;
|
90
88
|
stageEditor: import("../modules/pipeline-builder/stage-editor").StageEditorState;
|
@@ -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;
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AASnC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/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,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
|
|
1
|
+
import type { TypeCastTypes } from 'hadron-type-checker';
|
1
2
|
import type { Document } from 'mongodb';
|
2
|
-
export
|
3
|
+
export type FieldSchema = {
|
4
|
+
name: string;
|
5
|
+
type: TypeCastTypes;
|
6
|
+
};
|
7
|
+
export type DocumentSchema = FieldSchema[];
|
8
|
+
export declare const getSchema: (records: Document[]) => DocumentSchema;
|
3
9
|
//# sourceMappingURL=get-schema.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-schema.d.ts","sourceRoot":"","sources":["../../../src/utils/get-schema.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"get-schema.d.ts","sourceRoot":"","sources":["../../../src/utils/get-schema.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,EAAE,CAAC;AA2D3C,eAAO,MAAM,SAAS,YAAa,QAAQ,EAAE,mBAI5C,CAAC"}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export declare const
|
2
|
-
export declare const
|
1
|
+
export declare const getStorageItem: (key: string) => string | null;
|
2
|
+
export declare const setStorageItem: (key: string, value: string) => void;
|
3
3
|
//# sourceMappingURL=local-storage.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/local-storage.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/local-storage.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,QAAS,MAAM,kBAEzC,CAAC;AAEF,eAAO,MAAM,cAAc,QAAS,MAAM,SAAS,MAAM,SAExD,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-2bd69249c64bee9c103212c46e5c582418f87054",
|
5
5
|
"apiVersion": "3.0.0",
|
6
6
|
"description": "Compass Aggregation Pipeline Builder",
|
7
7
|
"main": "dist/index.js",
|
@@ -19,7 +19,6 @@
|
|
19
19
|
"prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
|
20
20
|
"compile": "npm run webpack -- --mode production",
|
21
21
|
"postcompile": "tsc --emitDeclarationOnly",
|
22
|
-
"prewebpack": "rimraf ./dist",
|
23
22
|
"webpack": "webpack-compass",
|
24
23
|
"analyze": "npm run webpack -- --mode production --analyze",
|
25
24
|
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
|
@@ -44,12 +43,12 @@
|
|
44
43
|
"@mongodb-js/compass-editor": "^0.7.0",
|
45
44
|
"@mongodb-js/compass-logging": "^1.1.5",
|
46
45
|
"@mongodb-js/compass-utils": "^0.3.0",
|
47
|
-
"@mongodb-js/
|
48
|
-
"@mongodb-js/mongodb-constants": "^0.2.1",
|
46
|
+
"@mongodb-js/mongodb-constants": "^0.6.0",
|
49
47
|
"@mongodb-js/mongodb-redux-common": "^2.0.7",
|
50
48
|
"bson": "^5.2.0",
|
51
49
|
"compass-preferences-model": "^2.8.0",
|
52
50
|
"hadron-document": "^8.2.0",
|
51
|
+
"hadron-type-checker": "^7.0.2",
|
53
52
|
"react": "^17.0.2"
|
54
53
|
},
|
55
54
|
"devDependencies": {
|
@@ -60,11 +59,11 @@
|
|
60
59
|
"@dnd-kit/sortable": "^7.0.2",
|
61
60
|
"@dnd-kit/utilities": "^3.2.1",
|
62
61
|
"@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-
|
62
|
+
"@mongodb-js/eslint-config-compass": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
63
|
+
"@mongodb-js/mocha-config-compass": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
64
|
+
"@mongodb-js/prettier-config-compass": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
65
|
+
"@mongodb-js/tsconfig-compass": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
66
|
+
"@mongodb-js/webpack-config-compass": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
68
67
|
"@testing-library/react": "^12.1.4",
|
69
68
|
"@testing-library/user-event": "^13.5.0",
|
70
69
|
"@types/lodash": "^4.14.188",
|
@@ -72,15 +71,15 @@
|
|
72
71
|
"chai": "^4.3.6",
|
73
72
|
"debug": "^4.2.0",
|
74
73
|
"depcheck": "^1.4.1",
|
75
|
-
"ejson-shell-parser": "^1.2.
|
76
|
-
"electron": "^22.
|
74
|
+
"ejson-shell-parser": "^1.2.4",
|
75
|
+
"electron": "^22.3.11",
|
77
76
|
"enzyme": "^3.11.0",
|
78
77
|
"eslint": "^7.25.0",
|
79
|
-
"hadron-app-registry": "0.0.0-next-
|
78
|
+
"hadron-app-registry": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
80
79
|
"lodash": "^4.17.21",
|
81
80
|
"mocha": "^10.2.0",
|
82
|
-
"mongodb": "^5.
|
83
|
-
"mongodb-data-service": "0.0.0-next-
|
81
|
+
"mongodb": "^5.5.0",
|
82
|
+
"mongodb-data-service": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
84
83
|
"mongodb-ns": "^2.4.0",
|
85
84
|
"mongodb-query-parser": "^2.5.0",
|
86
85
|
"nyc": "^15.1.0",
|
@@ -91,25 +90,24 @@
|
|
91
90
|
"react-dom": "^17.0.2",
|
92
91
|
"react-intersection-observer": "^8.34.0",
|
93
92
|
"react-redux": "^8.0.5",
|
94
|
-
"redux": "^4.2.
|
95
|
-
"redux-thunk": "^2.
|
96
|
-
"rimraf": "^3.0.0",
|
93
|
+
"redux": "^4.2.1",
|
94
|
+
"redux-thunk": "^2.4.1",
|
97
95
|
"semver": "^5.7.1",
|
98
96
|
"sinon": "^9.2.3",
|
99
97
|
"xvfb-maybe": "^0.2.1"
|
100
98
|
},
|
101
99
|
"dependencies": {
|
102
|
-
"@mongodb-js/compass-components": "0.0.0-next-
|
103
|
-
"@mongodb-js/compass-crud": "0.0.0-next-
|
104
|
-
"@mongodb-js/compass-editor": "0.0.0-next-
|
105
|
-
"@mongodb-js/compass-logging": "0.0.0-next-
|
106
|
-
"@mongodb-js/compass-utils": "0.0.0-next-
|
107
|
-
"@mongodb-js/
|
108
|
-
"@mongodb-js/mongodb-
|
109
|
-
"@mongodb-js/mongodb-redux-common": "0.0.0-next-28d3c6ea9e684b19e4fcfd38c8b4e94fba06844f",
|
100
|
+
"@mongodb-js/compass-components": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
101
|
+
"@mongodb-js/compass-crud": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
102
|
+
"@mongodb-js/compass-editor": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
103
|
+
"@mongodb-js/compass-logging": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
104
|
+
"@mongodb-js/compass-utils": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
105
|
+
"@mongodb-js/mongodb-constants": "^0.6.0",
|
106
|
+
"@mongodb-js/mongodb-redux-common": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
110
107
|
"bson": "^5.2.0",
|
111
|
-
"compass-preferences-model": "0.0.0-next-
|
112
|
-
"hadron-document": "0.0.0-next-
|
108
|
+
"compass-preferences-model": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
109
|
+
"hadron-document": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054",
|
110
|
+
"hadron-type-checker": "0.0.0-next-2bd69249c64bee9c103212c46e5c582418f87054"
|
113
111
|
},
|
114
112
|
"homepage": "https://github.com/mongodb-js/compass",
|
115
113
|
"bugs": {
|
@@ -120,5 +118,5 @@
|
|
120
118
|
"type": "git",
|
121
119
|
"url": "https://github.com/mongodb-js/compass.git"
|
122
120
|
},
|
123
|
-
"gitHead": "
|
121
|
+
"gitHead": "2bd69249c64bee9c103212c46e5c582418f87054"
|
124
122
|
}
|
package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use-case-list.d.ts","sourceRoot":"","sources":["../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.tsx"],"names":[],"mappings":";AAqBA,QAAA,MAAM,WAAW;mBAAmC,MAAM,KAAK,IAAI;iBAuBlE,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { ExplainIndex } from '../../modules/explain';
|
3
|
-
type ExplainIndexesProps = {
|
4
|
-
indexes: ExplainIndex[];
|
5
|
-
};
|
6
|
-
export declare const ExplainIndexes: React.FunctionComponent<ExplainIndexesProps>;
|
7
|
-
export {};
|
8
|
-
//# sourceMappingURL=explain-indexes.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"explain-indexes.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-explain/explain-indexes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAuBF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAgDvE,CAAC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { ExplainIndex } from '../../modules/explain';
|
3
|
-
type ExplainQueryPerformanceProps = {
|
4
|
-
executionTimeMillis: number;
|
5
|
-
nReturned: number;
|
6
|
-
indexes: ExplainIndex[];
|
7
|
-
};
|
8
|
-
export declare const ExplainQueryPerformance: React.FunctionComponent<ExplainQueryPerformanceProps>;
|
9
|
-
export {};
|
10
|
-
//# sourceMappingURL=explain-query-performance.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"explain-query-performance.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-explain/explain-query-performance.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,KAAK,4BAA4B,GAAG;IAClC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAwBF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,iBAAiB,CAC3D,4BAA4B,CAiC7B,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { ExplainData } from '../../modules/explain';
|
3
|
-
type ExplainResultsProps = {
|
4
|
-
plan: ExplainData['plan'];
|
5
|
-
stats?: ExplainData['stats'];
|
6
|
-
};
|
7
|
-
export declare const ExplainResults: React.FunctionComponent<ExplainResultsProps>;
|
8
|
-
export {};
|
9
|
-
//# sourceMappingURL=explain-results.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"explain-results.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-explain/explain-results.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC1B,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC9B,CAAC;AAgCF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAkCvE,CAAC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { ExplainData } from '../../modules/explain';
|
3
|
-
type PipelineExplainProps = {
|
4
|
-
isModalOpen: boolean;
|
5
|
-
isLoading: boolean;
|
6
|
-
error?: string;
|
7
|
-
explain?: ExplainData;
|
8
|
-
onCloseModal: () => void;
|
9
|
-
onCancelExplain: () => void;
|
10
|
-
};
|
11
|
-
export declare const PipelineExplain: React.FunctionComponent<PipelineExplainProps>;
|
12
|
-
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineExplainProps>, {
|
13
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
14
|
-
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
15
|
-
}>;
|
16
|
-
export default _default;
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-explain/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIzD,KAAK,oBAAoB,GAAG;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAYF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAiEzE,CAAC;;;;;AAeF,wBAA+D"}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import type { Reducer } from 'redux';
|
2
|
-
import type { IndexDirection } from 'mongodb';
|
3
|
-
export declare enum ActionTypes {
|
4
|
-
IndexesFetched = "compass-aggregations/indexesFetched"
|
5
|
-
}
|
6
|
-
export type IndexInfo = {
|
7
|
-
ns: string;
|
8
|
-
name: string;
|
9
|
-
key: Record<string, IndexDirection>;
|
10
|
-
extra: Record<string, any>;
|
11
|
-
};
|
12
|
-
type IndexesFetchedAction = {
|
13
|
-
type: ActionTypes.IndexesFetched;
|
14
|
-
indexes: IndexInfo[];
|
15
|
-
};
|
16
|
-
export type Actions = IndexesFetchedAction;
|
17
|
-
export type State = IndexInfo[];
|
18
|
-
export declare const INITIAL_STATE: State;
|
19
|
-
declare const reducer: Reducer<State, Actions>;
|
20
|
-
export declare const indexesFetched: (indexes: IndexInfo[]) => IndexesFetchedAction;
|
21
|
-
export default reducer;
|
22
|
-
//# sourceMappingURL=indexes.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../src/modules/indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,oBAAY,WAAW;IACrB,cAAc,wCAAwC;CACvD;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,WAAW,CAAC,cAAc,CAAC;IACjC,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,oBAAoB,CAAC;AAE3C,MAAM,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC;AAEhC,eAAO,MAAM,aAAa,EAAE,KAAU,CAAC;AAEvC,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,CAOpC,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,SAAS,EAAE,KAAG,oBAGpD,CAAC;AAEH,eAAe,OAAO,CAAC"}
|