@mongodb-js/compass-aggregations 9.25.3 → 9.26.1
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 -17
- package/dist/components/pipeline-toolbar/pipeline-header/index.d.ts.map +1 -1
- package/dist/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +0 -17
- package/dist/modules/index.d.ts +5 -3
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/stores/store.d.ts +7 -5
- package/dist/stores/store.d.ts.map +1 -1
- package/package.json +49 -49
@@ -4,23 +4,6 @@ object-assign
|
|
4
4
|
@license MIT
|
5
5
|
*/
|
6
6
|
|
7
|
-
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
|
8
|
-
|
9
|
-
/**
|
10
|
-
* @fileoverview Main entrypoint for libraries using yargs-parser in Node.js
|
11
|
-
* CJS and ESM environments.
|
12
|
-
*
|
13
|
-
* @license
|
14
|
-
* Copyright (c) 2016, Contributors
|
15
|
-
* SPDX-License-Identifier: ISC
|
16
|
-
*/
|
17
|
-
|
18
|
-
/**
|
19
|
-
* @license
|
20
|
-
* Copyright (c) 2016, Contributors
|
21
|
-
* SPDX-License-Identifier: ISC
|
22
|
-
*/
|
23
|
-
|
24
7
|
/**
|
25
8
|
* @license
|
26
9
|
* Lodash <https://lodash.com/>
|
package/dist/modules/index.d.ts
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
import type { Action, AnyAction } from 'redux';
|
2
|
-
import type { AtlasService } from '@mongodb-js/atlas-service/renderer';
|
3
2
|
import type { ThunkAction, ThunkDispatch } from 'redux-thunk';
|
4
3
|
import type { PipelineBuilder } from './pipeline-builder/pipeline-builder';
|
5
|
-
import type { PipelineStorage } from '@mongodb-js/my-queries-storage';
|
4
|
+
import type { PipelineStorage } from '@mongodb-js/my-queries-storage/provider';
|
6
5
|
import type { WorkspacesService } from '@mongodb-js/compass-workspaces/provider';
|
7
6
|
import type { PreferencesAccess } from 'compass-preferences-model';
|
8
7
|
import type { LoggerAndTelemetry } from '@mongodb-js/compass-logging/provider';
|
9
8
|
import type AppRegistry from 'hadron-app-registry';
|
9
|
+
import type { AtlasAiService } from '@mongodb-js/compass-generative-ai/provider';
|
10
|
+
import type { AtlasAuthService } from '@mongodb-js/atlas-service/provider';
|
10
11
|
declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{
|
11
12
|
comments: boolean;
|
12
13
|
autoPreview: import("./auto-preview").AutoPreviewState;
|
@@ -67,10 +68,11 @@ export type PipelineBuilderExtraArgs = {
|
|
67
68
|
localAppRegistry: AppRegistry;
|
68
69
|
pipelineBuilder: PipelineBuilder;
|
69
70
|
pipelineStorage: PipelineStorage;
|
70
|
-
|
71
|
+
atlasAuthService: AtlasAuthService;
|
71
72
|
workspaces: WorkspacesService;
|
72
73
|
preferences: PreferencesAccess;
|
73
74
|
logger: LoggerAndTelemetry;
|
75
|
+
atlasAiService: AtlasAiService;
|
74
76
|
};
|
75
77
|
export type PipelineBuilderThunkDispatch<A extends Action = AnyAction> = ThunkDispatch<RootState, PipelineBuilderExtraArgs, A>;
|
76
78
|
export type PipelineBuilderThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, RootState, PipelineBuilderExtraArgs, A>;
|
@@ -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;AA8B/C,OAAO,KAAK,EA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EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAE3D,eAAe,WAAW,CAAC"}
|
package/dist/stores/store.d.ts
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
import type { Store } from 'redux';
|
2
|
-
import { AtlasService } from '@mongodb-js/atlas-service/renderer';
|
3
2
|
import type { PipelineBuilderThunkDispatch } from '../modules';
|
4
|
-
import { PipelineStorage } from '@mongodb-js/my-queries-storage';
|
5
3
|
import type AppRegistry from 'hadron-app-registry';
|
6
4
|
import type { ENVS } from '@mongodb-js/mongodb-constants';
|
7
5
|
import type { CollectionInfo } from '../modules/collections-fields';
|
@@ -12,6 +10,9 @@ import type { MongoDBInstance } from 'mongodb-instance-model';
|
|
12
10
|
import type { CollectionTabPluginMetadata } from '@mongodb-js/compass-collection';
|
13
11
|
import type { PreferencesAccess } from 'compass-preferences-model';
|
14
12
|
import type { LoggerAndTelemetry } from '@mongodb-js/compass-logging/provider';
|
13
|
+
import type { AtlasAiService } from '@mongodb-js/compass-generative-ai/provider';
|
14
|
+
import type { AtlasAuthService } from '@mongodb-js/atlas-service/provider';
|
15
|
+
import type { PipelineStorage } from '@mongodb-js/my-queries-storage/provider';
|
15
16
|
export type ConfigureStoreOptions = CollectionTabPluginMetadata & Partial<{
|
16
17
|
env: typeof ENVS[number] | null;
|
17
18
|
fields: {
|
@@ -19,8 +20,6 @@ export type ConfigureStoreOptions = CollectionTabPluginMetadata & Partial<{
|
|
19
20
|
}[];
|
20
21
|
outResultsFn: (namespace: string) => void;
|
21
22
|
collections: CollectionInfo[];
|
22
|
-
pipelineStorage: PipelineStorage;
|
23
|
-
atlasService: AtlasService;
|
24
23
|
}>;
|
25
24
|
export type AggregationsPluginServices = {
|
26
25
|
dataService: DataService;
|
@@ -30,8 +29,11 @@ export type AggregationsPluginServices = {
|
|
30
29
|
instance: MongoDBInstance;
|
31
30
|
preferences: PreferencesAccess;
|
32
31
|
logger: LoggerAndTelemetry;
|
32
|
+
atlasAuthService: AtlasAuthService;
|
33
|
+
atlasAiService: AtlasAiService;
|
34
|
+
pipelineStorage?: PipelineStorage;
|
33
35
|
};
|
34
|
-
export declare function activateAggregationsPlugin(options: ConfigureStoreOptions, { dataService, localAppRegistry, globalAppRegistry, workspaces, instance, preferences, logger, }: AggregationsPluginServices, { on, cleanup, addCleanup }: ActivateHelpers): {
|
36
|
+
export declare function activateAggregationsPlugin(options: ConfigureStoreOptions, { dataService, localAppRegistry, globalAppRegistry, workspaces, instance, preferences, logger, atlasAiService, atlasAuthService, pipelineStorage, }: AggregationsPluginServices, { on, cleanup, addCleanup }: ActivateHelpers): {
|
35
37
|
store: Store<import("redux").CombinedState<{
|
36
38
|
comments: boolean;
|
37
39
|
autoPreview: import("../modules/auto-preview").AutoPreviewState;
|
@@ -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,
|
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,KAAK,EAAE,4BAA4B,EAAa,MAAM,YAAY,CAAC;AAY1E,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,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OA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iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,WAAW,EACX,MAAM,EACN,cAAc,EACd,gBAAgB,EAChB,eAAe,GAChB,EAAE,0BAA0B,EAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwJ7C"}
|
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.26.1",
|
5
5
|
"apiVersion": "3.0.0",
|
6
6
|
"description": "Compass Aggregation Pipeline Builder",
|
7
7
|
"main": "dist/index.js",
|
@@ -38,25 +38,25 @@
|
|
38
38
|
},
|
39
39
|
"license": "SSPL",
|
40
40
|
"peerDependencies": {
|
41
|
-
"@mongodb-js/atlas-service": "^0.
|
42
|
-
"@mongodb-js/compass-app-stores": "^7.
|
43
|
-
"@mongodb-js/compass-components": "^1.
|
44
|
-
"@mongodb-js/compass-crud": "^13.
|
45
|
-
"@mongodb-js/compass-editor": "^0.
|
46
|
-
"@mongodb-js/compass-field-store": "^9.0.
|
47
|
-
"@mongodb-js/compass-generative-ai": "^0.
|
48
|
-
"@mongodb-js/compass-logging": "^1.2.
|
49
|
-
"@mongodb-js/compass-utils": "^0.
|
50
|
-
"@mongodb-js/compass-workspaces": "^0.
|
51
|
-
"@mongodb-js/explain-plan-helper": "^1.1.
|
52
|
-
"@mongodb-js/mongodb-constants": "^0.
|
53
|
-
"@mongodb-js/my-queries-storage": "^0.
|
54
|
-
"bson": "^6.
|
55
|
-
"compass-preferences-model": "^2.
|
56
|
-
"hadron-app-registry": "^9.1.
|
57
|
-
"hadron-document": "^8.4.
|
58
|
-
"hadron-type-checker": "^7.1.
|
59
|
-
"mongodb-data-service": "^22.
|
41
|
+
"@mongodb-js/atlas-service": "^0.15.1",
|
42
|
+
"@mongodb-js/compass-app-stores": "^7.10.1",
|
43
|
+
"@mongodb-js/compass-components": "^1.22.1",
|
44
|
+
"@mongodb-js/compass-crud": "^13.24.1",
|
45
|
+
"@mongodb-js/compass-editor": "^0.21.1",
|
46
|
+
"@mongodb-js/compass-field-store": "^9.0.19",
|
47
|
+
"@mongodb-js/compass-generative-ai": "^0.8.1",
|
48
|
+
"@mongodb-js/compass-logging": "^1.2.14",
|
49
|
+
"@mongodb-js/compass-utils": "^0.6.1",
|
50
|
+
"@mongodb-js/compass-workspaces": "^0.5.1",
|
51
|
+
"@mongodb-js/explain-plan-helper": "^1.1.10",
|
52
|
+
"@mongodb-js/mongodb-constants": "^0.9.0",
|
53
|
+
"@mongodb-js/my-queries-storage": "^0.5.1",
|
54
|
+
"bson": "^6.3.0",
|
55
|
+
"compass-preferences-model": "^2.18.1",
|
56
|
+
"hadron-app-registry": "^9.1.8",
|
57
|
+
"hadron-document": "^8.4.9",
|
58
|
+
"hadron-type-checker": "^7.1.2",
|
59
|
+
"mongodb-data-service": "^22.18.1",
|
60
60
|
"react": "^17.0.2"
|
61
61
|
},
|
62
62
|
"devDependencies": {
|
@@ -66,30 +66,30 @@
|
|
66
66
|
"@dnd-kit/core": "^6.0.7",
|
67
67
|
"@dnd-kit/sortable": "^7.0.2",
|
68
68
|
"@dnd-kit/utilities": "^3.2.1",
|
69
|
-
"@mongodb-js/compass-collection": "^4.
|
70
|
-
"@mongodb-js/eslint-config-compass": "^1.0.
|
71
|
-
"@mongodb-js/mocha-config-compass": "^1.3.
|
69
|
+
"@mongodb-js/compass-collection": "^4.23.1",
|
70
|
+
"@mongodb-js/eslint-config-compass": "^1.0.17",
|
71
|
+
"@mongodb-js/mocha-config-compass": "^1.3.7",
|
72
72
|
"@mongodb-js/prettier-config-compass": "^1.0.1",
|
73
73
|
"@mongodb-js/tsconfig-compass": "^1.0.3",
|
74
|
-
"@mongodb-js/webpack-config-compass": "^1.3.
|
74
|
+
"@mongodb-js/webpack-config-compass": "^1.3.5",
|
75
75
|
"@testing-library/react": "^12.1.4",
|
76
76
|
"@testing-library/user-event": "^13.5.0",
|
77
77
|
"@types/lodash": "^4.14.188",
|
78
78
|
"@types/semver": "^7.3.9",
|
79
79
|
"chai": "^4.3.6",
|
80
80
|
"depcheck": "^1.4.1",
|
81
|
-
"ejson-shell-parser": "^2.0.
|
81
|
+
"ejson-shell-parser": "^2.0.1",
|
82
82
|
"electron-mocha": "^12.2.0",
|
83
83
|
"enzyme": "^3.11.0",
|
84
84
|
"eslint": "^7.25.0",
|
85
85
|
"lodash": "^4.17.21",
|
86
86
|
"mocha": "^10.2.0",
|
87
87
|
"mongodb": "^6.3.0",
|
88
|
-
"mongodb-collection-model": "^5.
|
89
|
-
"mongodb-database-model": "^2.
|
90
|
-
"mongodb-instance-model": "^12.
|
88
|
+
"mongodb-collection-model": "^5.18.1",
|
89
|
+
"mongodb-database-model": "^2.18.1",
|
90
|
+
"mongodb-instance-model": "^12.18.1",
|
91
91
|
"mongodb-ns": "^2.4.0",
|
92
|
-
"mongodb-query-parser": "^4.0
|
92
|
+
"mongodb-query-parser": "^4.1.0",
|
93
93
|
"mongodb-schema": "^12.1.0",
|
94
94
|
"nyc": "^15.1.0",
|
95
95
|
"prettier": "^2.7.1",
|
@@ -105,25 +105,25 @@
|
|
105
105
|
"xvfb-maybe": "^0.2.1"
|
106
106
|
},
|
107
107
|
"dependencies": {
|
108
|
-
"@mongodb-js/atlas-service": "^0.
|
109
|
-
"@mongodb-js/compass-app-stores": "^7.
|
110
|
-
"@mongodb-js/compass-components": "^1.
|
111
|
-
"@mongodb-js/compass-crud": "^13.
|
112
|
-
"@mongodb-js/compass-editor": "^0.
|
113
|
-
"@mongodb-js/compass-field-store": "^9.0.
|
114
|
-
"@mongodb-js/compass-generative-ai": "^0.
|
115
|
-
"@mongodb-js/compass-logging": "^1.2.
|
116
|
-
"@mongodb-js/compass-utils": "^0.
|
117
|
-
"@mongodb-js/compass-workspaces": "^0.
|
118
|
-
"@mongodb-js/explain-plan-helper": "^1.1.
|
119
|
-
"@mongodb-js/mongodb-constants": "^0.
|
120
|
-
"@mongodb-js/my-queries-storage": "^0.
|
121
|
-
"bson": "^6.
|
122
|
-
"compass-preferences-model": "^2.
|
123
|
-
"hadron-app-registry": "^9.1.
|
124
|
-
"hadron-document": "^8.4.
|
125
|
-
"hadron-type-checker": "^7.1.
|
126
|
-
"mongodb-data-service": "^22.
|
108
|
+
"@mongodb-js/atlas-service": "^0.15.1",
|
109
|
+
"@mongodb-js/compass-app-stores": "^7.10.1",
|
110
|
+
"@mongodb-js/compass-components": "^1.22.1",
|
111
|
+
"@mongodb-js/compass-crud": "^13.24.1",
|
112
|
+
"@mongodb-js/compass-editor": "^0.21.1",
|
113
|
+
"@mongodb-js/compass-field-store": "^9.0.19",
|
114
|
+
"@mongodb-js/compass-generative-ai": "^0.8.1",
|
115
|
+
"@mongodb-js/compass-logging": "^1.2.14",
|
116
|
+
"@mongodb-js/compass-utils": "^0.6.1",
|
117
|
+
"@mongodb-js/compass-workspaces": "^0.5.1",
|
118
|
+
"@mongodb-js/explain-plan-helper": "^1.1.10",
|
119
|
+
"@mongodb-js/mongodb-constants": "^0.9.0",
|
120
|
+
"@mongodb-js/my-queries-storage": "^0.5.1",
|
121
|
+
"bson": "^6.3.0",
|
122
|
+
"compass-preferences-model": "^2.18.1",
|
123
|
+
"hadron-app-registry": "^9.1.8",
|
124
|
+
"hadron-document": "^8.4.9",
|
125
|
+
"hadron-type-checker": "^7.1.2",
|
126
|
+
"mongodb-data-service": "^22.18.1"
|
127
127
|
},
|
128
128
|
"homepage": "https://github.com/mongodb-js/compass",
|
129
129
|
"bugs": {
|
@@ -134,5 +134,5 @@
|
|
134
134
|
"type": "git",
|
135
135
|
"url": "https://github.com/mongodb-js/compass.git"
|
136
136
|
},
|
137
|
-
"gitHead": "
|
137
|
+
"gitHead": "aabc5be9049177a56c831354535e073bf77cb16f"
|
138
138
|
}
|