@flighthq/host-electron 0.5.1-next.730.f29a5aa → 0.5.1-next.743.8d09db1
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/README.md
CHANGED
|
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/host-electron`. The
|
|
|
13
13
|
This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
|
|
14
14
|
|
|
15
15
|
- [Flight project](https://github.com/flighthq/flight)
|
|
16
|
-
- [Source for @flighthq/host-electron@0.5.1-next.
|
|
17
|
-
- [License](https://github.com/flighthq/flight/blob/
|
|
16
|
+
- [Source for @flighthq/host-electron@0.5.1-next.743.8d09db1](https://github.com/flighthq/flight/tree/8d09db125a0afd3b73ca6e039a7dd25bcb9737d0/packages/host-electron)
|
|
17
|
+
- [License](https://github.com/flighthq/flight/blob/8d09db125a0afd3b73ca6e039a7dd25bcb9737d0/LICENSE.md)
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import type { DesktopOsProfile, ElectronApi,
|
|
2
|
-
type ElectronHost<Profile extends DesktopOsProfile> = Host & {
|
|
3
|
-
readonly app: ElectronAppCapabilitiesFor<Profile>;
|
|
4
|
-
readonly protocol: ElectronProtocolCapabilities;
|
|
5
|
-
readonly tray: ElectronTrayCapabilitiesFor<Profile>;
|
|
6
|
-
} & HasClipboardBookmark & HasClipboardFormats & HasClipboardImage & HasClipboardText & HasDialogDirectoryOpen & HasDialogFileOpen & HasDialogFileSave & HasDialogMessage & HasNotificationClick & HasNotificationClose & HasNotificationDelivery & HasNotificationDismiss & HasNotificationLifecycle & HasNotificationReceived & HasMenuApplication & HasMenuPopup & HasIpcHandle & HasIpcMessage & HasIpcTargetedSend<ElectronIpcTarget> & HasMenuSelect & HasScreenChange & HasScreenQuery & HasShortcutQuery & HasShortcutTrigger & HasStorageLocal & HasUpdaterCommand & HasShellBeep & HasShellExternal & HasShellPathOpen & HasShellPathReveal & HasShellTrash & HasWindowAttach & HasWindowOpen;
|
|
7
|
-
type ElectronMacosHost = ElectronHost<'macos'> & HasNotificationAction & HasNotificationReply;
|
|
1
|
+
import type { DesktopOsProfile, ElectronApi, ElectronBackendOptions, ElectronHost, ElectronMacosHost } from '@flighthq/types/contract';
|
|
8
2
|
export declare function registerElectronBackends(electron: ElectronApi, options: Readonly<ElectronBackendOptions> & {
|
|
9
3
|
readonly platform: 'macos';
|
|
10
4
|
}): ElectronMacosHost;
|
|
@@ -14,5 +8,4 @@ export declare function registerElectronBackends<Profile extends 'linux' | 'wind
|
|
|
14
8
|
export declare function registerElectronBackends(electron: ElectronApi, options: Readonly<ElectronBackendOptions> & {
|
|
15
9
|
readonly platform: DesktopOsProfile;
|
|
16
10
|
}): ElectronHost<DesktopOsProfile> | ElectronMacosHost;
|
|
17
|
-
export {};
|
|
18
11
|
//# sourceMappingURL=electronRegister.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"electronRegister.d.ts","sourceRoot":"","sources":["../src/electronRegister.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"electronRegister.d.ts","sourceRoot":"","sources":["../src/electronRegister.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,sBAAsB,EACtB,YAAY,EAEZ,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAuClC,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,WAAW,EACrB,OAAO,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GAAG;IAAE,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,GACzE,iBAAiB,CAAC;AACrB,wBAAgB,wBAAwB,CAAC,OAAO,SAAS,OAAO,GAAG,SAAS,EAC1E,QAAQ,EAAE,WAAW,EACrB,OAAO,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GAAG;IAAE,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,GACzE,YAAY,CAAC,OAAO,CAAC,CAAC;AACzB,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,WAAW,EACrB,OAAO,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GAAG;IAC1C,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;CACrC,GACA,YAAY,CAAC,gBAAgB,CAAC,GAAG,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"electronRegister.js","sourceRoot":"","sources":["../src/electronRegister.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"electronRegister.js","sourceRoot":"","sources":["../src/electronRegister.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAWzD,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EACL,wCAAwC,EACxC,mCAAmC,EACnC,mCAAmC,EACnC,kCAAkC,GACnC,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAC/B,oCAAoC,GACrC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,sCAAsC,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AA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name": "@flighthq/host-electron",
|
|
3
|
-
"version": "0.5.1-next.
|
|
3
|
+
"version": "0.5.1-next.743.8d09db1",
|
|
4
4
|
"author": "Joshua Granick and other contributors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,25 +38,25 @@
|
|
|
38
38
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@flighthq/entity": "0.5.1-next.
|
|
42
|
-
"@flighthq/app": "0.5.1-next.
|
|
43
|
-
"@flighthq/application": "0.5.1-next.
|
|
44
|
-
"@flighthq/clipboard": "0.5.1-next.
|
|
45
|
-
"@flighthq/dialog": "0.5.1-next.
|
|
46
|
-
"@flighthq/ipc": "0.5.1-next.
|
|
47
|
-
"@flighthq/menu": "0.5.1-next.
|
|
48
|
-
"@flighthq/notification": "0.5.1-next.
|
|
49
|
-
"@flighthq/platform": "0.5.1-next.
|
|
50
|
-
"@flighthq/power": "0.5.1-next.
|
|
51
|
-
"@flighthq/protocol": "0.5.1-next.
|
|
52
|
-
"@flighthq/shell": "0.5.1-next.
|
|
53
|
-
"@flighthq/screen": "0.5.1-next.
|
|
54
|
-
"@flighthq/shortcut": "0.5.1-next.
|
|
55
|
-
"@flighthq/signals": "0.5.1-next.
|
|
56
|
-
"@flighthq/storage": "0.5.1-next.
|
|
57
|
-
"@flighthq/tray": "0.5.1-next.
|
|
58
|
-
"@flighthq/types": "0.5.1-next.
|
|
59
|
-
"@flighthq/updater": "0.5.1-next.
|
|
41
|
+
"@flighthq/entity": "0.5.1-next.743.8d09db1",
|
|
42
|
+
"@flighthq/app": "0.5.1-next.743.8d09db1",
|
|
43
|
+
"@flighthq/application": "0.5.1-next.743.8d09db1",
|
|
44
|
+
"@flighthq/clipboard": "0.5.1-next.743.8d09db1",
|
|
45
|
+
"@flighthq/dialog": "0.5.1-next.743.8d09db1",
|
|
46
|
+
"@flighthq/ipc": "0.5.1-next.743.8d09db1",
|
|
47
|
+
"@flighthq/menu": "0.5.1-next.743.8d09db1",
|
|
48
|
+
"@flighthq/notification": "0.5.1-next.743.8d09db1",
|
|
49
|
+
"@flighthq/platform": "0.5.1-next.743.8d09db1",
|
|
50
|
+
"@flighthq/power": "0.5.1-next.743.8d09db1",
|
|
51
|
+
"@flighthq/protocol": "0.5.1-next.743.8d09db1",
|
|
52
|
+
"@flighthq/shell": "0.5.1-next.743.8d09db1",
|
|
53
|
+
"@flighthq/screen": "0.5.1-next.743.8d09db1",
|
|
54
|
+
"@flighthq/shortcut": "0.5.1-next.743.8d09db1",
|
|
55
|
+
"@flighthq/signals": "0.5.1-next.743.8d09db1",
|
|
56
|
+
"@flighthq/storage": "0.5.1-next.743.8d09db1",
|
|
57
|
+
"@flighthq/tray": "0.5.1-next.743.8d09db1",
|
|
58
|
+
"@flighthq/types": "0.5.1-next.743.8d09db1",
|
|
59
|
+
"@flighthq/updater": "0.5.1-next.743.8d09db1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"typescript": "^5.3.0"
|