MCPcopy
hub / github.com/embarklabs/embark / Embark

Interface Embark

packages/core/core/src/index.ts:125–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123import { Logger } from 'embark-logger';
124
125export interface Embark {
126 env: string;
127 pluginConfig: any;
128 events: EmbarkEvents;
129 plugins: EmbarkPlugins;
130 registerAPICall(method: string, endpoint: string, cb: (...args: any[]) => void): void;
131 registerConsoleCommand: any;
132 logger: Logger;
133 fs: any;
134 config: Configuration;
135 currentContext: string[];
136 registerActionForEvent<T>(
137 name: string,
138 options?: ActionCallback<T> | { priority: number; },
139 action?: ActionCallback<T>,
140 ): void;
141}
142
143export { ProcessLauncher } from './processes/processLauncher';
144export { ProcessWrapper } from './processes/processWrapper';

Callers 16

registerAPICallMethod · 0.65
registerAPICallMethod · 0.65
registerApiMethod · 0.65
registerAPICallMethod · 0.65
_registerApiCallsMethod · 0.65
registerAPICommandsMethod · 0.65
registerCallsMethod · 0.65
registerAPIsMethod · 0.65
serviceMonitorMethod · 0.65
constructorMethod · 0.65

Implementers 4

Pluginspackages/utils/testing/src/plugin.js
Pluginpackages/utils/testing/src/plugin.js
Embarkpackages/utils/testing/src/embark.js
Pluginpackages/core/core/src/plugin.ts

Calls

no outgoing calls

Tested by

no test coverage detected