MCPcopy
hub / github.com/electron/forge / IForgePluginInterface

Interface IForgePluginInterface

packages/utils/types/src/index.ts:108–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106};
107
108export interface IForgePluginInterface {
109 triggerHook<Hook extends keyof ForgeSimpleHookSignatures>(
110 hookName: Hook,
111 hookArgs: ForgeSimpleHookSignatures[Hook],
112 ): Promise<void>;
113 getHookListrTasks<Hook extends keyof ForgeSimpleHookSignatures>(
114 childTrace: typeof autoTrace,
115 hookName: Hook,
116 hookArgs: ForgeSimpleHookSignatures[Hook],
117 ): Promise<ForgeListrTaskDefinition[]>;
118 triggerMutatingHook<Hook extends keyof ForgeMutatingHookSignatures>(
119 hookName: Hook,
120 item: ForgeMutatingHookSignatures[Hook][0],
121 ): Promise<ForgeMutatingHookSignatures[Hook][0]>;
122 overrideStartLogic(opts: StartOptions): Promise<StartResult>;
123}
124/* eslint-enable @typescript-eslint/no-explicit-any */
125
126export type ForgeRebuildOptions = Omit<

Callers 4

runHookFunction · 0.65
getHookListrTasksFunction · 0.65
runMutatingHookFunction · 0.65
forgeSpawnFunction · 0.65

Implementers 1

PluginInterfacepackages/api/core/src/util/plugin-inte

Calls

no outgoing calls

Tested by

no test coverage detected