electron-reactive-event-cli 1.0.60 → 1.0.62
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/Distribution/Command.d.ts +12 -0
- package/Distribution/Command.d.ts.map +1 -0
- package/Distribution/Command.js +99 -0
- package/Distribution/Command.js.map +1 -0
- package/Distribution/Config.Types.d.ts +27 -0
- package/Distribution/Config.Types.d.ts.map +1 -0
- package/Distribution/Config.Types.js +8 -0
- package/Distribution/Config.Types.js.map +1 -0
- package/Distribution/Config.d.ts +8 -0
- package/Distribution/Config.d.ts.map +1 -0
- package/Distribution/Config.js +104 -0
- package/Distribution/Config.js.map +1 -0
- package/Distribution/DeclareEvents.Command.d.ts +2 -0
- package/Distribution/DeclareEvents.Command.d.ts.map +1 -0
- package/Distribution/DeclareEvents.Command.js +16 -0
- package/Distribution/DeclareEvents.Command.js.map +1 -0
- package/Distribution/DeclareEvents.Types.d.ts +9 -0
- package/Distribution/DeclareEvents.Types.d.ts.map +1 -0
- package/Distribution/DeclareEvents.Types.js +8 -0
- package/Distribution/DeclareEvents.Types.js.map +1 -0
- package/Distribution/DeclareEvents.d.ts +2 -0
- package/Distribution/DeclareEvents.d.ts.map +1 -0
- package/Distribution/DeclareEvents.js +178 -0
- package/Distribution/DeclareEvents.js.map +1 -0
- package/Distribution/GenerateScopedTypes.Command.d.ts +2 -0
- package/Distribution/GenerateScopedTypes.Command.d.ts.map +1 -0
- package/Distribution/GenerateScopedTypes.Command.js +32 -0
- package/Distribution/GenerateScopedTypes.Command.js.map +1 -0
- package/Distribution/GenerateScopedTypes.Types.d.ts +19 -0
- package/Distribution/GenerateScopedTypes.Types.d.ts.map +1 -0
- package/Distribution/GenerateScopedTypes.Types.js +8 -0
- package/Distribution/GenerateScopedTypes.Types.js.map +1 -0
- package/Distribution/GenerateScopedTypes.d.ts +9 -0
- package/Distribution/GenerateScopedTypes.d.ts.map +1 -0
- package/Distribution/GenerateScopedTypes.js +215 -0
- package/Distribution/GenerateScopedTypes.js.map +1 -0
- package/Distribution/Setup.d.ts +0 -1
- package/Distribution/Setup.js +32 -2
- package/Distribution/Setup.js.map +1 -1
- package/Distribution/WriteTypesToClipboard.d.ts +2 -0
- package/Distribution/WriteTypesToClipboard.d.ts.map +1 -0
- package/Distribution/WriteTypesToClipboard.js +190 -0
- package/Distribution/WriteTypesToClipboard.js.map +1 -0
- package/package.json +43 -54
- package/Distribution/Initialize.Types.d.ts +0 -4
- package/Distribution/Initialize.Types.d.ts.map +0 -1
- package/Distribution/Initialize.Types.js +0 -7
- package/Distribution/Initialize.Types.js.map +0 -1
- package/Distribution/Initialize.d.ts +0 -2
- package/Distribution/Initialize.d.ts.map +0 -1
- package/Distribution/Initialize.js +0 -288
- package/Distribution/Initialize.js.map +0 -1
- package/Distribution/Main.d.ts +0 -2
- package/Distribution/Main.d.ts.map +0 -1
- package/Distribution/Main.js +0 -8
- package/Distribution/Main.js.map +0 -1
- package/Distribution/Provider.d.ts +0 -2
- package/Distribution/Provider.d.ts.map +0 -1
- package/Distribution/Provider.js +0 -8
- package/Distribution/Provider.js.map +0 -1
- package/Distribution/Register/RegisterCommand.Types.d.ts +0 -27
- package/Distribution/Register/RegisterCommand.Types.d.ts.map +0 -1
- package/Distribution/Register/RegisterCommand.Types.js +0 -7
- package/Distribution/Register/RegisterCommand.Types.js.map +0 -1
- package/Distribution/Register/RegisterCommand.d.ts +0 -3
- package/Distribution/Register/RegisterCommand.d.ts.map +0 -1
- package/Distribution/Register/RegisterCommand.js +0 -403
- package/Distribution/Register/RegisterCommand.js.map +0 -1
- package/Distribution/Register/RegisterCommandBin.d.ts +0 -2
- package/Distribution/Register/RegisterCommandBin.d.ts.map +0 -1
- package/Distribution/Register/RegisterCommandBin.js +0 -8
- package/Distribution/Register/RegisterCommandBin.js.map +0 -1
- package/Distribution/Register/index.d.ts +0 -2
- package/Distribution/Register/index.d.ts.map +0 -1
- package/Distribution/Register/index.js +0 -7
- package/Distribution/Register/index.js.map +0 -1
- package/Distribution/Register.Types.d.ts +0 -2
- package/Distribution/Register.Types.d.ts.map +0 -1
- package/Distribution/Register.Types.js +0 -2
- package/Distribution/Register.Types.js.map +0 -1
- package/Distribution/Register.d.ts +0 -3
- package/Distribution/Register.d.ts.map +0 -1
- package/Distribution/Register.js +0 -19
- package/Distribution/Register.js.map +0 -1
- package/Distribution/Schema.Types.d.ts +0 -19
- package/Distribution/Schema.Types.d.ts.map +0 -1
- package/Distribution/Schema.Types.js +0 -10
- package/Distribution/Schema.Types.js.map +0 -1
- package/Distribution/Select.Types.d.ts +0 -2
- package/Distribution/Select.Types.d.ts.map +0 -1
- package/Distribution/Select.Types.js +0 -7
- package/Distribution/Select.Types.js.map +0 -1
- package/Distribution/Select.d.ts +0 -2
- package/Distribution/Select.d.ts.map +0 -1
- package/Distribution/Select.js +0 -7
- package/Distribution/Select.js.map +0 -1
- package/Distribution/Setup/Prompt.Types.d.ts +0 -7
- package/Distribution/Setup/Prompt.Types.d.ts.map +0 -1
- package/Distribution/Setup/Prompt.Types.js +0 -7
- package/Distribution/Setup/Prompt.Types.js.map +0 -1
- package/Distribution/Setup/Prompt.d.ts +0 -10
- package/Distribution/Setup/Prompt.d.ts.map +0 -1
- package/Distribution/Setup/Prompt.js +0 -220
- package/Distribution/Setup/Prompt.js.map +0 -1
- package/Distribution/Setup/SetupCommand.Types.d.ts +0 -5
- package/Distribution/Setup/SetupCommand.Types.d.ts.map +0 -1
- package/Distribution/Setup/SetupCommand.Types.js +0 -7
- package/Distribution/Setup/SetupCommand.Types.js.map +0 -1
- package/Distribution/Setup/SetupCommand.d.ts +0 -3
- package/Distribution/Setup/SetupCommand.d.ts.map +0 -1
- package/Distribution/Setup/SetupCommand.js +0 -248
- package/Distribution/Setup/SetupCommand.js.map +0 -1
- package/Distribution/Setup/TsConfig.Types.d.ts +0 -10
- package/Distribution/Setup/TsConfig.Types.d.ts.map +0 -1
- package/Distribution/Setup/TsConfig.Types.js +0 -7
- package/Distribution/Setup/TsConfig.Types.js.map +0 -1
- package/Distribution/Setup/TsConfig.d.ts +0 -8
- package/Distribution/Setup/TsConfig.d.ts.map +0 -1
- package/Distribution/Setup/TsConfig.js +0 -67
- package/Distribution/Setup/TsConfig.js.map +0 -1
- package/Distribution/Setup/index.d.ts +0 -6
- package/Distribution/Setup/index.d.ts.map +0 -1
- package/Distribution/Setup/index.js +0 -11
- package/Distribution/Setup/index.js.map +0 -1
- package/Distribution/Shared.d.ts +0 -2
- package/Distribution/Shared.d.ts.map +0 -1
- package/Distribution/Shared.js +0 -7
- package/Distribution/Shared.js.map +0 -1
- package/Distribution/Utility.Types.d.ts +0 -2
- package/Distribution/Utility.Types.d.ts.map +0 -1
- package/Distribution/Utility.Types.js +0 -7
- package/Distribution/Utility.Types.js.map +0 -1
- package/Distribution/Utility.d.ts +0 -3
- package/Distribution/Utility.d.ts.map +0 -1
- package/Distribution/Utility.js +0 -17
- package/Distribution/Utility.js.map +0 -1
- package/Distribution/index.d.ts +0 -8
- package/Distribution/index.d.ts.map +0 -1
- package/Distribution/index.js +0 -13
- package/Distribution/index.js.map +0 -1
- package/License.md +0 -21
- package/ReadMe.md +0 -7
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Initialize.Types.js","sourceRoot":"","sources":["../Source/Initialize.Types.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Initialize.d.ts","sourceRoot":"","sources":["../Source/Initialize.ts"],"names":[],"mappings":""}
|
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
/* File: Initialize.ts
|
|
2
|
-
* Author: Gage Sorrell <gage@sorrell.sh>
|
|
3
|
-
* Copyright: (c) 2026 Gage Sorrell
|
|
4
|
-
* License: MIT
|
|
5
|
-
* Comment: This module registers the commands defined the other modules
|
|
6
|
-
* in this package.
|
|
7
|
-
*/
|
|
8
|
-
/* eslint-disable no-console */
|
|
9
|
-
import { Command } from "commander";
|
|
10
|
-
async function ConfigureProgram(_ProgramInstance) {
|
|
11
|
-
// ProgramInstance
|
|
12
|
-
// .name("create-electron-reactive-event")
|
|
13
|
-
// .description("Generate boilerplate for Electron + React integrations.")
|
|
14
|
-
// .showHelpAfterError()
|
|
15
|
-
// .helpOption("-h, --help", "Display help information")
|
|
16
|
-
// .helpCommand("help [command]", "Display help for command");
|
|
17
|
-
// ProgramInstance.addCommand(await GetSetupCommand());
|
|
18
|
-
// ProgramInstance.addCommand(await GetRegisterCommand());
|
|
19
|
-
}
|
|
20
|
-
// function CreateCommand(
|
|
21
|
-
// CommandName: FCommandName
|
|
22
|
-
// ): Command
|
|
23
|
-
// {
|
|
24
|
-
// const CommandInstance: Command = new Command(CommandName);
|
|
25
|
-
// CommandInstance
|
|
26
|
-
// .description(GetCommandDescription(CommandName))
|
|
27
|
-
// .requiredOption(
|
|
28
|
-
// "-o, --output <Output Type>",
|
|
29
|
-
// "Output type: console | clipboard | file",
|
|
30
|
-
// ParseOutputType
|
|
31
|
-
// )
|
|
32
|
-
// .argument(
|
|
33
|
-
// "[ OutputPath ]",
|
|
34
|
-
// "Required when output type is \"file\""
|
|
35
|
-
// )
|
|
36
|
-
// .action(
|
|
37
|
-
// async (
|
|
38
|
-
// OutputPathRaw: string | undefined,
|
|
39
|
-
// OptionsRaw: IOptions,
|
|
40
|
-
// ActionCommand: Command
|
|
41
|
-
// ): Promise<void> =>
|
|
42
|
-
// {
|
|
43
|
-
// const Request: IGenerationRequest = BuildGenerationRequest(
|
|
44
|
-
// CommandName,
|
|
45
|
-
// OptionsRaw,
|
|
46
|
-
// OutputPathRaw,
|
|
47
|
-
// ActionCommand
|
|
48
|
-
// );
|
|
49
|
-
// const GeneratedContent: string = BuildGeneratedContent(CommandName);
|
|
50
|
-
// await EmitGeneratedContent(Request, GeneratedContent);
|
|
51
|
-
// }
|
|
52
|
-
// );
|
|
53
|
-
// return CommandInstance;
|
|
54
|
-
// }
|
|
55
|
-
// function GetCommandDescription(CommandName: FCommandName): string
|
|
56
|
-
// {
|
|
57
|
-
// switch (CommandName)
|
|
58
|
-
// {
|
|
59
|
-
// case "preload":
|
|
60
|
-
// {
|
|
61
|
-
// return "Generate preload boilerplate.";
|
|
62
|
-
// }
|
|
63
|
-
// case "provider":
|
|
64
|
-
// {
|
|
65
|
-
// return "Generate provider boilerplate.";
|
|
66
|
-
// }
|
|
67
|
-
// }
|
|
68
|
-
// }
|
|
69
|
-
// function ParseOutputType(
|
|
70
|
-
// OutputTypeRaw: string
|
|
71
|
-
// ): FOutputType
|
|
72
|
-
// {
|
|
73
|
-
// switch (OutputTypeRaw)
|
|
74
|
-
// {
|
|
75
|
-
// case "console":
|
|
76
|
-
// case "clipboard":
|
|
77
|
-
// case "file":
|
|
78
|
-
// {
|
|
79
|
-
// return OutputTypeRaw;
|
|
80
|
-
// }
|
|
81
|
-
// default:
|
|
82
|
-
// {
|
|
83
|
-
// throw new InvalidArgumentError(
|
|
84
|
-
// "Output type must be exactly one of \"console\", \"clipboard\", or \"file\"."
|
|
85
|
-
// );
|
|
86
|
-
// }
|
|
87
|
-
// }
|
|
88
|
-
// }
|
|
89
|
-
// function BuildGenerationRequest(
|
|
90
|
-
// CommandName: FCommandName,
|
|
91
|
-
// Options: IOptions,
|
|
92
|
-
// OutputPathRaw: string | undefined,
|
|
93
|
-
// ActionCommand: Command
|
|
94
|
-
// ): IGenerationRequest
|
|
95
|
-
// {
|
|
96
|
-
// if (Options.Output === "file")
|
|
97
|
-
// {
|
|
98
|
-
// if (OutputPathRaw === undefined)
|
|
99
|
-
// {
|
|
100
|
-
// ActionCommand.error(
|
|
101
|
-
// "When --output file is used, you must also provide an output path immediately afterward."
|
|
102
|
-
// );
|
|
103
|
-
// }
|
|
104
|
-
// const OutputPath: string = resolve(OutputPathRaw);
|
|
105
|
-
// const OutputPathExists: boolean = existsSync(OutputPath);
|
|
106
|
-
// return {
|
|
107
|
-
// CommandName,
|
|
108
|
-
// OutputType: Options.Output,
|
|
109
|
-
// OutputPath,
|
|
110
|
-
// OutputPathExists
|
|
111
|
-
// };
|
|
112
|
-
// }
|
|
113
|
-
// if (OutputPathRaw !== undefined)
|
|
114
|
-
// {
|
|
115
|
-
// ActionCommand.error(
|
|
116
|
-
// "An output path may only be provided when --output file is used."
|
|
117
|
-
// );
|
|
118
|
-
// }
|
|
119
|
-
// return {
|
|
120
|
-
// CommandName,
|
|
121
|
-
// OutputType: Options.Output,
|
|
122
|
-
// OutputPath: undefined,
|
|
123
|
-
// OutputPathExists: false
|
|
124
|
-
// };
|
|
125
|
-
// }
|
|
126
|
-
// function BuildGeneratedContent(CommandName: FCommandName): string
|
|
127
|
-
// {
|
|
128
|
-
// return "";
|
|
129
|
-
// };
|
|
130
|
-
// async function MakeConfig(): Promise<string>
|
|
131
|
-
// {
|
|
132
|
-
// const Root: string = await GetRootDirectory();
|
|
133
|
-
//
|
|
134
|
-
// }
|
|
135
|
-
// async function EmitGeneratedContent(Request: IGenerationRequest, GeneratedContent: string): Promise<void>
|
|
136
|
-
// {
|
|
137
|
-
// switch (Request.OutputType)
|
|
138
|
-
// {
|
|
139
|
-
// case "console":
|
|
140
|
-
// {
|
|
141
|
-
// console.log(GeneratedContent);
|
|
142
|
-
// return;
|
|
143
|
-
// }
|
|
144
|
-
// case "clipboard":
|
|
145
|
-
// {
|
|
146
|
-
// clipboard.write(GeneratedContent);
|
|
147
|
-
// console.log("Output has been written to the clipboard.");
|
|
148
|
-
// return;
|
|
149
|
-
// }
|
|
150
|
-
// case "file":
|
|
151
|
-
// {
|
|
152
|
-
// await EmitFileOutput(Request, GeneratedContent);
|
|
153
|
-
// return;
|
|
154
|
-
// }
|
|
155
|
-
// }
|
|
156
|
-
// }
|
|
157
|
-
// async function EmitFileOutput(Request: IGenerationRequest, GeneratedContent: string): Promise<void>
|
|
158
|
-
// {
|
|
159
|
-
// if (Request.OutputPath === undefined)
|
|
160
|
-
// {
|
|
161
|
-
// throw new Error("OutputPath was unexpectedly undefined.");
|
|
162
|
-
// }
|
|
163
|
-
// mkdirSync(dirname(Request.OutputPath), { recursive: true });
|
|
164
|
-
// if (Request.OutputPathExists === true)
|
|
165
|
-
// {
|
|
166
|
-
// const ExistingContent: string = readFileSync(
|
|
167
|
-
// Request.OutputPath,
|
|
168
|
-
// "utf8"
|
|
169
|
-
// );
|
|
170
|
-
// const UpdatedContent: string = MergeWithExistingFile(ExistingContent, GeneratedContent);
|
|
171
|
-
// writeFileSync(Request.OutputPath, UpdatedContent, "utf8");
|
|
172
|
-
// console.log(`Updated existing file: "${ Request.OutputPath }"`);
|
|
173
|
-
// }
|
|
174
|
-
// else
|
|
175
|
-
// {
|
|
176
|
-
// writeFileSync(Request.OutputPath, GeneratedContent, "utf8");
|
|
177
|
-
// console.log(`Created new file: "${ Request.OutputPath }"`);
|
|
178
|
-
// }
|
|
179
|
-
// }
|
|
180
|
-
// function MergeWithExistingFile(ExistingContent: string, GeneratedContent: string): string
|
|
181
|
-
// {
|
|
182
|
-
// return [
|
|
183
|
-
// ExistingContent,
|
|
184
|
-
// "",
|
|
185
|
-
// GeneratedContent,
|
|
186
|
-
// ""
|
|
187
|
-
// ].join("\n");
|
|
188
|
-
// }
|
|
189
|
-
function NormalizeUserArguments(UserArguments) {
|
|
190
|
-
const NormalizedUserArguments = [];
|
|
191
|
-
let IsExpectingOutputValue = false;
|
|
192
|
-
let IsExpectingOutputPath = false;
|
|
193
|
-
for (let Index = 0; Index < UserArguments.length; Index++) {
|
|
194
|
-
const UserArgument = UserArguments[Index];
|
|
195
|
-
if (IsExpectingOutputValue === true && UserArgument !== undefined) {
|
|
196
|
-
NormalizedUserArguments.push(UserArgument);
|
|
197
|
-
IsExpectingOutputValue = false;
|
|
198
|
-
IsExpectingOutputPath = UserArgument === "file";
|
|
199
|
-
continue;
|
|
200
|
-
}
|
|
201
|
-
if (IsExpectingOutputPath === true && UserArgument !== undefined) {
|
|
202
|
-
NormalizedUserArguments.push(UserArgument);
|
|
203
|
-
IsExpectingOutputPath = false;
|
|
204
|
-
continue;
|
|
205
|
-
}
|
|
206
|
-
const IsHelpArgument = (UserArgument === "?" ||
|
|
207
|
-
UserArgument === "/?" ||
|
|
208
|
-
UserArgument === "/h" ||
|
|
209
|
-
UserArgument === "/help");
|
|
210
|
-
if (IsHelpArgument) {
|
|
211
|
-
NormalizedUserArguments.push("--help");
|
|
212
|
-
continue;
|
|
213
|
-
}
|
|
214
|
-
if (UserArgument === "help" && ShouldTreatAsHelpCommand(UserArguments, Index) === true) {
|
|
215
|
-
NormalizedUserArguments.push("--help");
|
|
216
|
-
continue;
|
|
217
|
-
}
|
|
218
|
-
if (UserArgument === "-o" || UserArgument === "--output") {
|
|
219
|
-
NormalizedUserArguments.push(UserArgument);
|
|
220
|
-
IsExpectingOutputValue = true;
|
|
221
|
-
continue;
|
|
222
|
-
}
|
|
223
|
-
if (UserArgument === "/o" || UserArgument === "/output") {
|
|
224
|
-
NormalizedUserArguments.push("--output");
|
|
225
|
-
IsExpectingOutputValue = true;
|
|
226
|
-
continue;
|
|
227
|
-
}
|
|
228
|
-
if (UserArgument?.startsWith("-o=") === true) {
|
|
229
|
-
const OutputValue = UserArgument.slice("-o=".length);
|
|
230
|
-
NormalizedUserArguments.push(`--output=${OutputValue}`);
|
|
231
|
-
IsExpectingOutputPath = OutputValue === "file";
|
|
232
|
-
continue;
|
|
233
|
-
}
|
|
234
|
-
if (UserArgument?.startsWith("--output=") === true) {
|
|
235
|
-
const OutputValue = UserArgument.slice("--output=".length);
|
|
236
|
-
NormalizedUserArguments.push(`--output=${OutputValue}`);
|
|
237
|
-
IsExpectingOutputPath = OutputValue === "file";
|
|
238
|
-
continue;
|
|
239
|
-
}
|
|
240
|
-
if (UserArgument?.startsWith("/o=") === true) {
|
|
241
|
-
const OutputValue = UserArgument.slice("/o=".length);
|
|
242
|
-
NormalizedUserArguments.push(`--output=${OutputValue}`);
|
|
243
|
-
IsExpectingOutputPath = OutputValue === "file";
|
|
244
|
-
continue;
|
|
245
|
-
}
|
|
246
|
-
if (UserArgument?.startsWith("/output=") === true) {
|
|
247
|
-
const OutputValue = UserArgument.slice("/output=".length);
|
|
248
|
-
NormalizedUserArguments.push(`--output=${OutputValue}`);
|
|
249
|
-
IsExpectingOutputPath = OutputValue === "file";
|
|
250
|
-
continue;
|
|
251
|
-
}
|
|
252
|
-
if (UserArgument !== undefined) {
|
|
253
|
-
NormalizedUserArguments.push(UserArgument);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
return NormalizedUserArguments;
|
|
257
|
-
}
|
|
258
|
-
function ShouldTreatAsHelpCommand(UserArguments, Index) {
|
|
259
|
-
if (UserArguments[Index] !== "help") {
|
|
260
|
-
return false;
|
|
261
|
-
}
|
|
262
|
-
if (UserArguments.length === 1 && Index === 0) {
|
|
263
|
-
return true;
|
|
264
|
-
}
|
|
265
|
-
const IsAskingForCommandDescription = (UserArguments.length === 2 &&
|
|
266
|
-
Index === 1 &&
|
|
267
|
-
IsCommandName(UserArguments[0] || ""));
|
|
268
|
-
if (IsAskingForCommandDescription) {
|
|
269
|
-
return true;
|
|
270
|
-
}
|
|
271
|
-
return false;
|
|
272
|
-
}
|
|
273
|
-
function IsCommandName(Value) {
|
|
274
|
-
return ["setup", "register"].includes(Value);
|
|
275
|
-
}
|
|
276
|
-
async function Main() {
|
|
277
|
-
const Program = new Command();
|
|
278
|
-
ConfigureProgram(Program);
|
|
279
|
-
const UserArguments = process.argv;
|
|
280
|
-
const NormalizedUserArguments = NormalizeUserArguments(UserArguments);
|
|
281
|
-
console.log("UserArguments:\n", JSON.stringify(UserArguments, null, 4));
|
|
282
|
-
console.log("NormalizedUserArguments:\n", JSON.stringify(NormalizedUserArguments, null, 4));
|
|
283
|
-
await Program.parseAsync(NormalizedUserArguments, {
|
|
284
|
-
from: "user"
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
Main();
|
|
288
|
-
//# sourceMappingURL=Initialize.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Initialize.js","sourceR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,IAAI,CAAC;IAC1D,MAAM,uBAAuB,GAAkB,sBAAsB,CAAC,aAAa,CAAC,CAAC;IAErF,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IACxE,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,IAAI,CAAC,SAAS,CAAC,uBAAuB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAE5F,MAAM,OAAO,CAAC,UAAU,CACpB,uBAAuB,EACvB;QACI,IAAI,EAAE,MAAM;KACf,CACJ,CAAC;AACN,CAAC;AAED,IAAI,EAAE,CAAC"}
|
package/Distribution/Main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../Source/Main.ts"],"names":[],"mappings":""}
|
package/Distribution/Main.js
DELETED
package/Distribution/Main.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Main.js","sourceRoot":"","sources":["../Source/Main.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../Source/Provider.ts"],"names":[],"mappings":""}
|
package/Distribution/Provider.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../Source/Provider.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { FCliConfig } from "../Schema.Types.js";
|
|
2
|
-
export type FEventOwner = "Main" | "Renderer";
|
|
3
|
-
export type FEventDeclaringModule = {
|
|
4
|
-
Declarations: Array<{
|
|
5
|
-
Name: string;
|
|
6
|
-
Owner: FEventOwner;
|
|
7
|
-
}>;
|
|
8
|
-
Path: string;
|
|
9
|
-
};
|
|
10
|
-
export type FRegistrarDefinition = FCliConfig["main"];
|
|
11
|
-
export type FEventDeclarationMatch = Readonly<{
|
|
12
|
-
Path: string;
|
|
13
|
-
Declarations: Array<{
|
|
14
|
-
Name: string;
|
|
15
|
-
Owner: FEventOwner;
|
|
16
|
-
}>;
|
|
17
|
-
}>;
|
|
18
|
-
export type FImportedEventDeclaration = Readonly<{
|
|
19
|
-
Name: string;
|
|
20
|
-
Owner: FEventOwner;
|
|
21
|
-
Alias: string;
|
|
22
|
-
}>;
|
|
23
|
-
export type FImportGroup = {
|
|
24
|
-
ModuleSpecifier: string;
|
|
25
|
-
Declarations: Array<FImportedEventDeclaration>;
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=RegisterCommand.Types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RegisterCommand.Types.d.ts","sourceRoot":"","sources":["../../Source/Register/RegisterCommand.Types.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,MAAM,WAAW,GACjB,MAAM,GACN,UAAU,CAAC;AAEjB,MAAM,MAAM,qBAAqB,GAC7B;IACI,YAAY,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,WAAW,CAAC;KACtB,CAAC,CAAC;IACH,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEN,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;AAEtD,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,WAAW,CAAC;KACtB,CAAC,CAAC;CACN,CAAC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH,MAAM,MAAM,YAAY,GACpB;IACI,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;CAClD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RegisterCommand.Types.js","sourceRoot":"","sources":["../../Source/Register/RegisterCommand.Types.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RegisterCommand.d.ts","sourceRoot":"","sources":["../../Source/Register/RegisterCommand.ts"],"names":[],"mappings":";AA6mBA,wBAAsB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CA4C9C"}
|