electron-reactive-event-cli 1.0.119 → 1.0.120

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.
Files changed (95) hide show
  1. package/ReadMe.md +3 -44
  2. package/package.json +7 -26
  3. package/Distribution/All.Command.d.ts +0 -2
  4. package/Distribution/All.Command.d.ts.map +0 -1
  5. package/Distribution/All.Command.js +0 -22
  6. package/Distribution/All.Command.js.map +0 -1
  7. package/Distribution/Bin.d.ts +0 -3
  8. package/Distribution/Bin.d.ts.map +0 -1
  9. package/Distribution/Bin.js +0 -86
  10. package/Distribution/Bin.js.map +0 -1
  11. package/Distribution/Command.d.ts +0 -12
  12. package/Distribution/Command.d.ts.map +0 -1
  13. package/Distribution/Command.js +0 -100
  14. package/Distribution/Command.js.map +0 -1
  15. package/Distribution/Config.Types.d.ts +0 -36
  16. package/Distribution/Config.Types.d.ts.map +0 -1
  17. package/Distribution/Config.Types.js +0 -8
  18. package/Distribution/Config.Types.js.map +0 -1
  19. package/Distribution/Config.d.ts +0 -28
  20. package/Distribution/Config.d.ts.map +0 -1
  21. package/Distribution/Config.js +0 -161
  22. package/Distribution/Config.js.map +0 -1
  23. package/Distribution/DeclareEvents.Command.d.ts +0 -2
  24. package/Distribution/DeclareEvents.Command.d.ts.map +0 -1
  25. package/Distribution/DeclareEvents.Command.js +0 -16
  26. package/Distribution/DeclareEvents.Command.js.map +0 -1
  27. package/Distribution/DeclareEvents.Types.d.ts +0 -11
  28. package/Distribution/DeclareEvents.Types.d.ts.map +0 -1
  29. package/Distribution/DeclareEvents.Types.js +0 -8
  30. package/Distribution/DeclareEvents.Types.js.map +0 -1
  31. package/Distribution/DeclareEvents.d.ts +0 -3
  32. package/Distribution/DeclareEvents.d.ts.map +0 -1
  33. package/Distribution/DeclareEvents.js +0 -213
  34. package/Distribution/DeclareEvents.js.map +0 -1
  35. package/Distribution/Docs.Command.d.ts +0 -3
  36. package/Distribution/Docs.Command.d.ts.map +0 -1
  37. package/Distribution/Docs.Command.js +0 -19
  38. package/Distribution/Docs.Command.js.map +0 -1
  39. package/Distribution/DownloadSample.Command.d.ts +0 -3
  40. package/Distribution/DownloadSample.Command.d.ts.map +0 -1
  41. package/Distribution/DownloadSample.Command.js +0 -107
  42. package/Distribution/DownloadSample.Command.js.map +0 -1
  43. package/Distribution/Generate.Command.d.ts +0 -5
  44. package/Distribution/Generate.Command.d.ts.map +0 -1
  45. package/Distribution/Generate.Command.js +0 -20
  46. package/Distribution/Generate.Command.js.map +0 -1
  47. package/Distribution/GenerateIpc.Command.d.ts +0 -3
  48. package/Distribution/GenerateIpc.Command.d.ts.map +0 -1
  49. package/Distribution/GenerateIpc.Command.js +0 -22
  50. package/Distribution/GenerateIpc.Command.js.map +0 -1
  51. package/Distribution/GenerateIpcMainModule.d.ts +0 -3
  52. package/Distribution/GenerateIpcMainModule.d.ts.map +0 -1
  53. package/Distribution/GenerateIpcMainModule.js +0 -37
  54. package/Distribution/GenerateIpcMainModule.js.map +0 -1
  55. package/Distribution/GenerateIpcRendererModule.d.ts +0 -5
  56. package/Distribution/GenerateIpcRendererModule.d.ts.map +0 -1
  57. package/Distribution/GenerateIpcRendererModule.js +0 -73
  58. package/Distribution/GenerateIpcRendererModule.js.map +0 -1
  59. package/Distribution/GenerateScopedTypes.Command.d.ts +0 -3
  60. package/Distribution/GenerateScopedTypes.Command.d.ts.map +0 -1
  61. package/Distribution/GenerateScopedTypes.Command.js +0 -44
  62. package/Distribution/GenerateScopedTypes.Command.js.map +0 -1
  63. package/Distribution/GenerateScopedTypes.Types.d.ts +0 -25
  64. package/Distribution/GenerateScopedTypes.Types.d.ts.map +0 -1
  65. package/Distribution/GenerateScopedTypes.Types.js +0 -8
  66. package/Distribution/GenerateScopedTypes.Types.js.map +0 -1
  67. package/Distribution/GenerateScopedTypes.d.ts +0 -9
  68. package/Distribution/GenerateScopedTypes.d.ts.map +0 -1
  69. package/Distribution/GenerateScopedTypes.js +0 -228
  70. package/Distribution/GenerateScopedTypes.js.map +0 -1
  71. package/Distribution/Setup.Command.d.ts +0 -3
  72. package/Distribution/Setup.Command.d.ts.map +0 -1
  73. package/Distribution/Setup.Command.js +0 -11
  74. package/Distribution/Setup.Command.js.map +0 -1
  75. package/Distribution/Setup.d.ts +0 -2
  76. package/Distribution/Setup.d.ts.map +0 -1
  77. package/Distribution/Setup.js +0 -184
  78. package/Distribution/Setup.js.map +0 -1
  79. package/Distribution/Shared.Types.d.ts +0 -6
  80. package/Distribution/Shared.Types.d.ts.map +0 -1
  81. package/Distribution/Shared.Types.js +0 -8
  82. package/Distribution/Shared.Types.js.map +0 -1
  83. package/Distribution/Shared.d.ts +0 -24
  84. package/Distribution/Shared.d.ts.map +0 -1
  85. package/Distribution/Shared.js +0 -66
  86. package/Distribution/Shared.js.map +0 -1
  87. package/Distribution/WriteTypesToClipboard.d.ts +0 -2
  88. package/Distribution/WriteTypesToClipboard.d.ts.map +0 -1
  89. package/Distribution/WriteTypesToClipboard.js +0 -193
  90. package/Distribution/WriteTypesToClipboard.js.map +0 -1
  91. package/Distribution/index.d.ts +0 -4
  92. package/Distribution/index.d.ts.map +0 -1
  93. package/Distribution/index.js +0 -25
  94. package/Distribution/index.js.map +0 -1
  95. package/License.md +0 -21
