@mongodb-js/compass-web 0.12.1 → 0.12.3
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/connection-storage.d.ts +1 -1
- package/dist/entrypoint.d.ts.map +1 -1
- package/dist/index.js +20 -495
- package/dist/preferences.d.ts +14 -0
- package/dist/preferences.d.ts.map +1 -0
- package/package.json +37 -37
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AllPreferences } from 'compass-preferences-model/provider';
|
|
3
|
+
import { CompassWebPreferencesAccess } from 'compass-preferences-model/provider';
|
|
4
|
+
export type SandboxPreferencesUpdateTrigger = (updatePreference: (preferences: Partial<AllPreferences>) => Promise<void>) => () => void;
|
|
5
|
+
/**
|
|
6
|
+
* Only used in the sandbox to provide a way to update preferences.
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare const SandboxPreferencesUpdateProvider: ({ value, children, }: {
|
|
10
|
+
value: SandboxPreferencesUpdateTrigger | null;
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
}) => React.JSX.Element;
|
|
13
|
+
export declare function useCompassWebPreferences(initialPreferences?: Partial<AllPreferences>): React.MutableRefObject<CompassWebPreferencesAccess>;
|
|
14
|
+
//# sourceMappingURL=preferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../src/preferences.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAEjF,MAAM,MAAM,+BAA+B,GAAG,CAC5C,gBAAgB,EAAE,CAAC,WAAW,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,KACtE,MAAM,IAAI,CAAC;AAUhB;;;GAGG;AACH,eAAO,MAAM,gCAAgC;WAIpC,+BAA+B,GAAG,IAAI;cACnC,MAAM,SAAS;uBAO1B,CAAC;AAEF,wBAAgB,wBAAwB,CACtC,kBAAkB,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAC3C,KAAK,CAAC,gBAAgB,CAAC,2BAA2B,CAAC,CAsCrD"}
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"email": "compass@mongodb.com"
|
|
15
15
|
},
|
|
16
16
|
"homepage": "https://github.com/mongodb-js/compass",
|
|
17
|
-
"version": "0.12.
|
|
17
|
+
"version": "0.12.3",
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
20
|
"url": "https://github.com/mongodb-js/compass.git"
|
|
@@ -63,36 +63,36 @@
|
|
|
63
63
|
"react-dom": "^17.0.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@mongodb-js/atlas-service": "^0.33.
|
|
67
|
-
"@mongodb-js/compass-aggregations": "^9.50.
|
|
68
|
-
"@mongodb-js/compass-app-stores": "^7.34.
|
|
69
|
-
"@mongodb-js/compass-collection": "^4.47.
|
|
70
|
-
"@mongodb-js/compass-components": "^1.32.
|
|
71
|
-
"@mongodb-js/compass-connections": "^1.48.
|
|
72
|
-
"@mongodb-js/compass-crud": "^13.48.
|
|
73
|
-
"@mongodb-js/compass-databases-collections": "^1.47.
|
|
74
|
-
"@mongodb-js/compass-explain-plan": "^6.48.
|
|
75
|
-
"@mongodb-js/compass-export-to-language": "^9.24.
|
|
76
|
-
"@mongodb-js/compass-field-store": "^9.23.
|
|
77
|
-
"@mongodb-js/compass-generative-ai": "^0.28.
|
|
78
|
-
"@mongodb-js/compass-global-writes": "^1.7.
|
|
79
|
-
"@mongodb-js/compass-indexes": "^5.47.
|
|
80
|
-
"@mongodb-js/compass-logging": "^1.4.
|
|
81
|
-
"@mongodb-js/compass-query-bar": "^8.49.
|
|
82
|
-
"@mongodb-js/compass-schema": "^6.49.
|
|
83
|
-
"@mongodb-js/compass-schema-validation": "^6.48.
|
|
84
|
-
"@mongodb-js/compass-sidebar": "^5.48.
|
|
85
|
-
"@mongodb-js/compass-telemetry": "^1.2.
|
|
86
|
-
"@mongodb-js/compass-welcome": "^0.46.
|
|
87
|
-
"@mongodb-js/compass-workspaces": "^0.29.
|
|
88
|
-
"@mongodb-js/connection-storage": "^0.24.
|
|
89
|
-
"@mongodb-js/devtools-proxy-support": "^0.4.
|
|
90
|
-
"@mongodb-js/eslint-config-compass": "^1.1.
|
|
91
|
-
"@mongodb-js/mocha-config-compass": "^1.4.
|
|
92
|
-
"@mongodb-js/prettier-config-compass": "^1.0.
|
|
93
|
-
"@mongodb-js/testing-library-compass": "^1.0.
|
|
94
|
-
"@mongodb-js/tsconfig-compass": "^1.0.
|
|
95
|
-
"@mongodb-js/webpack-config-compass": "^1.4.
|
|
66
|
+
"@mongodb-js/atlas-service": "^0.33.3",
|
|
67
|
+
"@mongodb-js/compass-aggregations": "^9.50.3",
|
|
68
|
+
"@mongodb-js/compass-app-stores": "^7.34.3",
|
|
69
|
+
"@mongodb-js/compass-collection": "^4.47.3",
|
|
70
|
+
"@mongodb-js/compass-components": "^1.32.3",
|
|
71
|
+
"@mongodb-js/compass-connections": "^1.48.3",
|
|
72
|
+
"@mongodb-js/compass-crud": "^13.48.3",
|
|
73
|
+
"@mongodb-js/compass-databases-collections": "^1.47.3",
|
|
74
|
+
"@mongodb-js/compass-explain-plan": "^6.48.3",
|
|
75
|
+
"@mongodb-js/compass-export-to-language": "^9.24.3",
|
|
76
|
+
"@mongodb-js/compass-field-store": "^9.23.3",
|
|
77
|
+
"@mongodb-js/compass-generative-ai": "^0.28.3",
|
|
78
|
+
"@mongodb-js/compass-global-writes": "^1.7.3",
|
|
79
|
+
"@mongodb-js/compass-indexes": "^5.47.3",
|
|
80
|
+
"@mongodb-js/compass-logging": "^1.4.14",
|
|
81
|
+
"@mongodb-js/compass-query-bar": "^8.49.3",
|
|
82
|
+
"@mongodb-js/compass-schema": "^6.49.3",
|
|
83
|
+
"@mongodb-js/compass-schema-validation": "^6.48.3",
|
|
84
|
+
"@mongodb-js/compass-sidebar": "^5.48.3",
|
|
85
|
+
"@mongodb-js/compass-telemetry": "^1.2.7",
|
|
86
|
+
"@mongodb-js/compass-welcome": "^0.46.3",
|
|
87
|
+
"@mongodb-js/compass-workspaces": "^0.29.3",
|
|
88
|
+
"@mongodb-js/connection-storage": "^0.24.3",
|
|
89
|
+
"@mongodb-js/devtools-proxy-support": "^0.4.2",
|
|
90
|
+
"@mongodb-js/eslint-config-compass": "^1.1.10",
|
|
91
|
+
"@mongodb-js/mocha-config-compass": "^1.4.5",
|
|
92
|
+
"@mongodb-js/prettier-config-compass": "^1.0.5",
|
|
93
|
+
"@mongodb-js/testing-library-compass": "^1.0.5",
|
|
94
|
+
"@mongodb-js/tsconfig-compass": "^1.0.8",
|
|
95
|
+
"@mongodb-js/webpack-config-compass": "^1.4.10",
|
|
96
96
|
"@types/chai": "^4.2.21",
|
|
97
97
|
"@types/chai-dom": "^0.0.10",
|
|
98
98
|
"@types/express-http-proxy": "^1.6.6",
|
|
@@ -104,23 +104,23 @@
|
|
|
104
104
|
"bson": "^6.2.0",
|
|
105
105
|
"buffer": "^6.0.3",
|
|
106
106
|
"chai": "^4.3.6",
|
|
107
|
-
"compass-preferences-model": "^2.31.
|
|
107
|
+
"compass-preferences-model": "^2.31.3",
|
|
108
108
|
"crypto-browserify": "^3.12.0",
|
|
109
109
|
"debug": "^4.3.4",
|
|
110
110
|
"depcheck": "^1.4.1",
|
|
111
111
|
"dns-query": "^0.11.2",
|
|
112
|
-
"electron": "^32.2.
|
|
112
|
+
"electron": "^32.2.7",
|
|
113
113
|
"eslint": "^7.25.0",
|
|
114
114
|
"events": "^3.3.0",
|
|
115
115
|
"express": "^4.21.1",
|
|
116
116
|
"express-http-proxy": "^2.0.0",
|
|
117
|
-
"hadron-app-registry": "^9.2.
|
|
117
|
+
"hadron-app-registry": "^9.2.10",
|
|
118
118
|
"is-ip": "^5.0.1",
|
|
119
119
|
"lodash": "^4.17.21",
|
|
120
120
|
"mocha": "^10.2.0",
|
|
121
|
-
"mongodb": "^6.
|
|
121
|
+
"mongodb": "^6.12.0",
|
|
122
122
|
"mongodb-connection-string-url": "^3.0.1",
|
|
123
|
-
"mongodb-data-service": "^22.23.
|
|
123
|
+
"mongodb-data-service": "^22.23.11",
|
|
124
124
|
"mongodb-ns": "^2.4.2",
|
|
125
125
|
"nyc": "^15.1.0",
|
|
126
126
|
"os-browserify": "^0.3.0",
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"whatwg-url": "^13.0.0",
|
|
136
136
|
"ws": "^8.16.0"
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "b944cdf180240f303ea7e41a7ea3e296a1e42f61"
|
|
139
139
|
}
|