@mongodb-js/compass-aggregations 0.0.0-next-1f064ba7669c838cc646f440aedd0cf45c4df973 → 0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400
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/group/basic-group.d.ts +7 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts.map +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/lookup/lookup.d.ts +21 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts.map +1 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts +20 -0
- package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts.map +1 -0
- package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts.map +1 -1
- package/dist/src/modules/collections-fields.d.ts +41 -0
- package/dist/src/modules/collections-fields.d.ts.map +1 -0
- package/dist/src/modules/index.d.ts +3 -0
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/stores/store.d.ts +5 -0
- package/dist/src/stores/store.d.ts.map +1 -1
- package/dist/src/utils/get-schema.d.ts.map +1 -1
- package/package.json +28 -28
package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"basic-group.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.tsx"],"names":[],"mappings":";AAyBA,eAAO,MAAM,UAAU;YAIb,MAAM,EAAE;sBACE,MAAM,SAAS,KAAK,GAAG,IAAI,KAAK,IAAI;iBA+BvD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
@@ -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;AAM1C,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;QACvC,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;KAClE,CAAC,CAAC;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EA2BtD,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { CollectionData } from '../../../../modules/collections-fields';
|
3
|
+
export declare const LookupForm: ({ fields, collectionsFields, onSelectCollection, onChange, }: {
|
4
|
+
fields: string[];
|
5
|
+
collectionsFields: Record<string, CollectionData>;
|
6
|
+
onSelectCollection: (collection: string) => void;
|
7
|
+
onChange: (value: string, error: Error | null) => void;
|
8
|
+
}) => JSX.Element;
|
9
|
+
declare const _default: import("react-redux").ConnectedComponent<({ fields, collectionsFields, onSelectCollection, onChange, }: {
|
10
|
+
fields: string[];
|
11
|
+
collectionsFields: Record<string, CollectionData>;
|
12
|
+
onSelectCollection: (collection: string) => void;
|
13
|
+
onChange: (value: string, error: Error | null) => void;
|
14
|
+
}) => JSX.Element, {
|
15
|
+
onChange: (value: string, error: Error | null) => void;
|
16
|
+
fields: string[];
|
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=lookup.d.ts.map
|
package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.tsx"],"names":[],"mappings":"AASA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAgC7E,eAAO,MAAM,UAAU;YAMb,MAAM,EAAE;uBACG,OAAO,MAAM,EAAE,cAAc,CAAC;qCAChB,MAAM,KAAK,IAAI;sBAC9B,MAAM,SAAS,KAAK,GAAG,IAAI,KAAK,IAAI;iBA8HvD,CAAC;;;;;;;;;;;;AAEF,wBAOc"}
|
package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export type ProjectOwnProps = {
|
3
|
+
onChange: (value: string, error: Error | null) => void;
|
4
|
+
};
|
5
|
+
type MapStateProps = {
|
6
|
+
fields: string[];
|
7
|
+
};
|
8
|
+
export type ProjectProps = ProjectOwnProps & MapStateProps;
|
9
|
+
type ProjectFormState = string[];
|
10
|
+
export type ProjectionType = 'include' | 'exclude';
|
11
|
+
export declare const SELECT_PLACEHOLDER_TEXT = "Select projection type";
|
12
|
+
export declare const COMBOBOX_PLACEHOLDER_TEXT = "Select field names";
|
13
|
+
export declare const mapProjectFormStateToStageValue: (projectionType: ProjectionType, formState: ProjectFormState) => {
|
14
|
+
[field: string]: 0 | 1;
|
15
|
+
};
|
16
|
+
export declare const getParentPaths: (paths: string[], excluding?: string[]) => string[];
|
17
|
+
export declare const makeIsOptionDisabled: (projectFields: string[]) => (option: string) => boolean;
|
18
|
+
declare const ProjectForm: ({ fields, onChange }: ProjectProps) => JSX.Element;
|
19
|
+
export default ProjectForm;
|
20
|
+
//# sourceMappingURL=project.d.ts.map
|
package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.tsx"],"names":[],"mappings":";AAWA,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;CACxD,CAAC;AACF,KAAK,aAAa,GAAG;IAAE,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAC1C,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,aAAa,CAAC;AAE3D,KAAK,gBAAgB,GAAG,MAAM,EAAE,CAAC;AACjC,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,CAAC;AAGnD,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAE9D,eAAO,MAAM,+BAA+B,mBAC1B,cAAc;;CAa/B,CAAC;AAKF,eAAO,MAAM,cAAc,UAAW,MAAM,EAAE,cAAa,MAAM,EAAE,aAUlE,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,EAAE,cAC1C,MAAM,YAqBvB,CAAC;AAwBF,QAAA,MAAM,WAAW,yBAA0B,YAAY,gBA2DtD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AA+DvC,KAAK,mBAAmB,GAAG;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AA+DvC,KAAK,mBAAmB,GAAG;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAoEvE,CAAC;;;;;;;;;;AAEF,wBAUkB"}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
import type { PipelineBuilderThunkAction } from '.';
|
3
|
+
type CollectionType = 'collection' | 'view';
|
4
|
+
export type CollectionInfo = {
|
5
|
+
name: string;
|
6
|
+
type: CollectionType;
|
7
|
+
};
|
8
|
+
export declare enum ActionTypes {
|
9
|
+
CollectionsFetch = "compass-aggregations/collectionsFetched",
|
10
|
+
CollectionFieldsFetched = "compass-aggregations/collectionFieldsFetched",
|
11
|
+
CollectionDataUpdated = "compass-aggregations/collectionDataUpdated"
|
12
|
+
}
|
13
|
+
type CollectionsFetchedAction = {
|
14
|
+
type: ActionTypes.CollectionsFetch;
|
15
|
+
data: State;
|
16
|
+
};
|
17
|
+
type CollectionFieldsFetchedAction = {
|
18
|
+
type: ActionTypes.CollectionFieldsFetched;
|
19
|
+
collection: string;
|
20
|
+
fields: string[];
|
21
|
+
collectionType: CollectionType;
|
22
|
+
};
|
23
|
+
type CollectionDataUpdatedAction = {
|
24
|
+
type: ActionTypes.CollectionDataUpdated;
|
25
|
+
collection: string;
|
26
|
+
data: CollectionData;
|
27
|
+
};
|
28
|
+
export type CollectionData = {
|
29
|
+
isLoading: boolean;
|
30
|
+
type: CollectionType;
|
31
|
+
fields: string[];
|
32
|
+
error?: Error;
|
33
|
+
};
|
34
|
+
type State = Record<string, CollectionData>;
|
35
|
+
export declare const INITIAL_STATE: State;
|
36
|
+
export default function reducer(state: State | undefined, action: AnyAction): State;
|
37
|
+
export declare const setCollections: (collections: CollectionInfo[]) => PipelineBuilderThunkAction<void, CollectionsFetchedAction>;
|
38
|
+
export declare const setCollectionFields: (collection: string, collectionType: CollectionType, fields: string[]) => CollectionFieldsFetchedAction;
|
39
|
+
export declare const fetchCollectionFields: (collection: string) => PipelineBuilderThunkAction<Promise<void>, CollectionDataUpdatedAction>;
|
40
|
+
export {};
|
41
|
+
//# sourceMappingURL=collections-fields.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"collections-fields.d.ts","sourceRoot":"","sources":["../../../src/modules/collections-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA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AM,mBAAmB,eAClB,MAAM,kBACF,cAAc,UACtB,MAAM,EAAE,KACf,6BAKD,CAAC;AAEH,eAAO,MAAM,qBAAqB,eACpB,MAAM,KACjB,2BAA2B,QAAQ,IAAI,CAAC,EAAE,2BAA2B,CAyEvE,CAAC"}
|
@@ -75,6 +75,9 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
75
75
|
sidePanel: {
|
76
76
|
isPanelOpen: boolean;
|
77
77
|
};
|
78
|
+
collectionsFields: {
|
79
|
+
[x: string]: import("./collections-fields").CollectionData;
|
80
|
+
};
|
78
81
|
}>, Action<any>>;
|
79
82
|
export type RootState = ReturnType<typeof rootReducer>;
|
80
83
|
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;AAoC/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;
|
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;AAoC/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;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"}
|
@@ -5,6 +5,7 @@ import { PipelineStorage } from '../utils/pipeline-storage';
|
|
5
5
|
import type { DataService } from 'mongodb-data-service';
|
6
6
|
import type AppRegistry from 'hadron-app-registry';
|
7
7
|
import type { ENVS } from '@mongodb-js/mongodb-constants';
|
8
|
+
import type { CollectionInfo } from '../modules/collections-fields';
|
8
9
|
export type ConfigureStoreOptions = {
|
9
10
|
dataProvider: {
|
10
11
|
dataProvider: Pick<DataService, 'isCancelError' | 'estimatedCount' | 'aggregate' | 'getConnectionString'>;
|
@@ -29,6 +30,7 @@ export type ConfigureStoreOptions = {
|
|
29
30
|
sourcePipeline: unknown[];
|
30
31
|
pipeline: unknown[];
|
31
32
|
pipelineText: string;
|
33
|
+
collections: CollectionInfo[];
|
32
34
|
}>;
|
33
35
|
declare const configureStore: (options: ConfigureStoreOptions) => Store<import("redux").EmptyObject & {
|
34
36
|
appRegistry: unknown;
|
@@ -103,6 +105,9 @@ declare const configureStore: (options: ConfigureStoreOptions) => Store<import("
|
|
103
105
|
sidePanel: {
|
104
106
|
isPanelOpen: boolean;
|
105
107
|
};
|
108
|
+
collectionsFields: {
|
109
|
+
[x: string]: import("../modules/collections-fields").CollectionData;
|
110
|
+
};
|
106
111
|
}, import("redux").Action<any>> & {
|
107
112
|
dispatch: import("redux-thunk").ThunkDispatch<any, {
|
108
113
|
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;AAWnC,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;
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/stores/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAWnC,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,MAAM,+BAA+B,CAAC;AAEpE,MAAM,MAAM,qBAAqB,GAAG;IAIlC,YAAY,EAAE;QACZ,YAAY,EAAE,IAAI,CAChB,WAAW,EACX,eAAe,GAAG,gBAAgB,GAAG,WAAW,GAAG,qBAAqB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":"get-schema.d.ts","sourceRoot":"","sources":["../../../src/utils/get-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAsCxC,eAAO,MAAM,SAAS,SAAU,QAAQ,EAAE,aAEzC,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-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
5
5
|
"apiVersion": "3.0.0",
|
6
6
|
"description": "Compass Aggregation Pipeline Builder",
|
7
7
|
"main": "dist/index.js",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"check-ci": "npm run check",
|
31
31
|
"test": "mocha",
|
32
32
|
"test-electron": "xvfb-maybe electron-mocha --no-sandbox",
|
33
|
-
"test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
|
33
|
+
"test-cov": "nyc --compact=false --produce-source-map=false -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
|
34
34
|
"test-watch": "npm run test -- --watch",
|
35
35
|
"test-ci": "npm run test-cov",
|
36
36
|
"test-ci-electron": "npm run test-electron",
|
@@ -39,17 +39,17 @@
|
|
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.
|
47
|
-
"@mongodb-js/explain-plan-helper": "^1.0.
|
42
|
+
"@mongodb-js/compass-components": "^1.8.0",
|
43
|
+
"@mongodb-js/compass-crud": "^13.8.0",
|
44
|
+
"@mongodb-js/compass-editor": "^0.7.0",
|
45
|
+
"@mongodb-js/compass-logging": "^1.1.5",
|
46
|
+
"@mongodb-js/compass-utils": "^0.3.0",
|
47
|
+
"@mongodb-js/explain-plan-helper": "^1.0.5",
|
48
48
|
"@mongodb-js/mongodb-constants": "^0.2.1",
|
49
|
-
"@mongodb-js/mongodb-redux-common": "^2.0.
|
49
|
+
"@mongodb-js/mongodb-redux-common": "^2.0.7",
|
50
50
|
"bson": "^5.0.1",
|
51
|
-
"compass-preferences-model": "^2.
|
52
|
-
"hadron-document": "^8.
|
51
|
+
"compass-preferences-model": "^2.8.0",
|
52
|
+
"hadron-document": "^8.2.0",
|
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-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
64
|
+
"@mongodb-js/mocha-config-compass": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
65
|
+
"@mongodb-js/prettier-config-compass": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
66
|
+
"@mongodb-js/tsconfig-compass": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
67
|
+
"@mongodb-js/webpack-config-compass": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
68
68
|
"@testing-library/react": "^12.1.4",
|
69
69
|
"@testing-library/user-event": "^13.5.0",
|
70
70
|
"@types/lodash": "^4.14.188",
|
@@ -76,11 +76,11 @@
|
|
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-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
80
80
|
"lodash": "^4.17.21",
|
81
81
|
"mocha": "^10.2.0",
|
82
82
|
"mongodb": "^5.1.0",
|
83
|
-
"mongodb-data-service": "0.0.0-next-
|
83
|
+
"mongodb-data-service": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
84
84
|
"mongodb-ns": "^2.4.0",
|
85
85
|
"mongodb-query-parser": "^2.4.8",
|
86
86
|
"nyc": "^15.1.0",
|
@@ -99,17 +99,17 @@
|
|
99
99
|
"xvfb-maybe": "^0.2.1"
|
100
100
|
},
|
101
101
|
"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/explain-plan-helper": "0.0.0-next-
|
102
|
+
"@mongodb-js/compass-components": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
103
|
+
"@mongodb-js/compass-crud": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
104
|
+
"@mongodb-js/compass-editor": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
105
|
+
"@mongodb-js/compass-logging": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
106
|
+
"@mongodb-js/compass-utils": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
107
|
+
"@mongodb-js/explain-plan-helper": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
108
108
|
"@mongodb-js/mongodb-constants": "^0.2.1",
|
109
|
-
"@mongodb-js/mongodb-redux-common": "0.0.0-next-
|
109
|
+
"@mongodb-js/mongodb-redux-common": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
110
110
|
"bson": "^5.0.1",
|
111
|
-
"compass-preferences-model": "0.0.0-next-
|
112
|
-
"hadron-document": "0.0.0-next-
|
111
|
+
"compass-preferences-model": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400",
|
112
|
+
"hadron-document": "0.0.0-next-604fdbd72ed8b3cb7869997416b51ea07fd77400"
|
113
113
|
},
|
114
114
|
"homepage": "https://github.com/mongodb-js/compass",
|
115
115
|
"bugs": {
|
@@ -120,5 +120,5 @@
|
|
120
120
|
"type": "git",
|
121
121
|
"url": "https://github.com/mongodb-js/compass.git"
|
122
122
|
},
|
123
|
-
"gitHead": "
|
123
|
+
"gitHead": "604fdbd72ed8b3cb7869997416b51ea07fd77400"
|
124
124
|
}
|