@@ -1,73 +0,0 @@
1
- "use strict";
2
- /* File: GenerateIpcRenderer.Command.ts
3
- * Author: Gage Sorrell <gage@sorrell.sh>
4
- * Copyright: (c) 2026 Gage Sorrell
5
- * License: MIT
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.GetIpcPath = GetIpcPath;
9
- exports.GenerateIpcRendererModule = GenerateIpcRendererModule;
10
- exports.GenerateIpcRendererModuleCommand = GenerateIpcRendererModuleCommand;
11
- /* eslint-disable jsdoc/require-jsdoc */
12
- const Command_1 = require("./Command");
13
- const Config_1 = require("./Config");
14
- const DeclareEvents_1 = require("./DeclareEvents");
15
- const promises_1 = require("node:fs/promises");
16
- function GetIpcPath(Config, Owner) {
17
- return async function () {
18
- if ("IpcModulePath" in Config && Config.IpcModulePath !== undefined) {
19
- if (Owner in Config.IpcModulePath && Config.IpcModulePath[Owner] !== undefined) {
20
- return Config.IpcModulePath[Owner];
21
- }
22
- else {
23
- /* eslint-disable-next-line @stylistic/max-len */
24
- throw new Command_1.TryError(`The ${Owner} property of IpcModulePath was not found in the config file.`);
25
- }
26
- }
27
- else {
28
- throw new Command_1.TryError("The IpcModulePath property was not found in the config file.");
29
- }
30
- };
31
- }
32
- function Inner(Config, ModulePath) {
33
- return async function () {
34
- const Header = (0, Command_1.GetHeader)(ModulePath, "declare-events");
35
- const ImportPath = (0, DeclareEvents_1.GetRelativeImportPath)(Config.ScopedModulePath, ModulePath);
36
- const Contents = Header + `import type { PackageKey } from "${ImportPath}";
37
- import { getReactiveIpcHooks } from "electron-reactive-event/scoped";
38
-
39
- const {
40
- useInvokeEvent: UseInvokeEvent,
41
- useInvokeEventDeferred: UseInvokeEventDeferred,
42
- useOnEvent: UseOnEvent,
43
- useOnEventDeferred: UseOnEventDeferred,
44
- useOnceEvent: UseOnceEvent,
45
- useOnceEventDeferred: UseOnceEventDeferred,
46
- useOffEventDeferred: UseOffEventDeferred,
47
- useSendEvent: UseSendEvent,
48
- useSendEventDeferred: UseSendEventDeferred
49
- } = getReactiveIpcHooks<PackageKey>();
50
-
51
- export const useInvokeEvent: typeof UseInvokeEvent = UseInvokeEvent;
52
- export const useInvokeEventDeferred: typeof UseInvokeEventDeferred = UseInvokeEventDeferred;
53
- export const useOnEvent: typeof UseOnEvent = UseOnEvent;
54
- export const useOnEventDeferred: typeof UseOnEventDeferred = UseOnEventDeferred;
55
- export const useOnceEvent: typeof UseOnceEvent = UseOnceEvent;
56
- export const useOnceEventDeferred: typeof UseOnceEventDeferred = UseOnceEventDeferred;
57
- export const useOffEventDeferred: typeof UseOffEventDeferred = UseOffEventDeferred;
58
- export const useSendEvent: typeof UseSendEvent = UseSendEvent;
59
- export const useSendEventDeferred: typeof UseSendEventDeferred = UseSendEventDeferred;
60
- `;
61
- await (0, promises_1.writeFile)(ModulePath, Contents, { encoding: "utf-8" });
62
- };
63
- }
64
- async function GenerateIpcRendererModule() {
65
- const Config = await (0, Config_1.GetConfigSafe)();
66
- const ModulePath = await (0, Command_1.Try)("Loading the IpcModulePath.Renderer path from the config file...", "Found the IpcModulePath.Renderer in your package's root directory!", GetIpcPath(Config, "Renderer"));
67
- await (0, Command_1.Try)("Writing the file...", `Wrote the hooks successfully to ${ModulePath}!`, Inner(Config, ModulePath));
68
- }
69
- async function GenerateIpcRendererModuleCommand() {
70
- (0, Command_1.SetCommand)("generate-ipc renderer");
71
- await GenerateIpcRendererModule();
72
- }
73
- //# sourceMappingURL=GenerateIpcRendererModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenerateIpcRendererModule.js","sourceRoot":"","sources":["../Source/GenerateIpcRendererModule.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAUH,gCAwBC;AAwCD,8DAcC;AAED,4EAIC;AA5FD,wCAAwC;AAExC,uCAAiE;AAEjE,qCAAyC;AACzC,mDAAwD;AACxD,+CAA6C;AAE7C,SAAgB,UAAU,CACtB,MAAiB,EACjB,KAA0B;IAG1B,OAAO,KAAK;QAER,IAAI,eAAe,IAAI,MAAM,IAAI,MAAM,CAAC,aAAa,KAAK,SAAS,EACnE,CAAC;YACG,IAAI,KAAK,IAAI,MAAM,CAAC,aAAa,IAAI,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,SAAS,EAC9E,CAAC;gBACG,OAAO,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;YACvC,CAAC;iBAED,CAAC;gBACG,iDAAiD;gBACjD,MAAM,IAAI,kBAAQ,CAAC,OAAQ,KAAM,8DAA8D,CAAC,CAAC;YACrG,CAAC;QACL,CAAC;aAED,CAAC;YACG,MAAM,IAAI,kBAAQ,CAAC,8DAA8D,CAAC,CAAC;QACvF,CAAC;IACL,CAAC,CAAC;AACN,CAAC;AAED,SAAS,KAAK,CACV,MAAiB,EACjB,UAAkB;IAGlB,OAAO,KAAK;QAER,MAAM,MAAM,GAAW,IAAA,mBAAS,EAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC;QAC/D,MAAM,UAAU,GAAW,IAAA,qCAAqB,EAAC,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;QACtF,MAAM,QAAQ,GAAW,MAAM,GAAG,oCAAqC,UAAW;;;;;;;;;;;;;;;;;;;;;;;;CAwBzF,CAAC;QACM,MAAM,IAAA,oBAAS,EAAC,UAAU,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC,CAAC;AACN,CAAC;AAEM,KAAK,UAAU,yBAAyB;IAE3C,MAAM,MAAM,GAAc,MAAM,IAAA,sBAAa,GAAE,CAAC;IAChD,MAAM,UAAU,GAAW,MAAM,IAAA,aAAG,EAChC,iEAAiE,EACjE,oEAAoE,EACpE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,CACjC,CAAC;IAEF,MAAM,IAAA,aAAG,EACL,qBAAqB,EACrB,mCAAoC,UAAW,GAAG,EAClD,KAAK,CAAC,MAAM,EAAE,UAAU,CAAC,CAC5B,CAAC;AACN,CAAC;AAEM,KAAK,UAAU,gCAAgC;IAElD,IAAA,oBAAU,EAAC,uBAAuB,CAAC,CAAC;IACpC,MAAM,yBAAyB,EAAE,CAAC;AACtC,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare function GenerateScopedTypesCommand(): Promise<void>;
2
- export declare function GenerateScopedTypes(): Promise<void>;
3
- //# sourceMappingURL=GenerateScopedTypes.Command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenerateScopedTypes.Command.d.ts","sourceRoot":"","sources":["../Source/GenerateScopedTypes.Command.ts"],"names":[],"mappings":"AAaA,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,IAAI,CAAC,CAIhE;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAoCzD"}
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /* File: GenerateScopedTypes.Command.ts
3
- * Author: Gage Sorrell <gage@sorrell.sh>
4
- * Copyright: (c) 2026 Gage Sorrell
5
- * License: MIT
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.GenerateScopedTypesCommand = GenerateScopedTypesCommand;
9
- exports.GenerateScopedTypes = GenerateScopedTypes;
10
- /* eslint-disable jsdoc/require-jsdoc, no-console */
11
- const Config_1 = require("./Config");
12
- const GenerateScopedTypes_1 = require("./GenerateScopedTypes");
13
- const Command_1 = require("./Command");
14
- async function GenerateScopedTypesCommand() {
15
- (0, Command_1.SetCommand)("generate-scoped-types");
16
- await GenerateScopedTypes();
17
- }
18
- async function GenerateScopedTypes() {
19
- const Config = await (0, Config_1.GetConfigSafe)();
20
- const DefaultConfig = await (0, Config_1.GetDefaultConfig)();
21
- if (!(await (0, Config_1.HasConfig)())) {
22
- /* eslint-disable-next-line @stylistic/max-len */
23
- console.log("\n💡 Tip: You can create a default config file by running\n\n npm exec electron-reactive-event setup\n");
24
- }
25
- const DefaultLabelScopedModulePath = Config.ScopedModulePath === DefaultConfig.ScopedModulePath
26
- ? "default"
27
- : "";
28
- if (!(await (0, Config_1.HasConfig)())) {
29
- /* eslint-disable-next-line @stylistic/max-len */
30
- console.log("\n💡 Tip: You can create a default config file by running\n\n npm exec electron-reactive-event setup\n");
31
- }
32
- /* eslint-disable @stylistic/max-len */
33
- console.log(`Writing scoped types module at ${DefaultLabelScopedModulePath} path ${Config.ScopedModulePath}...`);
34
- try {
35
- await (0, GenerateScopedTypes_1.GenerateScopedTypesInner)();
36
- console.log(`Successfully created scoped types for PackageKey ${Config.PackageKey}!`);
37
- process.exit(0);
38
- }
39
- catch {
40
- console.error(Error, "\n\n🚨 The scoped types could not be written. The error is printed above.");
41
- process.exit(1);
42
- }
43
- }
44
- //# sourceMappingURL=GenerateScopedTypes.Command.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenerateScopedTypes.Command.js","sourceRoot":"","sources":["../Source/GenerateScopedTypes.Command.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AASH,gEAIC;AAED,kDAoCC;AAjDD,oDAAoD;AAEpD,qCAAsE;AAEtE,+DAAiE;AACjE,uCAAuC;AAEhC,KAAK,UAAU,0BAA0B;IAE5C,IAAA,oBAAU,EAAC,uBAAuB,CAAC,CAAC;IACpC,MAAM,mBAAmB,EAAE,CAAC;AAChC,CAAC;AAEM,KAAK,UAAU,mBAAmB;IAErC,MAAM,MAAM,GAAc,MAAM,IAAA,sBAAa,GAAE,CAAC;IAChD,MAAM,aAAa,GAAc,MAAM,IAAA,yBAAgB,GAAE,CAAC;IAE1D,IAAI,CAAC,CAAC,MAAM,IAAA,kBAAS,GAAE,CAAC,EACxB,CAAC;QACG,iDAAiD;QACjD,OAAO,CAAC,GAAG,CAAC,2GAA2G,CAAC,CAAC;IAC7H,CAAC;IAED,MAAM,4BAA4B,GAC9B,MAAM,CAAC,gBAAgB,KAAK,aAAa,CAAC,gBAAgB;QACtD,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,EAAE,CAAC;IAEb,IAAI,CAAC,CAAC,MAAM,IAAA,kBAAS,GAAE,CAAC,EACxB,CAAC;QACG,iDAAiD;QACjD,OAAO,CAAC,GAAG,CAAC,2GAA2G,CAAC,CAAC;IAC7H,CAAC;IAED,uCAAuC;IACvC,OAAO,CAAC,GAAG,CAAC,kCAAmC,4BAA6B,SAAU,MAAM,CAAC,gBAAiB,KAAK,CAAC,CAAC;IAErH,IACA,CAAC;QACG,MAAM,IAAA,8CAAwB,GAAE,CAAC;QACjC,OAAO,CAAC,GAAG,CAAC,oDAAqD,MAAM,CAAC,UAAW,GAAG,CAAC,CAAC;QACxF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;IACD,MACA,CAAC;QACG,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,4EAA4E,CAAC,CAAC;QACnG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACL,CAAC"}
@@ -1,25 +0,0 @@
1
- export type ScopedTypeDefinition<PackageKey extends string, KeyType extends string> = `export type ${KeyType}<${PackageKey}${string}> = ${KeyType}Imported<${PackageKey}${string}>;`;
2
- export type Channels = {
3
- Any: string;
4
- Response: string;
5
- NoResponse: string;
6
- Request: string;
7
- NoRequest: string;
8
- Error: string;
9
- NoError: string;
10
- ErrorPayload: string;
11
- ErrorMessageOnly: string;
12
- Handler: Record<string, string>;
13
- Listener: Record<string, string>;
14
- };
15
- export type ScopedExport = "Channel" | "FilterByOwner" | "Handle" | "HandleOnce" | "InvokeEventDeferred" | "IpcMainReactive" | "Listener" | "MainListener" | "MainRegistrar" | "Off" | "OffEventDeferred" | "On" | "OnEventDeferred" | "Once" | "OnceEventDeferred" | "ReactiveEventHooks" | "ReactiveIpcMainFunctions" | "RemoveAllListeners" | "RemoveHandler" | "RendererListener" | "RendererRegistrar" | "Send" | "SendEventDeferred" | "UseInvokeEvent" | "UseInvokeEventDeferred" | "UseOffEventDeferred" | "UseOnEvent" | "UseOnEventDeferred" | "UseOnceEvent" | "UseOnceEventDeferred" | "UseSendEvent" | "UseSendEventDeferred";
16
- export type UnscopedExport = "EventDecl" | "EventDeclHandler" | "EventDeclListener" | "EventOwner" | "IpcEvent" | "MainOwner" | "PackageKeys" | "ReactiveEventContext" | "ReactiveEventProviderProps" | "Registrar" | "RendererOwner";
17
- export type Types = {
18
- Scoped: {
19
- [Key in ScopedExport]: string | symbol;
20
- };
21
- Unscoped: {
22
- [Key in UnscopedExport]: string | symbol;
23
- };
24
- };
25
- //# sourceMappingURL=GenerateScopedTypes.Types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenerateScopedTypes.Types.d.ts","sourceRoot":"","sources":["../Source/GenerateScopedTypes.Types.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,oBAAoB,CAC5B,UAAU,SA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AAG,IAAI,YAAY,GAAI,MAAM,GAAG,MAAM;KAC3C,CAAC;IACF,QAAQ,EACR;SACM,GAAG,IAAI,cAAc,GAAI,MAAM,GAAG,MAAM;KAC7C,CAAC;CACL,CAAC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- /* File: GenerateScopedTypes.Types.ts
3
- * Author: Gage Sorrell <gage@sorrell.sh>
4
- * Copyright: (c) 2026 Gage Sorrell
5
- * License: MIT
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=GenerateScopedTypes.Types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenerateScopedTypes.Types.js","sourceRoot":"","sources":["../Source/GenerateScopedTypes.Types.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Generate a module in the developer's project (in the `process.cwd()`) containing
3
- * a type for every type exported by `electron-reactive-event`, such that the `PackageKey`
4
- * type parameter is set for the developer's project's `PackageKey`.
5
- *
6
- * @example `npm exec electron-reactive-event generate-types MyPackageKey`
7
- */
8
- export declare function GenerateScopedTypesInner(): Promise<void>;
9
- //# sourceMappingURL=GenerateScopedTypes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenerateScopedTypes.d.ts","sourceRoot":"","sources":["../Source/GenerateScopedTypes.ts"],"names":[],"mappings":"AAcA;;;;;;GAMG;AACH,wBAAsB,wBAAwB,IAAI,OAAO,CAAC,IAAI,CAAC,CAmS9D"}
@@ -1,228 +0,0 @@
1
- "use strict";
2
- /* File: GenerateScopedTypes.ts
3
- * Author: Gage Sorrell <gage@sorrell.sh>
4
- * Copyright: (c) 2026 Gage Sorrell
5
- * License: MIT
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.GenerateScopedTypesInner = GenerateScopedTypesInner;
9
- /* eslint-disable no-console */
10
- const Command_1 = require("./Command");
11
- const Config_1 = require("./Config");
12
- const promises_1 = require("node:fs/promises");
13
- /**
14
- * Generate a module in the developer's project (in the `process.cwd()`) containing
15
- * a type for every type exported by `electron-reactive-event`, such that the `PackageKey`
16
- * type parameter is set for the developer's project's `PackageKey`.
17
- *
18
- * @example `npm exec electron-reactive-event generate-types MyPackageKey`
19
- */
20
- async function GenerateScopedTypesInner() {
21
- const PackageKey = await (0, Command_1.Try)("Reading the PackageKey from the config file...", (Result) => `Found PackageKey ${Result} in the config file!`, async () => {
22
- const Config = await (0, Config_1.GetConfigSafe)();
23
- return Config.PackageKey;
24
- });
25
- if (PackageKey === undefined || process.argv.length < 3) {
26
- console.error("A PackageKey argument was not provided. The name of your project's PackageKey " +
27
- "should be provided as the last argument. For example,\n\n" +
28
- " npm exec electron-reactive-event generate-types MyPackageKey");
29
- process.exit(1);
30
- }
31
- // eslint-disable-next-line jsdoc/require-jsdoc
32
- function GetChannelTypeDefinition(Path, OwnerType = true) {
33
- const FullPath = Path.split(".");
34
- const Name = Path.includes(".")
35
- ? FullPath[FullPath.length - 1]
36
- : Path;
37
- return OwnerType
38
- // eslint-disable-next-line @stylistic/max-len
39
- ? `export type ${Name}<OwnerType extends EventOwnerImported> = ChannelImported.${Path}<PackageKey, OwnerType>;`
40
- : `export type ${Name} = ChannelImported.${Path}<PackageKey>;`;
41
- }
42
- const Channels = {
43
- Any: GetChannelTypeDefinition("Any"),
44
- Error: GetChannelTypeDefinition("Error", false),
45
- ErrorMessageOnly: GetChannelTypeDefinition("ErrorMessageOnly", false),
46
- ErrorPayload: GetChannelTypeDefinition("ErrorPayload", false),
47
- NoError: GetChannelTypeDefinition("NoError"),
48
- NoResponse: GetChannelTypeDefinition("NoResponse"),
49
- Response: GetChannelTypeDefinition("Response", false),
50
- NoRequest: GetChannelTypeDefinition("NoRequest"),
51
- Request: GetChannelTypeDefinition("Request"),
52
- Handler: {
53
- Any: GetChannelTypeDefinition("Handler.Any", false),
54
- Request: GetChannelTypeDefinition("Handler.Request", false),
55
- Response: GetChannelTypeDefinition("Handler.Response", false),
56
- NoRequest: GetChannelTypeDefinition("Handler.NoRequest", false),
57
- NoResponse: GetChannelTypeDefinition("Handler.NoResponse", false),
58
- Error: GetChannelTypeDefinition("Handler.Error", false),
59
- ErrorMessageOnly: GetChannelTypeDefinition("Handler.ErrorMessageOnly", false),
60
- ErrorPayload: GetChannelTypeDefinition("Handler.ErrorPayload", false),
61
- NoError: GetChannelTypeDefinition("Handler.NoError", false)
62
- },
63
- Listener: {
64
- Any: GetChannelTypeDefinition("Listener.Any"),
65
- NoRequest: GetChannelTypeDefinition("Listener.NoRequest"),
66
- Request: GetChannelTypeDefinition("Listener.Request")
67
- }
68
- };
69
- const ReexportedType = Symbol("ReexportedType");
70
- /* eslint-disable @stylistic/max-len */
71
- const Types = {
72
- Scoped: [
73
- "Channel<OwnerType extends EventOwner>",
74
- "FilterByOwner<OwnerType extends EventOwner>",
75
- "Handle",
76
- "HandleOnce",
77
- "InvokeEventDeferred",
78
- "IpcMainReactive",
79
- "Listener<OwnerType extends EventOwner, ChannelType extends Channel.Listener<PackageKey, OwnerType>, EventType extends IpcEvent | undefined>",
80
- "MainListener<ChannelType extends Channel.Listener<PackageKey, RendererOwner>>",
81
- "MainRegistrar",
82
- "Off",
83
- "OffEventDeferred",
84
- "On",
85
- "OnEventDeferred",
86
- "Once",
87
- "OnceEventDeferred",
88
- "ReactiveEventHooks",
89
- "ReactiveIpcMainFunctions",
90
- "RemoveAllListeners",
91
- "RemoveHandler",
92
- "RendererListener<ChannelType extends Channel.Listener<PackageKey, MainOwner>>",
93
- "RendererRegistrar",
94
- "Send",
95
- "SendEventDeferred",
96
- "UseInvokeEvent",
97
- "UseInvokeEventDeferred",
98
- "UseOffEventDeferred",
99
- "UseOnEvent",
100
- "UseOnEventDeferred",
101
- "UseOnceEvent",
102
- "UseOnceEventDeferred",
103
- "UseSendEvent",
104
- "UseSendEventDeferred"
105
- ],
106
- Unscoped: [
107
- "EventDecl<OwnerType extends EventOwner, RequestType, ResponseType, ErrorType>",
108
- "EventDeclHandler<RequestType, ResponseType, ErrorType>",
109
- "EventDeclListener<OwnerType extends EventOwner, RequestType>",
110
- "EventOwner",
111
- "IpcEvent",
112
- "MainOwner",
113
- "PackageKeys",
114
- "ReactiveEventContext",
115
- "ReactiveEventProviderProps",
116
- "RendererOwner"
117
- ]
118
- };
119
- /* eslint-enable @stylistic/max-len */
120
- const ScopedExportStatementsSimple = Types.Scoped
121
- .filter((Type) => !Type.includes("<"))
122
- .map((Type) => {
123
- return `export ${Type} = ${Type}Imported<PackageKey>;`;
124
- });
125
- const ScopedExportStatementsAdvanced = Types.Scoped
126
- .filter((Type) => Type.includes("<"))
127
- .map((Type) => {
128
- const TypeArgumentVector = (() => {
129
- if (!Type.includes("<")) {
130
- return undefined;
131
- }
132
- const Input = Type.slice(Type.indexOf("<") + 1, Type.indexOf(">"));
133
- const Matches = [];
134
- const Pattern = /(?:^|,)\s*([^,\s]+)/g;
135
- let Match;
136
- while ((Match = Pattern.exec(Input)) !== null) {
137
- Matches.push(Match[1]);
138
- }
139
- return Matches.join(", ");
140
- })();
141
- return `export ${Type} = ${Type}Imported<PackageKey, ${TypeArgumentVector}>;`;
142
- });
143
- // eslint-disable-next-line jsdoc/require-jsdoc
144
- function MakeImported(Name) {
145
- return `,\n ${Name} as ${Name}Imported`;
146
- }
147
- const ImportStatement = ("import type { \n" +
148
- Types.Scoped
149
- .map((Type) => {
150
- const Name = Type.includes("<")
151
- ? Type.slice(0, Type.indexOf("<"))
152
- : Type;
153
- return ` ${Name} as ${Name}Imported`;
154
- })
155
- .join(",\n") +
156
- "\n} from \"electron-reactive-event\";\n");
157
- const ImportedNamespaces = [
158
- "Channel",
159
- "Handler",
160
- "Invoke",
161
- "Listener"
162
- ];
163
- const NamespacesImportStatement = ("import { \n" +
164
- ImportedNamespaces
165
- .map((Namespace) => {
166
- return ` ${Namespace} as ${Namespace}Imported`;
167
- })
168
- .join(",\n") +
169
- "\n} from \"electron-reactive-event\";\n");
170
- const ImportErrorFunction = "import { ReactiveEventError as ReactiveEventErrorImported } from " +
171
- "\"electron-reactive-event/scoped\";";
172
- const PackageKeyDefinition = `export type PackageKey = "${PackageKey}";\n`;
173
- // eslint-disable-next-line @stylistic/max-len
174
- // const PackageKeyDeclareModule: string = `declare module "electron-reactive-event/registrar"\n{\n interface Registrar\n {\n ${ PackageKey }: { };\n }\n};\n`;
175
- // type EntryType = [ string, string | symbol ];
176
- // const ExportStatements: string =
177
- // Object
178
- // .entries(Types)
179
- // .filter(([ _Key, Value ]: EntryType) => typeof Value === "string")
180
- // .map(([ _Key, Value ]: EntryType) => Value)
181
- // .join("\n") + "\n";
182
- // const ReexportStatements: string = "export type {\n" +
183
- // Object
184
- // .entries(Types)
185
- // .filter(([ _Key, Value ]: [ string, string ]) => typeof Value !== "string")
186
- // .map(([ Key ]: [ string, string | symbol ]) => ` ${ Key }`)
187
- // .join(",\n") +
188
- // "\n} from \"electron-reactive-event/scoped\";\n";
189
- const ExportStatements = "";
190
- const ReexportStatements = "export type {\n";
191
- const BeginChannelLine = "export namespace Channel\n{\n";
192
- const EndChannelLine = "};\n";
193
- const ChannelLines = Object.entries(Channels).map(([Key, Property]) => {
194
- if (typeof Property === "string") {
195
- return ` ${Property}\n`;
196
- }
197
- else {
198
- return ` export namespace ${Key}\n {\n` +
199
- Object.values(Property).map((SubProperty) => {
200
- return ` ${SubProperty}`;
201
- }).join("\n") +
202
- "\n };\n";
203
- }
204
- });
205
- const Channel = BeginChannelLine + ChannelLines.join("\n") + EndChannelLine;
206
- const Header = (0, Command_1.GetHeader)("Reactive.Types.Generated.ts", "generate-scoped-types");
207
- try {
208
- const ScopedModulePath = await (async () => {
209
- const Config = await (0, Config_1.GetConfigSafe)();
210
- return Config.ScopedModulePath;
211
- })();
212
- await (0, promises_1.writeFile)(ScopedModulePath, [
213
- Header,
214
- ImportStatement,
215
- NamespacesImportStatement,
216
- ReexportStatements,
217
- PackageKeyDefinition,
218
- Channel,
219
- ExportStatements
220
- ].join("\n"));
221
- process.exit(0);
222
- }
223
- catch {
224
- console.error("Could not write file.");
225
- process.exit(1);
226
- }
227
- }
228
- //# sourceMappingURL=GenerateScopedTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenerateScopedTypes.js","sourceRoot":"","sources":["../Source/GenerateScopedTypes.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAiBH,4DAmSC;AAlTD,+BAA+B;AAE/B,uCAA2C;AAG3C,qCAAyC;AACzC,+CAA6C;AAE7C;;;;;;GAMG;AACI,KAAK,UAAU,wBAAwB;IAE1C,MAAM,UAAU,GAAW,MAAM,IAAA,aAAG,EAChC,gDAAgD,EAChD,CAAC,MAAc,EAAE,EAAE,CAAC,oBAAqB,MAAO,sBAAsB,EACtE,KAAK,IAAqB,EAAE;QAExB,MAAM,MAAM,GAAc,MAAM,IAAA,sBAAa,GAAE,CAAC;QAChD,OAAO,MAAM,CAAC,UAAU,CAAC;IAC7B,CAAC,CACJ,CAAC;IAEF,IAAI,UAAU,KAAK,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EACvD,CAAC;QACG,OAAO,CAAC,KAAK,CACT,iFAAiF;YACjF,4DAA4D;YAC5D,kEAAkE,CACrE,CAAC;QAEF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;IAED,+CAA+C;IAC/C,SAAS,wBAAwB,CAAC,IAAY,EAAE,YAAqB,IAAI;QAErE,MAAM,QAAQ,GAAkB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAChD,MAAM,IAAI,GAAW,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC;YACnC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAW;YACzC,CAAC,CAAC,IAAI,CAAC;QAEX,OAAO,SAAS;YACZ,8CAA8C;YAC9C,CAAC,CAAC,eAAgB,IAAK,4DAA6D,IAAK,0BAA0B;YACnH,CAAC,CAAC,eAAgB,IAAK,sBAAuB,IAAK,eAA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,IAAI,CAAC;gBACb,YAAY,CAAC;QACjB,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,MAAM,OAAO,GAAW,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC;IACpF,MAAM,MAAM,GAAW,IAAA,mBAAS,EAAC,6BAA6B,EAAE,uBAAuB,CAAC,CAAC;IAEzF,IACA,CAAC;QACG,MAAM,gBAAgB,GAAW,MAAM,CAAC,KAAK,IAAqB,EAAE;YAEhE,MAAM,MAAM,GAAc,MAAM,IAAA,sBAAa,GAAE,CAAC;YAChD,OAAO,MAAM,CAAC,gBAAgB,CAAC;QACnC,CAAC,CAAC,EAAE,CAAC;QAEL,MAAM,IAAA,oBAAS,EACX,gBAAgB,EAChB;YACI,MAAM;YACN,eAAe;YACf,yBAAyB;YACzB,kBAAkB;YAClB,oBAAoB;YACpB,OAAO;YACP,gBAAgB;SACnB,CAAC,IAAI,CAAC,IAAI,CAAC,CACf,CAAC;QAEF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;IACD,MACA,CAAC;QACG,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QACvC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACL,CAAC"}
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
3
- //# sourceMappingURL=Setup.Command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Setup.Command.d.ts","sourceRoot":"","sources":["../Source/Setup.Command.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- /* File: Setup.Command.ts
4
- * Author: Gage Sorrell <gage@sorrell.sh>
5
- * Copyright: (c) 2026 Gage Sorrell
6
- * License: MIT
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- const Setup_1 = require("./Setup");
10
- (0, Setup_1.SetupCommand)();
11
- //# sourceMappingURL=Setup.Command.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Setup.Command.js","sourceRoot":"","sources":["../Source/Setup.Command.ts"],"names":[],"mappings":";;AAEA;;;;GAIG;;AAEH,mCAAuC;AAEvC,IAAA,oBAAY,GAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function SetupCommand(): Promise<void>;
2
- //# sourceMappingURL=Setup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Setup.d.ts","sourceRoot":"","sources":["../Source/Setup.ts"],"names":[],"mappings":"AAgFA,wBAAsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAuKlD"}