@mongodb-js/compass-electron-menu 0.3.5 → 0.3.8
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.
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import { type CompassAppMenu } from './types';
|
|
1
|
+
import { type IpcEvents, type ModifyApplicationMenuParams, type CompassAppMenu } from './types';
|
|
3
2
|
export interface HadronIpcMain {
|
|
4
3
|
broadcastFocused<K extends keyof IpcEvents>(channel: K, payload: IpcEvents[K]): void;
|
|
5
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipc-provider-main.d.ts","sourceRoot":"","sources":["../src/ipc-provider-main.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ipc-provider-main.d.ts","sourceRoot":"","sources":["../src/ipc-provider-main.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,2BAA2B,EAEhC,KAAK,cAAc,EAGpB,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,aAAa;IAC5B,gBAAgB,CAAC,CAAC,SAAS,MAAM,SAAS,EACxC,OAAO,EAAE,CAAC,EACV,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,GACpB,IAAI,CAAC;CACT;AAED,qBAAa,wBAAwB;IACnC,OAAO,CAAC,aAAa,CAAsD;IAC3E,OAAO,CAAC,eAAe,CAClB;IAEL,OAAO,CAAC,OAAO,CAAgB;gBAEnB,OAAO,EAAE,aAAa,GAAG,SAAS;IAO9C,KAAK,IAAI,cAAc,EAAE;IAgBzB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;IAsBzD,4BAA4B,GAAI,qBAI7B,2BAA2B,KAAG,IAAI,CAcnC;IAEF,MAAM,CAAC,QAAQ,CAAC,6BAA6B,6CACmC;CACjF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ApplicationMenuProvider, CompassAppMenu } from './';
|
|
2
1
|
import type { IpcEvents, MenuItemConstructorOptions } from './types';
|
|
2
|
+
import type { ApplicationMenuProvider, CompassAppMenu } from './';
|
|
3
3
|
export interface HadronIpcRenderer {
|
|
4
4
|
on<K extends keyof IpcEvents>(event: K, listener: (event: unknown, payload: IpcEvents[K]) => void): void;
|
|
5
5
|
call<K extends keyof IpcEvents>(event: K, payload: IpcEvents[K]): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipc-provider-renderer.d.ts","sourceRoot":"","sources":["../src/ipc-provider-renderer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ipc-provider-renderer.d.ts","sourceRoot":"","sources":["../src/ipc-provider-renderer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,0BAA0B,EAE3B,MAAM,SAAS,CAAC;AAGjB,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAGlE,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,CAAC,SAAS,MAAM,SAAS,EAC1B,KAAK,EAAE,CAAC,EACR,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,GACxD,IAAI,CAAC;IACR,IAAI,CAAC,CAAC,SAAS,MAAM,SAAS,EAC5B,KAAK,EAAE,CAAC,EACR,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,GACpB,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB;AAeD,qBAAa,eAAgB,YAAW,uBAAuB;IAC7D,QAAQ,oBAAyB,IAAI,EAAI;IACzC,WAAW,EAAE,iBAAiB,GAAG,SAAS,CAAC;gBAE/B,WAAW,EAAE,iBAAiB,GAAG,SAAS;IAYtD,mBAAmB,GAAI,MAAM,cAAc,KAAG,CAAC,MAAM,IAAI,CAAC,CAmBxD;IAEF,cAAc,GACZ,MAAM,0BAA0B,CAAC,MAAM,CAAC,EACxC,SAAS,MAAM,IAAI,KAClB,CAAC,MAAM,IAAI,CAAC,CAab;CACH"}
|
|
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ApplicationMenu = void 0;
|
|
7
|
+
const debug_1 = __importDefault(require("debug"));
|
|
7
8
|
const types_1 = require("./types");
|
|
8
9
|
const util_1 = require("./util");
|
|
9
|
-
const debug_1 = __importDefault(require("debug"));
|
|
10
10
|
const debug = (0, debug_1.default)('compass-electron-menu:ipc-provider-renderer');
|
|
11
11
|
function translateCallsToHandlerIds(menu) {
|
|
12
12
|
const handlerIds = new Map();
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"email": "compass@mongodb.com"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/mongodb-js/compass",
|
|
16
|
-
"version": "0.3.
|
|
16
|
+
"version": "0.3.8",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "https://github.com/mongodb-js/compass.git"
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"bson": "^7.3.2",
|
|
57
57
|
"debug": "^4.3.4",
|
|
58
|
-
"electron": "^
|
|
58
|
+
"electron": "^45.1.0",
|
|
59
59
|
"react": "^18.3.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@mongodb-js/eslint-config-compass": "^1.4.
|
|
63
|
-
"@mongodb-js/mocha-config-compass": "^1.
|
|
64
|
-
"@mongodb-js/prettier-config-compass": "^1.2.
|
|
65
|
-
"@mongodb-js/testing-library-compass": "^1.7.
|
|
66
|
-
"@mongodb-js/tsconfig-compass": "^1.3.
|
|
62
|
+
"@mongodb-js/eslint-config-compass": "^1.4.31",
|
|
63
|
+
"@mongodb-js/mocha-config-compass": "^1.9.0",
|
|
64
|
+
"@mongodb-js/prettier-config-compass": "^1.2.10",
|
|
65
|
+
"@mongodb-js/testing-library-compass": "^1.7.5",
|
|
66
|
+
"@mongodb-js/tsconfig-compass": "^1.3.2",
|
|
67
67
|
"@types/chai": "^4.2.21",
|
|
68
68
|
"@types/chai-dom": "^0.0.10",
|
|
69
69
|
"@types/mocha": "^9.0.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"sinon": "^17.0.1",
|
|
79
79
|
"typescript": "^6.0.3"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "ffed0669174748402f0d54164e9aaed0949eb888"
|
|
82
82
|
}
|